Commit 8c25d98d authored by Elliot Lee's avatar Elliot Lee

Use the proper $srcdir method instead of the $OBJ_DIR hack for allowing



Use the proper $srcdir method instead of the $OBJ_DIR hack for allowing
separate build dirs.
parent 61bdacfb
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
pushd $srcdir
PROJECT=GLib
TEST_TYPE=-f
FILE=glib.h
......@@ -56,14 +60,9 @@ aclocal $ACLOCAL_FLAGS
automake $am_opt
autoconf
popd
if [ -z "$OBJ_DIR" ]; then
./configure "$@"
else
mkdir -p "$OBJ_DIR"
cd "$OBJ_DIR"
../configure "$@"
fi
$srcdir/configure "$@"
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