[ooo-build-commit] .: autogen.sh
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Oct 4 08:07:39 PDT 2010
autogen.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit a387f725bda8869a8ccb9816216abb5395e1c629
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon Oct 4 17:05:05 2010 +0200
Solve the problem with eval & $@.
diff --git a/autogen.sh b/autogen.sh
index 8cb58b1..33c847c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
if test "z$1" = "z--clean"; then
echo "Cleaning"
- rm -Rf autom4te.cache bonobo/autom4te.cache
+ rm -Rf autom4te.cache
rm -f missing install-sh mkinstalldirs libtool ltmain.sh
exit 1;
fi
@@ -27,7 +27,11 @@ aclocal $ACLOCAL_FLAGS || exit 1;
#intltoolize --copy --force --automake
autoconf || exit 1;
if test "x$NOCONFIGURE" = "x"; then
- eval `echo ./configure $old_args "$@"`
+ if test -n "$old_args" ; then
+ eval `echo ./configure $old_args`
+ else
+ ./configure "$@"
+ fi
else
echo "Skipping configure process."
fi
More information about the ooo-build-commit
mailing list