Skip to content

Commit b3f6a9e

Browse files
committed
address review
1 parent f40d7d4 commit b3f6a9e

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

‎configure‎

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎configure.ac‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,9 +2593,7 @@ AS_VAR_IF([with_strict_overflow], [yes],
25932593
AC_MSG_CHECKING([for --enable-safety])
25942594
AC_ARG_ENABLE([safety],
25952595
[AS_HELP_STRING([--enable-safety], [enable usage of the security compiler options with no performance overhead])],
2596-
[AS_CASE([$enableval],
2597-
[yes|no], [enable_safety=$enableval],
2598-
[AC_MSG_ERROR([invalid --enable-safety option: expected "yes" or "no"])])],
2596+
[AS_VAR_IF([enable_safety], [no], [], [enable_safety=yes])],
25992597
[enable_safety=no])
26002598
AC_MSG_RESULT([$enable_safety])
26012599

@@ -2612,9 +2610,7 @@ fi
26122610
AC_MSG_CHECKING([for --enable-slower-safety])
26132611
AC_ARG_ENABLE([slower-safety],
26142612
[AS_HELP_STRING([--enable-slower-safety], [enable usage of the security compiler options with performance overhead])],
2615-
[AS_CASE([$enableval],
2616-
[yes|no], [enable_slower_safety=$enableval],
2617-
[AC_MSG_ERROR([invalid --enable-slower-safety option: expected "yes" or "no"])])],
2613+
[AS_VAR_IF([enable_slower_safety], [no], [], [enable_slower_safety=yes])],
26182614
[enable_slower_safety=no])
26192615
AC_MSG_RESULT([$enable_slower_safety])
26202616

0 commit comments

Comments
 (0)