diff -up alienarena-7.66-svn4307/configure.ac.ode-double alienarena-7.66-svn4307/configure.ac
--- alienarena-7.66-svn4307/configure.ac.ode-double 2015-06-09 10:43:10.000000000 -0400
+++ alienarena-7.66-svn4307/configure.ac 2015-06-09 13:01:13.731821880 -0400
@@ -358,7 +358,7 @@ PKG_CHECK_MODULES([FREETYPE2],[freetype2
])
dnl ---- ODE (client)
-PKG_CHECK_MODULES( [ODE],[ode],,[
+PKG_CHECK_MODULES( [ODE],[ode-double],,[
AC_MSG_ERROR(["Required ODE (Open Dynamics Engine) library not found"])
])
@@ -443,7 +443,7 @@ AC_CHECK_HEADERS([ode/ode.h],,
[AC_MSG_ERROR("Required ODE header file not found.")]
[],
[
-#define dDOUBLE
+#define dIDEDOUBLE
])
])
diff -up alienarena-7.66-svn4307/configure.ode-double alienarena-7.66-svn4307/configure
--- alienarena-7.66-svn4307/configure.ode-double 2015-06-09 10:42:59.000000000 -0400
+++ alienarena-7.66-svn4307/configure 2015-06-09 13:01:24.972742689 -0400
@@ -6454,12 +6454,12 @@ if test -n "$ODE_CFLAGS"; then
pkg_cv_ODE_CFLAGS="$ODE_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ode\""; } >&5
- ($PKG_CONFIG --exists --print-errors "ode") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ode-double\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ode-double") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_ODE_CFLAGS=`$PKG_CONFIG --cflags "ode" 2>/dev/null`
+ pkg_cv_ODE_CFLAGS=`$PKG_CONFIG --cflags "ode-double" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -6471,12 +6471,12 @@ if test -n "$ODE_LIBS"; then
pkg_cv_ODE_LIBS="$ODE_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ode\""; } >&5
- ($PKG_CONFIG --exists --print-errors "ode") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ode-double\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ode-double") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_ODE_LIBS=`$PKG_CONFIG --libs "ode" 2>/dev/null`
+ pkg_cv_ODE_LIBS=`$PKG_CONFIG --libs "ode-double" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -6497,9 +6497,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- ODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ode" 2>&1`
+ ODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ode-double" 2>&1`
else
- ODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ode" 2>&1`
+ ODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ode-double" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$ODE_PKG_ERRORS" >&5
@@ -7285,7 +7285,7 @@ done
for ac_header in ode/ode.h
do :
ac_fn_c_check_header_compile "$LINENO" "ode/ode.h" "ac_cv_header_ode_ode_h" "
-#define dDOUBLE
+#define dIDEDOUBLE
"
if test "x$ac_cv_header_ode_ode_h" = xyes; then :