~ubuntu-branches/ubuntu/maverick/php5/maverick-proposed

« back to all changes in this revision

Viewing changes to ext/ldap/config.w32

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-08-01 11:58:54 UTC
  • mfrom: (1.1.19 upstream) (0.4.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20100801115854-30yqnnj2vx87v6no
Tags: 5.3.3-1ubuntu1
Merge from Debian experimental: 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: config.w32 263930 2008-07-31 18:04:49Z pajoye $
 
1
// $Id: config.w32 299434 2010-05-17 20:09:42Z pajoye $
2
2
// vim:ft=javascript
3
3
 
4
4
ARG_WITH("ldap", "LDAP support", "no");
11
11
                        CHECK_LIB("ssleay32.lib", "ldap", PHP_LDAP) &&
12
12
                        CHECK_LIB("libeay32.lib", "ldap", PHP_LDAP) &&
13
13
                        CHECK_LIB("oldap32_a.lib", "ldap", PHP_LDAP) &&
14
 
                        CHECK_LIB("olber32_a.lib", "ldap", PHP_LDAP)) {
 
14
                        CHECK_LIB("olber32_a.lib", "ldap", PHP_LDAP)&&
 
15
                        CHECK_LIB("libsasl.lib", "ldap", PHP_LDAP)) {
15
16
                EXTENSION('ldap', 'ldap.c');
16
17
 
17
18
                AC_DEFINE('HAVE_LDAP_PARSE_RESULT', 1);
18
19
                AC_DEFINE('HAVE_LDAP_PARSE_REFERENCE', 1);
19
20
                AC_DEFINE('HAVE_LDAP_START_TLS_S', 1);
20
21
                AC_DEFINE('HAVE_LDAP', 1);
 
22
                AC_DEFINE('HAVE_LDAP_SASL', 1);
 
23
                AC_DEFINE('HAVE_LDAP_SASL_SASL_H', 1);
 
24
                AC_DEFINE('LDAP_DEPRECATED', 1);
21
25
 
22
26
        } else {
23
27
                WARNING("ldap not enabled; libraries and headers not found");