From 412447ac416ce76ba2a9bebbea8917258ed4c81e Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Wed, 15 May 2024 16:54:55 -0400 Subject: [PATCH] Enable OPTION_CHECKING by default This should halt `./configure` when an option is passed that is not recognized. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 699b1ccab..ead308df4 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,9 @@ else REPRODUCIBLE_BUILD_DEFAULT=no fi +# Fail when an option is passed that is not recognized +m4_divert_once([DEFAULTS], [enable_option_checking=fatal]) + # Allow experimental settings AC_ARG_ENABLE([experimental], [AS_HELP_STRING([--enable-experimental],[Allow experimental settings in the configuration (default: disabled)])],