php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53442
Patch acinclude_m4_v2.patch revision 2010-12-01 22:05 UTC by fransmeulenbroeks at gmail dot com
Patch acinclude_m4.patch revision 2010-12-01 21:52 UTC by fransmeulenbroeks at gmail dot com

Patch acinclude_m4.patch for Compile Failure Bug #53442

Patch version 2010-12-01 21:52 UTC

Return to Bug #53442 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: fransmeulenbroeks@gmail.com

Index: php-5.2.13/acinclude.m4
===================================================================
--- php-5.2.13.orig/acinclude.m4
+++ php-5.2.13/acinclude.m4
@@ -2430,7 +2430,8 @@ AC_DEFUN([PHP_SETUP_ICONV], [
   dnl
   dnl Check libc first if no path is provided in --with-iconv
   dnl
-  if test "$PHP_ICONV" = "yes"; then
+  dnl must check against no, not against yes as PHP_ICONV can also include a path, which implies yes
+  if test "$PHP_ICONV" != no"; then
     AC_CHECK_FUNC(iconv, [
       found_iconv=yes
     ],[
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 12:01:32 2024 UTC