1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 03:50:30 +01:00

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.
This commit is contained in:
Christophe CURIS
2021-09-04 19:05:24 +02:00
committed by Carlos R. Mafra
parent 1d1c904126
commit 308b9f4975

View File

@@ -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])