Add searching for lua in /usr/lib{64|32}.

Do not default to using -Werror (warnings are errors).
This commit is contained in:
brectanus
2008-02-27 23:18:03 +00:00
parent 59a7f65285
commit 1e991d6fcd
5 changed files with 44 additions and 5 deletions

View File

@@ -126,6 +126,21 @@ sinclude(build/find_curl.m4)
### Configure Options
# Strict Compile
AC_ARG_ENABLE(strict-compile,
AS_HELP_STRING([--enable-strict-compile],
[Enable strict compilation (warnings are errors).]),
[
if test "$enableval" != "no"; then
strict_compile="-Werror"
else
strict_compile=
fi
],
[
strict_compile=
])
# DEBUG_CONF
AC_ARG_ENABLE(debug-conf,
AS_HELP_STRING([--enable-debug-conf],
@@ -203,7 +218,7 @@ AC_ARG_ENABLE(modsec-api,
### Build *EXTRA_CFLAGS vars
EXTRA_CFLAGS="-O2 -g -Wall -Werror"
EXTRA_CFLAGS="-O2 -g -Wall $strict_compile"
MODSEC_EXTRA_CFLAGS="$debug_conf $debug_cache $debug_acmp $perf_meas $modsec_api"
APXS_WRAPPER=build/apxs-wrapper