summaryrefslogtreecommitdiffstats
path: root/server/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'server/configure.ac')
-rw-r--r--server/configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/configure.ac b/server/configure.ac
index 77f7ec73b..88032766e 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -26,9 +26,7 @@ AM_GNU_GETTEXT_VERSION([0.17])
m4_pattern_allow([AM_SILENT_RULES])
AM_SILENT_RULES
-if test "$ac_cv_prog_gcc" = yes; then
- CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
-fi
+AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes])
AC_CHECK_HEADERS(stdint.h dlfcn.h)
AC_CONFIG_HEADER(config.h)