summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-05-02 22:29:56 +0000
committerRoland McGrath <roland@redhat.com>1994-05-02 22:29:56 +0000
commite812d40f9f1dbbeea30a47a440e3e168dfafd696 (patch)
treebb96d6de63be7bc1160cd555eea4cf12267fd242 /GNUmakefile
parentb12c639bb2f189ca70ea29c25e117704019041e7 (diff)
downloadgunmake-e812d40f9f1dbbeea30a47a440e3e168dfafd696.tar.gz
(AC_MACRODIR): Define if undefined.
(ACFLAGS, configure, config.h.in): Use that value.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index eb56fa2..a2405d3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -50,9 +50,11 @@ LOADLIBES := $(filter-out @%@,$(LOADLIBES))
ALLOCA := $(filter-out @%@,$(ALLOCA))
# Tell autoconf/autoheader to use m4 files from the master source.
-ACFLAGS := -m /home/gd/gnu/autoconf
-configure config.h.in: $(patsubst %,/home/gd/gnu/autoconf/%.m4,\
- acspecific acgeneral)
+ifndef AC_MACRODIR
+AC_MACRODIR = /home/gd/gnu/autoconf/autoconf
+endif
+ACFLAGS := -m $(AC_MACRODIR)
+configure config.h.in: $(patsubst %,$(AC_MACRODIR)/%.m4,acspecific acgeneral)
config.h.in: /home/gd/gnu/autoconf/acconfig.h
configure: configure.in; autoconf $(ACFLAGS)
config.h.in: configure.in; autoheader $(ACFLAGS)