configure (libgd-2.3.1) | : | configure (libgd-2.3.2) | ||
---|---|---|---|---|
#! /bin/sh | #! /bin/sh | |||
# Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. | |||
# Generated by GNU Autoconf 2.69 for GD 2.3.1. | # Generated by GNU Autoconf 2.69 for GD 2.3.2. | |||
# | # | |||
# Report bugs to <https://github.com/libgd/libgd/issues>. | # Report bugs to <https://github.com/libgd/libgd/issues>. | |||
# | # | |||
# | # | |||
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |||
# | # | |||
# | # | |||
# This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation | |||
# gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. | |||
## -------------------- ## | ## -------------------- ## | |||
skipping to change at line 586 | skipping to change at line 586 | |||
ac_config_libobj_dir=. | ac_config_libobj_dir=. | |||
LIBOBJS= | LIBOBJS= | |||
cross_compiling=no | cross_compiling=no | |||
subdirs= | subdirs= | |||
MFLAGS= | MFLAGS= | |||
MAKEFLAGS= | MAKEFLAGS= | |||
# Identity of this package. | # Identity of this package. | |||
PACKAGE_NAME='GD' | PACKAGE_NAME='GD' | |||
PACKAGE_TARNAME='libgd' | PACKAGE_TARNAME='libgd' | |||
PACKAGE_VERSION='2.3.1' | PACKAGE_VERSION='2.3.2' | |||
PACKAGE_STRING='GD 2.3.1' | PACKAGE_STRING='GD 2.3.2' | |||
PACKAGE_BUGREPORT='https://github.com/libgd/libgd/issues' | PACKAGE_BUGREPORT='https://github.com/libgd/libgd/issues' | |||
PACKAGE_URL='http://lib.gd' | PACKAGE_URL='http://lib.gd' | |||
ac_unique_file="src/gd.c" | ac_unique_file="src/gd.c" | |||
# Factoring default headers for most tests. | # Factoring default headers for most tests. | |||
ac_includes_default="\ | ac_includes_default="\ | |||
#include <stdio.h> | #include <stdio.h> | |||
#ifdef HAVE_SYS_TYPES_H | #ifdef HAVE_SYS_TYPES_H | |||
# include <sys/types.h> | # include <sys/types.h> | |||
#endif | #endif | |||
skipping to change at line 635 | skipping to change at line 635 | |||
# include <unistd.h> | # include <unistd.h> | |||
#endif" | #endif" | |||
ac_header_list= | ac_header_list= | |||
ac_subst_vars='am__EXEEXT_FALSE | ac_subst_vars='am__EXEEXT_FALSE | |||
am__EXEEXT_TRUE | am__EXEEXT_TRUE | |||
LTLIBOBJS | LTLIBOBJS | |||
LIBOBJS | LIBOBJS | |||
HAVE_VISIBILITY | HAVE_VISIBILITY | |||
CFLAG_VISIBILITY | CFLAG_VISIBILITY | |||
HAVE_LIBAVIF_FALSE | ||||
HAVE_LIBAVIF_TRUE | ||||
LIBAVIF_LIBS | ||||
LIBAVIF_CFLAGS | ||||
HAVE_LIBHEIF_FALSE | ||||
HAVE_LIBHEIF_TRUE | ||||
LIBHEIF_LIBS | ||||
LIBHEIF_CFLAGS | ||||
HAVE_LIBWEBP_FALSE | HAVE_LIBWEBP_FALSE | |||
HAVE_LIBWEBP_TRUE | HAVE_LIBWEBP_TRUE | |||
LIBWEBP_LIBS | LIBWEBP_LIBS | |||
LIBWEBP_CFLAGS | LIBWEBP_CFLAGS | |||
HAVE_LIBTIFF_FALSE | HAVE_LIBTIFF_FALSE | |||
HAVE_LIBTIFF_TRUE | HAVE_LIBTIFF_TRUE | |||
LIBTIFF_LIBS | LIBTIFF_LIBS | |||
LIBTIFF_CFLAGS | LIBTIFF_CFLAGS | |||
HAVE_LIBXPM_FALSE | HAVE_LIBXPM_FALSE | |||
HAVE_LIBXPM_TRUE | HAVE_LIBXPM_TRUE | |||
skipping to change at line 713 | skipping to change at line 721 | |||
GREP | GREP | |||
SED | SED | |||
LIBTOOL | LIBTOOL | |||
am__fastdepCC_FALSE | am__fastdepCC_FALSE | |||
am__fastdepCC_TRUE | am__fastdepCC_TRUE | |||
CCDEPMODE | CCDEPMODE | |||
am__nodep | am__nodep | |||
AMDEPBACKSLASH | AMDEPBACKSLASH | |||
AMDEP_FALSE | AMDEP_FALSE | |||
AMDEP_TRUE | AMDEP_TRUE | |||
am__quote | ||||
am__include | am__include | |||
DEPDIR | DEPDIR | |||
OBJEXT | OBJEXT | |||
EXEEXT | EXEEXT | |||
ac_ct_CC | ac_ct_CC | |||
CPPFLAGS | CPPFLAGS | |||
LDFLAGS | LDFLAGS | |||
CFLAGS | CFLAGS | |||
CC | CC | |||
ac_ct_AR | ac_ct_AR | |||
skipping to change at line 784 | skipping to change at line 791 | |||
localedir | localedir | |||
libdir | libdir | |||
psdir | psdir | |||
pdfdir | pdfdir | |||
dvidir | dvidir | |||
htmldir | htmldir | |||
infodir | infodir | |||
docdir | docdir | |||
oldincludedir | oldincludedir | |||
includedir | includedir | |||
runstatedir | ||||
localstatedir | localstatedir | |||
sharedstatedir | sharedstatedir | |||
sysconfdir | sysconfdir | |||
datadir | datadir | |||
datarootdir | datarootdir | |||
libexecdir | libexecdir | |||
sbindir | sbindir | |||
bindir | bindir | |||
program_transform_name | program_transform_name | |||
prefix | prefix | |||
exec_prefix | exec_prefix | |||
PACKAGE_URL | PACKAGE_URL | |||
PACKAGE_BUGREPORT | PACKAGE_BUGREPORT | |||
PACKAGE_STRING | PACKAGE_STRING | |||
PACKAGE_VERSION | PACKAGE_VERSION | |||
PACKAGE_TARNAME | PACKAGE_TARNAME | |||
PACKAGE_NAME | PACKAGE_NAME | |||
PATH_SEPARATOR | PATH_SEPARATOR | |||
SHELL' | SHELL | |||
am__quote' | ||||
ac_subst_files='' | ac_subst_files='' | |||
ac_user_opts=' | ac_user_opts=' | |||
enable_option_checking | enable_option_checking | |||
enable_silent_rules | enable_silent_rules | |||
enable_dependency_tracking | enable_dependency_tracking | |||
enable_shared | enable_shared | |||
enable_static | enable_static | |||
with_pic | with_pic | |||
enable_fast_install | enable_fast_install | |||
with_aix_soname | with_aix_soname | |||
skipping to change at line 831 | skipping to change at line 838 | |||
with_zlib | with_zlib | |||
with_png | with_png | |||
with_freetype | with_freetype | |||
with_raqm | with_raqm | |||
with_fontconfig | with_fontconfig | |||
with_jpeg | with_jpeg | |||
with_liq | with_liq | |||
with_xpm | with_xpm | |||
with_tiff | with_tiff | |||
with_webp | with_webp | |||
with_heif | ||||
with_avif | ||||
enable_werror | enable_werror | |||
' | ' | |||
ac_precious_vars='build_alias | ac_precious_vars='build_alias | |||
host_alias | host_alias | |||
target_alias | target_alias | |||
CC | CC | |||
CFLAGS | CFLAGS | |||
LDFLAGS | LDFLAGS | |||
LIBS | LIBS | |||
CPPFLAGS | CPPFLAGS | |||
skipping to change at line 864 | skipping to change at line 873 | |||
LIBRAQM_LIBS | LIBRAQM_LIBS | |||
LIBFONTCONFIG_CFLAGS | LIBFONTCONFIG_CFLAGS | |||
LIBFONTCONFIG_LIBS | LIBFONTCONFIG_LIBS | |||
LIBJPEG_CFLAGS | LIBJPEG_CFLAGS | |||
LIBJPEG_LIBS | LIBJPEG_LIBS | |||
LIBXPM_CFLAGS | LIBXPM_CFLAGS | |||
LIBXPM_LIBS | LIBXPM_LIBS | |||
LIBTIFF_CFLAGS | LIBTIFF_CFLAGS | |||
LIBTIFF_LIBS | LIBTIFF_LIBS | |||
LIBWEBP_CFLAGS | LIBWEBP_CFLAGS | |||
LIBWEBP_LIBS' | LIBWEBP_LIBS | |||
LIBHEIF_CFLAGS | ||||
LIBHEIF_LIBS | ||||
LIBAVIF_CFLAGS | ||||
LIBAVIF_LIBS' | ||||
# Initialize some variables set by options. | # Initialize some variables set by options. | |||
ac_init_help= | ac_init_help= | |||
ac_init_version=false | ac_init_version=false | |||
ac_unrecognized_opts= | ac_unrecognized_opts= | |||
ac_unrecognized_sep= | ac_unrecognized_sep= | |||
# The variables have the same names as the options, with | # The variables have the same names as the options, with | |||
# dashes changed to underlines. | # dashes changed to underlines. | |||
cache_file=/dev/null | cache_file=/dev/null | |||
exec_prefix=NONE | exec_prefix=NONE | |||
skipping to change at line 902 | skipping to change at line 915 | |||
# Use braces instead of parens because sh, perl, etc. also accept them. | # Use braces instead of parens because sh, perl, etc. also accept them. | |||
# (The list follows the same order as the GNU Coding Standards.) | # (The list follows the same order as the GNU Coding Standards.) | |||
bindir='${exec_prefix}/bin' | bindir='${exec_prefix}/bin' | |||
sbindir='${exec_prefix}/sbin' | sbindir='${exec_prefix}/sbin' | |||
libexecdir='${exec_prefix}/libexec' | libexecdir='${exec_prefix}/libexec' | |||
datarootdir='${prefix}/share' | datarootdir='${prefix}/share' | |||
datadir='${datarootdir}' | datadir='${datarootdir}' | |||
sysconfdir='${prefix}/etc' | sysconfdir='${prefix}/etc' | |||
sharedstatedir='${prefix}/com' | sharedstatedir='${prefix}/com' | |||
localstatedir='${prefix}/var' | localstatedir='${prefix}/var' | |||
runstatedir='${localstatedir}/run' | ||||
includedir='${prefix}/include' | includedir='${prefix}/include' | |||
oldincludedir='/usr/include' | oldincludedir='/usr/include' | |||
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |||
infodir='${datarootdir}/info' | infodir='${datarootdir}/info' | |||
htmldir='${docdir}' | htmldir='${docdir}' | |||
dvidir='${docdir}' | dvidir='${docdir}' | |||
pdfdir='${docdir}' | pdfdir='${docdir}' | |||
psdir='${docdir}' | psdir='${docdir}' | |||
libdir='${exec_prefix}/lib' | libdir='${exec_prefix}/lib' | |||
localedir='${datarootdir}/locale' | localedir='${datarootdir}/locale' | |||
skipping to change at line 1155 | skipping to change at line 1167 | |||
-psdir | --psdir | --psdi | --psd | --ps) | -psdir | --psdir | --psdi | --psd | --ps) | |||
ac_prev=psdir ;; | ac_prev=psdir ;; | |||
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |||
psdir=$ac_optarg ;; | psdir=$ac_optarg ;; | |||
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |||
| -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) | |||
silent=yes ;; | silent=yes ;; | |||
-runstatedir | --runstatedir | --runstatedi | --runstated \ | ||||
| --runstate | --runstat | --runsta | --runst | --runs \ | ||||
| --run | --ru | --r) | ||||
ac_prev=runstatedir ;; | ||||
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | ||||
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | ||||
| --run=* | --ru=* | --r=*) | ||||
runstatedir=$ac_optarg ;; | ||||
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |||
ac_prev=sbindir ;; | ac_prev=sbindir ;; | |||
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |||
| --sbi=* | --sb=*) | | --sbi=* | --sb=*) | |||
sbindir=$ac_optarg ;; | sbindir=$ac_optarg ;; | |||
-sharedstatedir | --sharedstatedir | --sharedstatedi \ | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |||
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |||
| --sharedst | --shareds | --shared | --share | --shar \ | | --sharedst | --shareds | --shared | --share | --shar \ | |||
| --sha | --sh) | | --sha | --sh) | |||
skipping to change at line 1301 | skipping to change at line 1304 | |||
no) ;; | no) ;; | |||
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |||
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt s" >&2 ;; | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt s" >&2 ;; | |||
esac | esac | |||
fi | fi | |||
# Check all directory arguments for consistency. | # Check all directory arguments for consistency. | |||
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |||
datadir sysconfdir sharedstatedir localstatedir includedir \ | datadir sysconfdir sharedstatedir localstatedir includedir \ | |||
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |||
libdir localedir mandir runstatedir | libdir localedir mandir | |||
do | do | |||
eval ac_val=\$$ac_var | eval ac_val=\$$ac_var | |||
# Remove trailing slashes. | # Remove trailing slashes. | |||
case $ac_val in | case $ac_val in | |||
*/ ) | */ ) | |||
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |||
eval $ac_var=\$ac_val;; | eval $ac_var=\$ac_val;; | |||
esac | esac | |||
# Be sure to have absolute directory names. | # Be sure to have absolute directory names. | |||
case $ac_val in | case $ac_val in | |||
skipping to change at line 1412 | skipping to change at line 1415 | |||
eval ac_cv_env_${ac_var}_value=\$${ac_var} | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |||
done | done | |||
# | # | |||
# Report the --help message. | # Report the --help message. | |||
# | # | |||
if test "$ac_init_help" = "long"; then | if test "$ac_init_help" = "long"; then | |||
# Omit some internal or obsolete options to make the list less imposing. | # 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. | # This message is too long to be a string in the A/UX 3.1 sh. | |||
cat <<_ACEOF | cat <<_ACEOF | |||
\`configure' configures GD 2.3.1 to adapt to many kinds of systems. | \`configure' configures GD 2.3.2 to adapt to many kinds of systems. | |||
Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... | |||
To assign environment variables (e.g., CC, CFLAGS...), specify them as | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |||
VAR=VALUE. See below for descriptions of some of the useful variables. | VAR=VALUE. See below for descriptions of some of the useful variables. | |||
Defaults for the options are specified in brackets. | Defaults for the options are specified in brackets. | |||
Configuration: | Configuration: | |||
-h, --help display this help and exit | -h, --help display this help and exit | |||
skipping to change at line 1452 | skipping to change at line 1455 | |||
For better control, use the options below. | For better control, use the options below. | |||
Fine tuning of the installation directories: | Fine tuning of the installation directories: | |||
--bindir=DIR user executables [EPREFIX/bin] | --bindir=DIR user executables [EPREFIX/bin] | |||
--sbindir=DIR system admin executables [EPREFIX/sbin] | --sbindir=DIR system admin executables [EPREFIX/sbin] | |||
--libexecdir=DIR program executables [EPREFIX/libexec] | --libexecdir=DIR program executables [EPREFIX/libexec] | |||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |||
--localstatedir=DIR modifiable single-machine data [PREFIX/var] | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |||
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||||
--libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] | |||
--includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] | |||
--oldincludedir=DIR C header files for non-gcc [/usr/include] | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |||
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |||
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |||
--infodir=DIR info documentation [DATAROOTDIR/info] | --infodir=DIR info documentation [DATAROOTDIR/info] | |||
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |||
--mandir=DIR man documentation [DATAROOTDIR/man] | --mandir=DIR man documentation [DATAROOTDIR/man] | |||
--docdir=DIR documentation root [DATAROOTDIR/doc/libgd] | --docdir=DIR documentation root [DATAROOTDIR/doc/libgd] | |||
--htmldir=DIR html documentation [DOCDIR] | --htmldir=DIR html documentation [DOCDIR] | |||
skipping to change at line 1487 | skipping to change at line 1489 | |||
--x-libraries=DIR X library files are in DIR | --x-libraries=DIR X library files are in DIR | |||
System types: | System types: | |||
--build=BUILD configure for building on BUILD [guessed] | --build=BUILD configure for building on BUILD [guessed] | |||
--host=HOST cross-compile to build programs to run on HOST [BUILD] | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then | |||
case $ac_init_help in | case $ac_init_help in | |||
short | recursive ) echo "Configuration of GD 2.3.1:";; | short | recursive ) echo "Configuration of GD 2.3.2:";; | |||
esac | esac | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
Optional Features: | Optional Features: | |||
--disable-option-checking ignore unrecognized --enable/--with options | --disable-option-checking ignore unrecognized --enable/--with options | |||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |||
--enable-silent-rules less verbose build output (undo: "make V=1") | --enable-silent-rules less verbose build output (undo: "make V=1") | |||
--disable-silent-rules verbose build output (undo: "make V=0") | --disable-silent-rules verbose build output (undo: "make V=0") | |||
--enable-dependency-tracking | --enable-dependency-tracking | |||
skipping to change at line 1536 | skipping to change at line 1538 | |||
--with-zlib[=DIR] Support zlib (optionally in DIR) | --with-zlib[=DIR] Support zlib (optionally in DIR) | |||
--with-png[=DIR] Support png (optionally in DIR) | --with-png[=DIR] Support png (optionally in DIR) | |||
--with-freetype[=DIR] Support freetype (optionally in DIR) | --with-freetype[=DIR] Support freetype (optionally in DIR) | |||
--with-raqm[=DIR] Support raqm (optionally in DIR) | --with-raqm[=DIR] Support raqm (optionally in DIR) | |||
--with-fontconfig[=DIR] Support fontconfig (optionally in DIR) | --with-fontconfig[=DIR] Support fontconfig (optionally in DIR) | |||
--with-jpeg[=DIR] Support jpeg (optionally in DIR) | --with-jpeg[=DIR] Support jpeg (optionally in DIR) | |||
--with-liq[=DIR] Support liq (optionally in DIR) | --with-liq[=DIR] Support liq (optionally in DIR) | |||
--with-xpm[=DIR] Support xpm (optionally in DIR) | --with-xpm[=DIR] Support xpm (optionally in DIR) | |||
--with-tiff[=DIR] Support tiff (optionally in DIR) | --with-tiff[=DIR] Support tiff (optionally in DIR) | |||
--with-webp[=DIR] Support webp (optionally in DIR) | --with-webp[=DIR] Support webp (optionally in DIR) | |||
--with-heif[=DIR] Support heif (optionally in DIR) | ||||
--with-avif[=DIR] Support avif (optionally in DIR) | ||||
Some influential environment variables: | Some influential environment variables: | |||
CC C compiler command | CC C compiler command | |||
CFLAGS C compiler flags | CFLAGS C compiler flags | |||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |||
nonstandard directory <lib dir> | nonstandard directory <lib dir> | |||
LIBS libraries to pass to the linker, e.g. -l<library> | LIBS libraries to pass to the linker, e.g. -l<library> | |||
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |||
you have headers in a nonstandard directory <include dir> | you have headers in a nonstandard directory <include dir> | |||
LT_SYS_LIBRARY_PATH | LT_SYS_LIBRARY_PATH | |||
skipping to change at line 1586 | skipping to change at line 1590 | |||
C compiler flags for LIBXPM, overriding pkg-config | C compiler flags for LIBXPM, overriding pkg-config | |||
LIBXPM_LIBS linker flags for LIBXPM, overriding pkg-config | LIBXPM_LIBS linker flags for LIBXPM, overriding pkg-config | |||
LIBTIFF_CFLAGS | LIBTIFF_CFLAGS | |||
C compiler flags for LIBTIFF, overriding pkg-config | C compiler flags for LIBTIFF, overriding pkg-config | |||
LIBTIFF_LIBS | LIBTIFF_LIBS | |||
linker flags for LIBTIFF, overriding pkg-config | linker flags for LIBTIFF, overriding pkg-config | |||
LIBWEBP_CFLAGS | LIBWEBP_CFLAGS | |||
C compiler flags for LIBWEBP, overriding pkg-config | C compiler flags for LIBWEBP, overriding pkg-config | |||
LIBWEBP_LIBS | LIBWEBP_LIBS | |||
linker flags for LIBWEBP, overriding pkg-config | linker flags for LIBWEBP, overriding pkg-config | |||
LIBHEIF_CFLAGS | ||||
C compiler flags for LIBHEIF, overriding pkg-config | ||||
LIBHEIF_LIBS | ||||
linker flags for LIBHEIF, overriding pkg-config | ||||
LIBAVIF_CFLAGS | ||||
C compiler flags for LIBAVIF, overriding pkg-config | ||||
LIBAVIF_LIBS | ||||
linker flags for LIBAVIF, overriding pkg-config | ||||
Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help | |||
it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. | |||
Report bugs to <https://github.com/libgd/libgd/issues>. | Report bugs to <https://github.com/libgd/libgd/issues>. | |||
GD home page: <http://lib.gd>. | GD home page: <http://lib.gd>. | |||
_ACEOF | _ACEOF | |||
ac_status=$? | ac_status=$? | |||
fi | fi | |||
skipping to change at line 1654 | skipping to change at line 1666 | |||
else | else | |||
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |||
fi || ac_status=$? | fi || ac_status=$? | |||
cd "$ac_pwd" || { ac_status=$?; break; } | cd "$ac_pwd" || { ac_status=$?; break; } | |||
done | done | |||
fi | fi | |||
test -n "$ac_init_help" && exit $ac_status | test -n "$ac_init_help" && exit $ac_status | |||
if $ac_init_version; then | if $ac_init_version; then | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
GD configure 2.3.1 | GD configure 2.3.2 | |||
generated by GNU Autoconf 2.69 | generated by GNU Autoconf 2.69 | |||
Copyright (C) 2012 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. | |||
This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation | |||
gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. | |||
_ACEOF | _ACEOF | |||
exit | exit | |||
fi | fi | |||
## ------------------------ ## | ## ------------------------ ## | |||
skipping to change at line 2023 | skipping to change at line 2035 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
fi | fi | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_c_check_header_mongrel | } # ac_fn_c_check_header_mongrel | |||
cat >config.log <<_ACEOF | cat >config.log <<_ACEOF | |||
This file contains any messages produced by compilers while | This file contains any messages produced by compilers while | |||
running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. | |||
It was created by GD $as_me 2.3.1, which was | It was created by GD $as_me 2.3.2, which was | |||
generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was | |||
$ $0 $@ | $ $0 $@ | |||
_ACEOF | _ACEOF | |||
exec 5>>config.log | exec 5>>config.log | |||
{ | { | |||
cat <<_ASUNAME | cat <<_ASUNAME | |||
## --------- ## | ## --------- ## | |||
## Platform. ## | ## Platform. ## | |||
skipping to change at line 2472 | skipping to change at line 2484 | |||
host_cpu=$1 | host_cpu=$1 | |||
host_vendor=$2 | host_vendor=$2 | |||
shift; shift | shift; shift | |||
# Remember, the first character of IFS is used to create $*, | # Remember, the first character of IFS is used to create $*, | |||
# except with old shells: | # except with old shells: | |||
host_os=$* | host_os=$* | |||
IFS=$ac_save_IFS | IFS=$ac_save_IFS | |||
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |||
GDLIB_LT_CURRENT=3 | GDLIB_LT_CURRENT=3 | |||
GDLIB_LT_REVISION=9 | GDLIB_LT_REVISION=10 | |||
GDLIB_LT_AGE=0 | GDLIB_LT_AGE=0 | |||
am__api_version='1.15' | am__api_version='1.16' | |||
# Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), | |||
# so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or | |||
# incompatible versions: | # incompatible versions: | |||
# SysV /etc/install, /usr/sbin/install | # SysV /etc/install, /usr/sbin/install | |||
# SunOS /usr/etc/install | # SunOS /usr/etc/install | |||
# IRIX /sbin/install | # IRIX /sbin/install | |||
# AIX /bin/install | # AIX /bin/install | |||
# AmigaOS /C/install, which installs bootblocks on floppy discs | # AmigaOS /C/install, which installs bootblocks on floppy discs | |||
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |||
skipping to change at line 2651 | skipping to change at line 2663 | |||
program_transform_name="s&\$&$program_suffix&;$program_transform_name" | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |||
# Double any \ or $. | # Double any \ or $. | |||
# By default was `s,x,x', remove it if useless. | # By default was `s,x,x', remove it if useless. | |||
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |||
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |||
# Expand $ac_aux_dir to an absolute path. | # Expand $ac_aux_dir to an absolute path. | |||
am_aux_dir=`cd "$ac_aux_dir" && pwd` | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |||
if test x"${MISSING+set}" != xset; then | if test x"${MISSING+set}" != xset; then | |||
case $am_aux_dir in | MISSING="\${SHELL} '$am_aux_dir/missing'" | |||
*\ * | *\ *) | ||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||||
*) | ||||
MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||||
esac | ||||
fi | fi | |||
# Use eval to expand $SHELL | # Use eval to expand $SHELL | |||
if eval "$MISSING --is-lightweight"; then | if eval "$MISSING --is-lightweight"; then | |||
am_missing_run="$MISSING " | am_missing_run="$MISSING " | |||
else | else | |||
am_missing_run= | am_missing_run= | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |||
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |||
fi | fi | |||
skipping to change at line 2958 | skipping to change at line 2965 | |||
if test -z "$CYGPATH_W"; then | if test -z "$CYGPATH_W"; then | |||
if (cygpath --version) >/dev/null 2>/dev/null; then | if (cygpath --version) >/dev/null 2>/dev/null; then | |||
CYGPATH_W='cygpath -w' | CYGPATH_W='cygpath -w' | |||
else | else | |||
CYGPATH_W=echo | CYGPATH_W=echo | |||
fi | fi | |||
fi | fi | |||
# Define the identity of the package. | # Define the identity of the package. | |||
PACKAGE='libgd' | PACKAGE='libgd' | |||
VERSION='2.3.1' | VERSION='2.3.2' | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define PACKAGE "$PACKAGE" | #define PACKAGE "$PACKAGE" | |||
_ACEOF | _ACEOF | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define VERSION "$VERSION" | #define VERSION "$VERSION" | |||
_ACEOF | _ACEOF | |||
# Some tools Automake needs. | # Some tools Automake needs. | |||
skipping to change at line 2982 | skipping to change at line 2989 | |||
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |||
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |||
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |||
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |||
# For better backward compatibility. To be removed once Automake 1.9.x | # For better backward compatibility. To be removed once Automake 1.9.x | |||
# dies out for good. For more background, see: | # dies out for good. For more background, see: | |||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |||
mkdir_p='$(MKDIR_P)' | mkdir_p='$(MKDIR_P)' | |||
# We need awk for the "check" target (and possibly the TAP driver). The | # We need awk for the "check" target (and possibly the TAP driver). The | |||
# system "awk" is bad on some platforms. | # system "awk" is bad on some platforms. | |||
# Always define AMTAR for backward compatibility. Yes, it's still used | # Always define AMTAR for backward compatibility. Yes, it's still used | |||
# in the wild :-( We should find a proper way to deprecate it ... | # in the wild :-( We should find a proper way to deprecate it ... | |||
AMTAR='$${TAR-tar}' | AMTAR='$${TAR-tar}' | |||
# We'll loop over all known methods to create a tar archive until one works. | # We'll loop over all known methods to create a tar archive until one works. | |||
_am_tools='gnutar pax cpio none' | _am_tools='gnutar pax cpio none' | |||
skipping to change at line 3028 | skipping to change at line 3035 | |||
END | END | |||
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |||
echo 'Configuration will proceed anyway, since you have set the' >&2 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |||
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |||
echo >&2 | echo >&2 | |||
else | else | |||
cat >&2 <<'END' | cat >&2 <<'END' | |||
Aborting the configuration process, to ensure you take notice of the issue. | Aborting the configuration process, to ensure you take notice of the issue. | |||
You can download and install GNU coreutils to get an 'rm' implementation | You can download and install GNU coreutils to get an 'rm' implementation | |||
that behaves properly: <http://www.gnu.org/software/coreutils/>. | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |||
If you want to complete the configuration process using your problematic | If you want to complete the configuration process using your problematic | |||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |||
to "yes", and re-run configure. | to "yes", and re-run configure. | |||
END | END | |||
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |||
fi | fi | |||
fi | fi | |||
ac_config_headers="$ac_config_headers src/config.h:src/config.hin" | ac_config_headers="$ac_config_headers src/config.h:src/config.hin" | |||
DEPDIR="${am__leading_dot}deps" | DEPDIR="${am__leading_dot}deps" | |||
ac_config_commands="$ac_config_commands depfiles" | ac_config_commands="$ac_config_commands depfiles" | |||
am_make=${MAKE-make} | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports | |||
cat > confinc << 'END' | the include directive" >&5 | |||
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >& | ||||
6; } | ||||
cat > confinc.mk << 'END' | ||||
am__doit: | am__doit: | |||
@echo this is the am__doit target | @echo this is the am__doit target >confinc.out | |||
.PHONY: am__doit | .PHONY: am__doit | |||
END | END | |||
# If we don't find an include directive, just comment out the code. | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $ | ||||
am_make" >&5 | ||||
$as_echo_n "checking for style of include used by $am_make... " >&6; } | ||||
am__include="#" | am__include="#" | |||
am__quote= | am__quote= | |||
_am_result=none | # BSD make does it like this. | |||
# First try GNU make style include. | echo '.include "confinc.mk" # ignored' > confmf.BSD | |||
echo "include confinc" > confmf | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |||
# Ignore all kinds of additional output from 'make'. | echo 'include confinc.mk # ignored' > confmf.GNU | |||
case `$am_make -s -f confmf 2> /dev/null` in #( | _am_result=no | |||
*the\ am__doit\ target*) | for s in GNU BSD; do | |||
am__include=include | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |||
am__quote= | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |||
_am_result=GNU | ac_status=$? | |||
;; | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |||
esac | (exit $ac_status); } | |||
# Now try BSD make style include. | case $?:`cat confinc.out 2>/dev/null` in #( | |||
if test "$am__include" = "#"; then | '0:this is the am__doit target') : | |||
echo '.include "confinc"' > confmf | case $s in #( | |||
case `$am_make -s -f confmf 2> /dev/null` in #( | BSD) : | |||
*the\ am__doit\ target*) | am__include='.include' am__quote='"' ;; #( | |||
am__include=.include | *) : | |||
am__quote="\"" | am__include='include' am__quote='' ;; | |||
_am_result=BSD | esac ;; #( | |||
*) : | ||||
;; | ;; | |||
esac | esac | |||
fi | if test "$am__include" != "#"; then | |||
_am_result="yes ($s style)" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | break | |||
$as_echo "$_am_result" >&6; } | fi | |||
rm -f confinc confmf | done | |||
rm -f confinc.* confmf.* | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | ||||
$as_echo "${_am_result}" >&6; } | ||||
# Check whether --enable-dependency-tracking was given. | # Check whether --enable-dependency-tracking was given. | |||
if test "${enable_dependency_tracking+set}" = set; then : | if test "${enable_dependency_tracking+set}" = set; then : | |||
enableval=$enable_dependency_tracking; | enableval=$enable_dependency_tracking; | |||
fi | fi | |||
if test "x$enable_dependency_tracking" != xno; then | if test "x$enable_dependency_tracking" != xno; then | |||
am_depcomp="$ac_aux_dir/depcomp" | am_depcomp="$ac_aux_dir/depcomp" | |||
AMDEPBACKSLASH='\' | AMDEPBACKSLASH='\' | |||
am__nodep='_no' | am__nodep='_no' | |||
skipping to change at line 5220 | skipping to change at line 5229 | |||
# Instead, let's just punt: use the minimum linelength reported by | # Instead, let's just punt: use the minimum linelength reported by | |||
# all of the supported platforms: 8192 (on NT/2K/XP). | # all of the supported platforms: 8192 (on NT/2K/XP). | |||
lt_cv_sys_max_cmd_len=8192; | lt_cv_sys_max_cmd_len=8192; | |||
;; | ;; | |||
mint*) | mint*) | |||
# On MiNT this can take a long time and run out of memory. | # On MiNT this can take a long time and run out of memory. | |||
lt_cv_sys_max_cmd_len=8192; | lt_cv_sys_max_cmd_len=8192; | |||
;; | ;; | |||
mint*) | ||||
# On MiNT this can take a long time and run out of memory. | ||||
lt_cv_sys_max_cmd_len=8192; | ||||
;; | ||||
amigaos*) | amigaos*) | |||
# On AmigaOS with pdksh, this test takes hours, literally. | # On AmigaOS with pdksh, this test takes hours, literally. | |||
# So we just punt and use a minimum line length of 8192. | # So we just punt and use a minimum line length of 8192. | |||
lt_cv_sys_max_cmd_len=8192; | lt_cv_sys_max_cmd_len=8192; | |||
;; | ;; | |||
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) | bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) | |||
# This has been around since 386BSD, at least. Likely further. | # This has been around since 386BSD, at least. Likely further. | |||
if test -x /sbin/sysctl; then | if test -x /sbin/sysctl; then | |||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |||
skipping to change at line 5653 | skipping to change at line 5667 | |||
*) libmagic=never-match;; | *) libmagic=never-match;; | |||
esac | esac | |||
lt_cv_deplibs_check_method=pass_all | lt_cv_deplibs_check_method=pass_all | |||
;; | ;; | |||
# This must be glibc/ELF. | # This must be glibc/ELF. | |||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |||
lt_cv_deplibs_check_method=pass_all | lt_cv_deplibs_check_method=pass_all | |||
;; | ;; | |||
netbsd* | netbsdelf*-gnu) | netbsd*) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$' | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$' | |||
else | else | |||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |||
fi | fi | |||
;; | ;; | |||
newos6*) | newos6*) | |||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable| dynamic lib)' | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable| dynamic lib)' | |||
lt_cv_file_magic_cmd=/usr/bin/file | lt_cv_file_magic_cmd=/usr/bin/file | |||
skipping to change at line 6792 | skipping to change at line 6806 | |||
esac | esac | |||
;; | ;; | |||
*64-bit*) | *64-bit*) | |||
case $host in | case $host in | |||
x86_64-*kfreebsd*-gnu) | x86_64-*kfreebsd*-gnu) | |||
LD="${LD-ld} -m elf_x86_64_fbsd" | LD="${LD-ld} -m elf_x86_64_fbsd" | |||
;; | ;; | |||
x86_64-*linux*) | x86_64-*linux*) | |||
LD="${LD-ld} -m elf_x86_64" | LD="${LD-ld} -m elf_x86_64" | |||
;; | ;; | |||
powerpcle-*linux*) | powerpcle-*linux*|powerpc64le-*linux*) | |||
LD="${LD-ld} -m elf64lppc" | LD="${LD-ld} -m elf64lppc" | |||
;; | ;; | |||
powerpc-*linux*) | powerpc-*linux*|powerpc64-*linux*) | |||
LD="${LD-ld} -m elf64ppc" | LD="${LD-ld} -m elf64ppc" | |||
;; | ;; | |||
s390*-*linux*|s390*-*tpf*) | s390*-*linux*|s390*-*tpf*) | |||
LD="${LD-ld} -m elf64_s390" | LD="${LD-ld} -m elf64_s390" | |||
;; | ;; | |||
sparc*-*linux*) | sparc*-*linux*) | |||
LD="${LD-ld} -m elf64_sparc" | LD="${LD-ld} -m elf64_sparc" | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
skipping to change at line 9006 | skipping to change at line 9020 | |||
with_gnu_ld=no | with_gnu_ld=no | |||
fi | fi | |||
;; | ;; | |||
interix*) | interix*) | |||
# we just hope/assume this is gcc and not c89 (= MSVC++) | # we just hope/assume this is gcc and not c89 (= MSVC++) | |||
with_gnu_ld=yes | with_gnu_ld=yes | |||
;; | ;; | |||
openbsd* | bitrig*) | openbsd* | bitrig*) | |||
with_gnu_ld=no | with_gnu_ld=no | |||
;; | ;; | |||
linux* | k*bsd*-gnu | gnu*) | ||||
link_all_deplibs=no | ||||
;; | ||||
esac | esac | |||
ld_shlibs=yes | ld_shlibs=yes | |||
# On some targets, GNU ld is compatible enough with the native linker | # On some targets, GNU ld is compatible enough with the native linker | |||
# that we're better off using the native interface for both. | # that we're better off using the native interface for both. | |||
lt_use_gnu_ld_interface=no | lt_use_gnu_ld_interface=no | |||
if test yes = "$with_gnu_ld"; then | if test yes = "$with_gnu_ld"; then | |||
case $host_os in | case $host_os in | |||
aix*) | aix*) | |||
skipping to change at line 9263 | skipping to change at line 9274 | |||
echo "local: *; };" >> $output_objdir/$libname.ver~ | echo "local: *; };" >> $output_objdir/$libname.ver~ | |||
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi on-script $output_objdir/$libname.ver -o $lib' | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi on-script $output_objdir/$libname.ver -o $lib' | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
else | else | |||
ld_shlibs=no | ld_shlibs=no | |||
fi | fi | |||
;; | ;; | |||
netbsd* | netbsdelf*-gnu) | netbsd*) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | |||
wlarc= | wlarc= | |||
else | else | |||
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl -soname $wl$soname -o $lib' | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl -soname $wl$soname -o $lib' | |||
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_fl ags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_fl ags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | |||
fi | fi | |||
;; | ;; | |||
solaris*) | solaris*) | |||
skipping to change at line 9932 | skipping to change at line 9943 | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
LDFLAGS=$save_LDFLAGS | LDFLAGS=$save_LDFLAGS | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >& 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >& 5 | |||
$as_echo "$lt_cv_irix_exported_symbol" >&6; } | $as_echo "$lt_cv_irix_exported_symbol" >&6; } | |||
if test yes = "$lt_cv_irix_exported_symbol"; then | if test yes = "$lt_cv_irix_exported_symbol"; then | |||
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler _flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_ver sion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-expo rts_file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler _flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_ver sion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-expo rts_file $wl$export_symbols -o $lib' | |||
fi | fi | |||
link_all_deplibs=no | ||||
else | else | |||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $sona me `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_reg istry $output_objdir/so_locations -o $lib' | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $sona me `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_reg istry $output_objdir/so_locations -o $lib' | |||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sonam e $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -upd ate_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sonam e $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -upd ate_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' | |||
fi | fi | |||
archive_cmds_need_lc='no' | archive_cmds_need_lc='no' | |||
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |||
hardcode_libdir_separator=: | hardcode_libdir_separator=: | |||
inherit_rpath=yes | inherit_rpath=yes | |||
link_all_deplibs=yes | link_all_deplibs=yes | |||
;; | ;; | |||
skipping to change at line 9954 | skipping to change at line 9964 | |||
linux*) | linux*) | |||
case $cc_basename in | case $cc_basename in | |||
tcc*) | tcc*) | |||
# Fabrice Bellard et al's Tiny C Compiler | # Fabrice Bellard et al's Tiny C Compiler | |||
ld_shlibs=yes | ld_shlibs=yes | |||
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_f lags' | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_f lags' | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
netbsd* | netbsdelf*-gnu) | netbsd*) | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | |||
else | else | |||
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | |||
fi | fi | |||
hardcode_libdir_flag_spec='-R$libdir' | hardcode_libdir_flag_spec='-R$libdir' | |||
hardcode_direct=yes | hardcode_direct=yes | |||
hardcode_shlibpath_var=no | hardcode_shlibpath_var=no | |||
;; | ;; | |||
skipping to change at line 10632 | skipping to change at line 10642 | |||
esac | esac | |||
# FIXME: first we should search . and the directory the executable is in | # FIXME: first we should search . and the directory the executable is in | |||
shlibpath_var=PATH | shlibpath_var=PATH | |||
;; | ;; | |||
darwin* | rhapsody*) | darwin* | rhapsody*) | |||
dynamic_linker="$host_os dyld" | dynamic_linker="$host_os dyld" | |||
version_type=darwin | version_type=darwin | |||
need_lib_prefix=no | need_lib_prefix=no | |||
need_version=no | need_version=no | |||
library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' | library_names_spec='$libname$release$versuffix$shared_ext $libname$release$maj or$shared_ext $libname$shared_ext' | |||
soname_spec='$libname$release$major$shared_ext' | soname_spec='$libname$release$major$shared_ext' | |||
shlibpath_overrides_runpath=yes | shlibpath_overrides_runpath=yes | |||
shlibpath_var=DYLD_LIBRARY_PATH | shlibpath_var=DYLD_LIBRARY_PATH | |||
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`' | |||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | |||
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | |||
;; | ;; | |||
dgux*) | dgux*) | |||
version_type=linux # correct to gnu/linux during the next big refactor | version_type=linux # correct to gnu/linux during the next big refactor | |||
need_lib_prefix=no | need_lib_prefix=no | |||
need_version=no | need_version=no | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext' | |||
skipping to change at line 10662 | skipping to change at line 10672 | |||
# DragonFly does not have aout. When/if they implement a new | # DragonFly does not have aout. When/if they implement a new | |||
# versioning mechanism, adjust this. | # versioning mechanism, adjust this. | |||
if test -x /usr/bin/objformat; then | if test -x /usr/bin/objformat; then | |||
objformat=`/usr/bin/objformat` | objformat=`/usr/bin/objformat` | |||
else | else | |||
case $host_os in | case $host_os in | |||
freebsd[23].*) objformat=aout ;; | freebsd[23].*) objformat=aout ;; | |||
*) objformat=elf ;; | *) objformat=elf ;; | |||
esac | esac | |||
fi | fi | |||
version_type=freebsd-$objformat | # Handle Gentoo/FreeBSD as it was Linux | |||
case $host_vendor in | ||||
gentoo) | ||||
version_type=linux ;; | ||||
*) | ||||
version_type=freebsd-$objformat ;; | ||||
esac | ||||
case $version_type in | case $version_type in | |||
freebsd-elf*) | freebsd-elf*) | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext' | |||
soname_spec='$libname$release$shared_ext$major' | soname_spec='$libname$release$shared_ext$major' | |||
need_version=no | need_version=no | |||
need_lib_prefix=no | need_lib_prefix=no | |||
;; | ;; | |||
freebsd-*) | freebsd-*) | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ ext$versuffix' | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ ext$versuffix' | |||
need_version=yes | need_version=yes | |||
;; | ;; | |||
linux) | ||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} | ||||
${release}${shared_ext}$major ${libname}${shared_ext}' | ||||
soname_spec='${libname}${release}${shared_ext}$major' | ||||
need_lib_prefix=no | ||||
need_version=no | ||||
;; | ||||
esac | esac | |||
shlibpath_var=LD_LIBRARY_PATH | shlibpath_var=LD_LIBRARY_PATH | |||
case $host_os in | case $host_os in | |||
freebsd2.*) | freebsd2.*) | |||
shlibpath_overrides_runpath=yes | shlibpath_overrides_runpath=yes | |||
;; | ;; | |||
freebsd3.[01]* | freebsdelf3.[01]*) | freebsd3.[01]* | freebsdelf3.[01]*) | |||
shlibpath_overrides_runpath=yes | shlibpath_overrides_runpath=yes | |||
hardcode_into_libs=yes | hardcode_into_libs=yes | |||
;; | ;; | |||
skipping to change at line 10902 | skipping to change at line 10925 | |||
# We used to test for /lib/ld.so.1 and disable shared libraries on | # We used to test for /lib/ld.so.1 and disable shared libraries on | |||
# powerpc, because MkLinux only supported shared libraries with the | # powerpc, because MkLinux only supported shared libraries with the | |||
# GNU dynamic linker. Since this was broken with cross compilers, | # GNU dynamic linker. Since this was broken with cross compilers, | |||
# most powerpc-linux boxes support dynamic linking these days and | # most powerpc-linux boxes support dynamic linking these days and | |||
# people can always --disable-shared, the test was removed, and we | # people can always --disable-shared, the test was removed, and we | |||
# assume the GNU/Linux dynamic linker is in use. | # assume the GNU/Linux dynamic linker is in use. | |||
dynamic_linker='GNU/Linux ld.so' | dynamic_linker='GNU/Linux ld.so' | |||
;; | ;; | |||
netbsdelf*-gnu) | ||||
version_type=linux | ||||
need_lib_prefix=no | ||||
need_version=no | ||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re | ||||
lease}${shared_ext}$major ${libname}${shared_ext}' | ||||
soname_spec='${libname}${release}${shared_ext}$major' | ||||
shlibpath_var=LD_LIBRARY_PATH | ||||
shlibpath_overrides_runpath=no | ||||
hardcode_into_libs=yes | ||||
dynamic_linker='NetBSD ld.elf_so' | ||||
;; | ||||
netbsd*) | netbsd*) | |||
version_type=sunos | version_type=sunos | |||
need_lib_prefix=no | need_lib_prefix=no | |||
need_version=no | need_version=no | |||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex t$versuffix' | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex t$versuffix' | |||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |||
dynamic_linker='NetBSD (a.out) ld.so' | dynamic_linker='NetBSD (a.out) ld.so' | |||
else | else | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | |||
skipping to change at line 14068 | skipping to change at line 14079 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBZ" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 | |||
$as_echo_n "checking for LIBZ... " >&6; } | $as_echo_n "checking for zlib... " >&6; } | |||
if test -n "$LIBZ_CFLAGS"; then | if test -n "$LIBZ_CFLAGS"; then | |||
pkg_cv_LIBZ_CFLAGS="$LIBZ_CFLAGS" | pkg_cv_LIBZ_CFLAGS="$LIBZ_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"zlib\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"zlib\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "zlib") 2>&5 | ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 14107 | skipping to change at line 14118 | |||
pkg_cv_LIBZ_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` | pkg_cv_LIBZ_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfla gs --libs "zlib" 2>&1` | LIBZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfla gs --libs "zlib" 2>&1` | |||
else | else | |||
skipping to change at line 14166 | skipping to change at line 14177 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 | |||
$as_echo "$ac_cv_lib_z_deflate" >&6; } | $as_echo "$ac_cv_lib_z_deflate" >&6; } | |||
if test "x$ac_cv_lib_z_deflate" = xyes; then : | if test "x$ac_cv_lib_z_deflate" = xyes; then : | |||
as_fn_append LIBZ_LIBS " -lz" | as_fn_append LIBZ_LIBS " -lz" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" > &5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" > &5 | |||
$as_echo_n "checking for deflate in -lz... " >&6; } | $as_echo_n "checking for deflate in -lz... " >&6; } | |||
if ${ac_cv_lib_z_deflate+:} false; then : | if ${ac_cv_lib_z_deflate+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lz $LIBS" | LIBS="-lz $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
skipping to change at line 14286 | skipping to change at line 14297 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng" >&5 | |||
$as_echo_n "checking for LIBPNG... " >&6; } | $as_echo_n "checking for libpng... " >&6; } | |||
if test -n "$LIBPNG_CFLAGS"; then | if test -n "$LIBPNG_CFLAGS"; then | |||
pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS" | pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libpng\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libpng\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "libpng") 2>&5 | ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 14325 | skipping to change at line 14336 | |||
pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` | pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cf lags --libs "libpng" 2>&1` | LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cf lags --libs "libpng" 2>&1` | |||
else | else | |||
skipping to change at line 14349 | skipping to change at line 14360 | |||
echo "$LIBPNG_PKG_ERRORS" >&5 | echo "$LIBPNG_PKG_ERRORS" >&5 | |||
LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config | LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config | |||
if test -e "$LIBPNG_CONFIG"; then | if test -e "$LIBPNG_CONFIG"; then | |||
LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` | LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` | |||
LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` | LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config | LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config | |||
if test -e "$LIBPNG_CONFIG"; then | if test -e "$LIBPNG_CONFIG"; then | |||
LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` | LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` | |||
LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` | LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
else | else | |||
skipping to change at line 14435 | skipping to change at line 14446 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFREETYPE" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2 >= 9.8.3" >&5 | |||
$as_echo_n "checking for LIBFREETYPE... " >&6; } | $as_echo_n "checking for freetype2 >= 9.8.3... " >&6; } | |||
if test -n "$LIBFREETYPE_CFLAGS"; then | if test -n "$LIBFREETYPE_CFLAGS"; then | |||
pkg_cv_LIBFREETYPE_CFLAGS="$LIBFREETYPE_CFLAGS" | pkg_cv_LIBFREETYPE_CFLAGS="$LIBFREETYPE_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"freetype2 >= 9.8.3\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"freetype2 >= 9.8.3\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "freetype2 >= 9.8.3") 2>&5 | ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.8.3") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 14474 | skipping to change at line 14485 | |||
pkg_cv_LIBFREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.8.3" 2>/dev/null` | pkg_cv_LIBFREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.8.3" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBFREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.8.3" 2>&1` | LIBFREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.8.3" 2>&1` | |||
else | else | |||
skipping to change at line 14498 | skipping to change at line 14509 | |||
echo "$LIBFREETYPE_PKG_ERRORS" >&5 | echo "$LIBFREETYPE_PKG_ERRORS" >&5 | |||
FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config | FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config | |||
if test -e "$FREETYPE_CONFIG"; then | if test -e "$FREETYPE_CONFIG"; then | |||
LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` | LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` | |||
LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` | LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config | FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config | |||
if test -e "$FREETYPE_CONFIG"; then | if test -e "$FREETYPE_CONFIG"; then | |||
LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` | LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` | |||
LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` | LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
else | else | |||
skipping to change at line 14590 | skipping to change at line 14601 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRAQM" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm" >&5 | |||
$as_echo_n "checking for LIBRAQM... " >&6; } | $as_echo_n "checking for raqm... " >&6; } | |||
if test -n "$LIBRAQM_CFLAGS"; then | if test -n "$LIBRAQM_CFLAGS"; then | |||
pkg_cv_LIBRAQM_CFLAGS="$LIBRAQM_CFLAGS" | pkg_cv_LIBRAQM_CFLAGS="$LIBRAQM_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"raqm\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"raqm\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "raqm") 2>&5 | ($PKG_CONFIG --exists --print-errors "raqm") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 14629 | skipping to change at line 14640 | |||
pkg_cv_LIBRAQM_LIBS=`$PKG_CONFIG --libs "raqm" 2>/dev/null` | pkg_cv_LIBRAQM_LIBS=`$PKG_CONFIG --libs "raqm" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBRAQM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "raqm" 2>&1` | LIBRAQM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "raqm" 2>&1` | |||
else | else | |||
skipping to change at line 14688 | skipping to change at line 14699 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raqm_raqm_create" >& 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raqm_raqm_create" >& 5 | |||
$as_echo "$ac_cv_lib_raqm_raqm_create" >&6; } | $as_echo "$ac_cv_lib_raqm_raqm_create" >&6; } | |||
if test "x$ac_cv_lib_raqm_raqm_create" = xyes; then : | if test "x$ac_cv_lib_raqm_raqm_create" = xyes; then : | |||
as_fn_append LIBRAQM_LIBS " -lraqm -lfreetype" | as_fn_append LIBRAQM_LIBS " -lraqm -lfreetype" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm_create in -lraqm" > &5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm_create in -lraqm" > &5 | |||
$as_echo_n "checking for raqm_create in -lraqm... " >&6; } | $as_echo_n "checking for raqm_create in -lraqm... " >&6; } | |||
if ${ac_cv_lib_raqm_raqm_create+:} false; then : | if ${ac_cv_lib_raqm_raqm_create+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lraqm $LIBS" | LIBS="-lraqm $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 14809 | skipping to change at line 14820 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFONTCONFIG" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig" >&5 | |||
$as_echo_n "checking for LIBFONTCONFIG... " >&6; } | $as_echo_n "checking for fontconfig... " >&6; } | |||
if test -n "$LIBFONTCONFIG_CFLAGS"; then | if test -n "$LIBFONTCONFIG_CFLAGS"; then | |||
pkg_cv_LIBFONTCONFIG_CFLAGS="$LIBFONTCONFIG_CFLAGS" | pkg_cv_LIBFONTCONFIG_CFLAGS="$LIBFONTCONFIG_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"fontconfig\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"fontconfig\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 | ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 14848 | skipping to change at line 14859 | |||
pkg_cv_LIBFONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null` | pkg_cv_LIBFONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBFONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-erro rs --cflags --libs "fontconfig" 2>&1` | LIBFONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-erro rs --cflags --libs "fontconfig" 2>&1` | |||
else | else | |||
skipping to change at line 14907 | skipping to change at line 14918 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" > &5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" > &5 | |||
$as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; } | $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; } | |||
if test "x$ac_cv_lib_fontconfig_FcInit" = xyes; then : | if test "x$ac_cv_lib_fontconfig_FcInit" = xyes; then : | |||
as_fn_append LIBFONTCONFIG_LIBS " -lfontconfig" | as_fn_append LIBFONTCONFIG_LIBS " -lfontconfig" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5 | |||
$as_echo_n "checking for FcInit in -lfontconfig... " >&6; } | $as_echo_n "checking for FcInit in -lfontconfig... " >&6; } | |||
if ${ac_cv_lib_fontconfig_FcInit+:} false; then : | if ${ac_cv_lib_fontconfig_FcInit+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lfontconfig $LIBS" | LIBS="-lfontconfig $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 15028 | skipping to change at line 15039 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBJPEG" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjpeg" >&5 | |||
$as_echo_n "checking for LIBJPEG... " >&6; } | $as_echo_n "checking for libjpeg... " >&6; } | |||
if test -n "$LIBJPEG_CFLAGS"; then | if test -n "$LIBJPEG_CFLAGS"; then | |||
pkg_cv_LIBJPEG_CFLAGS="$LIBJPEG_CFLAGS" | pkg_cv_LIBJPEG_CFLAGS="$LIBJPEG_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libjpeg\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libjpeg\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 | ($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 15067 | skipping to change at line 15078 | |||
pkg_cv_LIBJPEG_LIBS=`$PKG_CONFIG --libs "libjpeg" 2>/dev/null` | pkg_cv_LIBJPEG_LIBS=`$PKG_CONFIG --libs "libjpeg" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBJPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libjpeg" 2>&1` | LIBJPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libjpeg" 2>&1` | |||
else | else | |||
skipping to change at line 15126 | skipping to change at line 15137 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaul ts" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaul ts" >&5 | |||
$as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } | $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } | |||
if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then : | if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then : | |||
as_fn_append LIBJPEG_LIBS " -ljpeg" | as_fn_append LIBJPEG_LIBS " -ljpeg" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -lj peg" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -lj peg" >&5 | |||
$as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; } | $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; } | |||
if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then : | if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-ljpeg $LIBS" | LIBS="-ljpeg $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 15365 | skipping to change at line 15376 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXPM" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xpm" >&5 | |||
$as_echo_n "checking for LIBXPM... " >&6; } | $as_echo_n "checking for xpm... " >&6; } | |||
if test -n "$LIBXPM_CFLAGS"; then | if test -n "$LIBXPM_CFLAGS"; then | |||
pkg_cv_LIBXPM_CFLAGS="$LIBXPM_CFLAGS" | pkg_cv_LIBXPM_CFLAGS="$LIBXPM_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"xpm\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"xpm\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "xpm") 2>&5 | ($PKG_CONFIG --exists --print-errors "xpm") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 15404 | skipping to change at line 15415 | |||
pkg_cv_LIBXPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null` | pkg_cv_LIBXPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cf lags --libs "xpm" 2>&1` | LIBXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cf lags --libs "xpm" 2>&1` | |||
else | else | |||
skipping to change at line 15463 | skipping to change at line 15474 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToXpm Image" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToXpm Image" >&5 | |||
$as_echo "$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; } | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; } | |||
if test "x$ac_cv_lib_Xpm_XpmReadFileToXpmImage" = xyes; then : | if test "x$ac_cv_lib_Xpm_XpmReadFileToXpmImage" = xyes; then : | |||
as_fn_append LIBXPM_LIBS " -lXpm" | as_fn_append LIBXPM_LIBS " -lXpm" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToXpmImage in -lXpm" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToXpmImage in -lXpm" >&5 | |||
$as_echo_n "checking for XpmReadFileToXpmImage in -lXpm... " >&6; } | $as_echo_n "checking for XpmReadFileToXpmImage in -lXpm... " >&6; } | |||
if ${ac_cv_lib_Xpm_XpmReadFileToXpmImage+:} false; then : | if ${ac_cv_lib_Xpm_XpmReadFileToXpmImage+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lXpm $LIBS" | LIBS="-lXpm $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 15584 | skipping to change at line 15595 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtiff-4" >&5 | |||
$as_echo_n "checking for LIBTIFF... " >&6; } | $as_echo_n "checking for libtiff-4... " >&6; } | |||
if test -n "$LIBTIFF_CFLAGS"; then | if test -n "$LIBTIFF_CFLAGS"; then | |||
pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" | pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libtiff-4\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libtiff-4\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 | ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 15623 | skipping to change at line 15634 | |||
pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null` | pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libtiff-4" 2>&1` | LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libtiff-4" 2>&1` | |||
else | else | |||
skipping to change at line 15682 | skipping to change at line 15693 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5 | |||
$as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; } | $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; } | |||
if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then : | if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then : | |||
as_fn_append LIBTIFF_LIBS " -ltiff" | as_fn_append LIBTIFF_LIBS " -ltiff" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff " >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff " >&5 | |||
$as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; } | $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; } | |||
if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then : | if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-ltiff $LIBS" | LIBS="-ltiff $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 15803 | skipping to change at line 15814 | |||
as_fn_append LDFLAGS " $gd_lib_ldflags" | as_fn_append LDFLAGS " $gd_lib_ldflags" | |||
fi | fi | |||
if test -d "$gd_with_lib/include"; then | if test -d "$gd_with_lib/include"; then | |||
gd_lib_cflags="-I$gd_with_lib/include" | gd_lib_cflags="-I$gd_with_lib/include" | |||
as_fn_append CPPFLAGS " $gd_lib_cflags" | as_fn_append CPPFLAGS " $gd_lib_cflags" | |||
fi | fi | |||
;; | ;; | |||
esac | esac | |||
pkg_failed=no | pkg_failed=no | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBWEBP" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwebp" >&5 | |||
$as_echo_n "checking for LIBWEBP... " >&6; } | $as_echo_n "checking for libwebp... " >&6; } | |||
if test -n "$LIBWEBP_CFLAGS"; then | if test -n "$LIBWEBP_CFLAGS"; then | |||
pkg_cv_LIBWEBP_CFLAGS="$LIBWEBP_CFLAGS" | pkg_cv_LIBWEBP_CFLAGS="$LIBWEBP_CFLAGS" | |||
elif test -n "$PKG_CONFIG"; then | elif test -n "$PKG_CONFIG"; then | |||
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ | |||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libwebp\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err ors \"libwebp\""; } >&5 | |||
($PKG_CONFIG --exists --print-errors "libwebp") 2>&5 | ($PKG_CONFIG --exists --print-errors "libwebp") 2>&5 | |||
ac_status=$? | ac_status=$? | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; }; then | test $ac_status = 0; }; then | |||
skipping to change at line 15842 | skipping to change at line 15853 | |||
pkg_cv_LIBWEBP_LIBS=`$PKG_CONFIG --libs "libwebp" 2>/dev/null` | pkg_cv_LIBWEBP_LIBS=`$PKG_CONFIG --libs "libwebp" 2>/dev/null` | |||
test "x$?" != "x0" && pkg_failed=yes | test "x$?" != "x0" && pkg_failed=yes | |||
else | else | |||
pkg_failed=yes | pkg_failed=yes | |||
fi | fi | |||
else | else | |||
pkg_failed=untried | pkg_failed=untried | |||
fi | fi | |||
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |||
_pkg_short_errors_supported=yes | _pkg_short_errors_supported=yes | |||
else | else | |||
_pkg_short_errors_supported=no | _pkg_short_errors_supported=no | |||
fi | fi | |||
if test $_pkg_short_errors_supported = yes; then | if test $_pkg_short_errors_supported = yes; then | |||
LIBWEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libwebp" 2>&1` | LIBWEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c flags --libs "libwebp" 2>&1` | |||
else | else | |||
skipping to change at line 15901 | skipping to change at line 15912 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_webp_WebPGetInfo" >& 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_webp_WebPGetInfo" >& 5 | |||
$as_echo "$ac_cv_lib_webp_WebPGetInfo" >&6; } | $as_echo "$ac_cv_lib_webp_WebPGetInfo" >&6; } | |||
if test "x$ac_cv_lib_webp_WebPGetInfo" = xyes; then : | if test "x$ac_cv_lib_webp_WebPGetInfo" = xyes; then : | |||
as_fn_append LIBWEBP_LIBS " -lwebp" | as_fn_append LIBWEBP_LIBS " -lwebp" | |||
gd_found_lib=yes | gd_found_lib=yes | |||
fi | fi | |||
elif test $pkg_failed = untried; then | elif test $pkg_failed = untried; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WebPGetInfo in -lwebp" > &5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WebPGetInfo in -lwebp" > &5 | |||
$as_echo_n "checking for WebPGetInfo in -lwebp... " >&6; } | $as_echo_n "checking for WebPGetInfo in -lwebp... " >&6; } | |||
if ${ac_cv_lib_webp_WebPGetInfo+:} false; then : | if ${ac_cv_lib_webp_WebPGetInfo+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lwebp $LIBS" | LIBS="-lwebp $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 15987 | skipping to change at line 15998 | |||
if test "$gd_found_lib" = yes; then | if test "$gd_found_lib" = yes; then | |||
HAVE_LIBWEBP_TRUE= | HAVE_LIBWEBP_TRUE= | |||
HAVE_LIBWEBP_FALSE='#' | HAVE_LIBWEBP_FALSE='#' | |||
else | else | |||
HAVE_LIBWEBP_TRUE='#' | HAVE_LIBWEBP_TRUE='#' | |||
HAVE_LIBWEBP_FALSE= | HAVE_LIBWEBP_FALSE= | |||
fi | fi | |||
gd_with_LIBWEBP=$gd_found_lib | gd_with_LIBWEBP=$gd_found_lib | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support heif" | ||||
>&5 | ||||
$as_echo_n "checking whether to support heif... " >&6; } | ||||
# Check whether --with-heif was given. | ||||
if test "${with_heif+set}" = set; then : | ||||
withval=$with_heif; gd_with_lib=$withval | ||||
else | ||||
gd_with_lib=auto | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 | ||||
$as_echo "$gd_with_lib" >&6; } | ||||
gd_found_lib=no | ||||
gd_require_pkg_name="" | ||||
if test "$gd_with_lib" != "no"; then | ||||
save_CPPFLAGS=$CPPFLAGS | ||||
save_LDFLAGS=$LDFLAGS | ||||
gd_lib_ldflags= | ||||
gd_lib_cflags= | ||||
case $gd_with_lib in | ||||
yes|no|auto|"") ;; | ||||
*) | ||||
if test -d "$gd_with_lib/lib"; then | ||||
gd_lib_ldflags="-L$gd_with_lib/lib" | ||||
as_fn_append LDFLAGS " $gd_lib_ldflags" | ||||
fi | ||||
if test -d "$gd_with_lib/include"; then | ||||
gd_lib_cflags="-I$gd_with_lib/include" | ||||
as_fn_append CPPFLAGS " $gd_lib_cflags" | ||||
fi | ||||
;; | ||||
esac | ||||
pkg_failed=no | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libheif >= 1.7.0" >&5 | ||||
$as_echo_n "checking for libheif >= 1.7.0... " >&6; } | ||||
if test -n "$LIBHEIF_CFLAGS"; then | ||||
pkg_cv_LIBHEIF_CFLAGS="$LIBHEIF_CFLAGS" | ||||
elif test -n "$PKG_CONFIG"; then | ||||
if test -n "$PKG_CONFIG" && \ | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err | ||||
ors \"libheif >= 1.7.0\""; } >&5 | ||||
($PKG_CONFIG --exists --print-errors "libheif >= 1.7.0") 2>&5 | ||||
ac_status=$? | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; }; then | ||||
pkg_cv_LIBHEIF_CFLAGS=`$PKG_CONFIG --cflags "libheif >= 1.7.0" 2>/dev/null` | ||||
test "x$?" != "x0" && pkg_failed=yes | ||||
else | ||||
pkg_failed=yes | ||||
fi | ||||
else | ||||
pkg_failed=untried | ||||
fi | ||||
if test -n "$LIBHEIF_LIBS"; then | ||||
pkg_cv_LIBHEIF_LIBS="$LIBHEIF_LIBS" | ||||
elif test -n "$PKG_CONFIG"; then | ||||
if test -n "$PKG_CONFIG" && \ | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err | ||||
ors \"libheif >= 1.7.0\""; } >&5 | ||||
($PKG_CONFIG --exists --print-errors "libheif >= 1.7.0") 2>&5 | ||||
ac_status=$? | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; }; then | ||||
pkg_cv_LIBHEIF_LIBS=`$PKG_CONFIG --libs "libheif >= 1.7.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 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "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 | ||||
LIBHEIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c | ||||
flags --libs "libheif >= 1.7.0" 2>&1` | ||||
else | ||||
LIBHEIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "l | ||||
ibheif >= 1.7.0" 2>&1` | ||||
fi | ||||
# Put the nasty error message in config.log where it belongs | ||||
echo "$LIBHEIF_PKG_ERRORS" >&5 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for heif_get_version in -lhe | ||||
if" >&5 | ||||
$as_echo_n "checking for heif_get_version in -lheif... " >&6; } | ||||
if ${ac_cv_lib_heif_heif_get_version+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lheif $LIBS" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
/* Override any GCC internal prototype to avoid an error. | ||||
Use char because int might match the return type of a GCC | ||||
builtin and then its argument prototype would still apply. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char heif_get_version (); | ||||
int | ||||
main () | ||||
{ | ||||
return heif_get_version (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_link "$LINENO"; then : | ||||
ac_cv_lib_heif_heif_get_version=yes | ||||
else | ||||
ac_cv_lib_heif_heif_get_version=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_heif_heif_get_versio | ||||
n" >&5 | ||||
$as_echo "$ac_cv_lib_heif_heif_get_version" >&6; } | ||||
if test "x$ac_cv_lib_heif_heif_get_version" = xyes; then : | ||||
as_fn_append LIBHEIF_LIBS " -lheif" | ||||
fi | ||||
elif test $pkg_failed = untried; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for heif_get_version in -lhe | ||||
if" >&5 | ||||
$as_echo_n "checking for heif_get_version in -lheif... " >&6; } | ||||
if ${ac_cv_lib_heif_heif_get_version+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lheif $LIBS" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
/* Override any GCC internal prototype to avoid an error. | ||||
Use char because int might match the return type of a GCC | ||||
builtin and then its argument prototype would still apply. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char heif_get_version (); | ||||
int | ||||
main () | ||||
{ | ||||
return heif_get_version (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_link "$LINENO"; then : | ||||
ac_cv_lib_heif_heif_get_version=yes | ||||
else | ||||
ac_cv_lib_heif_heif_get_version=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_heif_heif_get_versio | ||||
n" >&5 | ||||
$as_echo "$ac_cv_lib_heif_heif_get_version" >&6; } | ||||
if test "x$ac_cv_lib_heif_heif_get_version" = xyes; then : | ||||
as_fn_append LIBHEIF_LIBS " -lheif" | ||||
fi | ||||
else | ||||
LIBHEIF_CFLAGS=$pkg_cv_LIBHEIF_CFLAGS | ||||
LIBHEIF_LIBS=$pkg_cv_LIBHEIF_LIBS | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||||
$as_echo "yes" >&6; } | ||||
gd_found_lib=yes gd_require_pkg_name="libheif >= 1.7.0" | ||||
fi | ||||
CPPFLAGS=$save_CPPFLAGS | ||||
LDFLAGS=$save_LDFLAGS | ||||
if test "$gd_found_lib" = "yes"; then | ||||
$as_echo "#define HAVE_LIBHEIF 1" >>confdefs.h | ||||
LIBHEIF_LIBS="$gd_lib_ldflags $LIBHEIF_LIBS" | ||||
LIBHEIF_CFLAGS="$gd_lib_cflags $LIBHEIF_CFLAGS" | ||||
as_fn_append LIBS " $LIBHEIF_LIBS" | ||||
as_fn_append CPPFLAGS " $LIBHEIF_CFLAGS" | ||||
if test -z "$gd_require_pkg_name"; then | ||||
as_fn_append LIBS_PRIVATES " $LIBHEIF_LIBS" | ||||
else | ||||
as_fn_append PKG_REQUIRES_PRIVATES " $gd_require_pkg_name" | ||||
fi | ||||
elif test "$gd_with_lib" = "yes"; then | ||||
as_fn_error $? "heif requested but not found" "$LINENO" 5 | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for heif" >&5 | ||||
$as_echo "$as_me: Disabling support for heif" >&6;} | ||||
fi | ||||
fi | ||||
if test "$gd_found_lib" = yes; then | ||||
HAVE_LIBHEIF_TRUE= | ||||
HAVE_LIBHEIF_FALSE='#' | ||||
else | ||||
HAVE_LIBHEIF_TRUE='#' | ||||
HAVE_LIBHEIF_FALSE= | ||||
fi | ||||
gd_with_LIBHEIF=$gd_found_lib | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support avif" | ||||
>&5 | ||||
$as_echo_n "checking whether to support avif... " >&6; } | ||||
# Check whether --with-avif was given. | ||||
if test "${with_avif+set}" = set; then : | ||||
withval=$with_avif; gd_with_lib=$withval | ||||
else | ||||
gd_with_lib=auto | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 | ||||
$as_echo "$gd_with_lib" >&6; } | ||||
gd_found_lib=no | ||||
gd_require_pkg_name="" | ||||
if test "$gd_with_lib" != "no"; then | ||||
save_CPPFLAGS=$CPPFLAGS | ||||
save_LDFLAGS=$LDFLAGS | ||||
gd_lib_ldflags= | ||||
gd_lib_cflags= | ||||
case $gd_with_lib in | ||||
yes|no|auto|"") ;; | ||||
*) | ||||
if test -d "$gd_with_lib/lib"; then | ||||
gd_lib_ldflags="-L$gd_with_lib/lib" | ||||
as_fn_append LDFLAGS " $gd_lib_ldflags" | ||||
fi | ||||
if test -d "$gd_with_lib/include"; then | ||||
gd_lib_cflags="-I$gd_with_lib/include" | ||||
as_fn_append CPPFLAGS " $gd_lib_cflags" | ||||
fi | ||||
;; | ||||
esac | ||||
pkg_failed=no | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavif >= 0.8.2" >&5 | ||||
$as_echo_n "checking for libavif >= 0.8.2... " >&6; } | ||||
if test -n "$LIBAVIF_CFLAGS"; then | ||||
pkg_cv_LIBAVIF_CFLAGS="$LIBAVIF_CFLAGS" | ||||
elif test -n "$PKG_CONFIG"; then | ||||
if test -n "$PKG_CONFIG" && \ | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err | ||||
ors \"libavif >= 0.8.2\""; } >&5 | ||||
($PKG_CONFIG --exists --print-errors "libavif >= 0.8.2") 2>&5 | ||||
ac_status=$? | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; }; then | ||||
pkg_cv_LIBAVIF_CFLAGS=`$PKG_CONFIG --cflags "libavif >= 0.8.2" 2>/dev/null` | ||||
test "x$?" != "x0" && pkg_failed=yes | ||||
else | ||||
pkg_failed=yes | ||||
fi | ||||
else | ||||
pkg_failed=untried | ||||
fi | ||||
if test -n "$LIBAVIF_LIBS"; then | ||||
pkg_cv_LIBAVIF_LIBS="$LIBAVIF_LIBS" | ||||
elif test -n "$PKG_CONFIG"; then | ||||
if test -n "$PKG_CONFIG" && \ | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err | ||||
ors \"libavif >= 0.8.2\""; } >&5 | ||||
($PKG_CONFIG --exists --print-errors "libavif >= 0.8.2") 2>&5 | ||||
ac_status=$? | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; }; then | ||||
pkg_cv_LIBAVIF_LIBS=`$PKG_CONFIG --libs "libavif >= 0.8.2" 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 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "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 | ||||
LIBAVIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c | ||||
flags --libs "libavif >= 0.8.2" 2>&1` | ||||
else | ||||
LIBAVIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "l | ||||
ibavif >= 0.8.2" 2>&1` | ||||
fi | ||||
# Put the nasty error message in config.log where it belongs | ||||
echo "$LIBAVIF_PKG_ERRORS" >&5 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avifVersion in -lavif" > | ||||
&5 | ||||
$as_echo_n "checking for avifVersion in -lavif... " >&6; } | ||||
if ${ac_cv_lib_avif_avifVersion+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lavif $LIBS" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
/* Override any GCC internal prototype to avoid an error. | ||||
Use char because int might match the return type of a GCC | ||||
builtin and then its argument prototype would still apply. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char avifVersion (); | ||||
int | ||||
main () | ||||
{ | ||||
return avifVersion (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_link "$LINENO"; then : | ||||
ac_cv_lib_avif_avifVersion=yes | ||||
else | ||||
ac_cv_lib_avif_avifVersion=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avif_avifVersion" >& | ||||
5 | ||||
$as_echo "$ac_cv_lib_avif_avifVersion" >&6; } | ||||
if test "x$ac_cv_lib_avif_avifVersion" = xyes; then : | ||||
as_fn_append LIBAVIF_LIBS " -lavif" | ||||
gd_found_lib=yes | ||||
fi | ||||
elif test $pkg_failed = untried; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avifVersion in -lavif" > | ||||
&5 | ||||
$as_echo_n "checking for avifVersion in -lavif... " >&6; } | ||||
if ${ac_cv_lib_avif_avifVersion+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lavif $LIBS" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
/* Override any GCC internal prototype to avoid an error. | ||||
Use char because int might match the return type of a GCC | ||||
builtin and then its argument prototype would still apply. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char avifVersion (); | ||||
int | ||||
main () | ||||
{ | ||||
return avifVersion (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_link "$LINENO"; then : | ||||
ac_cv_lib_avif_avifVersion=yes | ||||
else | ||||
ac_cv_lib_avif_avifVersion=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avif_avifVersion" >& | ||||
5 | ||||
$as_echo "$ac_cv_lib_avif_avifVersion" >&6; } | ||||
if test "x$ac_cv_lib_avif_avifVersion" = xyes; then : | ||||
as_fn_append LIBAVIF_LIBS " -lavif" | ||||
gd_found_lib=yes | ||||
fi | ||||
else | ||||
LIBAVIF_CFLAGS=$pkg_cv_LIBAVIF_CFLAGS | ||||
LIBAVIF_LIBS=$pkg_cv_LIBAVIF_LIBS | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||||
$as_echo "yes" >&6; } | ||||
gd_found_lib=yes gd_require_pkg_name="libavif >= 0.8.2" | ||||
fi | ||||
CPPFLAGS=$save_CPPFLAGS | ||||
LDFLAGS=$save_LDFLAGS | ||||
if test "$gd_found_lib" = "yes"; then | ||||
$as_echo "#define HAVE_LIBAVIF 1" >>confdefs.h | ||||
LIBAVIF_LIBS="$gd_lib_ldflags $LIBAVIF_LIBS" | ||||
LIBAVIF_CFLAGS="$gd_lib_cflags $LIBAVIF_CFLAGS" | ||||
as_fn_append LIBS " $LIBAVIF_LIBS" | ||||
as_fn_append CPPFLAGS " $LIBAVIF_CFLAGS" | ||||
if test -z "$gd_require_pkg_name"; then | ||||
as_fn_append LIBS_PRIVATES " $LIBAVIF_LIBS" | ||||
else | ||||
as_fn_append PKG_REQUIRES_PRIVATES " $gd_require_pkg_name" | ||||
fi | ||||
elif test "$gd_with_lib" = "yes"; then | ||||
as_fn_error $? "avif requested but not found" "$LINENO" 5 | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for avif" >&5 | ||||
$as_echo "$as_me: Disabling support for avif" >&6;} | ||||
fi | ||||
fi | ||||
if test "$gd_found_lib" = yes; then | ||||
HAVE_LIBAVIF_TRUE= | ||||
HAVE_LIBAVIF_FALSE='#' | ||||
else | ||||
HAVE_LIBAVIF_TRUE='#' | ||||
HAVE_LIBAVIF_FALSE= | ||||
fi | ||||
gd_with_LIBAVIF=$gd_found_lib | ||||
CFLAG_VISIBILITY= | CFLAG_VISIBILITY= | |||
HAVE_VISIBILITY=0 | HAVE_VISIBILITY=0 | |||
if test -n "$GCC"; then | if test -n "$GCC"; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility decl arations" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility decl arations" >&5 | |||
$as_echo_n "checking for simple visibility declarations... " >&6; } | $as_echo_n "checking for simple visibility declarations... " >&6; } | |||
if ${gl_cv_cc_visibility+:} false; then : | if ${gl_cv_cc_visibility+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
gl_save_CFLAGS="$CFLAGS" | gl_save_CFLAGS="$CFLAGS" | |||
skipping to change at line 16162 | skipping to change at line 16609 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: | { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |||
** Configuration summary for $PACKAGE $VERSION: | ** Configuration summary for $PACKAGE $VERSION: | |||
Support for gd/gd2 images: $gd_enable_gd_formats | Support for gd/gd2 images: $gd_enable_gd_formats | |||
Support for Zlib: $gd_with_LIBZ | Support for Zlib: $gd_with_LIBZ | |||
Support for PNG library: $gd_with_LIBPNG | Support for PNG library: $gd_with_LIBPNG | |||
Support for JPEG library: $gd_with_LIBJPEG | Support for JPEG library: $gd_with_LIBJPEG | |||
Support for WebP library: $gd_with_LIBWEBP | Support for WebP library: $gd_with_LIBWEBP | |||
Support for HEIF library: $gd_with_LIBHEIF | ||||
Support for AVIF library: $gd_with_LIBAVIF | ||||
Support for TIFF library: $gd_with_LIBTIFF | Support for TIFF library: $gd_with_LIBTIFF | |||
Support for Freetype 2.x library: $gd_with_LIBFREETYPE | Support for Freetype 2.x library: $gd_with_LIBFREETYPE | |||
Support for Fontconfig library: $gd_with_LIBFONTCONFIG | Support for Fontconfig library: $gd_with_LIBFONTCONFIG | |||
Support for Xpm library: $gd_with_LIBXPM | Support for Xpm library: $gd_with_LIBXPM | |||
Support for liq library: $gd_with_LIBIMAGEQUANT | Support for liq library: $gd_with_LIBIMAGEQUANT | |||
Support for complex text: $gd_with_LIBRAQM | Support for complex text: $gd_with_LIBRAQM | |||
Support for pthreads: $ax_pthread_ok | Support for pthreads: $ax_pthread_ok | |||
" >&5 | " >&5 | |||
$as_echo " | $as_echo " | |||
** Configuration summary for $PACKAGE $VERSION: | ** Configuration summary for $PACKAGE $VERSION: | |||
Support for gd/gd2 images: $gd_enable_gd_formats | Support for gd/gd2 images: $gd_enable_gd_formats | |||
Support for Zlib: $gd_with_LIBZ | Support for Zlib: $gd_with_LIBZ | |||
Support for PNG library: $gd_with_LIBPNG | Support for PNG library: $gd_with_LIBPNG | |||
Support for JPEG library: $gd_with_LIBJPEG | Support for JPEG library: $gd_with_LIBJPEG | |||
Support for WebP library: $gd_with_LIBWEBP | Support for WebP library: $gd_with_LIBWEBP | |||
Support for HEIF library: $gd_with_LIBHEIF | ||||
Support for AVIF library: $gd_with_LIBAVIF | ||||
Support for TIFF library: $gd_with_LIBTIFF | Support for TIFF library: $gd_with_LIBTIFF | |||
Support for Freetype 2.x library: $gd_with_LIBFREETYPE | Support for Freetype 2.x library: $gd_with_LIBFREETYPE | |||
Support for Fontconfig library: $gd_with_LIBFONTCONFIG | Support for Fontconfig library: $gd_with_LIBFONTCONFIG | |||
Support for Xpm library: $gd_with_LIBXPM | Support for Xpm library: $gd_with_LIBXPM | |||
Support for liq library: $gd_with_LIBIMAGEQUANT | Support for liq library: $gd_with_LIBIMAGEQUANT | |||
Support for complex text: $gd_with_LIBRAQM | Support for complex text: $gd_with_LIBRAQM | |||
Support for pthreads: $ax_pthread_ok | Support for pthreads: $ax_pthread_ok | |||
" >&6; } | " >&6; } | |||
ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile config/Ma kefile config/gdlib.pc" | ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile config/Ma kefile config/gdlib.pc" | |||
skipping to change at line 16365 | skipping to change at line 16816 | |||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |||
fi | fi | |||
if test -z "${HAVE_LIBTIFF_TRUE}" && test -z "${HAVE_LIBTIFF_FALSE}"; then | if test -z "${HAVE_LIBTIFF_TRUE}" && test -z "${HAVE_LIBTIFF_FALSE}"; then | |||
as_fn_error $? "conditional \"HAVE_LIBTIFF\" was never defined. | as_fn_error $? "conditional \"HAVE_LIBTIFF\" was never defined. | |||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |||
fi | fi | |||
if test -z "${HAVE_LIBWEBP_TRUE}" && test -z "${HAVE_LIBWEBP_FALSE}"; then | if test -z "${HAVE_LIBWEBP_TRUE}" && test -z "${HAVE_LIBWEBP_FALSE}"; then | |||
as_fn_error $? "conditional \"HAVE_LIBWEBP\" was never defined. | as_fn_error $? "conditional \"HAVE_LIBWEBP\" was never defined. | |||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |||
fi | fi | |||
if test -z "${HAVE_LIBHEIF_TRUE}" && test -z "${HAVE_LIBHEIF_FALSE}"; then | ||||
as_fn_error $? "conditional \"HAVE_LIBHEIF\" was never defined. | ||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||||
fi | ||||
if test -z "${HAVE_LIBAVIF_TRUE}" && test -z "${HAVE_LIBAVIF_FALSE}"; then | ||||
as_fn_error $? "conditional \"HAVE_LIBAVIF\" was never defined. | ||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||||
fi | ||||
: "${CONFIG_STATUS=./config.status}" | : "${CONFIG_STATUS=./config.status}" | |||
ac_write_fail=0 | ac_write_fail=0 | |||
ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files | |||
ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |||
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |||
as_write_fail=0 | as_write_fail=0 | |||
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |||
#! $SHELL | #! $SHELL | |||
skipping to change at line 16753 | skipping to change at line 17212 | |||
## Main body of $CONFIG_STATUS script. ## | ## Main body of $CONFIG_STATUS script. ## | |||
## ----------------------------------- ## | ## ----------------------------------- ## | |||
_ASEOF | _ASEOF | |||
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
# Save the log message, to keep $0 and so on meaningful, and to | # Save the log message, to keep $0 and so on meaningful, and to | |||
# report actual input values of CONFIG_FILES etc. instead of their | # report actual input values of CONFIG_FILES etc. instead of their | |||
# values after options handling. | # values after options handling. | |||
ac_log=" | ac_log=" | |||
This file was extended by GD $as_me 2.3.1, which was | This file was extended by GD $as_me 2.3.2, which was | |||
generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was | |||
CONFIG_FILES = $CONFIG_FILES | CONFIG_FILES = $CONFIG_FILES | |||
CONFIG_HEADERS = $CONFIG_HEADERS | CONFIG_HEADERS = $CONFIG_HEADERS | |||
CONFIG_LINKS = $CONFIG_LINKS | CONFIG_LINKS = $CONFIG_LINKS | |||
CONFIG_COMMANDS = $CONFIG_COMMANDS | CONFIG_COMMANDS = $CONFIG_COMMANDS | |||
$ $0 $@ | $ $0 $@ | |||
on `(hostname || uname -n) 2>/dev/null | sed 1q` | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
" | " | |||
skipping to change at line 16819 | skipping to change at line 17278 | |||
Configuration commands: | Configuration commands: | |||
$config_commands | $config_commands | |||
Report bugs to <https://github.com/libgd/libgd/issues>. | Report bugs to <https://github.com/libgd/libgd/issues>. | |||
GD home page: <http://lib.gd>." | GD home page: <http://lib.gd>." | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | |||
ac_cs_version="\\ | ac_cs_version="\\ | |||
GD config.status 2.3.1 | GD config.status 2.3.2 | |||
configured by $0, generated by GNU Autoconf 2.69, | configured by $0, generated by GNU Autoconf 2.69, | |||
with options \\"\$ac_cs_config\\" | with options \\"\$ac_cs_config\\" | |||
Copyright (C) 2012 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. | |||
This config.status script is free software; the Free Software Foundation | This config.status script is free software; the Free Software Foundation | |||
gives unlimited permission to copy, distribute and modify it." | gives unlimited permission to copy, distribute and modify it." | |||
ac_pwd='$ac_pwd' | ac_pwd='$ac_pwd' | |||
srcdir='$srcdir' | srcdir='$srcdir' | |||
INSTALL='$INSTALL' | INSTALL='$INSTALL' | |||
skipping to change at line 16938 | skipping to change at line 17397 | |||
## Running $as_me. ## | ## Running $as_me. ## | |||
_ASBOX | _ASBOX | |||
$as_echo "$ac_log" | $as_echo "$ac_log" | |||
} >&5 | } >&5 | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
# | # | |||
# INIT-COMMANDS | # INIT-COMMANDS | |||
# | # | |||
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |||
# The HP-UX ksh and POSIX shell print the target directory to stdout | # The HP-UX ksh and POSIX shell print the target directory to stdout | |||
# if CDPATH is set. | # if CDPATH is set. | |||
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |||
sed_quote_subst='$sed_quote_subst' | sed_quote_subst='$sed_quote_subst' | |||
double_quote_subst='$double_quote_subst' | double_quote_subst='$double_quote_subst' | |||
delay_variable_subst='$delay_variable_subst' | delay_variable_subst='$delay_variable_subst' | |||
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | |||
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | |||
skipping to change at line 17827 | skipping to change at line 18286 | |||
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |||
$as_echo "$as_me: executing $ac_file commands" >&6;} | $as_echo "$as_me: executing $ac_file commands" >&6;} | |||
;; | ;; | |||
esac | esac | |||
case $ac_file$ac_mode in | case $ac_file$ac_mode in | |||
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |||
# Older Autoconf quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files | |||
# are listed without --file. Let's play safe and only enable the eval | # are listed without --file. Let's play safe and only enable the eval | |||
# if we detect the quoting. | # if we detect the quoting. | |||
case $CONFIG_FILES in | # TODO: see whether this extra hack can be removed once we start | |||
*\'*) eval set x "$CONFIG_FILES" ;; | # requiring Autoconf 2.70 or later. | |||
*) set x $CONFIG_FILES ;; | case $CONFIG_FILES in #( | |||
esac | *\'*) : | |||
eval set x "$CONFIG_FILES" ;; #( | ||||
*) : | ||||
set x $CONFIG_FILES ;; #( | ||||
*) : | ||||
;; | ||||
esac | ||||
shift | shift | |||
for mf | # Used to flag and report bootstrapping failures. | |||
am_rc=0 | ||||
for am_mf | ||||
do | do | |||
# Strip MF so we end up with the name of the file. | # Strip MF so we end up with the name of the file. | |||
mf=`echo "$mf" | sed -e 's/:.*$//'` | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |||
# Check whether this is an Automake generated Makefile or not. | # Check whether this is an Automake generated Makefile which includes | |||
# We used to match only the files named 'Makefile.in', but | # dependency-tracking related rules and includes. | |||
# some people rename them; so instead we look at the file content. | # Grep'ing the whole file directly is not great: AIX grep has a line | |||
# Grep'ing the first line is not enough: some people post-process | ||||
# each Makefile.in and add a new line on top of each file to say so. | ||||
# Grep'ing the whole file is not good either: AIX grep has a line | ||||
# limit of 2048, but all sed's we know have understand at least 4000. | # limit of 2048, but all sed's we know have understand at least 4000. | |||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |||
; then | || continue | |||
dirpart=`$as_dirname -- "$mf" || | am_dirpart=`$as_dirname -- "$am_mf" || | |||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |||
X"$mf" : 'X\(//\)[^/]' \| \ | X"$am_mf" : 'X\(//\)[^/]' \| \ | |||
X"$mf" : 'X\(//\)$' \| \ | X"$am_mf" : 'X\(//\)$' \| \ | |||
X"$mf" : 'X\(/\)' \| . 2>/dev/null || | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |||
$as_echo X"$mf" | | $as_echo X"$am_mf" | | |||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)[^/].*/{ | /^X\(\/\/\)[^/].*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)$/{ | /^X\(\/\/\)$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\).*/{ | /^X\(\/\).*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
s/.*/./; q'` | s/.*/./; q'` | |||
else | am_filepart=`$as_basename -- "$am_mf" || | |||
continue | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |||
fi | X"$am_mf" : 'X\(//\)$' \| \ | |||
# Extract the definition of DEPDIR, am__include, and am__quote | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |||
# from the Makefile without running 'make'. | $as_echo X/"$am_mf" | | |||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |||
test -z "$DEPDIR" && continue | ||||
am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||||
test -z "$am__include" && continue | ||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||||
# Find all dependency output files, they are included files with | ||||
# $(DEPDIR) in their names. We invoke sed twice because it is the | ||||
# simplest approach to changing $(DEPDIR) to its actual value in the | ||||
# expansion. | ||||
for file in `sed -n " | ||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | ||||
# Make sure the directory exists. | ||||
test -f "$dirpart/$file" && continue | ||||
fdir=`$as_dirname -- "$file" || | ||||
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||||
X"$file" : 'X\(//\)[^/]' \| \ | ||||
X"$file" : 'X\(//\)$' \| \ | ||||
X"$file" : 'X\(/\)' \| . 2>/dev/null || | ||||
$as_echo X"$file" | | ||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||||
s//\1/ | ||||
q | ||||
} | ||||
/^X\(\/\/\)[^/].*/{ | ||||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)$/{ | /^X\/\(\/\/\)$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\).*/{ | /^X\/\(\/\).*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
s/.*/./; q'` | s/.*/./; q'` | |||
as_dir=$dirpart/$fdir; as_fn_mkdir_p | { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |||
# echo "creating $dirpart/$file" | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |||
echo '# dummy' > "$dirpart/$file" | | $MAKE -f - am--depfiles" >&5 | |||
done | (cd "$am_dirpart" \ | |||
&& sed -e '/# am--include-marker/d' "$am_filepart" \ | ||||
| $MAKE -f - am--depfiles) >&5 2>&5 | ||||
ac_status=$? | ||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||||
(exit $ac_status); } || am_rc=$? | ||||
done | done | |||
if test $am_rc -ne 0; then | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||||
as_fn_error $? "Something went wrong bootstrapping makefile fragments | ||||
for automatic dependency tracking. If GNU make was not used, consider | ||||
re-running the configure script with MAKE=\"gmake\" (or whatever is | ||||
necessary). You can also try re-running configure with the | ||||
'--disable-dependency-tracking' option to at least be able to build | ||||
the package (albeit without support for automatic dependency tracking). | ||||
See \`config.log' for more details" "$LINENO" 5; } | ||||
fi | ||||
{ am_dirpart=; unset am_dirpart;} | ||||
{ am_filepart=; unset am_filepart;} | ||||
{ am_mf=; unset am_mf;} | ||||
{ am_rc=; unset am_rc;} | ||||
rm -f conftest-deps.mk | ||||
} | } | |||
;; | ;; | |||
"libtool":C) | "libtool":C) | |||
# See if we are running on zsh, and set the options that allow our | # See if we are running on zsh, and set the options that allow our | |||
# commands through without removal of \ escapes. | # commands through without removal of \ escapes. | |||
if test -n "${ZSH_VERSION+set}"; then | if test -n "${ZSH_VERSION+set}"; then | |||
setopt NO_GLOB_SUBST | setopt NO_GLOB_SUBST | |||
fi | fi | |||
cfgfile=${ofile}T | cfgfile=${ofile}T | |||
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | |||
$RM "$cfgfile" | $RM "$cfgfile" | |||
cat <<_LT_EOF >> "$cfgfile" | cat <<_LT_EOF >> "$cfgfile" | |||
#! $SHELL | #! $SHELL | |||
# Generated automatically by $as_me ($PACKAGE) $VERSION | # Generated automatically by $as_me ($PACKAGE) $VERSION | |||
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | ||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh. | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | |||
# Provide generalized library-building support services. | # Provide generalized library-building support services. | |||
# Written by Gordon Matzigkeit, 1996 | # Written by Gordon Matzigkeit, 1996 | |||
# Copyright (C) 2014 Free Software Foundation, Inc. | # Copyright (C) 2014 Free Software Foundation, Inc. | |||
# This is free software; see the source for copying conditions. There is NO | # This is free software; see the source for copying conditions. There is NO | |||
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
# GNU Libtool is free software; you can redistribute it and/or modify | # GNU Libtool is free software; you can redistribute it and/or modify | |||
End of changes. 86 change blocks. | ||||
187 lines changed or deleted | 668 lines changed or added |