summaryrefslogtreecommitdiff
path: root/macros/autogen.sh
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1999-11-17 01:48:08 +0000
committerElliot Lee <sopwith@src.gnome.org>1999-11-17 01:48:08 +0000
commit86d2fb5dd25c751722672945b903352bb2218306 (patch)
tree5ec55fdf078cefc1fe550afcd9b93be3580c2e70 /macros/autogen.sh
parentbb9e58b78bf7e02677b89f85cd141f99f72978b6 (diff)
downloadshared-mime-info-86d2fb5dd25c751722672945b903352bb2218306.tar.gz
Do the grand OAF hokey-pokey properly.
Do the grand OAF hokey-pokey properly. svn path=/trunk/; revision=997
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r--macros/autogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 70273913..02821475 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -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."