libpng: bump to version 1.6.23
[buildroot-gz.git] / package / php / 0001-ditch-unset.patch
blobeda83c95a33611cb0c0f4635c549a6349d07d55e
1 Unsetting ac_cv_{func,lib}_* is bad, you can't feed the configure cache.
2 Terminate them with extreme prejudice.
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6 diff -Nura php-5.6.8.orig/acinclude.m4 php-5.6.8/acinclude.m4
7 --- php-5.6.8.orig/acinclude.m4 2015-04-15 20:05:57.000000000 +0200
8 +++ php-5.6.8/acinclude.m4 2015-05-18 20:03:50.833099001 +0200
9 @@ -1897,8 +1897,6 @@
10 dnl
11 AC_DEFUN([PHP_CHECK_FUNC_LIB],[
12 ifelse($2,,:,[
13 - unset ac_cv_lib_$2[]_$1
14 - unset ac_cv_lib_$2[]___$1
15 unset found
16 AC_CHECK_LIB($2, $1, [found=yes], [
17 AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
18 @@ -1930,8 +1928,6 @@
19 dnl Defines HAVE_func and HAVE_library if found and adds the library to LIBS.
20 dnl
21 AC_DEFUN([PHP_CHECK_FUNC],[
22 - unset ac_cv_func_$1
23 - unset ac_cv_func___$1
24 unset found
26 AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])