aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-30 16:28:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-30 16:28:58 +0000
commita5eab14b5b42edebbffb3aa22c014020dca6aaae (patch)
tree1fe145a5a79d925abcc8aeb33a419b7fa351650d
parentb479b87d5af110af76f64b960518892ee50af109 (diff)
downloadpaludis-a5eab14b5b42edebbffb3aa22c014020dca6aaae.tar.gz
paludis-a5eab14b5b42edebbffb3aa22c014020dca6aaae.tar.xz
Disable visibility unless --enabled explicitly for now
-rw-r--r--configure.ac16
1 files changed, 2 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 9c4d840..fedb890 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,20 +338,8 @@ AC_ARG_ENABLE([visibility],
AS_HELP_STRING([--enable-visibility], [Enable visibility (g++-4.1)]),
[ENABLE_VISIBILITY=$enableval
AC_MSG_RESULT([$enableval])],
- [AC_COMPILE_IFELSE([
-#ifdef __ICC
-# error nope
-#endif
-#if ! defined(__GNUC__)
-# error nope
-#endif
-#if ! ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__>= 1))
-# error nope
-#endif
-],
- [ENABLE_VISIBILITY=yes],
- [ENABLE_VISIBILITY=no])
- AC_MSG_RESULT([$ENABLE_VISIBILITY])])
+ [ENABLE_VISIBILITY=no])
+AC_MSG_RESULT([$ENABLE_VISIBILITY])
AC_SUBST([ENABLE_VISIBILITY])
if test "x$ENABLE_VISIBILITY" = "xyes" ; then
AC_MSG_CHECKING([for appropriate compiler visibility flags])