THe main features of PHP 5.6: * Constant scalar expressions. * Variadic functions and argument unpacking using the ... operator. * Exponentiation using the ** operator. * Function and constant importing with the use keyword. * phpdbg as an interactive integrated debugger SAPI. * php://input is now reusable, and $HTTP_RAW_POST_DATA is deprecated. * GMP objects now support operator overloading. * File uploads larger than 2 gigabytes in size are now accepted. Please refer for difference from oldre release:http://php.net/migration56.
28 lines
1,005 B
Text
28 lines
1,005 B
Text
$NetBSD: patch-ext_imap_config.m4,v 1.1 2014/11/24 15:37:08 taca Exp $
|
|
|
|
--- ext/imap/config.m4.orig 2014-11-12 13:52:21.000000000 +0000
|
|
+++ ext/imap/config.m4
|
|
@@ -48,6 +48,14 @@ AC_DEFUN([PHP_IMAP_TEST_BUILD], [
|
|
])
|
|
])
|
|
|
|
+dsl Must be before --with-kerberos, affects the check
|
|
+PHP_ARG_WITH(imap-linkage,use IMAP c-client linkage,
|
|
+[ --with-imap-linkage Use IMAP c-client linkage to determine supported items.])
|
|
+
|
|
+if test "$PHP_IMAP_LINKAGE" != "no"; then
|
|
+ AC_DEFINE(HAVE_IMAP_LINKAGE, 1, [ ])
|
|
+fi
|
|
+
|
|
AC_DEFUN([PHP_IMAP_KRB_CHK], [
|
|
if test "$PHP_KERBEROS" != "no"; then
|
|
PHP_SETUP_KERBEROS(IMAP_SHARED_LIBADD,
|
|
@@ -59,7 +67,7 @@ AC_DEFUN([PHP_IMAP_KRB_CHK], [
|
|
Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )
|
|
])
|
|
])
|
|
- else
|
|
+ elif test "$PHP_IMAP_LINKAGE" != "yes"; then
|
|
AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [
|
|
AC_MSG_ERROR([This c-client library is built with Kerberos support.
|
|
|