Review at  https://gerrit.osmocom.org/6254

configure.ac: drop the -fvisibility=hidden check

As we don't use the visibility attributes, we don't need this.

Change-Id: If2263a82a6c71475cb6ea8f9158a0e758abfd995
---
M configure.ac
1 file changed, 0 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/gapk refs/changes/54/6254/1

diff --git a/configure.ac b/configure.ac
index 180e380..cbea154 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,18 +36,6 @@
        AC_DEFINE(HAVE_LIBGSMHR, 1, [Define to 1 if libgsmhr is available])
 fi
 
-# Check for -fvisibility support
-#  (The following test is taken from WebKit's webkit.m4)
-saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -fvisibility=hidden "
-AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])
-AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])],
-       [ AC_MSG_RESULT([yes])
-         SYMBOL_VISIBILITY="-fvisibility=hidden"],
-       AC_MSG_RESULT([no]))
-CFLAGS="$saved_CFLAGS"
-AC_SUBST(SYMBOL_VISIBILITY)
-
 dnl check os: some linker flags not available on osx
 case $host in
 *-darwin*)

-- 
To view, visit https://gerrit.osmocom.org/6254
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2263a82a6c71475cb6ea8f9158a0e758abfd995
Gerrit-PatchSet: 1
Gerrit-Project: gapk
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to