summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)