get rid of the code that modified PATH, ACLOCAL_FLAGS and LD_LIBRARY_PATH
authorJames Henstridge <james@jamesh.id.au>
Thu, 28 Oct 2004 11:43:29 +0000 (11:43 +0000)
committerJames Henstridge <jamesh@src.gnome.org>
Thu, 28 Oct 2004 11:43:29 +0000 (11:43 +0000)
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

macros2/ChangeLog
macros2/gnome-autogen.sh

index fc5fb90..50f2824 100644 (file)
@@ -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.
index c22eb60..8e13b82 100644 (file)
@@ -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`"