• Home
  • Raw
  • Download

Lines Matching full:libcurl

29 # Checks for libcurl.  DEFAULT-ACTION is the string yes or no to
30 # specify whether to default to --with-libcurl or --without-libcurl.
32 # minimum version of libcurl to accept. Pass the version as a regular
35 # libcurl was successfully found and passed the various tests.
37 # Note that using --without-libcurl does run ACTION-IF-NO.
39 # This macro #defines HAVE_LIBCURL if a working libcurl setup is
40 # found, and sets @LIBCURL@ and @LIBCURL_CPPFLAGS@ to the necessary
42 # the various features supported by libcurl, and LIBCURL_PROTOCOL_yyy
43 # where yyy are the various protocols supported by libcurl. Both xxx
52 # LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure
54 # For the sake of sanity, this macro assumes that any libcurl that is found is
56 # Note that it is important for people packaging binary versions of libcurl to
62 AH_TEMPLATE([LIBCURL_FEATURE_SSL],[Defined if libcurl supports SSL])
63 AH_TEMPLATE([LIBCURL_FEATURE_KRB4],[Defined if libcurl supports KRB4])
64 AH_TEMPLATE([LIBCURL_FEATURE_IPV6],[Defined if libcurl supports IPv6])
65 AH_TEMPLATE([LIBCURL_FEATURE_LIBZ],[Defined if libcurl supports libz])
66 AH_TEMPLATE([LIBCURL_FEATURE_ASYNCHDNS],[Defined if libcurl supports AsynchDNS])
67 AH_TEMPLATE([LIBCURL_FEATURE_IDN],[Defined if libcurl supports IDN])
68 AH_TEMPLATE([LIBCURL_FEATURE_SSPI],[Defined if libcurl supports SSPI])
69 AH_TEMPLATE([LIBCURL_FEATURE_NTLM],[Defined if libcurl supports NTLM])
71 AH_TEMPLATE([LIBCURL_PROTOCOL_HTTP],[Defined if libcurl supports HTTP])
72 AH_TEMPLATE([LIBCURL_PROTOCOL_HTTPS],[Defined if libcurl supports HTTPS])
73 AH_TEMPLATE([LIBCURL_PROTOCOL_FTP],[Defined if libcurl supports FTP])
74 AH_TEMPLATE([LIBCURL_PROTOCOL_FTPS],[Defined if libcurl supports FTPS])
75 AH_TEMPLATE([LIBCURL_PROTOCOL_FILE],[Defined if libcurl supports FILE])
76 AH_TEMPLATE([LIBCURL_PROTOCOL_TELNET],[Defined if libcurl supports TELNET])
77 AH_TEMPLATE([LIBCURL_PROTOCOL_LDAP],[Defined if libcurl supports LDAP])
78 AH_TEMPLATE([LIBCURL_PROTOCOL_DICT],[Defined if libcurl supports DICT])
79 AH_TEMPLATE([LIBCURL_PROTOCOL_TFTP],[Defined if libcurl supports TFTP])
80 AH_TEMPLATE([LIBCURL_PROTOCOL_RTSP],[Defined if libcurl supports RTSP])
81 AH_TEMPLATE([LIBCURL_PROTOCOL_POP3],[Defined if libcurl supports POP3])
82 AH_TEMPLATE([LIBCURL_PROTOCOL_IMAP],[Defined if libcurl supports IMAP])
83 AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])
85 AC_ARG_WITH(libcurl, optwith
86 …AS_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PRE…
107 AC_CACHE_CHECK([for the version of libcurl],
115 AC_CACHE_CHECK([for libcurl >= version $2],
130 if test x"$LIBCURL" = "x" ; then
131 LIBCURL=`$_libcurl_config --libs`
138 LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
161 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
163 AC_CACHE_CHECK([whether libcurl is usable],
169 LIBS="$LIBCURL $LIBS"
193 # Does curl_free() exist in this version of libcurl?
199 LIBS="$LIBS $LIBCURL"
214 AC_SUBST(LIBCURL) subst
249 unset LIBCURL