diff options
author | Martin Baulig <martin@src.gnome.org> | 2000-07-24 15:55:52 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-07-24 15:55:52 +0000 |
commit | a2f1e4ebc32555355eba31315d2178cab622019c (patch) | |
tree | f90a064cb052f3f7c546a8054bdf2faefb1ff92e | |
parent | 80a465e548278e727aee556eab719e70979435b0 (diff) | |
download | shared-mime-info-a2f1e4ebc32555355eba31315d2178cab622019c.tar.gz |
Fix GNOME2_DIR.
svn path=/trunk/; revision=1318
-rw-r--r-- | macros2/autogen.sh | 8 |
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 || { |