mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/gd: Use pkg-config to detect the availability of freetype2
The latest version of freetype2 does not install freetype-config by default, but pkg-config support has been there for approximately 15 years. In order to reliably detect freetype2, pkg-config *must* be used. See: https://savannah.nongnu.org/bugs/?53093 https://bugs.php.net/bug.php?id=76324
This commit is contained in:
committed by
Nikita Popov
parent
f200298075
commit
2d03197749
@@ -12,6 +12,7 @@ BUILD_FILES = \
|
||||
build/ax_check_compile_flag.m4 \
|
||||
build/ax_gcc_func_attribute.m4 \
|
||||
build/php_cxx_compile_stdcxx.m4 \
|
||||
build/pkg.m4 \
|
||||
Makefile.global \
|
||||
acinclude.m4 \
|
||||
ltmain.sh \
|
||||
|
||||
@@ -9,7 +9,7 @@ includedir="`eval echo @includedir@`/php"
|
||||
builddir="`pwd`"
|
||||
SED="@SED@"
|
||||
|
||||
FILES_BUILD="scan_makefile_in.awk shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4"
|
||||
FILES_BUILD="scan_makefile_in.awk shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 pkg.m4"
|
||||
FILES="acinclude.m4 Makefile.global config.sub config.guess ltmain.sh run-tests*.php"
|
||||
CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ install-sh \
|
||||
mkinstalldirs missing config.nice config.sub config.guess configure configure.ac \
|
||||
|
||||
Reference in New Issue
Block a user