]> git.lyx.org Git - features.git/commitdiff
Fix syntax error whe testing old compilers
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Dec 2015 21:51:36 +0000 (22:51 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Dec 2015 21:51:36 +0000 (22:51 +0100)
config/lyxinclude.m4

index 30697d7352d9a141de819747ab545b698b3201d4..d7ef2492a5faac91dfbcdeb055f20a3b33e5883a 100644 (file)
@@ -319,7 +319,7 @@ if test x$GXX = xyes; then
   if test x$enable_cxx11 != xno ; then
     case $gxx_version in
       4.0*|4.1*|4.2*)
-         if x$enable_cxx11 = xyes; then
+         if test x$enable_cxx11 = xyes; then
             AC_ERROR([There is no C++11 support in gcc 4.2 or older])
          fi;;
       4.3*|4.4*|4.5*|4.6*)