summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-10-04 17:05:05 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-04 17:05:05 +0200
commit5096198055ad0fc0a1933fb9900f758d316ee4d3 (patch)
tree4a5b6ef4da5ed34ef3875e6b552e8a30333ab8fd /autogen.sh
parent03e305a2b574d0778c8ff55ece667d9df89bc0e7 (diff)
Solve the problem with eval & $@.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 8cb58b198fda..33c847cf996f 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