diff autogen.sh @ 3505:67b0832e9542

[gaim-migrate @ 3570] This will help aclocal find your gtk2 .m4 files if you have them installed in a place autoconf can't find them. Thanks Ethan. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 14 Sep 2002 07:47:36 +0000
parents d5bb9c7b6e0a
children 1496be1c345c
line wrap: on
line diff
--- a/autogen.sh	Sat Sep 14 07:28:10 2002 +0000
+++ b/autogen.sh	Sat Sep 14 07:47:36 2002 +0000
@@ -57,6 +57,10 @@
 echo "Running libtoolize, please ignore non-fatal messages...."
 echo n | libtoolize --copy --force || exit;
 
+if test -d /usr/local/share/aclocal ; then
+	ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/local/share/aclocal"
+fi
+
 aclocal -I m4 $ACLOCAL_FLAGS || exit;
 autoheader || exit;
 automake --add-missing --copy;