~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/openssl/config0.m4

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl
 
2
dnl $Id: config0.m4,v 1.2.4.2 2005/01/01 14:35:29 wez Exp $
 
3
dnl
 
4
 
 
5
PHP_ARG_WITH(openssl, for OpenSSL support,
 
6
[  --with-openssl[=DIR]    Include OpenSSL support (requires OpenSSL >= 0.9.6)])
 
7
 
 
8
PHP_ARG_WITH(kerberos, for Kerberos support,
 
9
[  --with-kerberos[=DIR]     OPENSSL: Include Kerberos support], no, no)
 
10
 
 
11
if test "$PHP_OPENSSL" != "no"; then
 
12
  PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_shared)
 
13
  PHP_SUBST(OPENSSL_SHARED_LIBADD)
 
14
 
 
15
  if test "$PHP_KERBEROS" != "no"; then
 
16
    PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
 
17
  fi
 
18
 
 
19
  PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD, 
 
20
  [
 
21
    AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
 
22
  ], [
 
23
    AC_MSG_ERROR([OpenSSL check failed. Please check config.log for more information.])
 
24
  ])
 
25
fi