[Libreoffice-commits] core.git: configure.ac

Tor Lillqvist tml at collabora.com
Wed Nov 18 22:18:02 PST 2015


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7565f3c3b1ed189265a85c301e9483cddde32483
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Nov 19 08:16:55 2015 +0200

    Quote $CXX
    
    Avoid "test: too many arguments" when $CXX consists of multiple words.
    
    Change-Id: I90969333b289fb83ab10b67cb8bfda158a0688cc

diff --git a/configure.ac b/configure.ac
index f142a57..b8b6dc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5497,7 +5497,7 @@ else
 fi
 
 dnl check for GNU C++ compiler version
-if test "$GXX" = "yes" -a $CXX != "emcc"; then
+if test "$GXX" = "yes" -a "$CXX" != "emcc"; then
     AC_MSG_CHECKING([the GNU C++ compiler version])
 
     _gpp_version=`$CXX -dumpversion`


More information about the Libreoffice-commits mailing list