defined id_log() only once

This commit is contained in:
Marc Stern
2024-04-16 13:28:37 +02:00
parent 556835c6fe
commit 5122f89005
4 changed files with 5 additions and 13 deletions

View File

@@ -313,7 +313,6 @@ AC_ARG_ENABLE(assertions,
[
if test "${enableval}" = "yes"; then
assertions='-UNDEBUG'
MODSEC_EXTRA_CFLAGS="$MODSEC_EXTRA_CFLAGS $assertions"
else
assertions='-DNDEBUG'
fi
@@ -844,9 +843,9 @@ else
EXTRA_CFLAGS="-O2 -g -Wall $strict_compile"
fi
fi
EXTRA_CFLAGS="$EXTRA_CFLAGS $assertions"
EXTRA_CFLAGS="$EXTRA_CFLAGS"
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_context $collection_global_lock $large_stream_input"
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_context $collection_global_lock $large_stream_input $assertions"
APXS_WRAPPER=build/apxs-wrapper
APXS_EXTRA_CFLAGS=""