From: foobar Date: Sat, 7 May 2005 03:19:42 +0000 (+0000) Subject: - Install GD header files X-Git-Tag: php-5.0.1b1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ee029368022a730447338179d5e49b1c5192a5d;p=php - Install GD header files --- 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