Do the grand OAF hokey-pokey properly.
authorElliot Lee <sopwith@src.gnome.org>
Wed, 17 Nov 1999 01:48:08 +0000 (01:48 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Wed, 17 Nov 1999 01:48:08 +0000 (01:48 +0000)
Do the grand OAF hokey-pokey properly.

svn path=/trunk/; revision=997

macros/autogen.sh

index 7027391..0282147 100644 (file)
@@ -3,6 +3,12 @@
 
 DIE=0
 
+if [ -n "$GNOME2_PATH" ]; then
+       ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
+       PATH="$GNOME2_DIR/bin:$PATH"
+       export PATH
+fi
+
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
   echo
   echo "**Error**: You must have \`autoconf' installed to compile Gnome."