[Libreoffice-commits] .: configure.in

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Sun Aug 7 16:16:37 PDT 2011


 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7caafb6ce74111186526246b58709c447733543d
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Aug 7 18:14:57 2011 -0500

    quoting problem in the auto-selection of gcc/g++-4.0 on MacOS

diff --git a/configure.in b/configure.in
index bab743e..04a774b 100755
--- a/configure.in
+++ b/configure.in
@@ -1928,7 +1928,7 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" \) -a "$GCC" = "yes"; then
                 export CC="$CCACHE $GCC_HOME/bin/gcc-4.0"
             fi
             dnl  export CC to have it available in set_soenv -> config.guess
-            GCCVER2=`"$CC" -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
+            GCCVER2=`$CC -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
             if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100" ; then
                 GCCVER=$GCCVER2
             fi
@@ -2905,7 +2905,7 @@ if test "$GXX" = "yes"; then
             else
                 export CXX="$CCACHE $GCC_HOME/bin/g++-4.0"
             fi
-            _gpp_majmin_2=`"$CXX" -dumpversion | $AWK -F. '{ print \$1*100+\$2 }'`
+            _gpp_majmin_2=`$CXX -dumpversion | $AWK -F. '{ print \$1*100+\$2 }'`
             if test "$_gpp_majmin_2" -ge "400" -a "$_gpp_majmin_2" -lt "401" ; then
                 _gpp_majmin=$_gpp_majmin_2
             fi


More information about the Libreoffice-commits mailing list