diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-29 10:16:13 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-29 10:16:13 -0200 |
commit | 9c5fe9a09cf84bf57df704d5d479c7c3b0de9cbc (patch) | |
tree | 7533178928c00a13d42ade738a79e3fae0ef874e /configure.in | |
parent | fd64475a0edec4bc61938d135567aa157040d8b5 (diff) |
* Fix configure script to check for CURL library and headers presense.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |