From 88138d8c4cd1450d978e57408e8c971869305e4a Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 18 Oct 2023 14:15:26 -0500 Subject: [PATCH] Use correct text for option --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 74bae9f541a..dbac798c7d7 100644 --- a/configure.ac +++ b/configure.ac @@ -1220,9 +1220,15 @@ AC_MSG_CHECKING([if doxygen warnings as errors is enabled]) AC_ARG_ENABLE([doxygen-errors], [AS_HELP_STRING([--enable-doxygen-errors], - [Error on HDF5 doxygen warnings [default=yes]])], - [HDF5_DOXY_WARNINGS=$enableval]) + [default=yes]])], + [DOXY_ERR=$enableval], [DOXY_ERR=yes]) +if test "X$DOXY_ERR" = "Xyes"; then + HDF5_DOXY_WARNINGS="FAIL_ON_WARNINGS" +else + HDF5_DOXY_WARNINGS="NO" + +fi AC_MSG_RESULT([$HDF5_DOXY_WARNINGS]) if test "X$HDF5_DOXYGEN" = "Xyes"; then