summaryrefslogtreecommitdiff
path: root/ext/recode
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/recode
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/recode')
-rw-r--r--ext/recode/config9.m47
-rw-r--r--ext/recode/recode.c2
2 files changed, 3 insertions, 6 deletions
diff --git a/ext/recode/config9.m4 b/ext/recode/config9.m4
index 66df50e221..2065f6c6e9 100644
--- a/ext/recode/config9.m4
+++ b/ext/recode/config9.m4
@@ -5,12 +5,7 @@ dnl
dnl Check for extensions with which Recode can not work
if test "$PHP_RECODE" != "no"; then
test "$PHP_IMAP" != "no" && recode_conflict="$recode_conflict imap"
-
- if test -n "$MYSQL_LIBNAME"; then
- PHP_CHECK_LIBRARY($MYSQL_LIBNAME, hash_insert, [
- recode_conflict="$recode_conflict mysql"
- ])
- fi
+ test "$PHP_MYSQL" != "no" && recode_conflict="$recode_conflict mysql"
if test -n "$recode_conflict"; then
AC_MSG_ERROR([recode extension can not be configured together with:$recode_conflict])
diff --git a/ext/recode/recode.c b/ext/recode/recode.c
index 51586c89cc..20542038da 100644
--- a/ext/recode/recode.c
+++ b/ext/recode/recode.c
@@ -67,11 +67,13 @@ ZEND_DECLARE_MODULE_GLOBALS(recode);
static PHP_GINIT_FUNCTION(recode);
/* {{{ arginfo */
+static
ZEND_BEGIN_ARG_INFO_EX(arginfo_recode_string, 0, 0, 2)
ZEND_ARG_INFO(0, request)
ZEND_ARG_INFO(0, str)
ZEND_END_ARG_INFO()
+static
ZEND_BEGIN_ARG_INFO_EX(arginfo_recode_file, 0, 0, 3)
ZEND_ARG_INFO(0, request)
ZEND_ARG_INFO(0, input)