From f1bb2b5ea32f7e08d845724e4a3b5bf9e2f5decf Mon Sep 17 00:00:00 2001 From: Mike Stemle Date: Fri, 26 Oct 2018 13:28:28 -0400 Subject: [PATCH] In the latest zlib package for homebrew, the install target is /usr/local/opt/zlib, so I'm adding that to the list. --- config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.m4 b/config.m4 index 1f75d622..6deddfb9 100644 --- a/config.m4 +++ b/config.m4 @@ -60,7 +60,7 @@ if test "$PHP_MEMCACHED" != "no"; then AC_MSG_ERROR([Can't find ZLIB headers under "$PHP_ZLIB_DIR"]) fi else - for i in /usr/local /usr; do + for i in /usr/local /usr/local/opt/zlib /usr; do if test -f "$i/include/zlib/zlib.h"; then PHP_ZLIB_DIR="$i" PHP_ZLIB_INCDIR="$i/include/zlib"