HAVE_GCC_PRAGMA_OPERATOR is only needed as AC_DEFINE
Change-Id: I1f1978bbc8c38a7d5504fb86b8a716cbbc01c830
This commit is contained in:
parent
3a70e0f1b9
commit
78a2e5b5c5
2 changed files with 0 additions and 4 deletions
|
@ -246,7 +246,6 @@ export HAVE_GCC_FNO_INLINE=@HAVE_GCC_FNO_INLINE@
|
|||
export HAVE_GCC_FNO_SIZED_DEALLOCATION=@HAVE_GCC_FNO_SIZED_DEALLOCATION@
|
||||
export HAVE_GCC_GGDB2=@HAVE_GCC_GGDB2@
|
||||
export HAVE_GCC_OG=@HAVE_GCC_OG@
|
||||
export HAVE_GCC_PRAGMA_OPERATOR=@HAVE_GCC_PRAGMA_OPERATOR@
|
||||
export HAVE_GNUMAKE_FILE_FUNC=@HAVE_GNUMAKE_FILE_FUNC@
|
||||
export HAVE_LD_BSYMBOLIC_FUNCTIONS=@HAVE_LD_BSYMBOLIC_FUNCTIONS@
|
||||
export HAVE_LD_HASH_STYLE=@HAVE_LD_HASH_STYLE@
|
||||
|
|
|
@ -6319,7 +6319,6 @@ if test "$cxx11_utf16_string_literal" = yes; then
|
|||
AC_DEFINE([HAVE_CXX11_UTF16_STRING_LITERAL])
|
||||
fi
|
||||
|
||||
HAVE_GCC_PRAGMA_OPERATOR=
|
||||
dnl _Pragma support (may require C++11)
|
||||
if test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
|
||||
AC_MSG_CHECKING([whether $CXX supports _Pragma operator])
|
||||
|
@ -6330,13 +6329,11 @@ if test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
|
|||
_Pragma("GCC diagnostic ignored \"-Wformat\"")
|
||||
])], [
|
||||
AC_DEFINE([HAVE_GCC_PRAGMA_OPERATOR],[1])
|
||||
HAVE_GCC_PRAGMA_OPERATOR=1
|
||||
AC_MSG_RESULT([yes])
|
||||
], [AC_MSG_RESULT([no])])
|
||||
AC_LANG_POP([C++])
|
||||
CXXFLAGS=$save_CXXFLAGS
|
||||
fi
|
||||
AC_SUBST(HAVE_GCC_PRAGMA_OPERATOR)
|
||||
|
||||
HAVE_GCC_FNO_SIZED_DEALLOCATION=
|
||||
if test "$GCC" = yes; then
|
||||
|
|
Loading…
Reference in a new issue