Avoid autoconf/autoheader warning
authorBruno Haible <bruno@clisp.org>
Sun, 17 Aug 2003 15:25:00 +0000 (15:25 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 17 Aug 2003 15:25:00 +0000 (15:25 +0000)
"AC_COMPILE_IFELSE was called before gl_USE_SYSTEM_EXTENSIONS"

ChangeLog
gnulib-tool
modules/extensions

index 593b412..e2cbdb8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2003-08-17  Bruno Haible  <bruno@clisp.org>
 
+       * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
+       like AC_GNU_SOURCE.
+       * modules/extensions (configure.ac): Comment out the invocation of
+       gl_USE_SYSTEM_EXTENSIONS.
+
+2003-08-17  Bruno Haible  <bruno@clisp.org>
+
        * modules/euidaccess (Files): Add lib/euidaccess.h.
 
 2003-08-16  Paul Eggert  <eggert@twinsun.com>
index 070b779..aa40767 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2003-05-22 13:57:59 $'
+cvsdatestamp='$Date: 2003-08-17 15:25:00 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -421,6 +421,10 @@ func_create_testdir ()
      echo "AC_GNU_SOURCE"
      echo
    fi
+   if grep gl_USE_SYSTEM_EXTENSIONS "$testdir"/m4/*.m4 > /dev/null; then
+     echo "gl_USE_SYSTEM_EXTENSIONS"
+     echo
+   fi
    for module in $modules; do
      func_verify_module
      if test -n "$module"; then
index 5d88c0c..a67ce0e 100644 (file)
@@ -7,7 +7,7 @@ m4/extensions.m4
 Depends-on:
 
 configure.ac:
-gl_USE_SYSTEM_EXTENSIONS
+dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.
 
 Makefile.am: