1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-15 15:58:50 +00:00

If --enable-{utf8proc,utempter} is given, do not build without it.

This commit is contained in:
Nicholas Marriott 2017-01-18 14:32:50 +00:00
parent 787f9de5d8
commit 7e4908f751

View File

@ -222,9 +222,11 @@ if test "x$enable_utempter" = xyes; then
enable_utempter=yes,
enable_utempter=no
)
if test "x$enable_utempter" = xyes; then
AC_DEFINE(HAVE_UTEMPTER)
fi
fi
if test "x$enable_utempter" = xyes; then
AC_DEFINE(HAVE_UTEMPTER)
else
AC_MSG_ERROR("utempter not found")
fi
fi
@ -242,9 +244,11 @@ if test "x$enable_utf8proc" = xyes; then
enable_utf8proc=yes,
enable_utf8proc=no
)
if test "x$enable_utf8proc" = xyes; then
AC_DEFINE(HAVE_UTF8PROC)
fi
fi
if test "x$enable_utf8proc" = xyes; then
AC_DEFINE(HAVE_UTF8PROC)
else
AC_MSG_ERROR("utf8proc not found")
fi
fi
AM_CONDITIONAL(HAVE_UTF8PROC, [test "x$enable_utf8proc" = xyes])