[ooo-build-commit] .: autogen.sh

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Oct 5 00:12:40 PDT 2010


 autogen.sh |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d1a42c0a9cb65be32b611a61f300d941220c5d68
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Mon Oct 4 17:03:03 2010 +0200

    Solve the problem with eval & $@.

diff --git a/autogen.sh b/autogen.sh
index 85e8278..470c693 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,7 +29,11 @@ automake --gnu --add-missing --copy --warnings=no-portability || 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