fix configure --help

Fixes #488.

* configure.ac: Fix --enable-doxygen's help text, and add
one for --enable-warnings.
This commit is contained in:
Alexandre Duret-Lutz 2021-11-17 16:36:46 +01:00
parent 6013023794
commit f82d26b625

View file

@ -54,7 +54,7 @@ AC_ARG_ENABLE([c++20],
[enable_20=$enableval], [enable_20=no]) [enable_20=$enableval], [enable_20=no])
AC_ARG_ENABLE([doxygen], AC_ARG_ENABLE([doxygen],
[AS_HELP_STRING([--enable-doxygen]), [AS_HELP_STRING([--enable-doxygen],
[enable generation of Doxygen documentation (requires Doxygen)])], [enable generation of Doxygen documentation (requires Doxygen)])],
[enable_doxygen=$enableval], [enable_doxygen=no]) [enable_doxygen=$enableval], [enable_doxygen=no])
AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes]) AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes])
@ -184,6 +184,9 @@ adl_NDEBUG
adl_ENABLE_GLIBCXX_DEBUG adl_ENABLE_GLIBCXX_DEBUG
spot_INTEL spot_INTEL
AC_ARG_ENABLE([warnings],
[AS_HELP_STRING([--enable-warnings],
[enable a lot of compiler warnings])])
if test x$enable_warnings = xyes; then if test x$enable_warnings = xyes; then
CF_GXX_WARNINGS CF_GXX_WARNINGS
fi fi