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:
Thomas Deutschmann 2016-06-11 16:48:58 +02:00 committed by Felipe Zimmerle
parent c729b6d0ab
commit 692712cc95
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -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,