projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c0e59
)
Allow to build out of source directory
author
Daniel Narvaez
<dwnarvaez@gmail.com>
Thu, 19 Jul 2012 20:24:27 +0000
(22:24 +0200)
committer
Mike Gorse
<mgorse@suse.com>
Mon, 6 Aug 2012 20:44:38 +0000
(15:44 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=680281
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
aff1175
..
38add59
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,5
+1,11
@@
#!/bin/sh
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd "$srcdir"
+
# run gtkdocize
gtkdocize || exit 1
@@
-7,5
+13,8
@@
intltoolize --force --copy --automake || exit 1
# gnome-autogen.sh runs configure, so do likewise.
autoreconf -vif
-test -n "$NOCONFIGURE" || ./configure "$@"
+
+cd "$olddir"
+
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"