We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28b13ef commit cc8f28cCopy full SHA for cc8f28c
configure.ac
@@ -727,20 +727,20 @@ AM_CONDITIONAL([ENABLE_JAVA],[test x$VALID_JAVA = xyes])
727
728
#C++ example
729
AC_PROG_CXX
730
-if test `AS_BASENAME([$CXX])` = $CXX ; then
+if test `AS_BASENAME([$CXX])` = "$CXX" ; then
731
AC_CHECK_PROG(CXX_FULL, [$CXX], $CXX, [none])
732
fi
733
if test x$CXX_FULL != "xnone" ; then
734
AC_PROG_CXXCPP
735
AC_LANG_PUSH([C++])
736
AC_CHECK_HEADERS([cstdio cstdlib], ,[CXX=""])
737
AC_LANG_POP([C++])
738
- if test x$CXX != x ; then
+ if test "x$CXX" != x ; then
739
AC_MSG_NOTICE([C++ example and tests enabled])
740
AC_SUBST(CXX)
741
742
743
-AM_CONDITIONAL([ENABLE_CXX],[test $CXX])
+AM_CONDITIONAL([ENABLE_CXX],[test "x$CXX" != x])
744
745
746
#
0 commit comments