From a04aabc5b80371e579fbaffdd417627390d22722 Mon Sep 17 00:00:00 2001 From: Claude Bing Date: Tue, 9 Nov 2021 13:10:33 -0500 Subject: [PATCH 10/11] iconv: fix detection Upstream-Status: Pending Signed-off-by: Koen Kooi update patch to version 7.4.4 Signed-off-by: Changqing Li update patch to version 8.0.12 Signed-off-by: Claude Bing --- build/php.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/php.m4 b/build/php.m4 index 93551d9ca7..dba50825fb 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -1919,7 +1919,8 @@ AC_DEFUN([PHP_SETUP_ICONV], [ unset ICONV_DIR dnl Check libc first if no path is provided in --with-iconv. - 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 dnl Reset LIBS temporarily as it may have already been included -liconv in. LIBS_save="$LIBS" LIBS= -- 2.25.1