From 816e5752fb29bf214437e2371825b2fe9d07d7d3 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 10 Aug 2018 20:56:01 +0200 Subject: [PATCH] fix --disable-doxygen and --disable-c++17 Reported by Yuri Victorovich. * configure.ac (enable_doxygen, enable_c++17): Use $enableval instead of "yes". * THANKS: Add Yuri. --- THANKS | 1 + configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/THANKS b/THANKS index 83b50cf4d..3e1e9ab7c 100644 --- a/THANKS +++ b/THANKS @@ -42,3 +42,4 @@ Tomáš Babiak Valentin Iovene Vitus Lam Yann Thierry-Mieg +Yuri Victorovich diff --git a/configure.ac b/configure.ac index 2edae69bc..66563e4f6 100644 --- a/configure.ac +++ b/configure.ac @@ -51,12 +51,12 @@ AM_SILENT_RULES([no]) AC_ARG_ENABLE([c++17], [AC_HELP_STRING([--enable-c++17], [Compile in C++17 mode.])], - [enable_17=yes], [enable_17=no]) + [enable_17=$enableval], [enable_17=no]) AC_ARG_ENABLE([doxygen], [AC_HELP_STRING([--enable-doxygen]), [enable generation of Doxygen documentation (requires Doxygen)])], - [enable_doxygen=yes], [enable_doxygen=no]) + [enable_doxygen=$enableval], [enable_doxygen=no]) AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes]) # Option to indicate the maximal number of acceptance marks