mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Fixed test/test-gregression build targets.
This commit is contained in:
41
configure
vendored
41
configure
vendored
@@ -752,6 +752,8 @@ LUA_LDFLAGS
|
||||
LUA_LDADD
|
||||
LUA_CPPFLAGS
|
||||
LUA_CFLAGS
|
||||
LUA_VERSION
|
||||
LUA_CONFIG
|
||||
LIBXML2_LDFLAGS
|
||||
LIBXML2_LDADD
|
||||
LIBXML2_CPPFLAGS
|
||||
@@ -4603,13 +4605,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
|
||||
else
|
||||
lt_cv_nm_interface="BSD nm"
|
||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||
(eval echo "\"\$as_me:4606: $ac_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:4608: $ac_compile\"" >&5)
|
||||
(eval "$ac_compile" 2>conftest.err)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:4609: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval echo "\"\$as_me:4611: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:4612: output\"" >&5)
|
||||
(eval echo "\"\$as_me:4614: output\"" >&5)
|
||||
cat conftest.out >&5
|
||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||
lt_cv_nm_interface="MS dumpbin"
|
||||
@@ -5815,7 +5817,7 @@ ia64-*-hpux*)
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 5818 "configure"' > conftest.$ac_ext
|
||||
echo '#line 5820 "configure"' > conftest.$ac_ext
|
||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -7344,11 +7346,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:7347: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:7349: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:7351: \$? = $ac_status" >&5
|
||||
echo "$as_me:7353: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -7683,11 +7685,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:7686: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:7690: \$? = $ac_status" >&5
|
||||
echo "$as_me:7692: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -7788,11 +7790,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:7791: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:7795: \$? = $ac_status" >&5
|
||||
echo "$as_me:7797: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -7843,11 +7845,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:7848: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:7850: \$? = $ac_status" >&5
|
||||
echo "$as_me:7852: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -10226,7 +10228,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10229 "configure"
|
||||
#line 10231 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -10322,7 +10324,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10325 "configure"
|
||||
#line 10327 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12092,7 +12094,7 @@ done
|
||||
# Some directories
|
||||
MSC_BASE_DIR=`pwd`
|
||||
MSC_PKGBASE_DIR="$MSC_BASE_DIR/.."
|
||||
MSC_TEST_DIR="$MSC_BASE_DIR/t"
|
||||
MSC_TEST_DIR="$MSC_BASE_DIR/tests"
|
||||
MSC_REGRESSION_DIR="$MSC_TEST_DIR/regression"
|
||||
MSC_REGRESSION_SERVERROOT_DIR="$MSC_REGRESSION_DIR/server_root"
|
||||
MSC_REGRESSION_CONF_DIR="$MSC_REGRESSION_SERVERROOT_DIR/conf"
|
||||
@@ -13137,6 +13139,7 @@ $as_echo "${lua_lib_path} ${lua_inc_path}" >&6; }
|
||||
LUA_LDADD="-l${lua_lib_name}"
|
||||
LUA_LDFLAGS="-L${lua_lib_path}"
|
||||
else
|
||||
LUA_VERSION=""
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
@@ -13151,6 +13154,8 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if test "${with_path}" != "no"; then
|
||||
if test -z "${LUA_VERSION}"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: optional lua library not found" >&5
|
||||
@@ -13162,6 +13167,9 @@ $as_echo "$as_me: using lua v${LUA_VERSION}" >&6;}
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$LUA_VERSION"; then
|
||||
LUA_CFLAGS="-DWITH_LUA $LUA_CFLAGS"
|
||||
fi
|
||||
if test "$build_mlogc" -ne 0; then
|
||||
|
||||
|
||||
@@ -13304,6 +13312,8 @@ if test "$build_mlogc" -ne 0; then
|
||||
ac_config_files="$ac_config_files mlogc/Makefile"
|
||||
|
||||
fi
|
||||
ac_config_files="$ac_config_files tests/Makefile"
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@@ -14288,6 +14298,7 @@ do
|
||||
"tests/regression/server_root/conf/httpd.conf") CONFIG_FILES="$CONFIG_FILES tests/regression/server_root/conf/httpd.conf" ;;
|
||||
"tools/rules-updater.pl") CONFIG_FILES="$CONFIG_FILES tools/rules-updater.pl" ;;
|
||||
"mlogc/Makefile") CONFIG_FILES="$CONFIG_FILES mlogc/Makefile" ;;
|
||||
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
|
||||
|
||||
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user