diff options
author | Marti Maria <marti.maria@littlecms.com> | 2020-04-25 19:26:57 +0200 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2020-04-25 19:26:57 +0200 |
commit | c83ab8736f5c3fba2869eaf0b9f42edab7b00a10 (patch) | |
tree | 50ce49a3df55b3ad73f22e18dbf284a7ab8c661b /configure | |
parent | 6f2d01393fe02c7caa99f1d9c1b99fafb1bbd82c (diff) | |
download | lcms2-c83ab8736f5c3fba2869eaf0b9f42edab7b00a10.tar.gz |
Attempt to upgrade configure script to 2.10
Fix plugins issue as well.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 96 |
1 files changed, 51 insertions, 45 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for lcms2 2.9. +# Generated by GNU Autoconf 2.69 for lcms2 2.10. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='lcms2' PACKAGE_TARNAME='lcms2' -PACKAGE_VERSION='2.9' -PACKAGE_STRING='lcms2 2.9' +PACKAGE_VERSION='2.10' +PACKAGE_STRING='lcms2 2.10' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -760,7 +760,6 @@ infodir docdir oldincludedir includedir -runstatedir localstatedir sharedstatedir sysconfdir @@ -849,7 +848,6 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1102,15 +1100,6 @@ do | -silent | --silent | --silen | --sile | --sil) 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) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1248,7 +1237,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir runstatedir + libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1361,7 +1350,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures lcms2 2.9 to adapt to many kinds of systems. +\`configure' configures lcms2 2.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1401,7 +1390,6 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1432,7 +1420,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lcms2 2.9:";; + short | recursive ) echo "Configuration of lcms2 2.10:";; esac cat <<\_ACEOF @@ -1547,7 +1535,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -lcms2 configure 2.9 +lcms2 configure 2.10 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2033,7 +2021,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lcms2 $as_me 2.9, which was +It was created by lcms2 $as_me 2.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2407,7 +2395,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # then set age to 0. # LIBRARY_CURRENT=2 -LIBRARY_REVISION=8 +LIBRARY_REVISION=10 LIBRARY_AGE=0 @@ -2999,7 +2987,7 @@ fi # Define the identity of the package. PACKAGE='lcms2' - VERSION='2.9' + VERSION='2.10' # Some tools Automake needs. @@ -16938,7 +16926,8 @@ else fi - ac_fn_c_check_header_mongrel "$LINENO" "jmorecfg.h" "ac_cv_header_jmorecfg_h" "$ac_includes_default" + ac_fn_c_check_header_compile "$LINENO" "jmorecfg.h" "ac_cv_header_jmorecfg_h" "#include <jconfig.h> +" if test "x$ac_cv_header_jmorecfg_h" = xyes; then : passed=`expr $passed + 1` else @@ -18220,7 +18209,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lcms2 $as_me 2.9, which was +This file was extended by lcms2 $as_me 2.10, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18277,7 +18266,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -lcms2 config.status 2.9 +lcms2 config.status 2.10 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -19570,7 +19559,7 @@ shlibpath_overrides_runpath=$shlibpath_overrides_runpath libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME +# The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. @@ -19686,7 +19675,7 @@ allow_undefined_flag=$lt_allow_undefined_flag no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist +# This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. @@ -19793,9 +19782,12 @@ ltmain="$ac_aux_dir/ltmain.sh" sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ func_dirname ()\ {\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ +\ case ${1} in +\ +\ */*) func_dirname_result="${1%/*}${2}" ;; +\ +\ * ) func_dirname_result="${3}" ;; +\ \ esac\ } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19816,10 +19808,14 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ func_dirname_and_basename ()\ {\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ +\ case ${1} in +\ +\ */*) func_dirname_result="${1%/*}${2}" ;; +\ +\ * ) func_dirname_result="${3}" ;; +\ +\ esac +\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19830,10 +19826,14 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ func_stripname ()\ {\ -\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -\ # positional parameters, so assign one to ordinary parameter first.\ -\ func_stripname_result=${3}\ -\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are +\ +\ # positional parameters, so assign one to ordinary parameter first. +\ +\ func_stripname_result=${3} +\ +\ func_stripname_result=${func_stripname_result#"${1}"} +\ \ func_stripname_result=${func_stripname_result%"${2}"}\ } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19844,7 +19844,8 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ func_split_long_opt ()\ {\ -\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_name=${1%%=*} +\ \ func_split_long_opt_arg=${1#*=}\ } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19855,7 +19856,8 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ func_split_short_opt ()\ {\ -\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_arg=${1#??} +\ \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19866,9 +19868,12 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ func_lo2o ()\ {\ -\ case ${1} in\ -\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -\ *) func_lo2o_result=${1} ;;\ +\ case ${1} in +\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;; +\ +\ *) func_lo2o_result=${1} ;; +\ \ esac\ } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -19921,7 +19926,8 @@ test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ func_append_quoted ()\ {\ -\ func_quote_for_eval "${2}"\ +\ func_quote_for_eval "${2}" +\ \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ @@ -20028,7 +20034,7 @@ allow_undefined_flag=$lt_allow_undefined_flag_CXX no_undefined_flag=$lt_no_undefined_flag_CXX # Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist +# This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # Whether we need a single "-rpath" flag with a separated argument. |