autogen.sh

changeset 3566
c3e49baa0c2b
parent 3505
77889c7db829
child 4564
b7e0bb6a7140
--- a/autogen.sh	Sat Sep 28 21:39:45 2002 +0000
+++ b/autogen.sh	Sat Sep 28 22:12:57 2002 +0000
@@ -57,9 +57,16 @@
 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
+# Add other directories to this list if people continue to experience
+# brokennesses ...  Obviously the real answer is for them to fix it
+# themselves, but for Luke's sake we have this.
+for dir in "/usr/local/share/aclocal" \
+           "/opt/gnome-1.4/share/aclocal"
+do
+	if test -d $dir ; then
+		ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
+	fi
+done
 
 aclocal -I m4 $ACLOCAL_FLAGS || exit;
 autoheader || exit;

mercurial