jani Mon Jul 14 09:02:27 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/intl config.m4
/php-src/ext/mysqlnd config9.m4
/php-src/ext/phar config.m4
/php-src/ext/zip config.m4
Log:
- Some config*.m4 file cleanups: NO tabs in these!
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/config.m4?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/intl/config.m4
diff -u php-src/ext/intl/config.m4:1.1.2.1 php-src/ext/intl/config.m4:1.1.2.2
--- php-src/ext/intl/config.m4:1.1.2.1 Mon Jul 7 22:51:02 2008
+++ php-src/ext/intl/config.m4 Mon Jul 14 09:02:26 2008
@@ -10,57 +10,55 @@
PHP_SUBST(INTL_SHARED_LIBADD)
PHP_REQUIRE_CXX()
- PHP_NEW_EXTENSION(intl,
- php_intl.c \
- intl_error.c \
- intl_convert.c \
- collator/collator.c \
- collator/collator_class.c \
- collator/collator_sort.c \
- collator/collator_convert.c \
- collator/collator_locale.c \
- collator/collator_compare.c \
- collator/collator_attr.c \
- collator/collator_create.c \
- collator/collator_is_numeric.c \
- collator/collator_error.c \
- common/common_error.c \
- formatter/formatter.c \
- formatter/formatter_main.c \
- formatter/formatter_class.c \
- formatter/formatter_attr.c \
- formatter/formatter_data.c \
- formatter/formatter_format.c \
- formatter/formatter_parse.c \
- normalizer/normalizer.c \
- normalizer/normalizer_class.c \
- normalizer/normalizer_normalize.c \
- locale/locale.c \
- locale/locale_class.c \
- locale/locale_methods.c \
- dateformat/dateformat.c \
- dateformat/dateformat_class.c \
- dateformat/dateformat_attr.c \
- dateformat/dateformat_data.c \
- dateformat/dateformat_format.c \
- dateformat/dateformat_parse.c \
- msgformat/msgformat.c \
- msgformat/msgformat_attr.c \
- msgformat/msgformat_class.c \
- msgformat/msgformat_data.c \
- msgformat/msgformat_format.c \
- msgformat/msgformat_helpers.cpp \
- msgformat/msgformat_parse.c \
- grapheme/grapheme_string.c \
- grapheme/grapheme_util.c \
- ,$ext_shared,,$ICU_INCS)
+ PHP_NEW_EXTENSION(intl, php_intl.c \
+ intl_error.c \
+ intl_convert.c \
+ collator/collator.c \
+ collator/collator_class.c \
+ collator/collator_sort.c \
+ collator/collator_convert.c \
+ collator/collator_locale.c \
+ collator/collator_compare.c \
+ collator/collator_attr.c \
+ collator/collator_create.c \
+ collator/collator_is_numeric.c \
+ collator/collator_error.c \
+ common/common_error.c \
+ formatter/formatter.c \
+ formatter/formatter_main.c \
+ formatter/formatter_class.c \
+ formatter/formatter_attr.c \
+ formatter/formatter_data.c \
+ formatter/formatter_format.c \
+ formatter/formatter_parse.c \
+ normalizer/normalizer.c \
+ normalizer/normalizer_class.c \
+ normalizer/normalizer_normalize.c \
+ locale/locale.c \
+ locale/locale_class.c \
+ locale/locale_methods.c \
+ dateformat/dateformat.c \
+ dateformat/dateformat_class.c \
+ dateformat/dateformat_attr.c \
+ dateformat/dateformat_data.c \
+ dateformat/dateformat_format.c \
+ dateformat/dateformat_parse.c \
+ msgformat/msgformat.c \
+ msgformat/msgformat_attr.c \
+ msgformat/msgformat_class.c \
+ msgformat/msgformat_data.c \
+ msgformat/msgformat_format.c \
+ msgformat/msgformat_helpers.cpp \
+ msgformat/msgformat_parse.c \
+ grapheme/grapheme_string.c \
+ grapheme/grapheme_util.c,$ext_shared)
- PHP_ADD_BUILD_DIR($ext_builddir/collator)
- PHP_ADD_BUILD_DIR($ext_builddir/common)
- PHP_ADD_BUILD_DIR($ext_builddir/formatter)
- PHP_ADD_BUILD_DIR($ext_builddir/normalizer)
- PHP_ADD_BUILD_DIR($ext_builddir/dateformat)
- PHP_ADD_BUILD_DIR($ext_builddir/locale)
- PHP_ADD_BUILD_DIR($ext_builddir/msgformat)
- PHP_ADD_BUILD_DIR($ext_builddir/grapheme)
+ PHP_ADD_BUILD_DIR($ext_builddir/collator)
+ PHP_ADD_BUILD_DIR($ext_builddir/common)
+ PHP_ADD_BUILD_DIR($ext_builddir/formatter)
+ PHP_ADD_BUILD_DIR($ext_builddir/normalizer)
+ PHP_ADD_BUILD_DIR($ext_builddir/dateformat)
+ PHP_ADD_BUILD_DIR($ext_builddir/locale)
+ PHP_ADD_BUILD_DIR($ext_builddir/msgformat)
+ PHP_ADD_BUILD_DIR($ext_builddir/grapheme)
fi
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/config9.m4?r1=1.3.2.7&r2=1.3.2.8&diff_format=u
Index: php-src/ext/mysqlnd/config9.m4
diff -u php-src/ext/mysqlnd/config9.m4:1.3.2.7
php-src/ext/mysqlnd/config9.m4:1.3.2.8
--- php-src/ext/mysqlnd/config9.m4:1.3.2.7 Mon Mar 10 20:15:38 2008
+++ php-src/ext/mysqlnd/config9.m4 Mon Jul 14 09:02:26 2008
@@ -1,11 +1,11 @@
dnl
-dnl $Id: config9.m4,v 1.3.2.7 2008/03/10 20:15:38 andrey Exp $
+dnl $Id: config9.m4,v 1.3.2.8 2008/07/14 09:02:26 jani Exp $
dnl config.m4 for mysqlnd driver
PHP_ARG_ENABLE(mysqlnd_threading, whether to enable threaded fetch in mysqlnd,
-[ --enable-mysqlnd-threading mysqlnd: Enable threaded fetch], no, no)
-
+[ --enable-mysqlnd-threading
+ MYSQLND: Enable threaded fetch. Note: This forces
ZTS on!], no, no)
dnl If some extension uses mysqlnd it will get compiled in PHP core
if test "$PHP_MYSQLND_ENABLED" = "yes"; then
@@ -26,7 +26,6 @@
AC_DEFINE([MYSQLND_THREADED], 1, [Whether mysqlnd threading is enabled])
fi
-
dnl This creates a file so it has to be after above macros
PHP_CHECK_TYPES([int8 uint8 int16 uint16 int32 uint32 uchar ulong int8_t
uint8_t int16_t uint16_t int32_t uint32_t int64_t uint64_t], [
$ext_builddir/php_mysqlnd_config.h
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/config.m4?r1=1.27.2.4&r2=1.27.2.5&diff_format=u
Index: php-src/ext/phar/config.m4
diff -u php-src/ext/phar/config.m4:1.27.2.4 php-src/ext/phar/config.m4:1.27.2.5
--- php-src/ext/phar/config.m4:1.27.2.4 Sun Jun 1 04:21:26 2008
+++ php-src/ext/phar/config.m4 Mon Jul 14 09:02:26 2008
@@ -1,8 +1,8 @@
-dnl $Id: config.m4,v 1.27.2.4 2008/06/01 04:21:26 cellog Exp $
+dnl $Id: config.m4,v 1.27.2.5 2008/07/14 09:02:26 jani Exp $
dnl config.m4 for extension phar
PHP_ARG_ENABLE(phar, for phar archive support,
-[ --disable-phar Disable phar support], yes)
+[ --disable-phar Disable phar support], yes)
if test "$PHP_PHAR" != "no"; then
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)
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/config.m4?r1=1.8.2.3.2.3&r2=1.8.2.3.2.4&diff_format=u
Index: php-src/ext/zip/config.m4
diff -u php-src/ext/zip/config.m4:1.8.2.3.2.3
php-src/ext/zip/config.m4:1.8.2.3.2.4
--- php-src/ext/zip/config.m4:1.8.2.3.2.3 Fri May 30 19:46:56 2008
+++ php-src/ext/zip/config.m4 Mon Jul 14 09:02:26 2008
@@ -1,79 +1,77 @@
dnl
-dnl $Id: config.m4,v 1.8.2.3.2.3 2008/05/30 19:46:56 pajoye Exp $
+dnl $Id: config.m4,v 1.8.2.3.2.4 2008/07/14 09:02:26 jani Exp $
dnl
PHP_ARG_ENABLE(zip, for zip archive read/writesupport,
-[ --enable-zip Include Zip read/write support.])
+[ --enable-zip Include Zip read/write support.])
if test -z "$PHP_ZLIB_DIR"; then
-PHP_ARG_WITH(zlib-dir, for the location of libz,
-[ --with-zlib-dir[=DIR] zip: Set the path to libz install prefix.], no, no)
+ PHP_ARG_WITH(zlib-dir, for the location of libz,
+ [ --with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix.], no,
no)
fi
PHP_ARG_WITH(pcre-dir, pcre install prefix,
-[ --with-pcre-dir FILTER: pcre install prefix], no, no)
+[ --with-pcre-dir ZIP: pcre install prefix], no, no)
if test "$PHP_ZIP" != "no"; then
- if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
- if test -f "$PHP_ZLIB_DIR/include/zlib/zlib.h"; then
- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include/zlib"
- elif test -f "$PHP_ZLIB_DIR/include/zlib.h"; then
- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include"
- else
- AC_MSG_ERROR([Can't find zlib headers under
"$PHP_ZLIB_DIR"])
- fi
- else
- for i in /usr/local /usr; do
- if test -f "$i/include/zlib/zlib.h"; then
- PHP_ZLIB_DIR="$i"
- PHP_ZLIB_INCDIR="$i/include/zlib"
- elif test -f "$i/include/zlib.h"; then
- PHP_ZLIB_DIR="$i"
- PHP_ZLIB_INCDIR="$i/include"
- fi
- done
- fi
-
- dnl # zlib
- AC_MSG_CHECKING([for the location of zlib])
- if test "$PHP_ZLIB_DIR" = "no"; then
- AC_MSG_ERROR([zip support requires ZLIB. Use
--with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are
located])
- else
- AC_MSG_RESULT([$PHP_ZLIB_DIR])
- PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/$PHP_LIBDIR,
ZIP_SHARED_LIBADD)
- PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
- fi
-
-
- dnl This is PECL build, check if bundled PCRE library is used
- old_CPPFLAGS=$CPPFLAGS
- CPPFLAGS=$INCLUDES
- AC_EGREP_CPP(yes,[
+ if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
+ if test -f "$PHP_ZLIB_DIR/include/zlib/zlib.h"; then
+ PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+ PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include/zlib"
+ elif test -f "$PHP_ZLIB_DIR/include/zlib.h"; then
+ PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+ PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include"
+ else
+ AC_MSG_ERROR([Can not find zlib headers under "$PHP_ZLIB_DIR"])
+ fi
+ else
+ for i in /usr/local /usr; do
+ if test -f "$i/include/zlib/zlib.h"; then
+ PHP_ZLIB_DIR="$i"
+ PHP_ZLIB_INCDIR="$i/include/zlib"
+ elif test -f "$i/include/zlib.h"; then
+ PHP_ZLIB_DIR="$i"
+ PHP_ZLIB_INCDIR="$i/include"
+ fi
+ done
+ fi
+
+ dnl # zlib
+ AC_MSG_CHECKING([for the location of zlib])
+ if test "$PHP_ZLIB_DIR" = "no"; then
+ AC_MSG_ERROR([zip support requires ZLIB. Use --with-zlib-dir=<DIR> to
specify prefix where ZLIB include and library are located])
+ else
+ AC_MSG_RESULT([$PHP_ZLIB_DIR])
+ PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/$PHP_LIBDIR, ZIP_SHARED_LIBADD)
+ PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
+ fi
+
+ dnl This is PECL build, check if bundled PCRE library is used
+ old_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
#include <main/php_config.h>
#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
yes
#endif
- ],[
- PHP_PCRE_REGEX=yes
- ],[
- AC_EGREP_CPP(yes,[
+ ],[
+ PHP_PCRE_REGEX=yes
+ ],[
+ AC_EGREP_CPP(yes,[
#include <main/php_config.h>
#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
yes
#endif
- ],[
- PHP_PCRE_REGEX=pecl
- ],[
- PHP_PCRE_REGEX=no
- ])
+ ],[
+ PHP_PCRE_REGEX=pecl
+ ],[
+ PHP_PCRE_REGEX=no
])
- CPPFLAGS=$old_CPPFLAGS
-
+ ])
+ CPPFLAGS=$old_CPPFLAGS
- PHP_ZIP_SOURCES="$PHP_ZIP_SOURCES lib/zip_add.c lib/zip_error.c
lib/zip_fclose.c \
+ PHP_ZIP_SOURCES="$PHP_ZIP_SOURCES lib/zip_add.c lib/zip_error.c
lib/zip_fclose.c \
lib/zip_fread.c lib/zip_open.c lib/zip_source_filep.c
\
lib/zip_strerror.c lib/zip_close.c
lib/zip_error_get.c \
lib/zip_file_error_get.c lib/zip_free.c
lib/zip_rename.c \
@@ -91,11 +89,11 @@
lib/zip_unchange_archive.c lib/zip_memdup.c
lib/zip_stat_init.c lib/zip_add_dir.c \
lib/zip_error_clear.c lib/zip_file_error_clear.c"
- AC_DEFINE(HAVE_ZIP,1,[ ])
- PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c $PHP_ZIP_SOURCES,
$ext_shared)
- PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
- PHP_SUBST(ZIP_SHARED_LIBADD)
+ AC_DEFINE(HAVE_ZIP,1,[ ])
+ PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c $PHP_ZIP_SOURCES, $ext_shared)
+ PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
+ PHP_SUBST(ZIP_SHARED_LIBADD)
- dnl so we always include the known-good working hack.
- PHP_ADD_MAKEFILE_FRAGMENT
+ dnl so we always include the known-good working hack.
+ PHP_ADD_MAKEFILE_FRAGMENT
fi
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php