summaryrefslogtreecommitdiff
path: root/ext/mbstring/config.m4
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2008-07-24 12:58:37 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2008-07-24 12:58:37 +0000
commit5b494c0f163e5626783ee2a3a1964cf83bcd494f (patch)
tree258c4dffd4c1e64ac3d04ddb93b4eeff27c3ab62 /ext/mbstring/config.m4
parentd529003bd2938a63b4801d20068c7ac8bc69ff1d (diff)
downloadphp-git-5b494c0f163e5626783ee2a3a1964cf83bcd494f.tar.gz
- Add mbstring.http_output_conv_mimetypes that allows common non-text
types such as "application/xhtml+xml" to be converted by mb_output_handler().
Diffstat (limited to 'ext/mbstring/config.m4')
-rw-r--r--ext/mbstring/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4
index 24382fe3dc..b2f2c3aa89 100644
--- a/ext/mbstring/config.m4
+++ b/ext/mbstring/config.m4
@@ -111,6 +111,7 @@ int main() { return foo(10, "", 3.14); }
AC_DEFINE([HAVE_STDARG_PROTOTYPES], [1], [Define to 1 if you have the <stdarg.h> header file.])
], [])
AC_DEFINE([PHP_ONIG_BUNDLED], [1], [Define to 1 if the bundled oniguruma is used])
+ AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available])
PHP_MBSTRING_ADD_CFLAG([-DNOT_RUBY])
PHP_MBSTRING_ADD_BUILD_DIR([oniguruma])
PHP_MBSTRING_ADD_BUILD_DIR([oniguruma/enc])
@@ -170,6 +171,7 @@ int main() { return foo(10, "", 3.14); }
PHP_CHECK_LIBRARY(onig, onig_init, [
PHP_ADD_LIBRARY_WITH_PATH(onig, $PHP_ONIG/$PHP_LIBDIR, MBSTRING_SHARED_LIBADD)
+ AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available])
],[
AC_MSG_ERROR([Problem with oniguruma. Please check config.log for more information.])
], [