Mercurial > gnulib
diff gnulib-tool @ 11931:d42b3b6f11d3
Replace uses of obsolete Autoconf macros with modern counterparts.
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Thu, 03 Sep 2009 00:10:41 +0200 |
parents | 6a1268d2cf2a |
children | d625e819e6ea |
line wrap: on
line diff
--- a/gnulib-tool Wed Sep 02 22:43:05 2009 +0200 +++ b/gnulib-tool Thu Sep 03 00:10:41 2009 +0200 @@ -4010,7 +4010,7 @@ 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 @@ # 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 @@ 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_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 @@ 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.