aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-11-17 13:09:01 +0100
committerGilles Chehade <gilles@poolp.org>2019-11-17 13:09:01 +0100
commit671e5c1e81b5e86ebc95c0d3aa9ea3ef32b1461b (patch)
tree7fabf53a32ea8d027529fd8659a82339559776ad
parentconditionally build strnvis, ignoring the broken strnvis case for now (diff)
downloadOpenSMTPD-671e5c1e81b5e86ebc95c0d3aa9ea3ef32b1461b.tar.xz
OpenSMTPD-671e5c1e81b5e86ebc95c0d3aa9ea3ef32b1461b.zip
test for strnvis swapped parameters
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 99700b3f..6e08e85f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2022,7 +2022,7 @@ AM_CONDITIONAL([NEED_STRTONUM], [test "x$ac_cv_func_strtonum" != "xyes"])
AM_CONDITIONAL([NEED_STRNDUP], [test "x$ac_cv_func_strndup" != "xyes"])
AM_CONDITIONAL([NEED_STRNLEN], [test "x$ac_cv_func_strnlen" != "xyes"])
AM_CONDITIONAL([NEED_WAITPID], [test "x$ac_cv_func_waitpid" != "xyes"])
-AM_CONDITIONAL([NEED_VIS], [test "x$ac_cv_func_strnvis" != "xyes"])
+AM_CONDITIONAL([NEED_VIS], [test "x$ac_cv_func_strnvis" != "xyes" -o "$BROKEN_STRNVIS" = "x1"])
AM_CONDITIONAL([NEED_SSL_CTX_USE_CERTIFICATE_CHAIN_MEM], [test x$ac_cv_have_decl_LIBRESSL_VERSION_NUMBER != "xyes"])
##