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