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

pull/727/head
Nicholas Marriott 2017-01-18 14:32:50 +00:00
parent 787f9de5d8
commit 7e4908f751
1 changed files with 10 additions and 6 deletions

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])