summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac9
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b144b3f7..26b56458b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-22 Jim Meyering <jim@meyering.net>
+
+ * 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 <eggert@cs.ucla.edu>
* bootstrap (slurp): Work even in environments where "ls" defaults
diff --git a/configure.ac b/configure.ac
index 6b5cba4af..081dbda0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,9 +313,14 @@ MAN=`echo "$MAN"|sed 's/\<ginstall\.1\>/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])