From e812d40f9f1dbbeea30a47a440e3e168dfafd696 Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@redhat.com>
Date: Mon, 2 May 1994 22:29:56 +0000
Subject: [PATCH] (AC_MACRODIR): Define if undefined. (ACFLAGS, configure,
 config.h.in): Use that value.

---
 GNUmakefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index eb56fa22..a2405d3f 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)