Skip to content

Commit 22eb8d9

Browse files
author
foobar
committed
Synced PHP_SETUP_OPENSSL with PHP_SETUP_ICONV and PHP_SETUP_LIBXML macros.
1 parent 797fc13 commit 22eb8d9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/openssl/config0.m4

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
dnl
2+
dnl $Id$
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+
if test "$PHP_OPENSSL" != "no"; then
9+
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
10+
[
11+
PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_shared)
12+
PHP_SUBST(OPENSSL_SHARED_LIBADD)
13+
AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
14+
], [
15+
AC_MSG_ERROR([OpenSSL check failed. Please check config.log for more information.])
16+
])
17+
fi

0 commit comments

Comments
 (0)