summaryrefslogtreecommitdiff
path: root/ext/gd/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-05-07 03:19:42 +0000
committerfoobar <sniper@php.net>2005-05-07 03:19:42 +0000
commit1ee029368022a730447338179d5e49b1c5192a5d (patch)
tree4669a7b8a30b3c6e8fd5f360964b1f31fdedd659 /ext/gd/config.m4
parent626253940ea0c246984e277b6786b4950b69e3cc (diff)
downloadphp-git-1ee029368022a730447338179d5e49b1c5192a5d.tar.gz
- Install GD header files
Diffstat (limited to 'ext/gd/config.m4')
-rw-r--r--ext/gd/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index 53ae8d3081..5ccc5938d0 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -410,7 +410,9 @@ if test "$PHP_GD" != "no"; then
if test "$GD_MODULE_TYPE" = "builtin"; then
GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS"
PHP_ADD_BUILD_DIR($ext_builddir/libgd)
+ GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/"
else
+ GD_HEADER_DIRS="ext/gd/"
GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_CFLAGS"
PHP_ADD_INCLUDE($GD_INCLUDE)
@@ -419,6 +421,7 @@ if test "$PHP_GD" != "no"; then
], [ -L$GD_LIB $GD_SHARED_LIBADD ])
fi
+ PHP_INSTALL_HEADERS([$GD_HEADER_DIRS])
PHP_SUBST(GDLIB_CFLAGS)
PHP_SUBST(GD_SHARED_LIBADD)
fi