]> granicus.if.org Git - postgresql/commitdiff
Only update stamp-h if config.status actually looks at config.h.
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 2 Jan 2001 22:13:05 +0000 (22:13 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 2 Jan 2001 22:13:05 +0000 (22:13 +0000)
configure
configure.in

index 0b7835260547e6efad09571050d3300507597b10..b342fafd7b2e7b665d1eafc02e106c353a612ce3 100755 (executable)
--- 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
index dd03fa5ea1cc3917ea7d380b6ab7cf4335fb9128..b16c7bdfce1787eeecbf7b1bcde320dbd22ec81a 100644 (file)
@@ -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
 ])