Ignore:
Timestamp:
Feb 8, 2017, 8:58:22 PM (8 years ago)
Author:
Silvan Scherrer
Message:

xz: update vendor to version 5.2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified xz/vendor/current/configure

    r1791 r1993  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for XZ Utils 5.2.2.
     3# Generated by GNU Autoconf 2.69 for XZ Utils 5.2.3.
    44#
    55# Report bugs to <lasse.collin@tukaani.org>.
     
    591591PACKAGE_NAME='XZ Utils'
    592592PACKAGE_TARNAME='xz'
    593 PACKAGE_VERSION='5.2.2'
    594 PACKAGE_STRING='XZ Utils 5.2.2'
     593PACKAGE_VERSION='5.2.3'
     594PACKAGE_STRING='XZ Utils 5.2.3'
    595595PACKAGE_BUGREPORT='lasse.collin@tukaani.org'
    596596PACKAGE_URL='http://tukaani.org/xz/'
     
    643643HAVE_VISIBILITY
    644644CFLAG_VISIBILITY
     645CAPSICUM_LIB
    645646COND_INTERNAL_SHA256_FALSE
    646647COND_INTERNAL_SHA256_TRUE
     
    903904enable_match_finders
    904905enable_checks
     906enable_external_sha256
    905907enable_assembler
    906908enable_small
     
    915917enable_doc
    916918enable_symbol_versions
     919enable_sandbox
    917920enable_silent_rules
    918921enable_dependency_tracking
     
    14851488  # This message is too long to be a string in the A/UX 3.1 sh.
    14861489  cat <<_ACEOF
    1487 \`configure' configures XZ Utils 5.2.2 to adapt to many kinds of systems.
     1490\`configure' configures XZ Utils 5.2.3 to adapt to many kinds of systems.
    14881491
    14891492Usage: $0 [OPTION]... [VAR=VALUE]...
     
    15551558if test -n "$ac_init_help"; then
    15561559  case $ac_init_help in
    1557      short | recursive ) echo "Configuration of XZ Utils 5.2.2:";;
     1560     short | recursive ) echo "Configuration of XZ Utils 5.2.3:";;
    15581561   esac
    15591562  cat <<\_ACEOF
     
    15781581                          Default=all. Available integrity checks: crc32 crc64
    15791582                          sha256
     1583  --enable-external-sha256
     1584                          Use SHA-256 code from the operating system. See
     1585                          INSTALL for possible subtle problems.
    15801586  --disable-assembler     Do not use assembler optimizations even if such
    15811587                          exist for the architecture.
     
    16051611                          default on GNU/Linux, other GNU-based systems, and
    16061612                          FreeBSD.
     1613  --enable-sandbox=METHOD This is an experimental feature. Sandboxing METHOD
     1614                          can be `auto', `no', or `capsicum'. The default is
     1615                          `no'.
    16071616  --enable-silent-rules   less verbose build output (undo: "make V=1")
    16081617  --disable-silent-rules  verbose build output (undo: "make V=0")
     
    16381647  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
    16391648                          compiler's sysroot if not specified).
    1640   --with-gnu-ld           assume the C compiler uses GNU ld default=no
     1649  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    16411650  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    16421651  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
     
    17251734if $ac_init_version; then
    17261735  cat <<\_ACEOF
    1727 XZ Utils configure 5.2.2
     1736XZ Utils configure 5.2.3
    17281737generated by GNU Autoconf 2.69
    17291738
     
    25642573running configure, to aid debugging if configure makes a mistake.
    25652574
    2566 It was created by XZ Utils $as_me 5.2.2, which was
     2575It was created by XZ Utils $as_me 5.2.3, which was
    25672576generated by GNU Autoconf 2.69.  Invocation command line was
    25682577
     
    31313140enable_encoders=`echo "$enable_encoders" | sed 's/,/ /g'`
    31323141if test "x$enable_encoders" = xno || test "x$enable_encoders" = x; then
     3142        enable_encoders=no
    31333143        { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
    31343144$as_echo "(none)" >&6; }
     
    32073217                esac
    32083218        done
     3219
     3220$as_echo "#define HAVE_ENCODERS 1" >>confdefs.h
     3221
    32093222        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_encoders" >&5
    32103223$as_echo "$enable_encoders" >&6; }
     
    32223235enable_decoders=`echo "$enable_decoders" | sed 's/,/ /g'`
    32233236if test "x$enable_decoders" = xno || test "x$enable_decoders" = x; then
     3237        enable_decoders=no
    32243238        { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
    32253239$as_echo "(none)" >&6; }
     
    32993313        done
    33003314
    3301         # LZMA2 requires that LZMA1 is enabled.
    3302         test "x$enable_encoder_lzma2" = xyes && enable_encoder_lzma1=yes
    3303         test "x$enable_decoder_lzma2" = xyes && enable_decoder_lzma1=yes
     3315$as_echo "#define HAVE_DECODERS 1" >>confdefs.h
    33043316
    33053317        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decoders" >&5
     
    33123324fi
    33133325
    3314  if test "x$enable_encoders" != xno && test "x$enable_encoders" != x; then
     3326 if test "x$enable_encoders" != xno; then
    33153327  COND_MAIN_ENCODER_TRUE=
    33163328  COND_MAIN_ENCODER_FALSE='#'
     
    33203332fi
    33213333
    3322  if test "x$enable_decoders" != xno && test "x$enable_decoders" != x; then
     3334 if test "x$enable_decoders" != xno; then
    33233335  COND_MAIN_DECODER_TRUE=
    33243336  COND_MAIN_DECODER_FALSE='#'
     
    37853797
    37863798
     3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if external SHA-256 should be used" >&5
     3800$as_echo_n "checking if external SHA-256 should be used... " >&6; }
     3801# Check whether --enable-external-sha256 was given.
     3802if test "${enable_external_sha256+set}" = set; then :
     3803  enableval=$enable_external_sha256;
     3804else
     3805  enable_external_sha256=no
     3806fi
     3807
     3808if test "x$enable_check_sha256" != "xyes"; then
     3809        enable_external_sha256=no
     3810fi
     3811if test "x$enable_external_sha256" = xyes; then
     3812        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3813$as_echo "yes" >&6; }
     3814else
     3815        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3816$as_echo "no" >&6; }
     3817fi
     3818
    37873819
    37883820###########################
     
    39894021fi
    39904022
     4023test "x$enable_decoders" = xno && enable_xzdec=no
    39914024 if test x$enable_xzdec != xno; then
    39924025  COND_XZDEC_TRUE=
     
    40054038fi
    40064039
     4040test "x$enable_decoder_lzma1" = xno && enable_lzmadec=no
    40074041 if test x$enable_lzmadec != xno; then
    40084042  COND_LZMADEC_TRUE=
     
    40214055fi
    40224056
     4057test "x$enable_decoder_lzma1" = xno && enable_lzmainfo=no
    40234058 if test x$enable_lzmainfo != xno; then
    40244059  COND_LZMAINFO_TRUE=
     
    41164151fi
    41174152
     4153
     4154
     4155##############
     4156# Sandboxing #
     4157##############
     4158
     4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sandboxing should be used" >&5
     4160$as_echo_n "checking if sandboxing should be used... " >&6; }
     4161# Check whether --enable-sandbox was given.
     4162if test "${enable_sandbox+set}" = set; then :
     4163  enableval=$enable_sandbox;
     4164else
     4165  enable_sandbox=no
     4166fi
     4167
     4168case $enable_sandbox in
     4169        auto)
     4170                { $as_echo "$as_me:${as_lineno-$LINENO}: result: maybe (autodetect)" >&5
     4171$as_echo "maybe (autodetect)" >&6; }
     4172                ;;
     4173        no | capsicum)
     4174                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
     4175$as_echo "$enable_sandbox" >&6; }
     4176                ;;
     4177        *)
     4178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
     4179$as_echo "" >&6; }
     4180                as_fn_error $? "--enable-sandbox only accepts \`auto', \`no', or \`capsicum'." "$LINENO" 5
     4181                ;;
     4182esac
    41184183
    41194184
     
    46764741# Define the identity of the package.
    46774742 PACKAGE='xz'
    4678  VERSION='5.2.2'
     4743 VERSION='5.2.3'
    46794744
    46804745
     
    1523415299
    1523515300
    15236 mkdir_p="$MKDIR_P"
    15237 case $mkdir_p in
    15238   [\\/$]* | ?:[\\/]*) ;;
    15239   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    15240 esac
    15241 
    15242 
    1524315301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
    1524415302$as_echo_n "checking whether NLS is requested... " >&6; }
     
    1525615314
    1525715315
    15258       GETTEXT_MACRO_VERSION=0.18
     15316      GETTEXT_MACRO_VERSION=0.19
    1525915317
    1526015318
     
    1526415322# The user is always right.
    1526515323if test "${PATH_SEPARATOR+set}" != set; then
    15266   echo "#! /bin/sh" >conf$$.sh
    15267   echo  "exit 0"   >>conf$$.sh
    15268   chmod +x conf$$.sh
    15269   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15270     PATH_SEPARATOR=';'
    15271   else
    15272     PATH_SEPARATOR=:
    15273   fi
    15274   rm -f conf$$.sh
     15324  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15325  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15326  # so we have to set that as well for the test.
     15327  PATH_SEPARATOR=:
     15328  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15329    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15330           || PATH_SEPARATOR=';'
     15331       }
    1527515332fi
    1527615333
     
    1538715444# The user is always right.
    1538815445if test "${PATH_SEPARATOR+set}" != set; then
    15389   echo "#! /bin/sh" >conf$$.sh
    15390   echo  "exit 0"   >>conf$$.sh
    15391   chmod +x conf$$.sh
    15392   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15393     PATH_SEPARATOR=';'
    15394   else
    15395     PATH_SEPARATOR=:
    15396   fi
    15397   rm -f conf$$.sh
     15446  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15447  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15448  # so we have to set that as well for the test.
     15449  PATH_SEPARATOR=:
     15450  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15451    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15452           || PATH_SEPARATOR=';'
     15453       }
    1539815454fi
    1539915455
     
    1546515521# The user is always right.
    1546615522if test "${PATH_SEPARATOR+set}" != set; then
    15467   echo "#! /bin/sh" >conf$$.sh
    15468   echo  "exit 0"   >>conf$$.sh
    15469   chmod +x conf$$.sh
    15470   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15471     PATH_SEPARATOR=';'
    15472   else
    15473     PATH_SEPARATOR=:
    15474   fi
    15475   rm -f conf$$.sh
     15523  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15524  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15525  # so we have to set that as well for the test.
     15526  PATH_SEPARATOR=:
     15527  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15528    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15529           || PATH_SEPARATOR=';'
     15530       }
    1547615531fi
    1547715532
     
    1555715612
    1555815613
     15614
    1555915615# Check whether --with-gnu-ld was given.
    1556015616if test "${with_gnu_ld+set}" = set; then :
     
    1556715623# The user is always right.
    1556815624if test "${PATH_SEPARATOR+set}" != set; then
    15569   echo "#! /bin/sh" >conf$$.sh
    15570   echo  "exit 0"   >>conf$$.sh
    15571   chmod +x conf$$.sh
    15572   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15573     PATH_SEPARATOR=';'
    15574   else
    15575     PATH_SEPARATOR=:
    15576   fi
    15577   rm -f conf$$.sh
    15578 fi
     15625  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15626  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15627  # so we have to set that as well for the test.
     15628  PATH_SEPARATOR=:
     15629  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15630    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15631           || PATH_SEPARATOR=';'
     15632       }
     15633fi
     15634
    1557915635ac_prog=ld
    1558015636if test "$GCC" = yes; then
    1558115637  # Check if gcc -print-prog-name=ld gives a path.
    15582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
    15583 $as_echo_n "checking for ld used by GCC... " >&6; }
     15638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     15639$as_echo_n "checking for ld used by $CC... " >&6; }
    1558415640  case $host in
    1558515641  *-*-mingw*)
     
    1559115647  case $ac_prog in
    1559215648    # Accept absolute paths.
    15593     [\\/]* | [A-Za-z]:[\\/]*)
     15649    [\\/]* | ?:[\\/]*)
    1559415650      re_direlt='/[^/][^/]*/\.\./'
    15595       # Canonicalize the path of ld
    15596       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    15597       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
     15651      # Canonicalize the pathname of ld
     15652      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
     15653      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
    1559815654        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    1559915655      done
     
    1562015676else
    1562115677  if test -z "$LD"; then
    15622   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     15678  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1562315679  for ac_dir in $PATH; do
     15680    IFS="$acl_save_ifs"
    1562415681    test -z "$ac_dir" && ac_dir=.
    1562515682    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1562615683      acl_cv_path_LD="$ac_dir/$ac_prog"
    1562715684      # Check to see if the program is GNU ld.  I'd rather use --version,
    15628       # but apparently some GNU ld's only accept -v.
     15685      # but apparently some variants of GNU ld only accept -v.
    1562915686      # Break only if it was the GNU/non-GNU ld that we prefer.
    15630       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
     15687      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
    1563115688      *GNU* | *'with BFD'*)
    15632         test "$with_gnu_ld" != no && break ;;
     15689        test "$with_gnu_ld" != no && break
     15690        ;;
    1563315691      *)
    15634         test "$with_gnu_ld" != yes && break ;;
     15692        test "$with_gnu_ld" != yes && break
     15693        ;;
    1563515694      esac
    1563615695    fi
    1563715696  done
    15638   IFS="$ac_save_ifs"
     15697  IFS="$acl_save_ifs"
    1563915698else
    1564015699  acl_cv_path_LD="$LD" # Let the user override the test with a path.
     
    1565615715  $as_echo_n "(cached) " >&6
    1565715716else
    15658   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
     15717  # I'd rather use --version here, but apparently some GNU lds only accept -v.
    1565915718case `$LD -v 2>&1 </dev/null` in
    1566015719*GNU* | *'with BFD'*)
    15661   acl_cv_prog_gnu_ld=yes ;;
     15720  acl_cv_prog_gnu_ld=yes
     15721  ;;
    1566215722*)
    15663   acl_cv_prog_gnu_ld=no ;;
     15723  acl_cv_prog_gnu_ld=no
     15724  ;;
    1566415725esac
    1566515726fi
     
    1584415905      if test -z "$already_handled"; then
    1584515906        names_already_handled="$names_already_handled $name"
    15846                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
     15907                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
    1584715908        eval value=\"\$HAVE_LIB$uppername\"
    1584815909        if test -n "$value"; then
     
    1637316434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1637416435/* end confdefs.h.  */
     16436
    1637516437#include <libintl.h>
    1637616438$gt_revision_test_code
    1637716439extern int _nl_msg_cat_cntr;
    1637816440extern int *_nl_domain_bindings;
     16441
    1637916442int
    1638016443main ()
    1638116444{
     16445
    1638216446bindtextdomain ("", "");
    1638316447return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
     16448
    1638416449  ;
    1638516450  return 0;
     
    1643916504    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1644016505/* end confdefs.h.  */
     16506
    1644116507#include <stdlib.h>
    1644216508#include <iconv.h>
     16509
    1644316510int
    1644416511main ()
    1644516512{
    1644616513iconv_t cd = iconv_open("","");
    16447        iconv(cd,NULL,NULL,NULL,NULL);
    16448        iconv_close(cd);
     16514           iconv(cd,NULL,NULL,NULL,NULL);
     16515           iconv_close(cd);
    1644916516  ;
    1645016517  return 0;
     
    1646116528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1646216529/* end confdefs.h.  */
     16530
    1646316531#include <stdlib.h>
    1646416532#include <iconv.h>
     16533
    1646516534int
    1646616535main ()
    1646716536{
    1646816537iconv_t cd = iconv_open("","");
    16469          iconv(cd,NULL,NULL,NULL,NULL);
    16470          iconv_close(cd);
     16538             iconv(cd,NULL,NULL,NULL,NULL);
     16539             iconv_close(cd);
    1647116540  ;
    1647216541  return 0;
     
    1649216561else
    1649316562
    16494             am_save_LIBS="$LIBS"
     16563                  am_save_LIBS="$LIBS"
    1649516564      if test $am_cv_lib_iconv = yes; then
    1649616565        LIBS="$LIBS $LIBICONV"
    1649716566      fi
    1649816567      if test "$cross_compiling" = yes; then :
    16499   case "$host_os" in
     16568
     16569         case "$host_os" in
    1650016570           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
    1650116571           *)            am_cv_func_iconv_works="guessing yes" ;;
    1650216572         esac
     16573
    1650316574else
    1650416575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     
    1650916580int main ()
    1651016581{
     16582  int result = 0;
    1651116583  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
    1651216584     returns.  */
     
    1652516597                            &outptr, &outbytesleft);
    1652616598        if (res == 0)
    16527           return 1;
     16599          result |= 1;
     16600        iconv_close (cd_utf8_to_88591);
    1652816601      }
    1652916602  }
     
    1654416617                            &outptr, &outbytesleft);
    1654516618        if (res == 0)
    16546           return 1;
     16619          result |= 2;
     16620        iconv_close (cd_ascii_to_88591);
     16621      }
     16622  }
     16623  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
     16624  {
     16625    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
     16626    if (cd_88591_to_utf8 != (iconv_t)(-1))
     16627      {
     16628        static const char input[] = "\304";
     16629        static char buf[2] = { (char)0xDE, (char)0xAD };
     16630        const char *inptr = input;
     16631        size_t inbytesleft = 1;
     16632        char *outptr = buf;
     16633        size_t outbytesleft = 1;
     16634        size_t res = iconv (cd_88591_to_utf8,
     16635                            (char **) &inptr, &inbytesleft,
     16636                            &outptr, &outbytesleft);
     16637        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
     16638          result |= 4;
     16639        iconv_close (cd_88591_to_utf8);
    1654716640      }
    1654816641  }
     
    1656316656                            &outptr, &outbytesleft);
    1656416657        if ((int)res > 0)
    16565           return 1;
     16658          result |= 8;
     16659        iconv_close (cd_88591_to_utf8);
    1656616660      }
    1656716661  }
     
    1657716671      /* Try HP-UX names.  */
    1657816672      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
    16579     return 1;
    16580   return 0;
     16673    result |= 16;
     16674  return result;
    1658116675}
    1658216676_ACEOF
     
    1669516789      if test -z "$already_handled"; then
    1669616790        names_already_handled="$names_already_handled $name"
    16697                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
     16791                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
    1669816792        eval value=\"\$HAVE_LIB$uppername\"
    1669916793        if test -n "$value"; then
     
    1709317187                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1709417188/* end confdefs.h.  */
     17189
    1709517190#include <libintl.h>
    1709617191$gt_revision_test_code
     
    1710117196#endif
    1710217197const char *_nl_expand_alias (const char *);
     17198
    1710317199int
    1710417200main ()
    1710517201{
     17202
    1710617203bindtextdomain ("", "");
    1710717204return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     17205
    1710817206  ;
    1710917207  return 0;
     
    1712117219              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1712217220/* end confdefs.h.  */
     17221
    1712317222#include <libintl.h>
    1712417223$gt_revision_test_code
     
    1712917228#endif
    1713017229const char *_nl_expand_alias (const char *);
     17230
    1713117231int
    1713217232main ()
    1713317233{
     17234
    1713417235bindtextdomain ("", "");
    1713517236return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     17237
    1713617238  ;
    1713717239  return 0;
     
    1714017242if ac_fn_c_try_link "$LINENO"; then :
    1714117243  LIBINTL="$LIBINTL $LIBICONV"
    17142                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
    17143                 eval "$gt_func_gnugettext_libintl=yes"
     17244                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
     17245                 eval "$gt_func_gnugettext_libintl=yes"
    1714417246
    1714517247fi
     
    1810318205
    1810418206# Find the best function to set timestamps.
    18105 for ac_func in futimens futimes futimesat utimes utime
     18207for ac_func in futimens futimes futimesat utimes _futime utime
    1810618208do :
    1810718209  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1859818700
    1859918701
     18702# glibc-based systems (GNU/Linux and GNU/kFreeBSD) have sched_getaffinity().
     18703# The CPU_COUNT() macro was added in glibc 2.9 so we try to link the
     18704# test program instead of merely compiling it. glibc 2.9 is old enough that
     18705# if someone uses the code on older glibc, the fallback to sysconf() should
     18706# be good enough.
     18707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     18708/* end confdefs.h.  */
     18709
     18710#include <sched.h>
     18711int
     18712main(void)
     18713{
     18714        cpu_set_t cpu_mask;
     18715        sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask);
     18716        return CPU_COUNT(&cpu_mask);
     18717}
     18718
     18719_ACEOF
     18720if ac_fn_c_try_link "$LINENO"; then :
     18721  tuklib_cv_cpucores_method=sched_getaffinity
     18722else
     18723
     18724
    1860018725# FreeBSD has both cpuset and sysctl. Look for cpuset first because
    1860118726# it's a better approach.
     18727#
     18728# This test would match on GNU/kFreeBSD too but it would require
     18729# -lfreebsd-glue when linking and thus in the current form this would
     18730# fail on GNU/kFreeBSD. The above test for sched_getaffinity() matches
     18731# on GNU/kFreeBSD so the test below should never run on that OS.
    1860218732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1860318733/* end confdefs.h.  */
     
    1871118841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1871218842fi
     18843rm -f core conftest.err conftest.$ac_objext \
     18844    conftest$ac_exeext conftest.$ac_ext
     18845fi
    1871318846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1871418847fi
     
    1871718850
    1871818851case $tuklib_cv_cpucores_method in
     18852        sched_getaffinity)
     18853
     18854$as_echo "#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1" >>confdefs.h
     18855
     18856                ;;
    1871918857        cpuset)
    1872018858
     
    1879118929
    1879218930
    18793 # Check for system-provided SHA-256. At least the following is supported:
     18931# If requsted, check for system-provided SHA-256. At least the following
     18932# implementations are supported:
    1879418933#
    1879518934# OS       Headers                     Library  Type           Function
     
    1879818937# OpenBSD  sys/types.h + sha2.h                 SHA2_CTX       SHA256Init
    1879918938# Solaris  sys/types.h + sha2.h        libmd    SHA256_CTX     SHA256Init
    18800 # MINIX 3  sys/types.h + minix/sha2.h  libutil  SHA256_CTX     SHA256_Init
     18939# MINIX 3  sys/types.h + sha2.h                 SHA256_CTX     SHA256_Init
    1880118940# Darwin   CommonCrypto/CommonDigest.h          CC_SHA256_CTX  CC_SHA256_Init
    1880218941#
     
    1880418943# of size_t.
    1880518944#
    18806 # We don't check for e.g. OpenSSL or libgcrypt because we don't want
    18807 # to introduce dependencies to other packages by default. Maybe such
    18808 # libraries could be supported via additional configure options though.
    18809 #
    18810 if test "x$enable_check_sha256" = "xyes"; then
     18945sha256_header_found=no
     18946sha256_type_found=no
     18947sha256_func_found=no
     18948if test "x$enable_external_sha256" = "xyes"; then
    1881118949        # Test for Common Crypto before others, because Darwin has sha256.h
    1881218950        # too and we don't want to use that, because on older versions it
    1881318951        # uses OpenSSL functions, whose SHA256_Init is not guaranteed to
    1881418952        # succeed.
    18815         sha256_header_found=no
    18816         for ac_header in CommonCrypto/CommonDigest.h sha256.h sha2.h minix/sha2.h
     18953        for ac_header in CommonCrypto/CommonDigest.h sha256.h sha2.h
    1881718954do :
    1881818955  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    1884018977                          # include <sha2.h>
    1884118978                          #endif
    18842                           #ifdef HAVE_MINIX_SHA2_H
    18843                           # include <minix/sha2.h>
    18844                           #endif
    1884518979"
    1884618980if test "x$ac_cv_type_CC_SHA256_CTX" = xyes; then :
     
    1885018984_ACEOF
    1885118985
    18852 
     18986sha256_type_found=yes
    1885318987fi
    1885418988ac_fn_c_check_type "$LINENO" "SHA256_CTX" "ac_cv_type_SHA256_CTX" "#ifdef HAVE_SYS_TYPES_H
     
    1886418998                          # include <sha2.h>
    1886518999                          #endif
    18866                           #ifdef HAVE_MINIX_SHA2_H
    18867                           # include <minix/sha2.h>
    18868                           #endif
    1886919000"
    1887019001if test "x$ac_cv_type_SHA256_CTX" = xyes; then :
     
    1887419005_ACEOF
    1887519006
    18876 
     19007sha256_type_found=yes
    1887719008fi
    1887819009ac_fn_c_check_type "$LINENO" "SHA2_CTX" "ac_cv_type_SHA2_CTX" "#ifdef HAVE_SYS_TYPES_H
     
    1888819019                          # include <sha2.h>
    1888919020                          #endif
    18890                           #ifdef HAVE_MINIX_SHA2_H
    18891                           # include <minix/sha2.h>
    18892                           #endif
    1889319021"
    1889419022if test "x$ac_cv_type_SHA2_CTX" = xyes; then :
     
    1889819026_ACEOF
    1889919027
    18900 
    18901 fi
    18902 
    18903                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256_Init" >&5
    18904 $as_echo_n "checking for library containing SHA256_Init... " >&6; }
    18905 if ${ac_cv_search_SHA256_Init+:} false; then :
    18906   $as_echo_n "(cached) " >&6
    18907 else
    18908   ac_func_search_save_LIBS=$LIBS
    18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18910 /* end confdefs.h.  */
    18911 
    18912 /* Override any GCC internal prototype to avoid an error.
    18913    Use char because int might match the return type of a GCC
    18914    builtin and then its argument prototype would still apply.  */
    18915 #ifdef __cplusplus
    18916 extern "C"
    18917 #endif
    18918 char SHA256_Init ();
    18919 int
    18920 main ()
    18921 {
    18922 return SHA256_Init ();
    18923   ;
    18924   return 0;
    18925 }
    18926 _ACEOF
    18927 for ac_lib in '' md util; do
    18928   if test -z "$ac_lib"; then
    18929     ac_res="none required"
    18930   else
    18931     ac_res=-l$ac_lib
    18932     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    18933   fi
    18934   if ac_fn_c_try_link "$LINENO"; then :
    18935   ac_cv_search_SHA256_Init=$ac_res
    18936 fi
    18937 rm -f core conftest.err conftest.$ac_objext \
    18938     conftest$ac_exeext
    18939   if ${ac_cv_search_SHA256_Init+:} false; then :
    18940   break
    18941 fi
    18942 done
    18943 if ${ac_cv_search_SHA256_Init+:} false; then :
    18944 
    18945 else
    18946   ac_cv_search_SHA256_Init=no
    18947 fi
    18948 rm conftest.$ac_ext
    18949 LIBS=$ac_func_search_save_LIBS
    18950 fi
    18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5
    18952 $as_echo "$ac_cv_search_SHA256_Init" >&6; }
    18953 ac_res=$ac_cv_search_SHA256_Init
    18954 if test "$ac_res" != no; then :
    18955   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    18956 
    18957 fi
    18958 
    18959                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5
     19028sha256_type_found=yes
     19029fi
     19030
     19031                if test "x$sha256_type_found" = xyes ; then
     19032                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5
    1896019033$as_echo_n "checking for library containing SHA256Init... " >&6; }
    1896119034if ${ac_cv_search_SHA256Init+:} false; then :
     
    1901319086fi
    1901419087
    19015                 for ac_func in CC_SHA256_Init SHA256_Init SHA256Init
     19088                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256_Init" >&5
     19089$as_echo_n "checking for library containing SHA256_Init... " >&6; }
     19090if ${ac_cv_search_SHA256_Init+:} false; then :
     19091  $as_echo_n "(cached) " >&6
     19092else
     19093  ac_func_search_save_LIBS=$LIBS
     19094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19095/* end confdefs.h.  */
     19096
     19097/* Override any GCC internal prototype to avoid an error.
     19098   Use char because int might match the return type of a GCC
     19099   builtin and then its argument prototype would still apply.  */
     19100#ifdef __cplusplus
     19101extern "C"
     19102#endif
     19103char SHA256_Init ();
     19104int
     19105main ()
     19106{
     19107return SHA256_Init ();
     19108  ;
     19109  return 0;
     19110}
     19111_ACEOF
     19112for ac_lib in '' md; do
     19113  if test -z "$ac_lib"; then
     19114    ac_res="none required"
     19115  else
     19116    ac_res=-l$ac_lib
     19117    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     19118  fi
     19119  if ac_fn_c_try_link "$LINENO"; then :
     19120  ac_cv_search_SHA256_Init=$ac_res
     19121fi
     19122rm -f core conftest.err conftest.$ac_objext \
     19123    conftest$ac_exeext
     19124  if ${ac_cv_search_SHA256_Init+:} false; then :
     19125  break
     19126fi
     19127done
     19128if ${ac_cv_search_SHA256_Init+:} false; then :
     19129
     19130else
     19131  ac_cv_search_SHA256_Init=no
     19132fi
     19133rm conftest.$ac_ext
     19134LIBS=$ac_func_search_save_LIBS
     19135fi
     19136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5
     19137$as_echo "$ac_cv_search_SHA256_Init" >&6; }
     19138ac_res=$ac_cv_search_SHA256_Init
     19139if test "$ac_res" != no; then :
     19140  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     19141
     19142fi
     19143
     19144                        for ac_func in CC_SHA256_Init SHA256Init SHA256_Init
    1901619145do :
    1901719146  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1902119150#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    1902219151_ACEOF
    19023  break
     19152 sha256_func_found=yes ; break
    1902419153fi
    1902519154done
    1902619155
     19156                fi
    1902719157        fi
    1902819158fi
    19029  if test "x$ac_cv_func_SHA256_Init" != xyes \
    19030                 && test "x$ac_cv_func_SHA256Init" != xyes \
    19031                 && test "x$ac_cv_func_CC_SHA256_Init" != xyes; then
     19159 if test "x$sha256_func_found" = xno; then
    1903219160  COND_INTERNAL_SHA256_TRUE=
    1903319161  COND_INTERNAL_SHA256_FALSE='#'
     
    1903719165fi
    1903819166
     19167if test "x$enable_external_sha256$sha256_func_found" = xyesno; then
     19168        as_fn_error $? "--enable-external-sha256 was specified but no supported external SHA-256 implementation was found" "$LINENO" 5
     19169fi
    1903919170
    1904019171# Check for SSE2 intrinsics.
     
    1904919180fi
    1905019181
     19182
     19183# Check for sandbox support. If one is found, set enable_sandbox=found.
     19184case $enable_sandbox in
     19185        auto | capsicum)
     19186
     19187# On FreeBSD >= 11.x and Linux, Capsicum is uses <sys/capsicum.h>.
     19188# If this header is found, it is assumed to be the right one.
     19189capsicum_header_found=no
     19190for ac_header in sys/capsicum.h
     19191do :
     19192  ac_fn_c_check_header_mongrel "$LINENO" "sys/capsicum.h" "ac_cv_header_sys_capsicum_h" "$ac_includes_default"
     19193if test "x$ac_cv_header_sys_capsicum_h" = xyes; then :
     19194  cat >>confdefs.h <<_ACEOF
     19195#define HAVE_SYS_CAPSICUM_H 1
     19196_ACEOF
     19197 capsicum_header_found=yes
     19198fi
     19199
     19200done
     19201
     19202if test "$capsicum_header_found" = no ; then
     19203    # On FreeBSD 10.x Capsicum uses <sys/capability.h>. Such a header exists
     19204    # on Linux too but it describes POSIX.1e capabilities. Look for the
     19205    # declaration of cap_rights_limit to check if <sys/capability.h> is
     19206    # a Capsicum header.
     19207    ac_fn_c_check_decl "$LINENO" "cap_rights_limit" "ac_cv_have_decl_cap_rights_limit" "#include <sys/capability.h>
     19208"
     19209if test "x$ac_cv_have_decl_cap_rights_limit" = xyes; then :
     19210  capsicum_header_found=yes
     19211fi
     19212
     19213fi
     19214
     19215capsicum_lib_found=no
     19216CAPSICUM_LIB=
     19217if test "$capsicum_header_found" = yes ; then
     19218    ac_ext=c
     19219ac_cpp='$CPP $CPPFLAGS'
     19220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19222ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19223
     19224    # FreeBSD >= 10.x has Capsicum functions in libc.
     19225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19226/* end confdefs.h.  */
     19227
     19228/* Override any GCC internal prototype to avoid an error.
     19229   Use char because int might match the return type of a GCC
     19230   builtin and then its argument prototype would still apply.  */
     19231#ifdef __cplusplus
     19232extern "C"
     19233#endif
     19234char cap_rights_limit ();
     19235int
     19236main ()
     19237{
     19238return cap_rights_limit ();
     19239  ;
     19240  return 0;
     19241}
     19242_ACEOF
     19243if ac_fn_c_try_link "$LINENO"; then :
     19244  capsicum_lib_found=yes
     19245fi
     19246rm -f core conftest.err conftest.$ac_objext \
     19247    conftest$ac_exeext conftest.$ac_ext
     19248    # Linux has Capsicum functions in libcaprights.
     19249    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_rights_limit in -lcaprights" >&5
     19250$as_echo_n "checking for cap_rights_limit in -lcaprights... " >&6; }
     19251if ${ac_cv_lib_caprights_cap_rights_limit+:} false; then :
     19252  $as_echo_n "(cached) " >&6
     19253else
     19254  ac_check_lib_save_LIBS=$LIBS
     19255LIBS="-lcaprights  $LIBS"
     19256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19257/* end confdefs.h.  */
     19258
     19259/* Override any GCC internal prototype to avoid an error.
     19260   Use char because int might match the return type of a GCC
     19261   builtin and then its argument prototype would still apply.  */
     19262#ifdef __cplusplus
     19263extern "C"
     19264#endif
     19265char cap_rights_limit ();
     19266int
     19267main ()
     19268{
     19269return cap_rights_limit ();
     19270  ;
     19271  return 0;
     19272}
     19273_ACEOF
     19274if ac_fn_c_try_link "$LINENO"; then :
     19275  ac_cv_lib_caprights_cap_rights_limit=yes
     19276else
     19277  ac_cv_lib_caprights_cap_rights_limit=no
     19278fi
     19279rm -f core conftest.err conftest.$ac_objext \
     19280    conftest$ac_exeext conftest.$ac_ext
     19281LIBS=$ac_check_lib_save_LIBS
     19282fi
     19283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caprights_cap_rights_limit" >&5
     19284$as_echo "$ac_cv_lib_caprights_cap_rights_limit" >&6; }
     19285if test "x$ac_cv_lib_caprights_cap_rights_limit" = xyes; then :
     19286  CAPSICUM_LIB=-lcaprights
     19287                  capsicum_lib_found=yes
     19288fi
     19289
     19290    ac_ext=c
     19291ac_cpp='$CPP $CPPFLAGS'
     19292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19294ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19295
     19296fi
     19297
     19298
     19299if test "$capsicum_lib_found" = yes ; then
     19300
     19301$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h
     19302
     19303    enable_sandbox=found
     19304else
     19305    :
     19306fi
     19307                ;;
     19308esac
     19309
     19310# If a specific sandboxing method was explicitly requested and it wasn't
     19311# found, give an error.
     19312case $enable_sandbox in
     19313        auto | no | found)
     19314                ;;
     19315        *)
     19316                as_fn_error $? "$enable_sandbox support not found" "$LINENO" 5
     19317                ;;
     19318esac
    1905119319
    1905219320
     
    1911119379/* end confdefs.h.  */
    1911219380extern __attribute__((__visibility__("hidden"))) int hiddenvar;
    19113          extern __attribute__((__visibility__("default"))) int exportedvar;
    19114          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
    19115          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
    19116          void dummyfunc (void) {}
     19381             extern __attribute__((__visibility__("default"))) int exportedvar;
     19382             extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
     19383             extern __attribute__((__visibility__("default"))) int exportedfunc (void);
     19384             void dummyfunc (void) {}
     19385
    1911719386int
    1911819387main ()
     
    2001020279# values after options handling.
    2001120280ac_log="
    20012 This file was extended by XZ Utils $as_me 5.2.2, which was
     20281This file was extended by XZ Utils $as_me 5.2.3, which was
    2001320282generated by GNU Autoconf 2.69.  Invocation command line was
    2001420283
     
    2007720346ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    2007820347ac_cs_version="\\
    20079 XZ Utils config.status 5.2.2
     20348XZ Utils config.status 5.2.3
    2008020349configured by $0, generated by GNU Autoconf 2.69,
    2008120350  with options \\"\$ac_cs_config\\"
     
    2197622245        # Adjust a relative srcdir.
    2197722246        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
    21978         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
     22247        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
    2197922248        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
    2198022249        # In autoconf-2.13 it is called $ac_given_srcdir.
     
    2199222261          rm -f "$ac_dir/POTFILES"
    2199322262          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
    21994           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
     22263          gt_tab=`printf '\t'`
     22264          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
    2199522265          POMAKEFILEDEPS="POTFILES.in"
    2199622266          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
     
    2200322273            fi
    2200422274            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
    22005             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     22275            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    2200622276            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
    2200722277            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
    2200822278          else
    2200922279            # The set of available languages was given in configure.in.
    22010             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     22280            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    2201122281            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
    2201222282          fi
Note: See TracChangeset for help on using the changeset viewer.