blob: 5fc1de5610174a5ef5dec0eae893face6d72209f [file] [log] [blame]
--- ORBit2-2.14.17/configure.in-orig 2009-01-10 09:36:18.000000000 -0800
+++ ORBit2-2.14.17/configure.in 2009-06-17 15:10:59.000000000 -0700
@@ -217,20 +217,20 @@ dnl
dnl So many people with broken linking setups asked about this
dnl it turned out to be necessary to check for this.
dnl
-dofus_save_libs="$LIBS"
-LIBS="$ORBIT_LIBS $LIBS"
-AC_TRY_RUN([ #include <stdio.h>
- main ()
- {
- return 0;
- } ],,
- AC_MSG_ERROR([
-Linking is badly borked on your system. Please ensure your library path is correct
-Check config.log for details - check near the end of the log above 'failed program was'
-Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
-prefix you're compiling on: '${prefix}' ]),
-AC_MSG_WARN([Could not check for borked linking while cross-compiling]))
-LIBS="$dofus_save_libs"
+dnl dofus_save_libs="$LIBS"
+dnl LIBS="$ORBIT_LIBS $LIBS"
+dnl AC_TRY_RUN([ #include <stdio.h>
+dnl main ()
+dnl {
+dnl return 0;
+dnl } ],,
+dnl AC_MSG_ERROR([
+dnl Linking is badly borked on your system. Please ensure your library path is correct
+dnl Check config.log for details - check near the end of the log above 'failed program was'
+dnl Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
+dnl prefix you're compiling on: '${prefix}' ]),
+dnl AC_MSG_WARN([Could not check for borked linking while cross-compiling]))
+dnl LIBS="$dofus_save_libs"
orig_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"