From 9c5fe9a09cf84bf57df704d5d479c7c3b0de9cbc Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 29 Oct 2007 10:16:13 -0200 Subject: * Fix configure script to check for CURL library and headers presense. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index df446bc56..13ce4540d 100644 --- a/configure.in +++ b/configure.in @@ -74,6 +74,13 @@ AC_CHECK_HEADER(db.h, LIBS="$saveLIBS" +AC_CHECK_LIB(curl, curl_easy_init, + [AC_CHECK_HEADER(curl/curl.h, + curl_ok=yes, + curl_ok=no)], + AC_MSG_ERROR([failed: I need CURL due https support]), +) + AC_SUBST(BDBLIB) dnl Converts the ARCH to be something singular for this general CPU family -- cgit v1.2.3