aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/autogen.sh18
1 files changed, 14 insertions, 4 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 9ced626851..998bc88a30 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -77,11 +77,21 @@ do
fi
done
-if test x$NOCONFIGURE = x; then
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
-echo running $srcdir/configure $conf_flags "$@"
-$srcdir/configure $conf_flags "$@" \
-&& echo Now type \`make\' to compile $PKG_NAME
+if [ ! -z "$OBJ_DIR" ]; then
+ mkdir -p "$OBJ_DIR"
+ cd "$OBJ_DIR"
+fi
+
+if test x$NOCONFIGURE = x; then
+echo running $srcdir/$OBJ_DIR/configure $conf_flags "$@"
+if [ -z "$OBJ_DIR" ]; then
+ $srcdir/configure $conf_flags "$@" \
+ && echo Now type \`make\' to compile $PKG_NAME
+else
+ $srcdir/../configure $conf_flags "$@" \
+ && echo Now type \`make\' to compile $PKG_NAME
+fi
else
echo Skipping configure process.
fi
b1c6&showmsg=1'>Expand)AuthorAgeFilesLines * update varconf to 0.6.7oliver2011-12-091-2/+2 * - Chase the libgcrypt shared lib versionswills2011-07-031-1/+2 * big WorldForge update:oliver2011-04-293-7/+13 * - Get Rid MD5 supportmiwi2011-03-201-1/+0 * undo last commit as it was a "in work" version of the Makefileoliver2011-03-081-9/+6 * force the usage of python 2.2 - 2.6 as 2.7 is not supported by theoliver2011-03-081-6/+9 * update devel/mercator to 0.2.9oliver2011-01-201-2/+3 * bump mercator library versionoliver2010-09-091-2/+2 * update devel/mercator to 0.2.8oliver2010-09-071-2/+2 * Chase security/libgcrypt shlib bump.wxs2010-07-271-2/+2 * update wfmath to 0.3.10oliver2010-01-021-1/+1 * update devel/atlas-devel to 0.6.2oliver2009-12-021-0/+1 * update cyphesis to 0.5.21oliver2009-09-214-257/+7 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-22