The branch, master has been updated
       via  ba014c1a605f78b301b47ef922dd24a3c5c2c4c1 (commit)
      from  886c282679678fded4fdce122a3da4d646f6670c (commit)

- Log -----------------------------------------------------------------
commit ba014c1a605f78b301b47ef922dd24a3c5c2c4c1
Author: Nicholas Marriott <nicholas.marri...@gmail.com>
Commit: Nicholas Marriott <nicholas.marri...@gmail.com>

    NetBSD broke strnvis when they added it, check for that.
---
 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ceb37db..644b283 100644
--- a/configure.ac
+++ b/configure.ac
@@ -312,6 +312,16 @@ AM_CONDITIONAL(NO_STRTONUM, [test "x$found_strtonum" = 
xno])
 # Look for strnvis, compat/{vis,unvis}.c used if missing.
 AC_CHECK_FUNC(strnvis, found_strnvis=yes, found_strnvis=no)
 if test "x$found_strnvis" = xyes; then
+       AC_MSG_CHECKING(if strnvis is broken)
+       AC_EGREP_HEADER([strnvis\(char \*, const char \*, size_t, int\)],
+                       vis.h,
+                       AC_MSG_RESULT(no),
+                       [found_strnvis=no])
+       if test "x$found_strnvis" = xno; then
+               AC_MSG_RESULT(yes)
+       fi
+fi
+if test "x$found_strnvis" = xyes; then
        AC_DEFINE(HAVE_VIS)
 fi
 AM_CONDITIONAL(NO_VIS, [test "x$found_strnvis" = xno])


-----------------------------------------------------------------------

Summary of changes:
 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to