diff options
author | Pierre Joye <pajoye@php.net> | 2010-02-07 13:06:54 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-02-07 13:06:54 +0000 |
commit | 8e6b3346f3a2e316c1625746bff3df9073cdb08a (patch) | |
tree | 98ef6c7fe8d21f767ebf44b539a2652e65e025e2 /ext/imap/config.m4 | |
parent | 9bc0d024bf703924419c171fd9891eec238d4fa0 (diff) | |
download | php-git-8e6b3346f3a2e316c1625746bff3df9073cdb08a.tar.gz |
- Fixed #44098, imap_utf8() returns only capital letters
Diffstat (limited to 'ext/imap/config.m4')
-rw-r--r-- | ext/imap/config.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index 4ec798cee7..3ad7c107dd 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -147,24 +147,24 @@ if test "$PHP_IMAP" != "no"; then old_CFLAGS=$CFLAGS CFLAGS="-I$IMAP_INC_DIR" - AC_CACHE_CHECK(for U8T_CANONICAL, ac_cv_u8t_canonical, + AC_CACHE_CHECK(for U8T_DECOMPOSE, ac_cv_u8t_canonical, AC_TRY_COMPILE([ #include <c-client.h> ],[ int i = U8T_CANONICAL; ],[ - ac_cv_u8t_canonical=yes + ac_cv_u8t_decompose=yes ],[ - ac_cv_u8t_canonical=no + ac_cv_u8t_decompose=no ]) ) CFLAGS=$old_CFLAGS - if test "$ac_cv_u8t_canonical" = "no" && test "$ac_cv_utf8_mime2text" = "new"; then - AC_MSG_ERROR([utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. You may not have c-client installed properly. Check config.log for additional information.]) + if test "$ac_cv_u8t_decompose" = "no" && test "$ac_cv_utf8_mime2text" = "new"; then + AC_MSG_ERROR([utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.]) fi - if test "$ac_cv_u8t_canonical" = "yes" && test "$ac_cv_utf8_mime2text" = "old"; then - AC_MSG_ERROR([utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. You may not have c-client installed properly. Check config.log for additional information.]) + if test "$ac_cv_u8t_decompose" = "yes" && test "$ac_cv_utf8_mime2text" = "old"; then + AC_MSG_ERROR([utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. Check config.log for additional information.]) fi dnl Check for c-client version 2001 |