diff options
-rw-r--r-- | configure.ac | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 86f26aed..9289bdaa 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |