Fix VIS_DQ check.

pull/662/merge
Nicholas Marriott 2017-01-16 18:20:50 +00:00
parent 7e110b9d99
commit c0346701df
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# configure.ac
AC_INIT(tmux, 2.4)
AC_INIT(tmux, master)
AC_CONFIG_AUX_DIR(etc)
AM_INIT_AUTOMAKE([foreign subdir-objects])
@ -452,8 +452,12 @@ if test "x$found_stravis" = xyes; then
AC_CHECK_DECL(
VIS_DQ,
,
[found_stravis=no]),
[#include <vis.h>])
found_stravis=no,
[
#include <stdlib.h>
#include <vis.h>
]
)
fi
if test "x$found_stravis" = xyes; then
AC_DEFINE(HAVE_VIS)