From cd098ea1997e42e1dfe9633eac2fbee4c545aaf1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Jul 2007 18:26:23 +0200 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ configure.ac | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) 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]) -- 2.47.2