~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libcurl.m4

  • Committer: Brian Aker
  • Date: 2011-07-12 23:34:13 UTC
  • mto: (2392.1.1 drizzle-autoconf)
  • mto: This revision was merged to the branch mainline in revision 2364.
  • Revision ID: brian@tangent.org-20110712233413-c8wwn3tw2p39g5t5
Fix memory leak in temporal and json server.

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
     ])