From 1b0b5c24998bb6647a22f6cfe1f80cef12c6b9dd Mon Sep 17 00:00:00 2001 From: maroy Date: Sat, 20 Nov 2004 13:26:48 +0000 Subject: [PATCH] autogen now uses locally installed GTK+ and GTK-- --- livesupport/products/gLiveSupport/bin/autogen.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/livesupport/products/gLiveSupport/bin/autogen.sh b/livesupport/products/gLiveSupport/bin/autogen.sh index d2df3e553..0f3bab27f 100755 --- a/livesupport/products/gLiveSupport/bin/autogen.sh +++ b/livesupport/products/gLiveSupport/bin/autogen.sh @@ -22,7 +22,7 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.4 $ +# Version : $Revision: 1.5 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/bin/autogen.sh,v $ #------------------------------------------------------------------------------- @@ -37,6 +37,7 @@ package="gLiveSupport" reldir=`dirname $0`/.. basedir=`cd $reldir; pwd; cd -` test -z "$basedir" && basedir=. +usrdir=`cd $basedir/../../usr; pwd; cd -` bindir=$basedir/bin etcdir=$basedir/etc @@ -85,4 +86,10 @@ autoheader ${configure_ac} echo " autoconf -o ${configure} ${configure_ac}" autoconf -I ${tmpdir} -o ${configure} ${configure_ac} +export CPPFLAGS="-I$usrdir/include" +export LDFLAGS="-L$usrdir/lib" +export PKG_CONFIG_PATH="$usrdir/lib/pkgconfig" +export LD_LIBRARY_PATH="$usrdir/lib" + ${configure} "$@" && echo +