1From 1af203e8e385d46ad3e33b1c253b1c564aa99034 Mon Sep 17 00:00:00 2001 2From: Claude Bing <cbing@cybernetics.com> 3Date: Tue, 9 Nov 2021 13:01:55 -0500 4Subject: [PATCH 02/11] build/php.m4: don't unset cache variables 5 6Unsetting prevents cache variable from being passed to configure. 7 8Upstream-Status: Inappropriate [OE-specific] 9 10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 11 12update this patch to 7.4.4, acinclude.m4 move to build/php.m4 13Signed-off-by: Changqing Li <changqing.li@windriver.com> 14 15update patch to 8.0.12 16Signed-off-by: Claude Bing <cbing@cybernetics.com> 17--- 18 build/php.m4 | 4 ---- 19 1 file changed, 4 deletions(-) 20 21diff --git a/build/php.m4 b/build/php.m4 22index 9746ba28f3..93551d9ca7 100644 23--- a/build/php.m4 24+++ b/build/php.m4 25@@ -1568,8 +1568,6 @@ dnl PHP_CHECK_FUNC_LIB 26 dnl 27 AC_DEFUN([PHP_CHECK_FUNC_LIB],[ 28 ifelse($2,,:,[ 29- unset ac_cv_lib_$2[]_$1 30- unset ac_cv_lib_$2[]___$1 31 unset found 32 AC_CHECK_LIB($2, $1, [found=yes], [ 33 AC_CHECK_LIB($2, __$1, [found=yes], [found=no]) 34@@ -1601,8 +1599,6 @@ dnl and as a fall back in the specified library. Defines HAVE_func and 35 dnl HAVE_library if found and adds the library to LIBS. 36 dnl 37 AC_DEFUN([PHP_CHECK_FUNC],[ 38- unset ac_cv_func_$1 39- unset ac_cv_func___$1 40 unset found 41 42 AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ]) 43-- 442.25.1 45 46