From c1b1b843f5c5fc3392a3e1c321e3533ebeb04ce0 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 27 Oct 2023 18:32:49 +0200 Subject: [PATCH] configure.ac: Avoid bashisms --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 00428f6..caa51e5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,15 +22,15 @@ AS_BOX([Headers, Types, and Compiler Checks]) AC_CHECK_HEADERS([getopt.h]) AC_CHECK_HEADERS([capsicum_helpers.h libcasper.h], capsicum_found=candidate) -AS_IF([test "$capsicum_found" == "candidate"], +AS_IF([test "$capsicum_found" = "candidate"], [AC_SEARCH_LIBS([cap_init], [casper], [capsicum_found=yes])] [AC_SEARCH_LIBS([cap_getaddrinfo], [cap_net], [capsicum_found=yes])]) -AS_IF([test "$capsicum_found" == "yes"], +AS_IF([test "$capsicum_found" = "yes"], [AC_DEFINE([CAPSICUM], [1], [Use Capsicum])]) AC_CHECK_PROGS(RST2MAN_PROG, [rst2man rst2man.py], no) AM_CONDITIONAL([BUILD_MAN], [test "x$RST2MAN_PROG" != xno]) -AS_IF([test "$RST2MAN_PROG" == "no"], +AS_IF([test "$RST2MAN_PROG" = "no"], [AC_MSG_WARN([rst2man not found; using pre-built man pages])]) AS_BOX([Library Functions]) -- 2.42.0