]> granicus.if.org Git - php/commitdiff
Allow lookup of distro-packaged QDBM headers on Debian
authorStephen Reay <stephen.reay@me.com>
Sun, 22 Sep 2019 15:51:36 +0000 (22:51 +0700)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 23 Sep 2019 07:53:31 +0000 (09:53 +0200)
ext/dba/config.m4

index dcf01d0d1317255f1bd2777b5690081a44f37ebc..1e80319218478c05d745119e6454dd387239f335 100644 (file)
@@ -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