allow setting $OBJ_DIR to specify building in a subdir

This commit is contained in:
Elliot Lee 1998-11-20 04:31:28 +00:00
parent 83655b000d
commit d4789faff9
1 changed files with 6 additions and 1 deletions

View File

@ -13,4 +13,9 @@ autoheader
autoconf
)
$srcdir/configure --enable-maintainer-mode $*
if [ ! -z "$OBJ_DIR" ]; then
mkdir -p "$OBJ_DIR"
cd "$OBJ_DIR"
fi
$srcdir/$OBJDIR/configure --enable-maintainer-mode $*