Annotation of embedaddon/php/ext/phar/config.m4, revision 1.1.1.2

1.1.1.2 ! misho       1: dnl $Id$
1.1       misho       2: dnl config.m4 for extension phar
                      3: 
                      4: PHP_ARG_ENABLE(phar, for phar archive support,
                      5: [  --disable-phar          Disable phar support], yes)
                      6: 
                      7: if test "$PHP_PHAR" != "no"; then
                      8:   PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared)
                      9:   AC_MSG_CHECKING([for phar openssl support])
                     10:   if test "$PHP_HASH_SHARED" != "yes"; then
                     11:     if test "$PHP_HASH" != "no"; then
                     12:       AC_DEFINE(PHAR_HASH_OK,1,[ ])
                     13:     fi
                     14:   else
                     15:     AC_MSG_WARN([Phar: sha256/sha512 signature support disabled if ext/hash is built shared])
                     16:   fi
                     17:   if test "$PHP_OPENSSL_SHARED" = "yes"; then
                     18:     AC_MSG_RESULT([no (shared openssl)])
                     19:   else
                     20:     if test "$PHP_OPENSSL" = "yes"; then
                     21:       AC_MSG_RESULT([yes])
                     22:       AC_DEFINE(PHAR_HAVE_OPENSSL,1,[ ])
                     23:     else
                     24:       AC_MSG_RESULT([no])
                     25:     fi
                     26:   fi
                     27:   PHP_ADD_EXTENSION_DEP(phar, hash, true)
                     28:   PHP_ADD_EXTENSION_DEP(phar, spl, true)
                     29:   PHP_ADD_MAKEFILE_FRAGMENT
                     30: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>