Code cosmetics: Reduces the amounts of warning.

Removes the warnings by adding missing headers and removed unused variables.
This commit is contained in:
Felipe Zimmerle
2014-03-26 18:21:42 -07:00
parent 1e63e49db4
commit 385a2828e8
7 changed files with 16 additions and 12 deletions

View File

@@ -1,7 +1,5 @@
#!/bin/sh
# This file should be auto-generated whenever modsecurity is configured as standalone.
CFLAGS="$CFLAGS \
-I/usr/include/apr-1.0 \
-I/usr/include/apr-1.0 -I/usr/include \
@@ -9,7 +7,8 @@ CFLAGS="$CFLAGS \
-I/usr/include/libxml2 \
-DWITH_LUA -I/usr/include/lua5.1 \
-DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY \
"
\
-DWITH_YAJL -I/usr/include/yajl "
CORE_LIBS="$CORE_LIBS \
@@ -20,7 +19,8 @@ CORE_LIBS="$CORE_LIBS \
-lxml2 \
-llua5.1 \
-lpcre \
-L/usr/lib -lcap"
-L/usr/lib -lcap \
-lyajl "
ngx_addon_name=ngx_http_modsecurity