Commit 9cb5eb75 authored by Elliot Lee's avatar Elliot Lee

use $srcdir instead of the $OBJ_DIR hack

parent a425e6b5
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
pushd $srcdir
PROJECT=Gtk+
TEST_TYPE=-d
FILE=gdk
......@@ -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