projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8129984
)
Use canonical autogen.sh
author
Daniel Stone
<daniel@fooishbar.org>
Thu, 24 May 2007 13:19:40 +0000
(16:19 +0300)
committer
Daniel Stone
<daniels@endtroducing.fooishbar.org>
Thu, 24 May 2007 13:19:40 +0000
(16:19 +0300)
Use the standard autogen.sh, which allows for srcdir != builddir.
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
dac4657
..
904cd67
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,5
+1,12
@@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
+#! /bin/sh
-autoreconf --force -i
-./configure $*
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"