Fix VIS_DQ check.

This commit is contained in:
Nicholas Marriott 2017-01-16 18:20:50 +00:00
parent 7e110b9d99
commit c0346701df

View File

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