From e7e75cc533ed848c2162081dc1be05d8f2413751 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 21 Jan 2009 09:55:55 -0700 Subject: [PATCH] gnulib-tool: avoid warnings from using obsolete AC_GNU_SOURCE * gnulib-tool (func_dest_tmpfilename, func_create_testdir): Using obsolete AC_GNU_SOURCE causes out-of-order expansion; avoid it, and rely solely on gl_USE_SYSTEM_EXTENSIONS. Signed-off-by: Eric Blake --- ChangeLog | 7 +++++++ gnulib-tool | 11 ----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index af6bee5db..7b7c8bdae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-21 Eric Blake + + gnulib-tool: avoid warnings from using obsolete AC_GNU_SOURCE + * gnulib-tool (func_dest_tmpfilename, func_create_testdir): Using + obsolete AC_GNU_SOURCE causes out-of-order expansion; avoid it, + and rely solely on gl_USE_SYSTEM_EXTENSIONS. + 2009-01-21 Paolo Bonzini Revert: diff --git a/gnulib-tool b/gnulib-tool index c11ef354d..c6725d3dc 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -3378,9 +3378,6 @@ s,//*$,/,' if test -n "$uses_subdirs"; then echo " AC_REQUIRE([AM_PROG_CC_C_O])" fi - if grep AC_GNU_SOURCE "$destdir"/$m4base/*.m4 >/dev/null 2>/dev/null; then - echo " AC_REQUIRE([AC_GNU_SOURCE])" - fi for module in $final_modules; do func_verify_module if test -n "$module"; then @@ -3919,10 +3916,6 @@ func_create_testdir () echo "AC_PROG_MAKE_SET" echo "AC_PROG_RANLIB" echo - if grep AC_GNU_SOURCE "$testdir/$m4base"/*.m4 >/dev/null 2>/dev/null; then - echo "AC_GNU_SOURCE" - echo - fi for module in $modules; do func_verify_module if test -n "$module"; then @@ -4052,10 +4045,6 @@ func_create_testdir () echo "AM_PROG_CC_C_O" echo fi - if grep AC_GNU_SOURCE "$testdir/$m4base"/*.m4 >/dev/null 2>/dev/null; then - echo "AC_GNU_SOURCE" - echo - fi for module in $modules; do func_verify_nontests_module if test -n "$module"; then -- 2.11.0