File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,16 @@ if test "$PHP_PHAR" != "no"; then
18
18
] ) ,
19
19
[ $ext_shared] ,,
20
20
[ -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1] )
21
+
21
22
AC_MSG_CHECKING ( [ for phar openssl support] )
22
- if test "$PHP_OPENSSL_SHARED" = "yes"; then
23
- AC_MSG_RESULT ( [ no (shared openssl)] )
24
- else
25
- if test "$PHP_OPENSSL" = "yes"; then
23
+ AS_VAR_IF ( [ PHP_OPENSSL_SHARED] , [ yes] ,
24
+ [ AC_MSG_RESULT ( [ no (shared openssl)] ) ] ,
25
+ [ AS_VAR_IF ( [ PHP_OPENSSL] , [ yes] , [
26
26
AC_MSG_RESULT ( [ yes] )
27
- AC_DEFINE ( PHAR_HAVE_OPENSSL ,1 ,[ ] )
28
- else
29
- AC_MSG_RESULT ( [ no] )
30
- fi
31
- fi
27
+ AC_DEFINE ( [ PHAR_HAVE_OPENSSL] , [ 1] ,
28
+ [ Define to 1 if phar extension has native OpenSSL support.] )
29
+ ] , [ AC_MSG_RESULT ( [ no] ) ] ) ] )
30
+
32
31
PHP_ADD_EXTENSION_DEP(phar, hash)
33
32
PHP_ADD_EXTENSION_DEP(phar, spl)
34
33
PHP_ADD_MAKEFILE_FRAGMENT
You can’t perform that action at this time.
0 commit comments