mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Autotools: Sync CS in ext/phar (#15586)
This commit is contained in:
@@ -18,17 +18,16 @@ if test "$PHP_PHAR" != "no"; then
|
||||
]),
|
||||
[$ext_shared],,
|
||||
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
|
||||
|
||||
AC_MSG_CHECKING([for phar openssl support])
|
||||
if test "$PHP_OPENSSL_SHARED" = "yes"; then
|
||||
AC_MSG_RESULT([no (shared openssl)])
|
||||
else
|
||||
if test "$PHP_OPENSSL" = "yes"; then
|
||||
AS_VAR_IF([PHP_OPENSSL_SHARED], [yes],
|
||||
[AC_MSG_RESULT([no (shared openssl)])],
|
||||
[AS_VAR_IF([PHP_OPENSSL], [yes], [
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(PHAR_HAVE_OPENSSL,1,[ ])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
fi
|
||||
AC_DEFINE([PHAR_HAVE_OPENSSL], [1],
|
||||
[Define to 1 if phar extension has native OpenSSL support.])
|
||||
], [AC_MSG_RESULT([no])])])
|
||||
|
||||
PHP_ADD_EXTENSION_DEP(phar, hash)
|
||||
PHP_ADD_EXTENSION_DEP(phar, spl)
|
||||
PHP_ADD_MAKEFILE_FRAGMENT
|
||||
|
||||
Reference in New Issue
Block a user