From 7a81505f6f9db06d2f876dd8e87c0dc546834260 Mon Sep 17 00:00:00 2001 From: Stephen Reay Date: Sun, 22 Sep 2019 22:51:36 +0700 Subject: [PATCH] Allow lookup of distro-packaged QDBM headers on Debian --- ext/dba/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index dcf01d0d131..1e803192184 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -141,6 +141,10 @@ if test "$PHP_QDBM" != "no"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/depot.h break + elif test -f "$i/include/qdbm/depot.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/qdbm/depot.h + break fi done