1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00

* libcurl.m4: Check that our libcurl has curl_version_info(CURLINFO_NOW).

This commit is contained in:
David Shaw 2005-07-20 20:45:44 +00:00
parent 52527dcd7b
commit f23b945965
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-07-20 David Shaw <dshaw@jabberwocky.com>
* libcurl.m4: Check that our libcurl has
curl_version_info(CURLINFO_NOW).
2005-06-22 David Shaw <dshaw@jabberwocky.com> 2005-06-22 David Shaw <dshaw@jabberwocky.com>
* libcurl.m4: Only do the OS X linker fix on Panther. Tiger has a * libcurl.m4: Only do the OS X linker fix on Panther. Tiger has a

View File

@ -1,7 +1,7 @@
# LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION], # LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION],
# [ACTION-IF-YES], [ACTION-IF-NO]) # [ACTION-IF-YES], [ACTION-IF-NO])
# ---------------------------------------------------------- # ----------------------------------------------------------
# David Shaw <dshaw@jabberwocky.com> Jun-21-2005 # David Shaw <dshaw@jabberwocky.com> Jul-20-2005
# #
# Checks for libcurl. DEFAULT-ACTION is the string yes or no to # Checks for libcurl. DEFAULT-ACTION is the string yes or no to
# specify whether to default to --with-libcurl or --without-libcurl. # specify whether to default to --with-libcurl or --without-libcurl.
@ -32,7 +32,8 @@
# found is after version 7.7.2, the first version that included the # found is after version 7.7.2, the first version that included the
# curl-config script. Note that it is very important for people # curl-config script. Note that it is very important for people
# packaging binary versions of libcurl to include this script! # packaging binary versions of libcurl to include this script!
# Without curl-config, we can only guess what protocols are available. # Without curl-config, we can only guess what protocols are available,
# (or use curl_version_info to figure it out at runtime).
AC_DEFUN([LIBCURL_CHECK_CONFIG], AC_DEFUN([LIBCURL_CHECK_CONFIG],
[ [
@ -141,6 +142,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
missing symbols or can't link. */ missing symbols or can't link. */
int x; int x;
curl_easy_setopt(NULL,CURLOPT_URL,NULL); curl_easy_setopt(NULL,CURLOPT_URL,NULL);
curl_version_info2(CURLINFO_NOW);
x=CURL_ERROR_SIZE; x=CURL_ERROR_SIZE;
x=CURLOPT_WRITEFUNCTION; x=CURLOPT_WRITEFUNCTION;
x=CURLOPT_FILE; x=CURLOPT_FILE;