Changeset 1993 for xz/vendor/current/configure
- Timestamp:
- Feb 8, 2017, 8:58:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified xz/vendor/current/configure ¶
r1791 r1993 1 1 #! /bin/sh 2 2 # 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. 4 4 # 5 5 # Report bugs to <lasse.collin@tukaani.org>. … … 591 591 PACKAGE_NAME='XZ Utils' 592 592 PACKAGE_TARNAME='xz' 593 PACKAGE_VERSION='5.2. 2'594 PACKAGE_STRING='XZ Utils 5.2. 2'593 PACKAGE_VERSION='5.2.3' 594 PACKAGE_STRING='XZ Utils 5.2.3' 595 595 PACKAGE_BUGREPORT='lasse.collin@tukaani.org' 596 596 PACKAGE_URL='http://tukaani.org/xz/' … … 643 643 HAVE_VISIBILITY 644 644 CFLAG_VISIBILITY 645 CAPSICUM_LIB 645 646 COND_INTERNAL_SHA256_FALSE 646 647 COND_INTERNAL_SHA256_TRUE … … 903 904 enable_match_finders 904 905 enable_checks 906 enable_external_sha256 905 907 enable_assembler 906 908 enable_small … … 915 917 enable_doc 916 918 enable_symbol_versions 919 enable_sandbox 917 920 enable_silent_rules 918 921 enable_dependency_tracking … … 1485 1488 # This message is too long to be a string in the A/UX 3.1 sh. 1486 1489 cat <<_ACEOF 1487 \`configure' configures XZ Utils 5.2. 2to adapt to many kinds of systems.1490 \`configure' configures XZ Utils 5.2.3 to adapt to many kinds of systems. 1488 1491 1489 1492 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1555 1558 if test -n "$ac_init_help"; then 1556 1559 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:";; 1558 1561 esac 1559 1562 cat <<\_ACEOF … … 1578 1581 Default=all. Available integrity checks: crc32 crc64 1579 1582 sha256 1583 --enable-external-sha256 1584 Use SHA-256 code from the operating system. See 1585 INSTALL for possible subtle problems. 1580 1586 --disable-assembler Do not use assembler optimizations even if such 1581 1587 exist for the architecture. … … 1605 1611 default on GNU/Linux, other GNU-based systems, and 1606 1612 FreeBSD. 1613 --enable-sandbox=METHOD This is an experimental feature. Sandboxing METHOD 1614 can be `auto', `no', or `capsicum'. The default is 1615 `no'. 1607 1616 --enable-silent-rules less verbose build output (undo: "make V=1") 1608 1617 --disable-silent-rules verbose build output (undo: "make V=0") … … 1638 1647 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1639 1648 compiler's sysroot if not specified). 1640 --with-gnu-ld assume the C compiler uses GNU ld default=no1649 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1641 1650 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1642 1651 --without-libiconv-prefix don't search for libiconv in includedir and libdir … … 1725 1734 if $ac_init_version; then 1726 1735 cat <<\_ACEOF 1727 XZ Utils configure 5.2. 21736 XZ Utils configure 5.2.3 1728 1737 generated by GNU Autoconf 2.69 1729 1738 … … 2564 2573 running configure, to aid debugging if configure makes a mistake. 2565 2574 2566 It was created by XZ Utils $as_me 5.2. 2, which was2575 It was created by XZ Utils $as_me 5.2.3, which was 2567 2576 generated by GNU Autoconf 2.69. Invocation command line was 2568 2577 … … 3131 3140 enable_encoders=`echo "$enable_encoders" | sed 's/,/ /g'` 3132 3141 if test "x$enable_encoders" = xno || test "x$enable_encoders" = x; then 3142 enable_encoders=no 3133 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5 3134 3144 $as_echo "(none)" >&6; } … … 3207 3217 esac 3208 3218 done 3219 3220 $as_echo "#define HAVE_ENCODERS 1" >>confdefs.h 3221 3209 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_encoders" >&5 3210 3223 $as_echo "$enable_encoders" >&6; } … … 3222 3235 enable_decoders=`echo "$enable_decoders" | sed 's/,/ /g'` 3223 3236 if test "x$enable_decoders" = xno || test "x$enable_decoders" = x; then 3237 enable_decoders=no 3224 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5 3225 3239 $as_echo "(none)" >&6; } … … 3299 3313 done 3300 3314 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 3304 3316 3305 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decoders" >&5 … … 3312 3324 fi 3313 3325 3314 if test "x$enable_encoders" != xno && test "x$enable_encoders" != x; then3326 if test "x$enable_encoders" != xno; then 3315 3327 COND_MAIN_ENCODER_TRUE= 3316 3328 COND_MAIN_ENCODER_FALSE='#' … … 3320 3332 fi 3321 3333 3322 if test "x$enable_decoders" != xno && test "x$enable_decoders" != x; then3334 if test "x$enable_decoders" != xno; then 3323 3335 COND_MAIN_DECODER_TRUE= 3324 3336 COND_MAIN_DECODER_FALSE='#' … … 3785 3797 3786 3798 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. 3802 if test "${enable_external_sha256+set}" = set; then : 3803 enableval=$enable_external_sha256; 3804 else 3805 enable_external_sha256=no 3806 fi 3807 3808 if test "x$enable_check_sha256" != "xyes"; then 3809 enable_external_sha256=no 3810 fi 3811 if test "x$enable_external_sha256" = xyes; then 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3813 $as_echo "yes" >&6; } 3814 else 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3816 $as_echo "no" >&6; } 3817 fi 3818 3787 3819 3788 3820 ########################### … … 3989 4021 fi 3990 4022 4023 test "x$enable_decoders" = xno && enable_xzdec=no 3991 4024 if test x$enable_xzdec != xno; then 3992 4025 COND_XZDEC_TRUE= … … 4005 4038 fi 4006 4039 4040 test "x$enable_decoder_lzma1" = xno && enable_lzmadec=no 4007 4041 if test x$enable_lzmadec != xno; then 4008 4042 COND_LZMADEC_TRUE= … … 4021 4055 fi 4022 4056 4057 test "x$enable_decoder_lzma1" = xno && enable_lzmainfo=no 4023 4058 if test x$enable_lzmainfo != xno; then 4024 4059 COND_LZMAINFO_TRUE= … … 4116 4151 fi 4117 4152 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. 4162 if test "${enable_sandbox+set}" = set; then : 4163 enableval=$enable_sandbox; 4164 else 4165 enable_sandbox=no 4166 fi 4167 4168 case $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 ;; 4182 esac 4118 4183 4119 4184 … … 4676 4741 # Define the identity of the package. 4677 4742 PACKAGE='xz' 4678 VERSION='5.2. 2'4743 VERSION='5.2.3' 4679 4744 4680 4745 … … 15234 15299 15235 15300 15236 mkdir_p="$MKDIR_P"15237 case $mkdir_p in15238 [\\/$]* | ?:[\\/]*) ;;15239 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;15240 esac15241 15242 15243 15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 15244 15302 $as_echo_n "checking whether NLS is requested... " >&6; } … … 15256 15314 15257 15315 15258 GETTEXT_MACRO_VERSION=0.1 815316 GETTEXT_MACRO_VERSION=0.19 15259 15317 15260 15318 … … 15264 15322 # The user is always right. 15265 15323 if 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 } 15275 15332 fi 15276 15333 … … 15387 15444 # The user is always right. 15388 15445 if 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 } 15398 15454 fi 15399 15455 … … 15465 15521 # The user is always right. 15466 15522 if 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 } 15476 15531 fi 15477 15532 … … 15557 15612 15558 15613 15614 15559 15615 # Check whether --with-gnu-ld was given. 15560 15616 if test "${with_gnu_ld+set}" = set; then : … … 15567 15623 # The user is always right. 15568 15624 if test "${PATH_SEPARATOR+set}" != set; then 15569 echo "#! /bin/sh" >conf$$.sh15570 echo "exit 0" >>conf$$.sh15571 chmod +x conf$$.sh15572 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then15573 PATH_SEPARATOR=';'15574 else15575 PATH_SEPARATOR=:15576 fi15577 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 } 15633 fi 15634 15579 15635 ac_prog=ld 15580 15636 if test "$GCC" = yes; then 15581 15637 # Check if gcc -print-prog-name=ld gives a path. 15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&515583 $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; } 15584 15640 case $host in 15585 15641 *-*-mingw*) … … 15591 15647 case $ac_prog in 15592 15648 # Accept absolute paths. 15593 [\\/]* | [A-Za-z]:[\\/]*)15649 [\\/]* | ?:[\\/]*) 15594 15650 re_direlt='/[^/][^/]*/\.\./' 15595 # Canonicalize the path of ld15596 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`15597 while echo $ac_prog| grep "$re_direlt" > /dev/null 2>&1; do15651 # 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 15598 15654 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 15599 15655 done … … 15620 15676 else 15621 15677 if test -z "$LD"; then 15622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"15678 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 15623 15679 for ac_dir in $PATH; do 15680 IFS="$acl_save_ifs" 15624 15681 test -z "$ac_dir" && ac_dir=. 15625 15682 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 15626 15683 acl_cv_path_LD="$ac_dir/$ac_prog" 15627 15684 # Check to see if the program is GNU ld. I'd rather use --version, 15628 # but apparently some GNU ld'sonly accept -v.15685 # but apparently some variants of GNU ld only accept -v. 15629 15686 # Break only if it was the GNU/non-GNU ld that we prefer. 15630 case `"$acl_cv_path_LD" -v 2>&1 < 15687 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 15631 15688 *GNU* | *'with BFD'*) 15632 test "$with_gnu_ld" != no && break ;; 15689 test "$with_gnu_ld" != no && break 15690 ;; 15633 15691 *) 15634 test "$with_gnu_ld" != yes && break ;; 15692 test "$with_gnu_ld" != yes && break 15693 ;; 15635 15694 esac 15636 15695 fi 15637 15696 done 15638 IFS="$ac _save_ifs"15697 IFS="$acl_save_ifs" 15639 15698 else 15640 15699 acl_cv_path_LD="$LD" # Let the user override the test with a path. … … 15656 15715 $as_echo_n "(cached) " >&6 15657 15716 else 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. 15659 15718 case `$LD -v 2>&1 </dev/null` in 15660 15719 *GNU* | *'with BFD'*) 15661 acl_cv_prog_gnu_ld=yes ;; 15720 acl_cv_prog_gnu_ld=yes 15721 ;; 15662 15722 *) 15663 acl_cv_prog_gnu_ld=no ;; 15723 acl_cv_prog_gnu_ld=no 15724 ;; 15664 15725 esac 15665 15726 fi … … 15844 15905 if test -z "$already_handled"; then 15845 15906 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____|'` 15847 15908 eval value=\"\$HAVE_LIB$uppername\" 15848 15909 if test -n "$value"; then … … 16373 16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16374 16435 /* end confdefs.h. */ 16436 16375 16437 #include <libintl.h> 16376 16438 $gt_revision_test_code 16377 16439 extern int _nl_msg_cat_cntr; 16378 16440 extern int *_nl_domain_bindings; 16441 16379 16442 int 16380 16443 main () 16381 16444 { 16445 16382 16446 bindtextdomain ("", ""); 16383 16447 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 16448 16384 16449 ; 16385 16450 return 0; … … 16439 16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16440 16505 /* end confdefs.h. */ 16506 16441 16507 #include <stdlib.h> 16442 16508 #include <iconv.h> 16509 16443 16510 int 16444 16511 main () 16445 16512 { 16446 16513 iconv_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); 16449 16516 ; 16450 16517 return 0; … … 16461 16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16462 16529 /* end confdefs.h. */ 16530 16463 16531 #include <stdlib.h> 16464 16532 #include <iconv.h> 16533 16465 16534 int 16466 16535 main () 16467 16536 { 16468 16537 iconv_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); 16471 16540 ; 16472 16541 return 0; … … 16492 16561 else 16493 16562 16494 am_save_LIBS="$LIBS"16563 am_save_LIBS="$LIBS" 16495 16564 if test $am_cv_lib_iconv = yes; then 16496 16565 LIBS="$LIBS $LIBICONV" 16497 16566 fi 16498 16567 if test "$cross_compiling" = yes; then : 16499 case "$host_os" in 16568 16569 case "$host_os" in 16500 16570 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 16501 16571 *) am_cv_func_iconv_works="guessing yes" ;; 16502 16572 esac 16573 16503 16574 else 16504 16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 16509 16580 int main () 16510 16581 { 16582 int result = 0; 16511 16583 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 16512 16584 returns. */ … … 16525 16597 &outptr, &outbytesleft); 16526 16598 if (res == 0) 16527 return 1; 16599 result |= 1; 16600 iconv_close (cd_utf8_to_88591); 16528 16601 } 16529 16602 } … … 16544 16617 &outptr, &outbytesleft); 16545 16618 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); 16547 16640 } 16548 16641 } … … 16563 16656 &outptr, &outbytesleft); 16564 16657 if ((int)res > 0) 16565 return 1; 16658 result |= 8; 16659 iconv_close (cd_88591_to_utf8); 16566 16660 } 16567 16661 } … … 16577 16671 /* Try HP-UX names. */ 16578 16672 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 16579 re turn 1;16580 return 0;16673 result |= 16; 16674 return result; 16581 16675 } 16582 16676 _ACEOF … … 16695 16789 if test -z "$already_handled"; then 16696 16790 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____|'` 16698 16792 eval value=\"\$HAVE_LIB$uppername\" 16699 16793 if test -n "$value"; then … … 17093 17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17094 17188 /* end confdefs.h. */ 17189 17095 17190 #include <libintl.h> 17096 17191 $gt_revision_test_code … … 17101 17196 #endif 17102 17197 const char *_nl_expand_alias (const char *); 17198 17103 17199 int 17104 17200 main () 17105 17201 { 17202 17106 17203 bindtextdomain ("", ""); 17107 17204 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 17205 17108 17206 ; 17109 17207 return 0; … … 17121 17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17122 17220 /* end confdefs.h. */ 17221 17123 17222 #include <libintl.h> 17124 17223 $gt_revision_test_code … … 17129 17228 #endif 17130 17229 const char *_nl_expand_alias (const char *); 17230 17131 17231 int 17132 17232 main () 17133 17233 { 17234 17134 17235 bindtextdomain ("", ""); 17135 17236 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 17237 17136 17238 ; 17137 17239 return 0; … … 17140 17242 if ac_fn_c_try_link "$LINENO"; then : 17141 17243 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" 17144 17246 17145 17247 fi … … 18103 18205 18104 18206 # Find the best function to set timestamps. 18105 for ac_func in futimens futimes futimesat utimes utime18207 for ac_func in futimens futimes futimesat utimes _futime utime 18106 18208 do : 18107 18209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 18598 18700 18599 18701 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. 18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18708 /* end confdefs.h. */ 18709 18710 #include <sched.h> 18711 int 18712 main(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 18720 if ac_fn_c_try_link "$LINENO"; then : 18721 tuklib_cv_cpucores_method=sched_getaffinity 18722 else 18723 18724 18600 18725 # FreeBSD has both cpuset and sysctl. Look for cpuset first because 18601 18726 # 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. 18602 18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18603 18733 /* end confdefs.h. */ … … 18711 18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18712 18842 fi 18843 rm -f core conftest.err conftest.$ac_objext \ 18844 conftest$ac_exeext conftest.$ac_ext 18845 fi 18713 18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18714 18847 fi … … 18717 18850 18718 18851 case $tuklib_cv_cpucores_method in 18852 sched_getaffinity) 18853 18854 $as_echo "#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1" >>confdefs.h 18855 18856 ;; 18719 18857 cpuset) 18720 18858 … … 18791 18929 18792 18930 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: 18794 18933 # 18795 18934 # OS Headers Library Type Function … … 18798 18937 # OpenBSD sys/types.h + sha2.h SHA2_CTX SHA256Init 18799 18938 # Solaris sys/types.h + sha2.h libmd SHA256_CTX SHA256Init 18800 # MINIX 3 sys/types.h + minix/sha2.h libutilSHA256_CTX SHA256_Init18939 # MINIX 3 sys/types.h + sha2.h SHA256_CTX SHA256_Init 18801 18940 # Darwin CommonCrypto/CommonDigest.h CC_SHA256_CTX CC_SHA256_Init 18802 18941 # … … 18804 18943 # of size_t. 18805 18944 # 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 18945 sha256_header_found=no 18946 sha256_type_found=no 18947 sha256_func_found=no 18948 if test "x$enable_external_sha256" = "xyes"; then 18811 18949 # Test for Common Crypto before others, because Darwin has sha256.h 18812 18950 # too and we don't want to use that, because on older versions it 18813 18951 # uses OpenSSL functions, whose SHA256_Init is not guaranteed to 18814 18952 # 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 18817 18954 do : 18818 18955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 18840 18977 # include <sha2.h> 18841 18978 #endif 18842 #ifdef HAVE_MINIX_SHA2_H18843 # include <minix/sha2.h>18844 #endif18845 18979 " 18846 18980 if test "x$ac_cv_type_CC_SHA256_CTX" = xyes; then : … … 18850 18984 _ACEOF 18851 18985 18852 18986 sha256_type_found=yes 18853 18987 fi 18854 18988 ac_fn_c_check_type "$LINENO" "SHA256_CTX" "ac_cv_type_SHA256_CTX" "#ifdef HAVE_SYS_TYPES_H … … 18864 18998 # include <sha2.h> 18865 18999 #endif 18866 #ifdef HAVE_MINIX_SHA2_H18867 # include <minix/sha2.h>18868 #endif18869 19000 " 18870 19001 if test "x$ac_cv_type_SHA256_CTX" = xyes; then : … … 18874 19005 _ACEOF 18875 19006 18876 19007 sha256_type_found=yes 18877 19008 fi 18878 19009 ac_fn_c_check_type "$LINENO" "SHA2_CTX" "ac_cv_type_SHA2_CTX" "#ifdef HAVE_SYS_TYPES_H … … 18888 19019 # include <sha2.h> 18889 19020 #endif 18890 #ifdef HAVE_MINIX_SHA2_H18891 # include <minix/sha2.h>18892 #endif18893 19021 " 18894 19022 if test "x$ac_cv_type_SHA2_CTX" = xyes; then : … … 18898 19026 _ACEOF 18899 19027 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 19028 sha256_type_found=yes 19029 fi 19030 19031 if test "x$sha256_type_found" = xyes ; then 19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5 18960 19033 $as_echo_n "checking for library containing SHA256Init... " >&6; } 18961 19034 if ${ac_cv_search_SHA256Init+:} false; then : … … 19013 19086 fi 19014 19087 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; } 19090 if ${ac_cv_search_SHA256_Init+:} false; then : 19091 $as_echo_n "(cached) " >&6 19092 else 19093 ac_func_search_save_LIBS=$LIBS 19094 cat 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 19101 extern "C" 19102 #endif 19103 char SHA256_Init (); 19104 int 19105 main () 19106 { 19107 return SHA256_Init (); 19108 ; 19109 return 0; 19110 } 19111 _ACEOF 19112 for 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 19121 fi 19122 rm -f core conftest.err conftest.$ac_objext \ 19123 conftest$ac_exeext 19124 if ${ac_cv_search_SHA256_Init+:} false; then : 19125 break 19126 fi 19127 done 19128 if ${ac_cv_search_SHA256_Init+:} false; then : 19129 19130 else 19131 ac_cv_search_SHA256_Init=no 19132 fi 19133 rm conftest.$ac_ext 19134 LIBS=$ac_func_search_save_LIBS 19135 fi 19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5 19137 $as_echo "$ac_cv_search_SHA256_Init" >&6; } 19138 ac_res=$ac_cv_search_SHA256_Init 19139 if test "$ac_res" != no; then : 19140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19141 19142 fi 19143 19144 for ac_func in CC_SHA256_Init SHA256Init SHA256_Init 19016 19145 do : 19017 19146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 19021 19150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19022 19151 _ACEOF 19023 break19152 sha256_func_found=yes ; break 19024 19153 fi 19025 19154 done 19026 19155 19156 fi 19027 19157 fi 19028 19158 fi 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 19032 19160 COND_INTERNAL_SHA256_TRUE= 19033 19161 COND_INTERNAL_SHA256_FALSE='#' … … 19037 19165 fi 19038 19166 19167 if 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 19169 fi 19039 19170 19040 19171 # Check for SSE2 intrinsics. … … 19049 19180 fi 19050 19181 19182 19183 # Check for sandbox support. If one is found, set enable_sandbox=found. 19184 case $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. 19189 capsicum_header_found=no 19190 for ac_header in sys/capsicum.h 19191 do : 19192 ac_fn_c_check_header_mongrel "$LINENO" "sys/capsicum.h" "ac_cv_header_sys_capsicum_h" "$ac_includes_default" 19193 if 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 19198 fi 19199 19200 done 19201 19202 if 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 " 19209 if test "x$ac_cv_have_decl_cap_rights_limit" = xyes; then : 19210 capsicum_header_found=yes 19211 fi 19212 19213 fi 19214 19215 capsicum_lib_found=no 19216 CAPSICUM_LIB= 19217 if test "$capsicum_header_found" = yes ; then 19218 ac_ext=c 19219 ac_cpp='$CPP $CPPFLAGS' 19220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19222 ac_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 19232 extern "C" 19233 #endif 19234 char cap_rights_limit (); 19235 int 19236 main () 19237 { 19238 return cap_rights_limit (); 19239 ; 19240 return 0; 19241 } 19242 _ACEOF 19243 if ac_fn_c_try_link "$LINENO"; then : 19244 capsicum_lib_found=yes 19245 fi 19246 rm -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; } 19251 if ${ac_cv_lib_caprights_cap_rights_limit+:} false; then : 19252 $as_echo_n "(cached) " >&6 19253 else 19254 ac_check_lib_save_LIBS=$LIBS 19255 LIBS="-lcaprights $LIBS" 19256 cat 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 19263 extern "C" 19264 #endif 19265 char cap_rights_limit (); 19266 int 19267 main () 19268 { 19269 return cap_rights_limit (); 19270 ; 19271 return 0; 19272 } 19273 _ACEOF 19274 if ac_fn_c_try_link "$LINENO"; then : 19275 ac_cv_lib_caprights_cap_rights_limit=yes 19276 else 19277 ac_cv_lib_caprights_cap_rights_limit=no 19278 fi 19279 rm -f core conftest.err conftest.$ac_objext \ 19280 conftest$ac_exeext conftest.$ac_ext 19281 LIBS=$ac_check_lib_save_LIBS 19282 fi 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; } 19285 if test "x$ac_cv_lib_caprights_cap_rights_limit" = xyes; then : 19286 CAPSICUM_LIB=-lcaprights 19287 capsicum_lib_found=yes 19288 fi 19289 19290 ac_ext=c 19291 ac_cpp='$CPP $CPPFLAGS' 19292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19294 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19295 19296 fi 19297 19298 19299 if test "$capsicum_lib_found" = yes ; then 19300 19301 $as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h 19302 19303 enable_sandbox=found 19304 else 19305 : 19306 fi 19307 ;; 19308 esac 19309 19310 # If a specific sandboxing method was explicitly requested and it wasn't 19311 # found, give an error. 19312 case $enable_sandbox in 19313 auto | no | found) 19314 ;; 19315 *) 19316 as_fn_error $? "$enable_sandbox support not found" "$LINENO" 5 19317 ;; 19318 esac 19051 19319 19052 19320 … … 19111 19379 /* end confdefs.h. */ 19112 19380 extern __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 19117 19386 int 19118 19387 main () … … 20010 20279 # values after options handling. 20011 20280 ac_log=" 20012 This file was extended by XZ Utils $as_me 5.2. 2, which was20281 This file was extended by XZ Utils $as_me 5.2.3, which was 20013 20282 generated by GNU Autoconf 2.69. Invocation command line was 20014 20283 … … 20077 20346 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 20078 20347 ac_cs_version="\\ 20079 XZ Utils config.status 5.2. 220348 XZ Utils config.status 5.2.3 20080 20349 configured by $0, generated by GNU Autoconf 2.69, 20081 20350 with options \\"\$ac_cs_config\\" … … 21976 22245 # Adjust a relative srcdir. 21977 22246 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%^\./%%'` 21979 22248 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 21980 22249 # In autoconf-2.13 it is called $ac_given_srcdir. … … 21992 22261 rm -f "$ac_dir/POTFILES" 21993 22262 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" 21995 22265 POMAKEFILEDEPS="POTFILES.in" 21996 22266 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend … … 22003 22273 fi 22004 22274 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 22005 # Hide the ALL_LINGUAS assig ment from automake < 1.5.22275 # Hide the ALL_LINGUAS assignment from automake < 1.5. 22006 22276 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 22007 22277 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 22008 22278 else 22009 22279 # The set of available languages was given in configure.in. 22010 # Hide the ALL_LINGUAS assig ment from automake < 1.5.22280 # Hide the ALL_LINGUAS assignment from automake < 1.5. 22011 22281 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 22012 22282 fi
Note:
See TracChangeset
for help on using the changeset viewer.