Skip to content

Commit c500cdd

Browse files
committed
Remove overenthusiastic use of dependencies to control autoconf.
1 parent 06cd0f1 commit c500cdd

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

GNUmakefile.in

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.3 2000/06/10 18:01:34 petere Exp $
4+
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.4 2000/06/11 18:43:52 tgl Exp $
55
#
66

77
srcdir = @srcdir@
@@ -36,11 +36,20 @@ ACLOCAL = @ACLOCAL@
3636
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
3737
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
3838

39-
$(top_builddir)/config.status: $(top_srcdir)/configure
40-
cd $(top_builddir) && ./config.status --recheck
39+
# This rule does not work --- what if config.status doesn't exist?
4140

42-
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
43-
cd $(top_srcdir) && $(AUTOCONF)
41+
# $(top_builddir)/config.status: $(top_srcdir)/configure
42+
# cd $(top_builddir) && ./config.status --recheck
4443

45-
$(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
46-
cd $(top_srcdir) && $(ACLOCAL) -I config
44+
# These dependencies are evil and dangerous, because they can cause make
45+
# to re-run autoconf and then re-run configure due to configure not
46+
# having a newer timestamp than configure.in after a CVS pull. Same
47+
# problem for aclocal timestamp skew. This solution is considerably
48+
# worse than the problem it was intended to solve.
49+
# Do not put it back or I will take it right out again --- tgl
50+
51+
# $(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
52+
# cd $(top_srcdir) && $(AUTOCONF)
53+
54+
# $(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
55+
# cd $(top_srcdir) && $(ACLOCAL) -I config

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy