From: Jim Meyering Date: Sun, 22 Jul 2007 16:26:23 +0000 (+0200) Subject: Arrange to rerun configure whenever src/Makefile.am changes. X-Git-Tag: v6.9.89~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd098ea1997e42e1dfe9633eac2fbee4c545aaf1;p=thirdparty%2Fcoreutils.git Arrange to rerun configure whenever src/Makefile.am changes. * configure.ac: Arrange to rerun configure whenever src/Makefile.am changes. That file contains the list of program names that must be substituted into files like man/Makefile. Add quotes around AC_SUBST arguments. Signed-off-by: Jim Meyering --- diff --git a/ChangeLog b/ChangeLog index 3b144b3f71..26b56458be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-22 Jim Meyering + + * configure.ac: Arrange to rerun configure whenever src/Makefile.am + changes. That file contains the list of program names that must be + substituted into files like man/Makefile. + Add quotes around AC_SUBST arguments. + 2007-07-21 Paul Eggert * bootstrap (slurp): Work even in environments where "ls" defaults diff --git a/configure.ac b/configure.ac index 6b5cba4af1..081dbda0c7 100644 --- a/configure.ac +++ b/configure.ac @@ -313,9 +313,14 @@ MAN=`echo "$MAN"|sed 's/\/install.1/'` MAN=`echo "$MAN"|sed 's/\@<:@\.1//'` OPTIONAL_BIN_PROGS=`echo "$optional_bin_progs "|sed 's/ /\$(EXEEXT) /g;s/ $//'` -AC_SUBST(OPTIONAL_BIN_PROGS) +AC_SUBST([OPTIONAL_BIN_PROGS]) NO_INSTALL_PROGS_DEFAULT=$no_install_progs_default -AC_SUBST(NO_INSTALL_PROGS_DEFAULT) +AC_SUBST([NO_INSTALL_PROGS_DEFAULT]) + +# Arrange to rerun configure whenever the file, src/Makefile.am, +# containing the list of program names changes. +CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/src/Makefile.am' +AC_SUBST([CONFIG_STATUS_DEPENDENCIES]) ############################################################################ AM_GNU_GETTEXT([external], [need-formatstring-macros])