~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/auth_http/plugin.ac

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_LIB_HAVE_LINKFLAGS(curl,,
2
 
  [#include <curl/curl.h>],
3
 
  [
4
 
    CURL *handle;
5
 
    handle=curl_easy_init();
6
 
  ])
 
1
PANDORA_HAVE_LIBCURL
7
2
AS_IF([test "x$ac_cv_libcurl" = "xno"],
8
 
  AC_MSG_WARN([libcurl development lib not found: not building auth_http plugin. On Debian this is found in libcurl4-gnutls-dev. On RedHat it's in libcurl-devel.]),[
9
 
  AC_CACHE_CHECK([if libcurl has CURLOPT_USERNAME],
10
 
                 [drizzle_cv_curl_have_username],[
11
 
     AC_COMPILE_IFELSE([
12
 
       AC_LANG_PROGRAM(
13
 
         [[
14
 
           CURL *handle;
15
 
           handle=curl_easy_init();
16
 
           rv= curl_easy_setopt(curl_handle, CURLOPT_USERNAME, "foo");
17
 
         ]])],
18
 
       [drizzle_cv_curl_have_username=yes],
19
 
       [drizzle_cv_curl_have_username=no])])
20
 
  AS_IF([test "x$drizzle_cv_curl_have_username" = "xyes"],
21
 
        AC_DEFINE([HAVE_CURLOPT_USERNAME],[1],
22
 
                  [Does libcurl provide the CURLOPT_USERNAME constant]))
23
 
 
24
 
  ])
 
3
  AC_MSG_WARN([libcurl not found: not building auth_http]))
 
4
PANDORA_ADD_PLUGIN_DEP_LIB([${LIBCURL}])