projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8c357
)
allow setting $OBJ_DIR to specify building in a subdir
author
Elliot Lee
<sopwith@src.gnome.org>
Fri, 20 Nov 1998 04:21:44 +0000
(
04:21
+0000)
committer
Elliot Lee
<sopwith@src.gnome.org>
Fri, 20 Nov 1998 04:21:44 +0000
(
04:21
+0000)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
662d600
..
ea21678
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-57,7
+57,13
@@
aclocal $ACLOCAL_FLAGS
automake $am_opt
autoconf
-./configure "$@"
+if [ -z "$OBJ_DIR" ]; then
+ ./configure "$@"
+else
+ mkdir -p "$OBJ_DIR"
+ cd "$OBJ_DIR"
+ ../configure "$@"
+fi
echo
echo "Now type 'make' to compile $PROJECT."