aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/autogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 7027391368..02821475fd 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."