summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-19 18:45:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-19 18:45:25 +0300
commitfd7cd2c4b768745ef711c0b28b0c7b03ac57e486 (patch)
tree722e97c49b9079c7cef52f3ca513ea647121322a /configure.in
parent8dc7572164d1f630fed49e695d4bf62ea8e09a15 (diff)
downloadhercules-fd7cd2c4b768745ef711c0b28b0c7b03ac57e486.tar.gz
hercules-fd7cd2c4b768745ef711c0b28b0c7b03ac57e486.tar.bz2
hercules-fd7cd2c4b768745ef711c0b28b0c7b03ac57e486.tar.xz
hercules-fd7cd2c4b768745ef711c0b28b0c7b03ac57e486.zip
Fix missing include dirs. Add compiler flag -Wmissing-include-dirs.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ee73e1cba..9618113eb 100644
--- a/configure.in
+++ b/configure.in
@@ -461,7 +461,8 @@ AC_LANG([C])
# -Wfloat-equal comparing floating point with == or != is unsafe
# flags what can be used but now return no warnings: -Warray-bounds -Wbool-compare -Wcast-align
# -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wdisabled-optimization -Wempty-body
-# -Werror-implicit-function-declaration
+# -Werror-implicit-function-declaration -Wignored-qualifiers
+# -Winit-self
CFLAGS="$CFLAGS -pipe -ffast-math -Wall -Wextra -Wno-sign-compare"
CPPFLAGS="$CPPFLAGS -I../common"
@@ -809,6 +810,7 @@ AC_CHECK_COMPILER_WFLAG(format-security)
AC_CHECK_COMPILER_WFLAG(format)
AC_CHECK_COMPILER_WFLAG(format-signedness)
AC_CHECK_COMPILER_WFLAG(format-y2k)
+AC_CHECK_COMPILER_WFLAG(missing-include-dirs)
AC_CHECK_COMPILER_WNOFLAG(format-nonliteral)
AC_CHECK_COMPILER_WNOFLAG(switch)
AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers)