summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-05-19 00:35:53 +0000
committerRoland McGrath <roland@redhat.com>1994-05-19 00:35:53 +0000
commit10abeb4a082c5b6bb1e2d9b3b8121164c1e22923 (patch)
tree3e83a24c16f53cadab3d71f4912e041560afdbf3
parenta369402d1197a3e9f469176403499115d38884bd (diff)
downloadgunmake-10abeb4a082c5b6bb1e2d9b3b8121164c1e22923.tar.gz
(AC_MACRODIR): Don't define it.
[AC_MACRODIR]: Protect deps using it with ifdef.
-rw-r--r--GNUmakefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e83ec8f..b6f5fd8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -49,13 +49,10 @@ extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o
LOADLIBES := $(filter-out @%@,$(LOADLIBES))
ALLOCA := $(filter-out @%@,$(ALLOCA))
-# Tell autoconf/autoheader to use m4 files from the master source.
-ifndef AC_MACRODIR
-AC_MACRODIR = /home/gd/gnu/autoconf
-endif
-ACFLAGS := -m $(AC_MACRODIR)
+ifdef AC_MACRODIR
configure config.h.in: $(patsubst %,$(AC_MACRODIR)/%.m4,acspecific acgeneral)
config.h.in: $(AC_MACRODIR)/acconfig.h
+endif
configure: configure.in; autoconf $(ACFLAGS)
config.h.in: configure.in; autoheader $(ACFLAGS)