| From dfebe81f946a83fe2499fc84d4f3dbdc5612276c Mon Sep 17 00:00:00 2001 |
| From: Anuj Mittal <anuj.mittal@intel.com> |
| Date: Tue, 3 Apr 2018 11:35:03 +0800 |
| Subject: [PATCH] acinclude.m4: don't unset cache variables |
| |
| Unsetting prevents cache variable from being passed to configure. |
| |
| Upstream-Status: Inappropriate [OE-specific] |
| |
| Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> |
| --- |
| acinclude.m4 | 4 ---- |
| 1 file changed, 4 deletions(-) |
| |
| diff --git a/acinclude.m4 b/acinclude.m4 |
| index f6a55ec..d3346df 100644 |
| --- a/acinclude.m4 |
| +++ b/acinclude.m4 |
| @@ -1890,8 +1890,6 @@ define([phpshift],[ifelse(index([$@],[,]),-1,,[substr([$@],incr(index([$@],[,])) |
| dnl |
| AC_DEFUN([PHP_CHECK_FUNC_LIB],[ |
| ifelse($2,,:,[ |
| - unset ac_cv_lib_$2[]_$1 |
| - unset ac_cv_lib_$2[]___$1 |
| unset found |
| AC_CHECK_LIB($2, $1, [found=yes], [ |
| AC_CHECK_LIB($2, __$1, [found=yes], [found=no]) |
| @@ -1923,8 +1921,6 @@ dnl in the default libraries and as a fall back in the specified library. |
| dnl Defines HAVE_func and HAVE_library if found and adds the library to LIBS. |
| dnl |
| AC_DEFUN([PHP_CHECK_FUNC],[ |
| - unset ac_cv_func_$1 |
| - unset ac_cv_func___$1 |
| unset found |
| |
| AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ]) |
| -- |
| 2.7.4 |
| |