From 03833e4c56562136f1b373701c9c1fd5377aab5f Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Wed, 13 Jun 2007 13:27:40 +0000 Subject: [PATCH] Fix autogen.sh to automatically include the local m4 directory, used as a fallback if system-wide defs are not found. --- BasiliskII/src/Unix/autogen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BasiliskII/src/Unix/autogen.sh b/BasiliskII/src/Unix/autogen.sh index 032e12c2..e77a310b 100755 --- a/BasiliskII/src/Unix/autogen.sh +++ b/BasiliskII/src/Unix/autogen.sh @@ -34,6 +34,10 @@ if test "$DIE" -eq 1; then exit 1 fi +if test -z "$ACLOCAL_FLAGS"; then + ACLOCAL_FLAGS="-I `aclocal --print-ac-dir` -I `dirname $0`/m4" +fi + aclocalinclude="$ACLOCAL_FLAGS"; \ (echo $_echo_n " + Running aclocal: $_echo_c"; \ aclocal $aclocalinclude; \