projects
/
dana
/
cg-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 662d6001de8156ac9054b63d74ff5eb10545ed71..ea216789acf7e3540328970d8171c65ecf473c9f 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."