Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From dfebe81f946a83fe2499fc84d4f3dbdc5612276c Mon Sep 17 00:00:00 2001 |
| 2 | From: Anuj Mittal <anuj.mittal@intel.com> |
| 3 | Date: Tue, 3 Apr 2018 11:35:03 +0800 |
| 4 | Subject: [PATCH] acinclude.m4: don't unset cache variables |
| 5 | |
| 6 | Unsetting prevents cache variable from being passed to configure. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [OE-specific] |
| 9 | |
| 10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> |
| 11 | --- |
| 12 | acinclude.m4 | 4 ---- |
| 13 | 1 file changed, 4 deletions(-) |
| 14 | |
| 15 | diff --git a/acinclude.m4 b/acinclude.m4 |
| 16 | index 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 | -- |
| 38 | 2.7.4 |
| 39 | |