blob: a250cac83a9810ced0381388d30b1f6efd0072e1 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From dfebe81f946a83fe2499fc84d4f3dbdc5612276c Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Tue, 3 Apr 2018 11:35:03 +0800
4Subject: [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>
11---
12 acinclude.m4 | 4 ----
13 1 file changed, 4 deletions(-)
14
15diff --git a/acinclude.m4 b/acinclude.m4
16index f6a55ec..d3346df 100644
17--- a/acinclude.m4
18+++ b/acinclude.m4
19@@ -1890,8 +1890,6 @@ define([phpshift],[ifelse(index([$@],[,]),-1,,[substr([$@],incr(index([$@],[,]))
20 dnl
21 AC_DEFUN([PHP_CHECK_FUNC_LIB],[
22 ifelse($2,,:,[
23- unset ac_cv_lib_$2[]_$1
24- unset ac_cv_lib_$2[]___$1
25 unset found
26 AC_CHECK_LIB($2, $1, [found=yes], [
27 AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
28@@ -1923,8 +1921,6 @@ dnl in the default libraries and as a fall back in the specified library.
29 dnl Defines HAVE_func and HAVE_library if found and adds the library to LIBS.
30 dnl
31 AC_DEFUN([PHP_CHECK_FUNC],[
32- unset ac_cv_func_$1
33- unset ac_cv_func___$1
34 unset found
35
36 AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])
37--
382.7.4
39