Lines Matching full:libcurl
27 # Checks for libcurl. DEFAULT-ACTION is the string yes or no to
28 # specify whether to default to --with-libcurl or --without-libcurl.
30 # minimum version of libcurl to accept. Pass the version as a regular
33 # libcurl was successfully found and passed the various tests.
35 # Note that using --without-libcurl does run ACTION-IF-NO.
37 # This macro #defines HAVE_LIBCURL if a working libcurl setup is
38 # found, and sets @LIBCURL@ and @LIBCURL_CPPFLAGS@ to the necessary
40 # the various features supported by libcurl, and LIBCURL_PROTOCOL_yyy
41 # where yyy are the various protocols supported by libcurl. Both xxx
50 # LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure
52 # For the sake of sanity, this macro assumes that any libcurl that is
55 # packaging binary versions of libcurl to include this script!
61 AH_TEMPLATE([LIBCURL_FEATURE_SSL],[Defined if libcurl supports SSL])
62 AH_TEMPLATE([LIBCURL_FEATURE_KRB4],[Defined if libcurl supports KRB4])
63 AH_TEMPLATE([LIBCURL_FEATURE_IPV6],[Defined if libcurl supports IPv6])
64 AH_TEMPLATE([LIBCURL_FEATURE_LIBZ],[Defined if libcurl supports libz])
65 AH_TEMPLATE([LIBCURL_FEATURE_ASYNCHDNS],[Defined if libcurl supports AsynchDNS])
66 AH_TEMPLATE([LIBCURL_FEATURE_IDN],[Defined if libcurl supports IDN])
67 AH_TEMPLATE([LIBCURL_FEATURE_SSPI],[Defined if libcurl supports SSPI])
68 AH_TEMPLATE([LIBCURL_FEATURE_NTLM],[Defined if libcurl supports NTLM])
70 AH_TEMPLATE([LIBCURL_PROTOCOL_HTTP],[Defined if libcurl supports HTTP])
71 AH_TEMPLATE([LIBCURL_PROTOCOL_HTTPS],[Defined if libcurl supports HTTPS])
72 AH_TEMPLATE([LIBCURL_PROTOCOL_FTP],[Defined if libcurl supports FTP])
73 AH_TEMPLATE([LIBCURL_PROTOCOL_FTPS],[Defined if libcurl supports FTPS])
74 AH_TEMPLATE([LIBCURL_PROTOCOL_FILE],[Defined if libcurl supports FILE])
75 AH_TEMPLATE([LIBCURL_PROTOCOL_TELNET],[Defined if libcurl supports TELNET])
76 AH_TEMPLATE([LIBCURL_PROTOCOL_LDAP],[Defined if libcurl supports LDAP])
77 AH_TEMPLATE([LIBCURL_PROTOCOL_DICT],[Defined if libcurl supports DICT])
78 AH_TEMPLATE([LIBCURL_PROTOCOL_TFTP],[Defined if libcurl supports TFTP])
79 AH_TEMPLATE([LIBCURL_PROTOCOL_RTSP],[Defined if libcurl supports RTSP])
80 AH_TEMPLATE([LIBCURL_PROTOCOL_POP3],[Defined if libcurl supports POP3])
81 AH_TEMPLATE([LIBCURL_PROTOCOL_IMAP],[Defined if libcurl supports IMAP])
82 AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])
84 AC_ARG_WITH(libcurl,
85 AS_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),
106 AC_CACHE_CHECK([for the version of libcurl],
114 AC_CACHE_CHECK([for libcurl >= version $2],
129 if test x"$LIBCURL" = "x" ; then
130 LIBCURL=`$_libcurl_config --libs`
137 LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
160 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
162 AC_CACHE_CHECK([whether libcurl is usable],
168 LIBS="$LIBCURL $LIBS"
192 # Does curl_free() exist in this version of libcurl?
198 LIBS="$LIBS $LIBCURL"
212 AC_SUBST(LIBCURL)
247 unset LIBCURL