Skip to content

Commit 412447a

Browse files
author
Andras Fekete
committed
Enable OPTION_CHECKING by default
This should halt `./configure` when an option is passed that is not recognized.
1 parent 0eb11ff commit 412447a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ else
100100
REPRODUCIBLE_BUILD_DEFAULT=no
101101
fi
102102

103+
# Fail when an option is passed that is not recognized
104+
m4_divert_once([DEFAULTS], [enable_option_checking=fatal])
105+
103106
# Allow experimental settings
104107
AC_ARG_ENABLE([experimental],
105108
[AS_HELP_STRING([--enable-experimental],[Allow experimental settings in the configuration (default: disabled)])],

0 commit comments

Comments
 (0)