mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Autotools: Sync PHP_SUBST in ext/gd (#14751)
- Argument quoted - CFLAGS variable changed into normal shell variable - GDLIB_CFLAGS and GDLIB_LIBS are not used in the generated Makefile
This commit is contained in:
parent
0c5d3db79b
commit
034621760d
1 changed files with 4 additions and 6 deletions
|
@ -226,9 +226,10 @@ dnl Various checks for GD features
|
|||
PHP_GD_FREETYPE2
|
||||
PHP_GD_JISX0208
|
||||
|
||||
PHP_NEW_EXTENSION(gd, gd.c $extra_sources, $ext_shared,, \\$(GD_CFLAGS))
|
||||
PHP_ADD_BUILD_DIR($ext_builddir/libgd)
|
||||
GD_CFLAGS="-Wno-strict-prototypes -I$ext_srcdir/libgd $GD_CFLAGS"
|
||||
PHP_NEW_EXTENSION(gd, gd.c $extra_sources, $ext_shared,, [$GD_CFLAGS])
|
||||
PHP_ADD_BUILD_DIR($ext_builddir/libgd)
|
||||
|
||||
PHP_INSTALL_HEADERS([ext/gd], [php_gd.h libgd/])
|
||||
|
||||
PHP_TEST_BUILD(foobar, [], [
|
||||
|
@ -250,8 +251,5 @@ dnl Various checks for GD features
|
|||
], [ $GD_SHARED_LIBADD ])
|
||||
fi
|
||||
|
||||
PHP_SUBST(GD_CFLAGS)
|
||||
PHP_SUBST(GDLIB_CFLAGS)
|
||||
PHP_SUBST(GDLIB_LIBS)
|
||||
PHP_SUBST(GD_SHARED_LIBADD)
|
||||
PHP_SUBST([GD_SHARED_LIBADD])
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue