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