From 308b9f4975e04e7c272035c90ad03294b7da0729 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 4 Sep 2021 19:05:24 +0200 Subject: [PATCH] Configure: Fix non-working libbsd usage when explicitly requested Due to a missing comma, in the AS_IF the action run-if-false is actually merged with run-if-true action, which means that with_libbsd is always empty when user provides --with[out]-libbsd. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e099d608..1b95ee48 100644 --- a/configure.ac +++ b/configure.ac @@ -405,7 +405,7 @@ m4_divert_push([INIT_PREPARE])dnl AC_ARG_WITH([libbsd], [AS_HELP_STRING([--without-libbsd], [do not use libbsd for strlcat and strlcpy [default=check]])], [AS_IF([test "x$with_libbsd" != "xno"], - [with_libbsd=bsd] + [with_libbsd=bsd], [with_libbsd=] )], [with_libbsd=bsd])