2
dnl $Id: config0.m4,v 1.2.4.2 2005/01/01 14:35:29 wez Exp $
5
PHP_ARG_WITH(openssl, for OpenSSL support,
6
[ --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)])
8
PHP_ARG_WITH(kerberos, for Kerberos support,
9
[ --with-kerberos[=DIR] OPENSSL: Include Kerberos support], no, no)
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)
15
if test "$PHP_KERBEROS" != "no"; then
16
PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
19
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
21
AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
23
AC_MSG_ERROR([OpenSSL check failed. Please check config.log for more information.])