diff options
author | Dick Porter <dick@acm.org> | 2001-09-05 13:52:21 +0400 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2001-09-05 13:52:21 +0400 |
commit | f93aad6f51dbe66038e09bbd7cb9c9a250e3ad2c (patch) | |
tree | 48899b0dd19b6fddd1be20843fc5653ad3b37a67 /autogen.sh | |
parent | 278a0b3d57f41aabda6bbd4e9cca3abf16833dcb (diff) |
2001-09-05 Dick Porter <dick@ximian.com>
* autogen.sh: Fixed the section that adds $ACLOCAL_FLAGS to the
aclocal invocation, so putting aclocal files in /usr/local works
svn path=/trunk/mono/; revision=718
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index bfd7bef3037..12fbd51b901 100755 --- a/autogen.sh +++ b/autogen.sh @@ -87,7 +87,12 @@ do echo processing $dr macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin` ( cd $dr - macrosdir=`find . -name macros -print` + aclocalinclude="$ACLOCAL_FLAGS" + for k in $macrodirs; do + if test -d $k; then + aclocalinclude="$aclocalinclude -I $k" + fi + done if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then if grep "sed.*POTFILES" configure.in >/dev/null; then : do nothing -- we still have an old unmodified configure.in |