diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 11:48:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 11:48:02 +0100 |
commit | 6e1a8e385034aa8212ad6f6767820f7c2c65c103 (patch) | |
tree | f2bd4c353d52f22c517b40098e9587f0a4ac76b4 | |
parent | 4b12246a6c2285a9d4fe20e665028b6f8a68b018 (diff) |
Remove obsolete HAVE_GCC_VISIBILITY_FEATURE check completely now
cf. f255c3e96e25a43a4724d80287554d892d7ffd70 "[API CHANGE] Remove
HAVE_GCC_VISIBILITY_FEATURE, always true"
Change-Id: I958428881f17703d805873a1fe4854896438eb19
-rw-r--r-- | configure.ac | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 79e643b21df8..4e0d5cb08c63 100644 --- a/configure.ac +++ b/configure.ac @@ -5915,22 +5915,9 @@ fi AC_SUBST(HAVE_THREADSAFE_STATICS) dnl =================================================================== -dnl visibility and other gcc features +dnl GCC features dnl =================================================================== if test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then - if test "$COM" != MSC; then - AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden]) - save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror -fvisibility=hidden" - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_VISIBILITY_FEATURE=TRUE ],[]) - CFLAGS=$save_CFLAGS - if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_ERROR([no This is no longer supported.]) - fi - fi - AC_MSG_CHECKING([whether $CC supports -mno-avx]) save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -Werror -mno-avx" |