diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-11-20 04:21:48 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-11-20 04:21:48 +0000 |
commit | 14f08e6a93d19c3a5ca07392eff66171d484d58a (patch) | |
tree | fa92b86e431b0612cad4a98532df365566a2ec4a /autogen.sh | |
parent | 45c02db925c1bbb8b5d17926954f3b66ff7234e4 (diff) | |
download | gdk-pixbuf-14f08e6a93d19c3a5ca07392eff66171d484d58a.tar.gz |
allow setting $OBJ_DIR to specify building in a subdir
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index d2c55586d..e722403df 100755 --- 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." |