Mercurial > hg > octave-nkf > gnulib-hg
changeset 6179:76e367ba26d3
Avoid multiple copies of AC_GNU_SOURCE in the configure file.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 31 Aug 2005 20:52:14 +0000 |
parents | 3830993b4c7a |
children | a0904de304e5 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-28 Bruno Haible <bruno@clisp.org> + + * gnulib-tool (func_import): Require AC_GNU_SOURCE etc. instead of + always instantiating them. + 2005-08-28 Bruno Haible <bruno@clisp.org> * gnulib-tool (import): Rename most ac_* variables to cached_*.
--- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-08-31 20:51:41 $' +cvsdatestamp='$Date: 2005-08-31 20:52:14 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -855,10 +855,10 @@ echo "AC_DEFUN([${macro_prefix}_EARLY]," echo "[" if grep AC_GNU_SOURCE "$destdir"/$m4base/*.m4 > /dev/null; then - echo " AC_GNU_SOURCE" + echo " AC_REQUIRE([AC_GNU_SOURCE])" fi if grep gl_USE_SYSTEM_EXTENSIONS "$destdir"/$m4base/*.m4 > /dev/null; then - echo " gl_USE_SYSTEM_EXTENSIONS" + echo " AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])" fi echo "])" echo