diff options
| author | 2014-10-03 15:39:47 +0200 | |
|---|---|---|
| committer | 2014-10-03 15:39:47 +0200 | |
| commit | 62813daf2c4aaec675652d9c1131a58dfa634e38 (patch) | |
| tree | 4427398d97f1295996410fc3dbf86c6de8bf873c /configure.ac | |
| parent | eab599c151617eef9035343fd63591fa4d09bd3e (diff) | |
| download | libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.gz libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.bz2 | |
Avoid exporting non-public symbols
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a149dd9..2bb18a2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -102,9 +102,14 @@ fi | |||
| 102 | AM_CONDITIONAL([HAVE_CYTHON],[test "x$CYTHON_SUB" = "xcython"]) | 102 | AM_CONDITIONAL([HAVE_CYTHON],[test "x$CYTHON_SUB" = "xcython"]) |
| 103 | AC_SUBST([CYTHON_SUB]) | 103 | AC_SUBST([CYTHON_SUB]) |
| 104 | 104 | ||
| 105 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") | 105 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden") |
| 106 | AC_SUBST(GLOBAL_CFLAGS) | 106 | AC_SUBST(GLOBAL_CFLAGS) |
| 107 | 107 | ||
| 108 | case "$GLOBAL_CFLAGS" in | ||
| 109 | *-fvisibility=hidden*) | ||
| 110 | AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) | ||
| 111 | esac | ||
| 112 | |||
| 108 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | 113 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
| 109 | 114 | ||
| 110 | AC_OUTPUT([ | 115 | AC_OUTPUT([ |
