diff options
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/builds/unix/configure')
-rwxr-xr-x | Build/source/libs/freetype2/freetype-src/builds/unix/configure | 206 |
1 files changed, 42 insertions, 164 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/builds/unix/configure b/Build/source/libs/freetype2/freetype-src/builds/unix/configure index 28bad74ab73..bf1b1cb23b7 100755 --- a/Build/source/libs/freetype2/freetype-src/builds/unix/configure +++ b/Build/source/libs/freetype2/freetype-src/builds/unix/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for FreeType 2.12. +# Generated by GNU Autoconf 2.71 for FreeType 2.11.1. # # Report bugs to <freetype@nongnu.org>. # @@ -621,8 +621,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='FreeType' PACKAGE_TARNAME='freetype' -PACKAGE_VERSION='2.12' -PACKAGE_STRING='FreeType 2.12' +PACKAGE_VERSION='2.11.1' +PACKAGE_STRING='FreeType 2.11.1' PACKAGE_BUGREPORT='freetype@nongnu.org' PACKAGE_URL='' @@ -666,10 +666,8 @@ build_libtool_libs wl hardcode_libdir_flag_spec LIBSSTATIC_CONFIG -PKGCONFIG_LIBS_PRIVATE -PKGCONFIG_REQUIRES_PRIVATE -PKGCONFIG_LIBS -PKGCONFIG_REQUIRES +LIBS_PRIVATE +REQUIRES_PRIVATE ftmac_c PYTHON_VERSION PYTHON @@ -682,10 +680,7 @@ target_os target_vendor target_cpu target -FT_DEMO_LDFLAGS -FT_DEMO_CFLAGS -LIBRSVG_LIBS -LIBRSVG_CFLAGS +LIB_CLOCK_GETTIME BROTLI_LIBS BROTLI_CFLAGS HARFBUZZ_LIBS @@ -694,7 +689,6 @@ LIBPNG_LIBS LIBPNG_CFLAGS BZIP2_LIBS BZIP2_CFLAGS -SYSTEM_ZLIB ZLIB_LIBS ZLIB_CFLAGS XX_ANSIFLAGS @@ -841,9 +835,7 @@ LIBPNG_LIBS HARFBUZZ_CFLAGS HARFBUZZ_LIBS BROTLI_CFLAGS -BROTLI_LIBS -LIBRSVG_CFLAGS -LIBRSVG_LIBS' +BROTLI_LIBS' # Initialize some variables set by options. @@ -1392,7 +1384,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures FreeType 2.12 to adapt to many kinds of systems. +\`configure' configures FreeType 2.11.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1459,7 +1451,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of FreeType 2.12:";; + short | recursive ) echo "Configuration of FreeType 2.11.1:";; esac cat <<\_ACEOF @@ -1545,10 +1537,6 @@ Some influential environment variables: BROTLI_CFLAGS C compiler flags for BROTLI, overriding pkg-config BROTLI_LIBS linker flags for BROTLI, overriding pkg-config - LIBRSVG_CFLAGS - C compiler flags for LIBRSVG, overriding pkg-config - LIBRSVG_LIBS - linker flags for LIBRSVG, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1617,7 +1605,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -FreeType configure 2.12 +FreeType configure 2.11.1 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1968,7 +1956,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by FreeType $as_me 2.12, which was +It was created by FreeType $as_me 2.11.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2730,7 +2718,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Don't forget to update `docs/VERSIONS.TXT'! -version_info='24:2:18' +version_info='24:1:18' ft_version=`echo $version_info | tr : .` @@ -13949,12 +13937,6 @@ if test x"$with_zlib" = xyes -a "$have_zlib" = no; then as_fn_error $? "external zlib support requested but library not found" "$LINENO" 5 fi -SYSTEM_ZLIB= -if test "$have_zlib" != no; then - SYSTEM_ZLIB=yes -fi - - # check for system libbz2 @@ -14514,16 +14496,13 @@ if test x"$with_brotli" = xyes -a "$have_brotli" = no; then fi -# Checks for the demo programs. +# check for librt # -# FreeType doesn't need this. However, since the demo program repository -# doesn't come with a `configure` script of its own, we integrate the tests -# here for simplicity. - -# We need `clock_gettime` from 'librt' for the `ftbench` demo program. +# We need `clock_gettime' for the `ftbench' demo program. # -# The code is modeled after gnulib's file `clock_time.m4`, ignoring +# The code is modeled after gnulib's file `clock_time.m4', ignoring # very old Solaris systems. + LIB_CLOCK_GETTIME= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } @@ -14586,89 +14565,6 @@ then : fi -# 'librsvg' is needed to demonstrate SVG support. - -pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5 -printf %s "checking for LIBRSVG... " >&6; } - -if test -n "$LIBRSVG_CFLAGS"; then - pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.46.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.46.0") 2>&5 - ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.46.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$LIBRSVG_LIBS"; then - pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.46.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.46.0") 2>&5 - ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.46.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librsvg-2.0 >= 2.46.0" 2>&1` - else - LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librsvg-2.0 >= 2.46.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$LIBRSVG_PKG_ERRORS" >&5 - - have_librsvg=no -elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - have_librsvg=no -else - LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS - LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } - have_librsvg="yes (pkg-config)" -fi - -FT_DEMO_CFLAGS="" -FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME" - -if test "$have_librsvg" != no; then - FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG" - FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS" -fi - - - # Some options handling SDKs/archs in CFLAGS should be copied @@ -16212,32 +16108,32 @@ fi # entries in Requires.private are separated by commas -PKGCONFIG_REQUIRES_PRIVATE="$zlib_reqpriv, \ - $bzip2_reqpriv, \ - $libpng_reqpriv, \ - $harfbuzz_reqpriv, \ - $brotli_reqpriv" +REQUIRES_PRIVATE="$zlib_reqpriv, \ + $bzip2_reqpriv, \ + $libpng_reqpriv, \ + $harfbuzz_reqpriv, \ + $brotli_reqpriv" # beautify -PKGCONFIG_REQUIRES_PRIVATE=`echo "$PKGCONFIG_REQUIRES_PRIVATE" \ - | sed -e 's/^ *//' \ - -e 's/ *$//' \ - -e 's/, */,/g' \ - -e 's/,,*/,/g' \ - -e 's/^,*//' \ - -e 's/,*$//' \ - -e 's/,/, /g'` - -PKGCONFIG_LIBS_PRIVATE="$zlib_libspriv \ - $bzip2_libspriv \ - $libpng_libspriv \ - $harfbuzz_libspriv \ - $brotli_libspriv \ - $ft2_extra_libs" +REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \ + | sed -e 's/^ *//' \ + -e 's/ *$//' \ + -e 's/, */,/g' \ + -e 's/,,*/,/g' \ + -e 's/^,*//' \ + -e 's/,*$//' \ + -e 's/,/, /g'` + +LIBS_PRIVATE="$zlib_libspriv \ + $bzip2_libspriv \ + $libpng_libspriv \ + $harfbuzz_libspriv \ + $brotli_libspriv \ + $ft2_extra_libs" # beautify -PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG_LIBS_PRIVATE" \ - | sed -e 's/^ *//' \ - -e 's/ *$//' \ - -e 's/ */ /g'` +LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \ + | sed -e 's/^ *//' \ + -e 's/ *$//' \ + -e 's/ */ /g'` LIBSSTATIC_CONFIG="-lfreetype \ $zlib_libsstaticconf \ @@ -16255,24 +16151,6 @@ LIBSSTATIC_CONFIG=`echo "$LIBSSTATIC_CONFIG" \ -e 's/ *$//' \ -e 's/ */ /g'` -# If FreeType gets installed with `--disable-shared', don't use -# 'private' fields. `pkg-config' only looks into `.pc' files and is -# completely agnostic to whether shared libraries are actually present -# or not. As a consequence, the user had to specify `--static' while -# calling `pkg-config', which configure scripts are normally not -# prepared for. - -PKGCONFIG_REQUIRES= -PKGCONFIG_LIBS='-L${libdir} -lfreetype' - -if test $enable_shared = "no"; then - PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES $PKGCONFIG_REQUIRES_PRIVATE" - PKGCONFIG_REQUIRES_PRIVATE= - PKGCONFIG_LIBS="$PKGCONFIG_LIBS $PKGCONFIG_LIBS_PRIVATE" - PKGCONFIG_LIBS_PRIVATE= -fi - - @@ -16861,7 +16739,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by FreeType $as_me 2.12, which was +This file was extended by FreeType $as_me 2.11.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16929,7 +16807,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -FreeType config.status 2.12 +FreeType config.status 2.11.1 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" |