summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f4bbad3..07ebf77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,9 +87,14 @@ case ${host_os} in
87esac 87esac
88AM_CONDITIONAL(WIN32, test x$win32 = xtrue) 88AM_CONDITIONAL(WIN32, test x$win32 = xtrue)
89 89
90AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") 90AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden")
91AC_SUBST(GLOBAL_CFLAGS) 91AC_SUBST(GLOBAL_CFLAGS)
92 92
93case "$GLOBAL_CFLAGS" in
94 *-fvisibility=hidden*)
95 AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden])
96esac
97
93m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) 98m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
94 99
95AC_OUTPUT([ 100AC_OUTPUT([