[PECL-CVS] [pecl-networking-gearman] fix-homebrew-apple-silicon-search-path: Fixes #32

[email protected] (Rasmus Lerdorf) Sat, 4 Apr 2026 17:59:40 +0000
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-04T13:59:23-04:00

Commit: https://github.com/php/pecl-networking-gearman/commit/f5a45729565b8efe5df6c8bfa4395e520026c2df
Raw diff: https://github.com/php/pecl-networking-gearman/commit/f5a45729565b8efe5df6c8bfa4395e520026c2df.diff

Fixes #32

Changed paths:
  M  config.m4


Diff:

diff --git a/config.m4 b/config.m4
index bc832d9..bfaa79d 100644
--- a/config.m4
+++ b/config.m4
@@ -13,7 +13,7 @@ PHP_ARG_WITH(gearman, whether to enable gearman support,
 [[  --with-gearman[=PATH]   Include gearman support]])
 
 if test "$PHP_GEARMAN" != "no"; then
-  for i in $PHP_GEARMAN /usr/local /usr /opt/local; do
+  for i in $PHP_GEARMAN /usr/local /usr /opt/local /opt/homebrew/opt/gearman; do
     if test -r $i/include/libgearman-1.0/gearman.h; then
       GEARMAN_LIB_DIR=$i/$PHP_LIBDIR
       GEARMAN_INC_DIR=$i/include