summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>2000-07-24 15:55:52 +0000
committerMartin Baulig <martin@src.gnome.org>2000-07-24 15:55:52 +0000
commita2f1e4ebc32555355eba31315d2178cab622019c (patch)
treef90a064cb052f3f7c546a8054bdf2faefb1ff92e
parent80a465e548278e727aee556eab719e70979435b0 (diff)
downloadshared-mime-info-a2f1e4ebc32555355eba31315d2178cab622019c.tar.gz
Fix GNOME2_DIR.
svn path=/trunk/; revision=1318
-rw-r--r--macros2/autogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/macros2/autogen.sh b/macros2/autogen.sh
index 9bd4170d..7001ca67 100644
--- a/macros2/autogen.sh
+++ b/macros2/autogen.sh
@@ -3,10 +3,12 @@
DIE=0
-if [ -n "$GNOME2_PATH" ]; then
- ACLOCAL_FLAGS="-I $GNOME2_PATH/share/aclocal $ACLOCAL_FLAGS"
- PATH="$GNOME2_PATH/bin:$PATH"
+if [ -n "$GNOME2_DIR" ]; then
+ ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
+ LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
+ PATH="$GNOME2_DIR/bin:$PATH"
export PATH
+ export LD_LIBRARY_PATH
fi
(autoconf --version) < /dev/null > /dev/null 2>&1 || {