[libgsf] Config: improve situation for absolute srcdir.
- From: Morten Welinder <mortenw src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libgsf] Config: improve situation for absolute srcdir.
 
- Date: Fri,  7 Sep 2012 22:21:43 +0000 (UTC)
 
commit d1e38571fee984e51fb16d66aa394af543d5c758
Author: Morten Welinder <terra gnome org>
Date:   Fri Sep 7 18:20:36 2012 -0400
    Config: improve situation for absolute srcdir.
    
    See bug 682579.
 autogen.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 40e9338..d8f8824 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,7 +12,8 @@ USE_GNOME2_MACROS=1
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-ACLOCAL_FLAGS="-I `pwd`/$srcdir/m4 $ACLOCAL_FLAGS"
+abs_srcdir=`cd $srcdir && pwd`
+ACLOCAL_FLAGS="-I $abs_srcdir/m4 $ACLOCAL_FLAGS"
 
 (test -f $srcdir/configure.in \
   && test -d $srcdir/gsf \
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]