diff -up alienarena-7.71.2-svn5674/configure.ac.ode-double alienarena-7.71.2-svn5674/configure.ac
--- alienarena-7.71.2-svn5674/configure.ac.ode-double 2021-01-25 11:36:50.000000000 -0500
+++ alienarena-7.71.2-svn5674/configure.ac 2021-01-25 12:26:07.062951537 -0500
@@ -370,7 +370,7 @@ dnl and configuration. Double precision
dnl is not considered to be a user-specifiable option.
dnl
AS_IF([ test "x$system_libode" = "xyes" ],[
- PKG_CHECK_MODULES([ODE],[ode],,[
+ PKG_CHECK_MODULES([ODE],[ode-double],,[
AC_MSG_FAILURE(
[--with-system-libode specified, but the Open Dynamics Engine library could not be found])
])
@@ -467,7 +467,7 @@ AS_IF([ test "x$system_libode" = "xyes"]
[AC_MSG_ERROR([with-system-libode: required ODE header file, ode.h, not found])]
[],
[
-#define dDOUBLE
+#define dIDEDOUBLE
])
])
])
diff -up alienarena-7.71.2-svn5674/configure.ode-double alienarena-7.71.2-svn5674/configure
--- alienarena-7.71.2-svn5674/configure.ode-double 2021-01-25 11:36:50.000000000 -0500
+++ alienarena-7.71.2-svn5674/configure 2021-01-25 12:05:08.187802312 -0500
@@ -7204,12 +7204,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
@@ -7221,12 +7221,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
@@ -7247,9 +7247,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
@@ -7972,7 +7972,7 @@ if test "x$system_libode" = "xyes"; the
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 :