diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-15 13:57:14 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-15 13:57:14 +0300 |
commit | 0ea81caa94bd2608f8c2fd4936808ad12b5f10a1 (patch) | |
tree | 9935e0a5f3895db566c15f78669bfcb0dc7f3140 | |
parent | 80eb22434c1a0cb359e710706b6e9aa052c1c6d6 (diff) | |
download | libmicrohttpd-0ea81caa94bd2608f8c2fd4936808ad12b5f10a1.tar.gz libmicrohttpd-0ea81caa94bd2608f8c2fd4936808ad12b5f10a1.zip |
configure: clarified messages for "build types"
-rw-r--r-- | configure.ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 8b37c19f..0fc33ecc 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -85,17 +85,17 @@ AS_IF([test "x${enable_build_type}" = "x"], [enable_build_type="neutral"]) | |||
85 | AS_VAR_IF([enable_build_type], ["no"], [enable_build_type="neutral"]) | 85 | AS_VAR_IF([enable_build_type], ["no"], [enable_build_type="neutral"]) |
86 | AS_VAR_IF([enable_build_type], ["yes"], [AC_MSG_ERROR([[Missing TYPE for --enable-build-type=]])]) | 86 | AS_VAR_IF([enable_build_type], ["yes"], [AC_MSG_ERROR([[Missing TYPE for --enable-build-type=]])]) |
87 | AS_CASE([${enable_build_type}], | 87 | AS_CASE([${enable_build_type}], |
88 | [debug], [AC_MSG_RESULT([debug: enable asserts, sanitizers (if any supported), debug information, compiler optimisation for debugging])], | 88 | [debug], [AC_MSG_RESULT([debug. Defaults: enable asserts, sanitizers (if any supported), debug information, compiler optimisation for debugging])], |
89 | [debugger], [AC_MSG_RESULT([debuger: enable asserts, disable sanitizers, debug information, no compiler optimisation])], | 89 | [debugger], [AC_MSG_RESULT([debuger. Defaults: enable asserts, disable sanitizers, debug information, no compiler optimisation])], |
90 | [neutral], [AC_MSG_RESULT([neutral: use only user-specified compiler and linker flags])], | 90 | [neutral], [AC_MSG_RESULT([neutral. Defaults: use only user-specified compiler and linker flags])], |
91 | [release], [AC_MSG_RESULT([release: disable asserts, enable compiler optimisations])], | 91 | [release], [AC_MSG_RESULT([release. Defaults: disable asserts, enable compiler optimisations])], |
92 | [release-compact], [AC_MSG_RESULT([release-compact: disable asserts, enable compiler optimisations for size, enable compact code])], | 92 | [release-compact], [AC_MSG_RESULT([release-compact. Defaults: disable asserts, enable compiler optimisations for size, enable compact code])], |
93 | [release-hardened], [AC_MSG_RESULT([release-hardened: disable asserts, enable compiler optimisations, enable linker and compiler hardening])], | 93 | [release-hardened], [AC_MSG_RESULT([release-hardened. Defaults: disable asserts, enable compiler optimisations, enable linker and compiler hardening])], |
94 | [AC_MSG_ERROR([[Unknown build type: ${enable_build_type}]])] | 94 | [AC_MSG_ERROR([[Unknown build type: ${enable_build_type}]])] |
95 | ) | 95 | ) |
96 | AS_VAR_IF([enable_build_type], ["neutral"], [:], | 96 | AS_VAR_IF([enable_build_type], ["neutral"], [:], |
97 | [ | 97 | [ |
98 | # For all non-neutreal build types do not use automatic "-g -O2" for CFLAGS | 98 | # For all non-neutral build types do not use automatic "-g -O2" for CFLAGS |
99 | AS_IF([test -z "${CFLAGS}"], [CFLAGS=""]) | 99 | AS_IF([test -z "${CFLAGS}"], [CFLAGS=""]) |
100 | ] | 100 | ] |
101 | ) | 101 | ) |