12 lines
457 B
Diff
12 lines
457 B
Diff
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -633,7 +633,7 @@
|
|
AC_MSG_WARN([swig does not support php. The PHP packages will not be built])
|
|
else
|
|
AC_CHECK_PROG(PHP,php,php)
|
|
-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/php5 -I/usr/include/php5/main -I/usr/include/php5/Zend -I/usr/include/php5/TSRM"
|
|
PHP_LIBS=
|
|
save_CPPFLAGS=$CPPFLAGS
|
|
CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
|