mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
configure: Move verbose_output declaration up to the beginning
Macros like "find_curl" are using "verbose_output" variable but because some of them are called before we define the variable we are seeing errors like ./configure: line 13855: test: : integer expression expected This commit will fix the problem by moving the "verbose_output" declaration up to the beginning so that the variable is available for every macro.
This commit is contained in:
parent
c729b6d0ab
commit
692712cc95
30
configure.ac
30
configure.ac
@ -70,6 +70,22 @@ AC_SUBST(MSC_REGRESSION_DOCROOT_DIR)
|
|||||||
|
|
||||||
### Configure Options
|
### Configure Options
|
||||||
|
|
||||||
|
# Verbose output
|
||||||
|
AC_ARG_ENABLE(verbose-output,
|
||||||
|
AS_HELP_STRING([--enable-verbose-output],
|
||||||
|
[Enable more verbose configure output.]),
|
||||||
|
[
|
||||||
|
if test "$enableval" != "no"; then
|
||||||
|
verbose_output=1
|
||||||
|
else
|
||||||
|
verbose_output=0
|
||||||
|
fi
|
||||||
|
],
|
||||||
|
[
|
||||||
|
verbose_output=0
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
#OS type
|
#OS type
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
@ -410,20 +426,6 @@ AC_ARG_ENABLE(errors,
|
|||||||
report_errors=1
|
report_errors=1
|
||||||
])
|
])
|
||||||
|
|
||||||
# Verbose output
|
|
||||||
AC_ARG_ENABLE(verbose-output,
|
|
||||||
AS_HELP_STRING([--enable-verbose-output],
|
|
||||||
[Enable more verbose configure output.]),
|
|
||||||
[
|
|
||||||
if test "$enableval" != "no"; then
|
|
||||||
verbose_output=1
|
|
||||||
else
|
|
||||||
verbose_output=0
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
verbose_output=0
|
|
||||||
])
|
|
||||||
|
|
||||||
# Strict Compile
|
# Strict Compile
|
||||||
AC_ARG_ENABLE(strict-compile,
|
AC_ARG_ENABLE(strict-compile,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user