From: Peter Eisentraut Date: Tue, 2 Jan 2001 22:13:05 +0000 (+0000) Subject: Only update stamp-h if config.status actually looks at config.h. X-Git-Tag: REL7_1_BETA2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0fc635220f4ff467fba421a26e8e2a385e19c77;p=postgresql Only update stamp-h if config.status actually looks at config.h. --- diff --git a/configure b/configure index 0b78352605..b342fafd7b 100755 --- a/configure +++ b/configure @@ -8323,7 +8323,7 @@ EOF cat >> $CONFIG_STATUS <<\EOF # Update timestamp for config.h (see Makefile.global) -echo >src/include/stamp-h +test x"$CONFIG_HEADERS" != x"" && echo >src/include/stamp-h exit 0 EOF diff --git a/configure.in b/configure.in index dd03fa5ea1..b16c7bdfce 100644 --- a/configure.in +++ b/configure.in @@ -1140,5 +1140,5 @@ AC_OUTPUT( ], [ # Update timestamp for config.h (see Makefile.global) -echo >src/include/stamp-h +test x"$CONFIG_HEADERS" != x"" && echo >src/include/stamp-h ])