summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Henstridge <james@jamesh.id.au>2004-10-28 11:43:29 +0000
committerJames Henstridge <jamesh@src.gnome.org>2004-10-28 11:43:29 +0000
commit1f4269cf6fc61e01fec73684345a81998eb68d5b (patch)
tree772ef9f2742177a7e565c22320f134775673b966
parent31b4557e615233e6972b32e293b94eb012c01b07 (diff)
downloadgnome-common-1f4269cf6fc61e01fec73684345a81998eb68d5b.tar.gz
get rid of the code that modified PATH, ACLOCAL_FLAGS and LD_LIBRARY_PATH
2004-10-28 James Henstridge <james@jamesh.id.au> * gnome-autogen.sh: get rid of the code that modified PATH, ACLOCAL_FLAGS and LD_LIBRARY_PATH based on $GNOME2_PATH, since this was broken. It could cause configure tests to pass, when the subsequent build would fail due to path problems. For more details, see bug #140210. svn path=/trunk/; revision=3481
-rw-r--r--macros2/ChangeLog6
-rw-r--r--macros2/gnome-autogen.sh22
2 files changed, 6 insertions, 22 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog
index fc5fb90..50f2824 100644
--- a/macros2/ChangeLog
+++ b/macros2/ChangeLog
@@ -1,5 +1,11 @@
2004-10-28 James Henstridge <james@jamesh.id.au>
+ * gnome-autogen.sh: get rid of the code that modified PATH,
+ ACLOCAL_FLAGS and LD_LIBRARY_PATH based on $GNOME2_PATH, since
+ this was broken. It could cause configure tests to pass, when the
+ subsequent build would fail due to path problems. For more
+ details, see bug #140210.
+
* gnome-autogen.sh: if the directory is read only, skip it. This
helps in cases where a directory from a failed "make distcheck" is
lying around. Should fix bug #136093.
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index c22eb60..8e13b82 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -28,28 +28,6 @@ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
*) ECHO_N= ;;
esac
-# if GNOME2_DIR or GNOME2_PATH is set, modify ACLOCAL_FLAGS ...
-# NOTE: GNOME2_DIR is deprecated (as of Jan 2004), but is left here for
-# backwards-compatibility. You should be using GNOME2_PATH, since that is also
-# understood by libraries such as libgnome.
-if [ -n "$GNOME2_DIR" ]; then
- echo "Using GNOME2_DIR is deprecated in gnome-common."
- echo "Please use GNOME2_PATH instead (for compatibility with other GNOME pieces)."
- 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
-else
- if [ -n "$GNOME2_PATH" ]; then
- ACLOCAL_FLAGS="-I $GNOME2_PATH/share/aclocal $ACLOCAL_FLAGS"
- LD_LIBRARY_PATH="$GNOME2_PATH/lib:$LD_LIBRARY_PATH"
- PATH="$GNOME2_PATH/bin:$PATH"
- export PATH
- export LD_LIBRARY_PATH
- fi
-fi
-
# some terminal codes ...
boldface="`tput bold 2>/dev/null`"
normal="`tput sgr0 2>/dev/null`"