File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / phar / config.m4
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 08:02:28 2013 UTC (10 years, 9 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, HEAD
v 5.4.20

    1: dnl $Id: config.m4,v 1.1.1.3 2013/10/14 08:02:28 misho Exp $
    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: 
   31:   PHP_OUTPUT(ext/phar/phar.1 ext/phar/phar.phar.1)
   32: fi

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