summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-06-11 18:43:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-06-11 18:43:52 +0000
commitc500cdd2411416e1985adc0f3ca719e1249788b7 (patch)
tree67e77cd6632bbed4fa1052b9e9b7e14e94c9af9c /GNUmakefile.in
parent06cd0f1a32b843832298471e92cc1c577f1363a1 (diff)
downloadpostgresql-c500cdd2411416e1985adc0f3ca719e1249788b7.tar.gz
Remove overenthusiastic use of dependencies to control autoconf.
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in23
1 files changed, 16 insertions, 7 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index f3e33fb278..7c38733326 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,7 +1,7 @@
#
# PostgreSQL top level makefile
#
-# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.3 2000/06/10 18:01:34 petere Exp $
+# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.4 2000/06/11 18:43:52 tgl Exp $
#
srcdir = @srcdir@
@@ -36,11 +36,20 @@ ACLOCAL = @ACLOCAL@
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
-$(top_builddir)/config.status: $(top_srcdir)/configure
- cd $(top_builddir) && ./config.status --recheck
+# This rule does not work --- what if config.status doesn't exist?
-$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
- cd $(top_srcdir) && $(AUTOCONF)
+# $(top_builddir)/config.status: $(top_srcdir)/configure
+# cd $(top_builddir) && ./config.status --recheck
-$(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
- cd $(top_srcdir) && $(ACLOCAL) -I config
+# These dependencies are evil and dangerous, because they can cause make
+# to re-run autoconf and then re-run configure due to configure not
+# having a newer timestamp than configure.in after a CVS pull. Same
+# problem for aclocal timestamp skew. This solution is considerably
+# worse than the problem it was intended to solve.
+# Do not put it back or I will take it right out again --- tgl
+
+# $(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
+# cd $(top_srcdir) && $(AUTOCONF)
+
+# $(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
+# cd $(top_srcdir) && $(ACLOCAL) -I config