summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2b12d8f..fdecca3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,11 @@ AS_IF([test "x$with_dummy" = "xyes"], [
141]) 141])
142 142
143AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden") 143AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden")
144
145if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then
146 GLOBAL_CFLAGS+=" -DIRECV_STATIC"
147fi
148
144AC_SUBST(GLOBAL_CFLAGS) 149AC_SUBST(GLOBAL_CFLAGS)
145AC_SUBST(GLOBAL_LDFLAGS) 150AC_SUBST(GLOBAL_LDFLAGS)
146 151