[openssh-commits] [openssh] 01/01: Check for VIS_ALL.
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Jul 14 12:27:11 AEST 2016
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 7df91b01fc558a33941c5c5f31abbcdc53a729fb
Author: Darren Tucker <dtucker at zip.com.au>
Date: Thu Jul 14 12:25:24 2016 +1000
Check for VIS_ALL.
If we don't have it, set BROKEN_STRNVIS to activate the compat replacement.
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index f6c44b8..2439e39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1405,6 +1405,9 @@ g.gl_statv = NULL;
AC_CHECK_DECLS([GLOB_NOMATCH], , , [#include <glob.h>])
+AC_CHECK_DECL([VIS_ALL], ,
+ AC_DEFINE(BROKEN_STRNVIS, 1, [missing VIS_ALL]), [#include <vis.h>])
+
AC_MSG_CHECKING([whether struct dirent allocates space for d_name])
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list