Annotation of embedaddon/php/ext/openssl/config0.m4, revision 1.1

1.1     ! misho       1: dnl
        !             2: dnl $Id: config0.m4 309398 2011-03-18 18:47:09Z geissert $
        !             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: PHP_ARG_WITH(kerberos, for Kerberos support,
        !             9: [  --with-kerberos[=DIR]     OPENSSL: Include Kerberos support], no, no)
        !            10: 
        !            11: if test "$PHP_OPENSSL" != "no"; then
        !            12:   PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_shared)
        !            13:   PHP_SUBST(OPENSSL_SHARED_LIBADD)
        !            14: 
        !            15:   if test "$PHP_KERBEROS" != "no"; then
        !            16:     PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
        !            17:   fi
        !            18: 
        !            19:   AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
        !            20:   AC_CHECK_LIB(crypto, X509_free, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
        !            21: 
        !            22:   PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD, 
        !            23:   [
        !            24:     AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
        !            25:   ], [
        !            26:     AC_MSG_ERROR([OpenSSL check failed. Please check config.log for more information.])
        !            27:   ])
        !            28: fi

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