diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-23 15:35:34 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-23 15:35:34 +0200 |
commit | 59bb9d9a14889bee001706a32a518fe0a5009048 (patch) | |
tree | d9a5b44e62a70c42101b7812c19019f4fcb7876f /configure.ac | |
parent | 2eb8e90ff9380fe38b9539a3fd5cf25b8d880f22 (diff) |
build-sys: add check for microhttpd version
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7a3ee3c34c..ad9060564b 100644 --- a/configure.ac +++ b/configure.ac @@ -478,7 +478,7 @@ AM_CONDITIONAL(HAVE_QRENCODE, [test "$have_qrencode" = "yes"]) have_microhttpd=no AC_ARG_ENABLE(microhttpd, AS_HELP_STRING([--disable-microhttpd], [disable microhttpd support])) if test "x$enable_microhttpd" != "xno"; then - PKG_CHECK_MODULES(MICROHTTPD, [ libmicrohttpd ], + PKG_CHECK_MODULES(MICROHTTPD, [libmicrohttpd >= 0.9.5], [AC_DEFINE(HAVE_MICROHTTPD, 1, [Define if microhttpd is available]) have_microhttpd=yes], have_microhttpd=no) if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then AC_MSG_ERROR([*** microhttpd support requested but libraries not found]) |