diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
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 | ||
143 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden") | 143 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden") |
144 | |||
145 | if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then | ||
146 | GLOBAL_CFLAGS+=" -DIRECV_STATIC" | ||
147 | fi | ||
148 | |||
144 | AC_SUBST(GLOBAL_CFLAGS) | 149 | AC_SUBST(GLOBAL_CFLAGS) |
145 | AC_SUBST(GLOBAL_LDFLAGS) | 150 | AC_SUBST(GLOBAL_LDFLAGS) |
146 | 151 | ||