Check HAVE_GCC_PRAGMA_OPERATOR for clang-cl, too
Change-Id: I71997ca604f18601ec98acd2957882a26be38fc0
This commit is contained in:
@@ -6359,7 +6359,7 @@ fi
|
|||||||
|
|
||||||
HAVE_GCC_PRAGMA_OPERATOR=
|
HAVE_GCC_PRAGMA_OPERATOR=
|
||||||
dnl _Pragma support (may require C++11)
|
dnl _Pragma support (may require C++11)
|
||||||
if test "$GCC" = "yes"; then
|
if test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
|
||||||
AC_MSG_CHECKING([whether $CXX supports _Pragma operator])
|
AC_MSG_CHECKING([whether $CXX supports _Pragma operator])
|
||||||
AC_LANG_PUSH([C++])
|
AC_LANG_PUSH([C++])
|
||||||
save_CXXFLAGS=$CXXFLAGS
|
save_CXXFLAGS=$CXXFLAGS
|
||||||
|
Reference in New Issue
Block a user