Commit 14f08e6a authored by Elliot Lee's avatar Elliot Lee

allow setting $OBJ_DIR to specify building in a subdir

parent 45c02db9
......@@ -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."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment