mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user