aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-01-18 14:32:50 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-01-18 14:32:50 +0000
commit7e4908f751f30473435da7abb8054f24971d688e (patch)
tree02f47aa663c4920c23a44a4385428e818d0bc071
parent787f9de5d8194d7071f3ce7132c5b01dc9cf630f (diff)
downloadrtmux-7e4908f751f30473435da7abb8054f24971d688e.tar.gz
rtmux-7e4908f751f30473435da7abb8054f24971d688e.tar.bz2
rtmux-7e4908f751f30473435da7abb8054f24971d688e.zip
If --enable-{utf8proc,utempter} is given, do not build without it.
-rw-r--r--configure.ac16
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])