From: John Ellson <ellson@research.att.com>
Date: Mon, 15 Aug 2016 20:21:02 +0000 (-0400)
Subject: try updating php includedirs to match php-config --includes
X-Git-Tag: untagged-95487e465cf6bdb4c605~2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e08de7fd8cb6842b67bce6d81b72245886c74572;p=graphviz

try updating php includedirs to match php-config --includes
---

diff --git a/configure.ac b/configure.ac
index 20db24c58..04013fd4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1151,7 +1151,7 @@ else
         if test -d /usr/include/php5; then
           PHP_INCLUDES="-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/Zend -I/usr/include/php5/TSRM"
         else
-          PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM"
+          PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib"
         fi
         PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
         PHP_INSTALL_DATADIR="/usr/share/php"