Check HAVE_GCC_PRAGMA_OPERATOR for clang-cl, too

Change-Id: I71997ca604f18601ec98acd2957882a26be38fc0
This commit is contained in:
Stephan Bergmann 2015-11-24 21:58:54 +01:00
parent 269a3e5c4d
commit 1cb6ab10f9

View File

@ -6359,7 +6359,7 @@ fi
HAVE_GCC_PRAGMA_OPERATOR=
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_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS