<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39849 >
Oops. Your AC_GNU_SOURCE macro works and compiles fine but some time
later I notice the cryptic warning
+ running aclocal ...
configure.ac:168: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:168: the top level
I'm not sure what this refers to as AC_COMPILE_IFELSE is not called
directly anywhere in there.
However I'm going to commit this patch to move the AC_GNU_SOURCE call up
to the top with the other base platform checks.
--- configure.ac (revision 14085)
+++ configure.ac (working copy)
@@ -8,6 +8,7 @@
AC_CONFIG_AUX_DIR(bootstrap) # This can't be quoted or automake will fail
@@ -164,9 +165,6 @@
-dnl Check for GNU libc
dnl Checks for programs.
Freeciv-dev mailing list