diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-09-03 00:10:41 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-09-03 00:10:41 +0200 |
commit | 5578788cdb078c97988eb445c2bd848081679e4c (patch) | |
tree | 49acd3edf2cc11478cd064a0b0d07b07048b1025 /gnulib-tool | |
parent | ca90d29cf43f3f8040aeaca3c7e4dbb7e7edc979 (diff) | |
download | gnulib-5578788cdb078c97988eb445c2bd848081679e4c.tar.gz |
Replace uses of obsolete Autoconf macros with modern counterparts.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-x | gnulib-tool | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gnulib-tool b/gnulib-tool index c7f31b2daa..46f5f8790d 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -4010,7 +4010,7 @@ func_create_testdir () echo "AC_CONFIG_AUX_DIR([$auxdir])" echo "AM_INIT_AUTOMAKE" echo - echo "AM_CONFIG_HEADER([config.h])" + echo "AC_CONFIG_HEADERS([config.h])" echo echo "AC_PROG_CC" echo "AC_PROG_INSTALL" @@ -4100,7 +4100,8 @@ func_create_testdir () # by "merging" config.h into $testsbase/config.h; look out for gcc warnings. echo "AH_TOP([#include \"../config.h\"])" echo - echo "AC_OUTPUT([Makefile])" + echo "AC_CONFIG_FILES([Makefile])" + echo "AC_OUTPUT" ) > "$testdir/$testsbase/configure.ac" auxdir="$saved_auxdir" func_append subdirs " $testsbase" @@ -4125,7 +4126,7 @@ func_create_testdir () fi echo "AM_INIT_AUTOMAKE" echo - echo "AM_CONFIG_HEADER([config.h])" + echo "AC_CONFIG_HEADERS([config.h])" echo echo "AC_PROG_CC" echo "AC_PROG_INSTALL" @@ -4216,7 +4217,8 @@ func_create_testdir () *) func_append makefiles " $d/Makefile" ;; esac done - echo "AC_OUTPUT([$makefiles])" + echo "AC_CONFIG_FILES([$makefiles])" + echo "AC_OUTPUT" ) > "$testdir/configure.ac" # Create autogenerated files. @@ -4378,7 +4380,8 @@ func_create_megatestdir () echo "AC_PROG_MAKE_SET" echo echo "AC_CONFIG_SUBDIRS([$megasubdirs])" - echo "AC_OUTPUT([Makefile])" + echo "AC_CONFIG_FILES([Makefile])" + echo "AC_OUTPUT" ) > "$megatestdir/configure.ac" # Create autogenerated files. |