Use pkgconfig for libmicrohttpd detection
See a3766c12585a1db989beacfdac7a0cc46685b59a for why the version bump.
This commit is contained in:
@@ -31,8 +31,8 @@ PKG_CHECK_MODULES([expat], [expat >= 2.0.0], [],
|
|||||||
AC_CHECK_LIB([pthread], [main], [],
|
AC_CHECK_LIB([pthread], [main], [],
|
||||||
[AC_MSG_ERROR([pthread is required])])
|
[AC_MSG_ERROR([pthread is required])])
|
||||||
|
|
||||||
AC_CHECK_LIB([microhttpd], [main], [],
|
PKG_CHECK_MODULES([libmicrohttpd], [libmicrohttpd >= 0.9.71], [],
|
||||||
[AC_MSG_ERROR([microhttpd is required])])
|
[AC_MSG_ERROR([libmicrohttpd 0.9.71 or higher is required])])
|
||||||
|
|
||||||
AM_CFLAGS="-Wall -Wno-deprecated-declarations"
|
AM_CFLAGS="-Wall -Wno-deprecated-declarations"
|
||||||
AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"
|
AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"
|
||||||
|
|||||||
Reference in New Issue
Block a user