Skip to content

Commit

Permalink
Use pkgconfig for libmicrohttpd detection
Browse files Browse the repository at this point in the history
See a3766c12585a1db989beacfdac7a0cc46685b59a for why the version bump.
  • Loading branch information
jubalh committed Jul 8, 2020
1 parent f33c4b6 commit 81f38c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ PKG_CHECK_MODULES([expat], [expat >= 2.0.0], [],
AC_CHECK_LIB([pthread], [main], [],
[AC_MSG_ERROR([pthread is required])])

AC_CHECK_LIB([microhttpd], [main], [],
[AC_MSG_ERROR([microhttpd is required])])
PKG_CHECK_MODULES([libmicrohttpd], [libmicrohttpd >= 0.9.71], [],
[AC_MSG_ERROR([libmicrohttpd 0.9.71 or higher is required])])

AM_CFLAGS="-Wall -Wno-deprecated-declarations"
AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"
Expand Down

0 comments on commit 81f38c6

Please sign in to comment.