From f82d26b625e71227942f6f0895b6aa70cbed0750 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 17 Nov 2021 16:36:46 +0100 Subject: [PATCH] fix configure --help Fixes #488. * configure.ac: Fix --enable-doxygen's help text, and add one for --enable-warnings. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bf2ac8f8e..f385fbe85 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,7 @@ AC_ARG_ENABLE([c++20], [enable_20=$enableval], [enable_20=no]) AC_ARG_ENABLE([doxygen], - [AS_HELP_STRING([--enable-doxygen]), + [AS_HELP_STRING([--enable-doxygen], [enable generation of Doxygen documentation (requires Doxygen)])], [enable_doxygen=$enableval], [enable_doxygen=no]) AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes]) @@ -184,6 +184,9 @@ adl_NDEBUG adl_ENABLE_GLIBCXX_DEBUG spot_INTEL +AC_ARG_ENABLE([warnings], + [AS_HELP_STRING([--enable-warnings], + [enable a lot of compiler warnings])]) if test x$enable_warnings = xyes; then CF_GXX_WARNINGS fi