From 95e7439439fb370bd775325b59e4bfe8202d5485 Mon Sep 17 00:00:00 2001 From: Aleksandr Makarov Date: Mon, 18 Jul 2022 12:43:43 +0300 Subject: [PATCH] Fix './configure --without-system-libsafec' mistakenly enabling system-installed libsafec The third argument to AC_ARG_WITH() is "action-if-given" [0]. That means that, when calling ./configure --without-system-libsafec, the current code enables the option instead of disabling it. Just provide an empty argument to keep the proper value. [0] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#Package-Options --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 60626d8..cad3daa 100644 --- a/configure.ac +++ b/configure.ac @@ -195,7 +195,7 @@ AC_SUBST(SAFEC_STUB_DIR) AC_ARG_WITH(system-libsafec, AS_HELP_STRING([--with-system-libsafec], [select to use libsafec installed in the system]), - [with_system_libsafec="yes"], + [], [with_system_libsafec="no"]) AC_ARG_WITH([safec-dir],