(AC_MACRODIR): Define if undefined.

(ACFLAGS, configure, config.h.in): Use that value.
This commit is contained in:
Roland McGrath 1994-05-02 22:29:56 +00:00
parent b12c639bb2
commit e812d40f9f

View file

@ -50,9 +50,11 @@ LOADLIBES := $(filter-out @%@,$(LOADLIBES))
ALLOCA := $(filter-out @%@,$(ALLOCA)) ALLOCA := $(filter-out @%@,$(ALLOCA))
# Tell autoconf/autoheader to use m4 files from the master source. # Tell autoconf/autoheader to use m4 files from the master source.
ACFLAGS := -m /home/gd/gnu/autoconf ifndef AC_MACRODIR
configure config.h.in: $(patsubst %,/home/gd/gnu/autoconf/%.m4,\ AC_MACRODIR = /home/gd/gnu/autoconf/autoconf
acspecific acgeneral) endif
ACFLAGS := -m $(AC_MACRODIR)
configure config.h.in: $(patsubst %,$(AC_MACRODIR)/%.m4,acspecific acgeneral)
config.h.in: /home/gd/gnu/autoconf/acconfig.h config.h.in: /home/gd/gnu/autoconf/acconfig.h
configure: configure.in; autoconf $(ACFLAGS) configure: configure.in; autoconf $(ACFLAGS)
config.h.in: configure.in; autoheader $(ACFLAGS) config.h.in: configure.in; autoheader $(ACFLAGS)