projects
/
platform
/
upstream
/
xcb-proto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea93d1b
)
Update autogen.sh to one that does objdir != srcdir.
author
Matthias Hopf
<mhopf@suse.de>
Wed, 11 Apr 2007 15:23:44 +0000
(17:23 +0200)
committer
Matthias Hopf
<mhopf@suse.de>
Wed, 11 Apr 2007 15:23:44 +0000
(17:23 +0200)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
d68a142
..
904cd67
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,3
+1,12
@@
#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
autoreconf -v --install || exit 1
-./configure "$@"
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"