chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2eb8e90
)
build-sys: add check for microhttpd version
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 23 Oct 2012 13:35:34 +0000
(15:35 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 23 Oct 2012 13:35:34 +0000
(15:35 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 7a3ee3c34c4b2b5fb500e96f406d7be2730b54c5..ad9060564bc2cd826b0caf05ce46333a5e9bb6f3 100644
(file)
--- 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
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])
[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])