~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libcurl.m4

  • Committer: Olaf van der Spek
  • Date: 2011-08-04 08:13:04 UTC
  • mfrom: (2384 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110804081304-rlejjpvoos17bjdf
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
     AC_COMPILE_IFELSE([
33
33
       AC_LANG_PROGRAM(
34
34
         [[
35
 
           CURL *handle;
36
 
           handle=curl_easy_init();
37
 
           rv= curl_easy_setopt(curl_handle, CURLOPT_USERNAME, "foo");
38
 
         ]])],
 
35
           #include <curl/curl.h>
 
36
         ]],
 
37
         [[
 
38
           CURL *curl_handle=curl_easy_init();
 
39
           CURLcode rv= curl_easy_setopt(curl_handle, CURLOPT_USERNAME, "foo");
 
40
           (void)rv;
 
41
         ]])
 
42
       ],
39
43
       [pandora_cv_curl_have_username=yes],
40
44
       [pandora_cv_curl_have_username=no])
41
45
     ])