libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 0ea81caa94bd2608f8c2fd4936808ad12b5f10a1
parent 80eb22434c1a0cb359e710706b6e9aa052c1c6d6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 15 Jun 2022 13:57:14 +0300

configure: clarified messages for "build types"

Diffstat:
Mconfigure.ac | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -85,17 +85,17 @@ AS_IF([test "x${enable_build_type}" = "x"], [enable_build_type="neutral"]) AS_VAR_IF([enable_build_type], ["no"], [enable_build_type="neutral"]) AS_VAR_IF([enable_build_type], ["yes"], [AC_MSG_ERROR([[Missing TYPE for --enable-build-type=]])]) AS_CASE([${enable_build_type}], - [debug], [AC_MSG_RESULT([debug: enable asserts, sanitizers (if any supported), debug information, compiler optimisation for debugging])], - [debugger], [AC_MSG_RESULT([debuger: enable asserts, disable sanitizers, debug information, no compiler optimisation])], - [neutral], [AC_MSG_RESULT([neutral: use only user-specified compiler and linker flags])], - [release], [AC_MSG_RESULT([release: disable asserts, enable compiler optimisations])], - [release-compact], [AC_MSG_RESULT([release-compact: disable asserts, enable compiler optimisations for size, enable compact code])], - [release-hardened], [AC_MSG_RESULT([release-hardened: disable asserts, enable compiler optimisations, enable linker and compiler hardening])], + [debug], [AC_MSG_RESULT([debug. Defaults: enable asserts, sanitizers (if any supported), debug information, compiler optimisation for debugging])], + [debugger], [AC_MSG_RESULT([debuger. Defaults: enable asserts, disable sanitizers, debug information, no compiler optimisation])], + [neutral], [AC_MSG_RESULT([neutral. Defaults: use only user-specified compiler and linker flags])], + [release], [AC_MSG_RESULT([release. Defaults: disable asserts, enable compiler optimisations])], + [release-compact], [AC_MSG_RESULT([release-compact. Defaults: disable asserts, enable compiler optimisations for size, enable compact code])], + [release-hardened], [AC_MSG_RESULT([release-hardened. Defaults: disable asserts, enable compiler optimisations, enable linker and compiler hardening])], [AC_MSG_ERROR([[Unknown build type: ${enable_build_type}]])] ) AS_VAR_IF([enable_build_type], ["neutral"], [:], [ - # For all non-neutreal build types do not use automatic "-g -O2" for CFLAGS + # For all non-neutral build types do not use automatic "-g -O2" for CFLAGS AS_IF([test -z "${CFLAGS}"], [CFLAGS=""]) ] )