After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 496162 - Fix autogen.sh when srcdir != builddir
Fix autogen.sh when srcdir != builddir
Status: RESOLVED FIXED
Product: pygtk
Classification: Bindings
Component: general
Git Master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 409235 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-12 16:18 UTC by Yevgen Muntyan
Modified: 2007-11-12 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yevgen Muntyan 2007-11-12 16:18:42 UTC
Index: autogen.sh
===================================================================
--- autogen.sh  (revision 2926)
+++ autogen.sh  (working copy)
@@ -3,11 +3,12 @@

 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
+srcdir=`cd $srcdir && pwd`

 REQUIRED_AUTOMAKE_VERSION=1.8

 PKG_NAME="PyGTK"
-ACLOCAL_FLAGS="-I `pwd`/m4 $ACLOCAL_FLAGS"
+ACLOCAL_FLAGS="-I $srcdir/m4 $ACLOCAL_FLAGS"

 #name of package
 PKG_NAME=${PKG_NAME:-Package}
Comment 1 Johan (not receiving bugmail) Dahlin 2007-11-12 17:40:34 UTC
*** Bug 409235 has been marked as a duplicate of this bug. ***
Comment 2 Johan (not receiving bugmail) Dahlin 2007-11-12 17:40:57 UTC
Looks good, Go ahead and commit.
Comment 3 Yevgen Muntyan 2007-11-12 17:46:23 UTC
Done.