Skip to content

Commit

Permalink
Enable OPTION_CHECKING by default
Browse files Browse the repository at this point in the history
This should halt `./configure` when an option is passed that is not recognized.
  • Loading branch information
Andras Fekete committed May 15, 2024
1 parent 0eb11ff commit 412447a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)])],
Expand Down

0 comments on commit 412447a

Please sign in to comment.