summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-11-23 17:05:41 +0000
committerIan Lynagh <igloo@earth.li>2010-11-23 17:05:41 +0000
commitb6fff39114fee90b806ed2e29cc8f5d9728d85a8 (patch)
tree92f4f95006b3c9ab13048031c5b2a135efa2236a /configure.ac
parent7267a7862cc406e593c89e79a4d5ab064ac40120 (diff)
downloadhaskell-b6fff39114fee90b806ed2e29cc8f5d9728d85a8.tar.gz
Add a configure test for the visibility hidden attribute
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b09c5a7e90..5e887772c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -835,6 +835,8 @@ AC_COMPILE_IFELSE(
[AC_MSG_RESULT(no)])
CFLAGS="$CFLAGS2"
+FP_VISIBILITY_HIDDEN
+
dnl ** check for librt
AC_CHECK_LIB(rt, clock_gettime)
AC_CHECK_FUNCS(clock_gettime timer_create timer_settime)