]> code.citadel.org Git - citadel.git/blobdiff - citadel/configure.ac
RSS client now uses libcurl instead of the crappy built-in
[citadel.git] / citadel / configure.ac
index b11c1175a1456833e92b610a7241adf3d972ff12..c36130b04719eafa3f616a4b581ff517887fd7d9 100644 (file)
@@ -617,6 +617,33 @@ AC_CHECK_HEADER(expat.h,
 )
 
 
+
+
+
+
+
+dnl Checks for libcurl.
+AC_CHECK_HEADER(curl/curl.h,
+       [AC_CHECK_LIB(curl, curl_easy_init,
+               [
+                       SERVER_LIBS="-lcurl $SERVER_LIBS"
+               ],
+               [
+                       AC_MSG_ERROR(libcurl was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start)
+               ]
+       ,
+       )],
+       [
+               AC_MSG_ERROR(curl/curl.h was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start)
+       ]
+)
+
+
+
+
+
+
+
 dnl Checks for the libical iCalendar library.
 AC_CHECK_HEADER(ical.h,
        [AC_CHECK_LIB(ical, icalcomponent_new,