blob: 51dbe269cb5a169f907d2f5506db865f020c7b7c [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From d2679c89c0b15b90e5360b4863258a7955e5f4e5 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 12 Feb 2019 15:59:19 +0800
Brad Bishop316dfdd2018-06-25 12:45:53 -04004Subject: [PATCH] acinclude.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>
Brad Bishop19323692019-04-05 15:28:33 -040011
12update patch to version 7.3.2
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -040014---
15 acinclude.m4 | 4 ----
16 1 file changed, 4 deletions(-)
17
18diff --git a/acinclude.m4 b/acinclude.m4
Brad Bishop19323692019-04-05 15:28:33 -040019index 25f900d..2641969 100644
Brad Bishop316dfdd2018-06-25 12:45:53 -040020--- a/acinclude.m4
21+++ b/acinclude.m4
Brad Bishop19323692019-04-05 15:28:33 -040022@@ -1921,8 +1921,6 @@ define([phpshift],[ifelse(index([$@],[,]),-1,,[substr([$@],incr(index([$@],[,]))
Brad Bishop316dfdd2018-06-25 12:45:53 -040023 dnl
24 AC_DEFUN([PHP_CHECK_FUNC_LIB],[
25 ifelse($2,,:,[
26- unset ac_cv_lib_$2[]_$1
27- unset ac_cv_lib_$2[]___$1
28 unset found
29 AC_CHECK_LIB($2, $1, [found=yes], [
30 AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
Brad Bishop19323692019-04-05 15:28:33 -040031@@ -1954,8 +1952,6 @@ dnl in the default libraries and as a fall back in the specified library.
Brad Bishop316dfdd2018-06-25 12:45:53 -040032 dnl Defines HAVE_func and HAVE_library if found and adds the library to LIBS.
33 dnl
34 AC_DEFUN([PHP_CHECK_FUNC],[
35- unset ac_cv_func_$1
36- unset ac_cv_func___$1
37 unset found
Brad Bishop19323692019-04-05 15:28:33 -040038
Brad Bishop316dfdd2018-06-25 12:45:53 -040039 AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])
40--
412.7.4
42