Lines Matching +full:tests +full:/ +full:files +full:/ +full:good +full:- +full:1 +full:- +full:check +full:- +full:none +full:. +full:xz
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for file 5.45.
5 # Report bugs to <christos@astron.com>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
19 DUALCASE=1; export DUALCASE # for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
32 set -o posix ;; #(
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself=$0 ;;
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
107 # in which case we are not to be found in the path.
111 if test ! -f "$as_myself"; then
113 exit 1
118 # into an infinite loop, continuously re-executing ourselves.
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
155 set -o posix ;; #(
161 as_required="as_fn_return () { (exit \$1); }
163 as_fn_failure () { as_fn_return 1; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
191 PATH=/empty FPATH=/empty; export PATH FPATH
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194 test \$(( 1 + 1 )) = 2 || exit 1"
195 if (eval "$as_required") 2>/dev/null
201 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 '') as_dir=./ ;;
212 */) ;;
213 *) as_dir=$as_dir/ ;;
217 /*)
219 # Try only shells that exist, to save several forks.
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # out after a failed `exec'.
266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
273 printf "%s\n" "$0: the shells that I found on your system."
276 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279 $0: christos@astron.com about your system, including any
280 $0: error possibly output before this message. Then install
282 $0: shell if you do have one."
284 exit 1
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
298 # ---------------
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
308 # -----------------------
309 # Set $? to STATUS, without forking.
312 return $1
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
321 as_fn_set_status $1
322 exit $1
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
340 -*) as_dir=./$as_dir;;
342 test -d "$as_dir" || eval $as_mkdir_p || {
346 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
350 as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352 X"$as_dir" : 'X\(//\)[^/]' \| \
353 X"$as_dir" : 'X\(//\)$' \| \
354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357 s//\1/
360 /^X\(\/\/\)[^/].*/{
361 s//\1/
364 /^X\(\/\/\)$/{
365 s//\1/
368 /^X\(\/\).*/{
369 s//\1/
372 s/.*/./; q'`
373 test -d "$as_dir" && break
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
382 # -----------------------
383 # Test if FILE is an executable regular file.
386 test -f "$1" && test -x "$1"
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
398 eval $1+=\$2
403 eval $1=\$$1\$2
407 # as_fn_arith ARG...
408 # ------------------
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
421 as_val=`expr "$@" || test $? -eq 1`
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
441 as_status=$1; test $as_status -eq 0 && as_status=1
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
450 if expr a : '\(a\)' >/dev/null 2>&1 &&
451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471 X"$0" : 'X\(//\)$' \| \
472 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474 sed '/^.*\/\([^/][^/]*\)\/*$/{
475 s//\1/
478 /^X\/\(\/\/\)$/{
479 s//\1/
482 /^X\/\(\/\).*/{
483 s//\1/
486 s/.*/./; q'`
488 # Avoid depending upon Character Ranges.
499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sed -n '
503 /[$]LINENO/=
506 s/[$]LINENO.*/&-/
512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
514 s/-\n.*//
515 ' >$as_me.lineno &&
516 chmod +x "$as_me.lineno" ||
517 …printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_ex…
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
521 # in an infinite loop. This has already happened in practice.
525 # original and so on. Autoconf is especially sensitive to this).
526 . "./$as_me.lineno"
527 # Exit status is that of the last command.
532 # Determine whether it's possible to make 'echo' print without a newline.
534 # for compatibility with existing Makefiles.
536 case `echo -n x` in #(((((
537 -n*)
539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
541 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
545 ECHO_N='-n';;
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n. New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557 rm -f conf$$.dir/conf$$.file
559 rm -f conf$$.dir
560 mkdir conf$$.dir 2>/dev/null
562 if (echo >conf$$.file) 2>/dev/null; then
563 if ln -s conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s='ln -s'
565 # ... but there are two gotchas:
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
571 elif ln conf$$.file conf$$ 2>/dev/null; then
574 as_ln_s='cp -pR'
577 as_ln_s='cp -pR'
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdir conf$$.dir 2>/dev/null
582 if mkdir -p . 2>/dev/null; then
583 as_mkdir_p='mkdir -p "$as_dir"'
585 test -d ./-p && rmdir ./-p
589 as_test_x='test -x'
592 # Sed expression to map a string onto a valid CPP name.
595 # Sed expression to map a string onto a valid variable name.
598 SHELL=${CONFIG_SHELL-/bin/sh}
601 test -n "$DJDIR" || exec 7<&0 </dev/null
602 exec 6>&1
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
610 # Initializations.
612 ac_default_prefix=/usr/local
614 ac_config_libobj_dir=.
621 # Identity of this package.
626 PACKAGE_BUGREPORT='christos@astron.com'
629 # Factoring default headers for most tests.
631 #include <stddef.h>
633 # include <stdio.h>
636 # include <stdlib.h>
639 # include <string.h>
642 # include <inttypes.h>
645 # include <stdint.h>
648 # include <strings.h>
651 # include <sys/types.h>
654 # include <sys/stat.h>
657 # include <unistd.h>
834 # Initialize some variables set by options.
840 # dashes changed to underlines.
841 cache_file=/dev/null
842 exec_prefix=NONE
845 prefix=NONE
846 program_prefix=NONE
847 program_suffix=NONE
853 x_includes=NONE
854 x_libraries=NONE
856 # Installation directory options.
857 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # by default will actually change.
860 # Use braces instead of parens because sh, perl, etc. also accept them.
861 # (The list follows the same order as the GNU Coding Standards.)
862 bindir='${exec_prefix}/bin'
863 sbindir='${exec_prefix}/sbin'
864 libexecdir='${exec_prefix}/libexec'
865 datarootdir='${prefix}/share'
867 sysconfdir='${prefix}/etc'
868 sharedstatedir='${prefix}/com'
869 localstatedir='${prefix}/var'
870 runstatedir='${localstatedir}/run'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 --)
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
909 -build | --build | --buil | --bui | --bu)
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921 --config-cache | -C)
922 cache_file=config.cache ;;
924 -datadir | --datadir | --datadi | --datad)
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936 -disable-* | --disable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 -docdir | --docdir | --docdi | --doc | --do)
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962 -enable-* | --enable-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
991 -help | --help | --hel | --he | -h)
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998 -host | --host | --hos | --ho)
1000 -host=* | --host=* | --hos=* | --ho=*)
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 | --ht=*)
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021 -libdir | --libdir | --libdi | --libd)
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1033 -localedir | --localedir | --localedi | --localed | --locale)
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112 -psdir | --psdir | --psdi | --psd | --ps)
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1121 -runstatedir | --runstatedir | --runstatedi | --runstated \
1122 | --runstate | --runstat | --runsta | --runst | --runs \
1123 | --run | --ru | --r)
1125 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1126 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1127 | --run=* | --ru=* | --r=*)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 --x)
1208 # Obsolete; use --with-x.
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1231 # Reject names that are not valid shell variable names.
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1240 # FIXME: should be removed in autoconf 3.0.
1241 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1255 if test -n "$ac_unrecognized_opts"; then
1263 # Check all directory arguments for consistency.
1270 # Remove trailing slashes.
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 # Be sure to have absolute directory names.
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1291 # FIXME: To remove some day.
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303 test "$silent" = yes && exec 6>/dev/null
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1332 /^X\(\/\/\)$/{
1333 s//\1/
1336 /^X\(\/\).*/{
1337 s//\1/
1340 s/.*/./; q'`
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1358 srcdir=.
1360 # Remove unnecessary trailing slashes from srcdir.
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 # Report the --help message.
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures file 5.45 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/file]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1444 --build=BUILD configure for building on BUILD [guessed]
1445 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1449 if test -n "$ac_init_help"; then
1456 --disable-option-checking ignore unrecognized --enable/--with options
1457 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1458 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1459 --enable-silent-rules less verbose build output (undo: "make V=1")
1460 --disable-silent-rules verbose build output (undo: "make V=0")
1461 --enable-maintainer-mode
1464 --disable-elf disable builtin ELF support
1465 --disable-elf-core disable ELF core file support
1466 --disable-zlib disable zlib compression support [default=auto]
1467 --disable-bzlib disable bz2lib compression support [default=auto]
1468 --disable-xzlib disable liblzma/xz compression support
1470 --disable-zstdlib disable zstdlib compression support [default=auto]
1471 --disable-lzlib disable liblz (lzip) compression support
1473 --disable-libseccomp disable libseccomp sandboxing [default=auto]
1474 --enable-fsect-man5 enable file formats in man section 5
1475 --enable-dependency-tracking
1477 --disable-dependency-tracking
1478 speeds up one-time build
1479 --enable-static[=PKGS] build static libraries [default=no]
1480 --enable-shared[=PKGS] build shared libraries [default=yes]
1481 --enable-fast-install[=PKGS]
1483 --disable-libtool-lock avoid locking (might break parallel builds)
1484 --disable-largefile omit support for large files
1485 --disable-warnings disable compiler warnings
1488 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1489 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1490 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1492 --with-aix-soname=aix|svr4|both
1494 provide on AIX, [default=aix].
1495 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1496 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1497 compiler's sysroot if not specified).
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1508 User-defined run-time library search path.
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to <christos@astron.com>.
1519 # If there are subdirs, report their specific --help.
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 ac_builddir=.
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 .) # We are building in place.
1544 ac_srcdir=.
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 *) # Relative name.
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 # Check for configure.gnu first; this name is used for a wrapper for
1560 # Metaconfig's "Configure" on case-insensitive file systems.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1574 test -n "$ac_init_help" && exit $ac_status
1580 Copyright (C) 2021 Free Software Foundation, Inc.
1582 gives unlimited permission to copy, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext conftest.beam
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext
1621 sed 's/^/| /' conftest.$ac_ext >&5
1623 ac_retval=1
1631 # -------------------------------------------------------
1632 # Tests whether HEADER exists and can be compiled using the include files in
1633 # INCLUDES, setting the cache variable VAR accordingly.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638 printf %s "checking for $2... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 # ----------------------
1665 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1666 # executables *can* be run.
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 # -----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 (eval "$ac_link") 2>conftest.err
1722 if test -s conftest.err; then
1723 grep -v '^ *+' conftest.err >conftest.er1
1724 cat conftest.er1 >&5
1725 mv -f conftest.er1 conftest.err
1727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest$ac_exeext && {
1733 test -x conftest$ac_exeext
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=1
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754 # ----------------------------------
1755 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 printf %s "checking for $2... " >&6; }
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1767 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1771 /* System header to define __stub macros and hopefully few prototypes,
1772 which can conflict with char $2 (); below. */
1774 #include <limits.h>
1777 /* Override any GCC internal prototype to avoid an error.
1779 builtin and then its argument prototype would still apply. */
1784 /* The GNU C library defines this for functions which it implements
1785 to always fail with ENOSYS. Some functions are actually named
1786 something starting with __ and the normal name is an alias. */
1805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1806 conftest$ac_exeext conftest.$ac_ext
1809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 # -------------------------------------------
1817 # Tests whether TYPE exists after having included INCLUDES, setting cache
1818 # variable VAR accordingly.
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 printf %s "checking for $2... " >&6; }
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 # ----------------------------------------------------
1875 # INCLUDES, setting cache variable VAR accordingly.
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1880 printf %s "checking for $2.$3... " >&6; }
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1892 if (ac_aggr.$3)
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1909 if (sizeof ac_aggr.$3)
1921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1933 # ------------------------------------------------------------------
1934 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1935 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 as_decl_name=`echo $2|sed 's/ *(.*//'`
1940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1941 printf %s "checking whether $as_decl_name is declared... " >&6; }
1946 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 # ------------------------------------
1987 # accordingly.
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1992 printf %s "checking for uint$2_t... " >&6; }
1998 # Order is important - never check a type that is potentially smaller
1999 # than half of the expected target width.
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2008 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 # -----------------------------------
2044 # accordingly.
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2049 printf %s "checking for int$2_t... " >&6; }
2055 # Order is important - never check a type that is potentially smaller
2056 # than half of the expected target width.
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2062 enum { N = $2 / 2 - 1 };
2066 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2079 enum { N = $2 / 2 - 1 };
2083 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2084 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2134 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2136 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2140 cat >config.log <<_ACEOF
2142 running configure, to aid debugging if configure makes a mistake.
2145 generated by GNU Autoconf 2.71. Invocation command line was
2150 exec 5>>config.log
2153 ## --------- ##
2154 ## Platform. ##
2155 ## --------- ##
2157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2164 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2166 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2167 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2169 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2170 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2171 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2172 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2181 '') as_dir=./ ;;
2182 */) ;;
2183 *) as_dir=$as_dir/ ;;
2194 ## ----------- ##
2195 ## Core tests. ##
2196 ## ----------- ##
2201 # Keep a trace of the command line.
2202 # Strip out --no-create and --no-recursion so they do not pile up.
2203 # Strip out --silent because we don't want to record it for future runs.
2204 # Also quote any args containing shell meta-characters.
2205 # Make two passes to allow for proper duplicate-argument suppression.
2210 for ac_pass in 1 2
2215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2217 | -silent | --silent | --silen | --sile | --sil)
2220 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2223 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2227 ac_must_keep_next=false # Got value, back to normal.
2230 *=* | --config-cache | -C | -disable-* | --disable-* \
2231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2233 | -with-* | --with-* | -without-* | --without-* | --x)
2238 -* ) ac_must_keep_next=true ;;
2249 # When interrupted or exit'd, cleanup temporary files, and complete
2250 # config.log. We remove comments because anyway the quotes in there
2251 # would cause problems or look ugly.
2252 # WARNING: Use '\'' to represent an apostrophe within the trap.
2253 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2255 # Sanitize IFS.
2257 # Save into config.log some information that might help in debugging.
2261 printf "%s\n" "## ---------------- ##
2262 ## Cache variables. ##
2263 ## ---------------- ##"
2267 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2272 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2282 (set) 2>&1 |
2283 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2285 sed -n \
2286 "s/'\''/'\''\\\\'\'''\''/g;
2287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2297 printf "%s\n" "## ----------------- ##
2298 ## Output variables. ##
2299 ## ----------------- ##"
2305 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 if test -n "$ac_subst_files"; then
2312 printf "%s\n" "## ------------------- ##
2313 ## File substitutions. ##
2314 ## ------------------- ##"
2320 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2327 if test -s confdefs.h; then
2328 printf "%s\n" "## ----------- ##
2329 ## confdefs.h. ##
2330 ## ----------- ##"
2332 cat confdefs.h
2339 rm -f core *.core core.conftest.* &&
2340 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2343 for ac_signal in 1 2 13 15; do
2344 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2349 rm -f -r conftest* confdefs.h
2351 printf "%s\n" "/* confdefs.h */" > confdefs.h
2353 # Predefined preprocessor variables.
2355 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2357 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2359 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2361 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2363 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2365 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2368 # Let the site file select an alternate cache file if it wants to.
2369 # Prefer an explicitly selected file to automatically selected ones.
2370 if test -n "$CONFIG_SITE"; then
2373 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2375 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2381 */*) :
2384 ac_site_file=./$ac_site_file ;;
2386 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2389 sed 's/^/| /' "$ac_site_file" >&5
2390 . "$ac_site_file" \
2391 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 See \`config.log' for more details" "$LINENO" 5; }
2398 if test -r "$cache_file"; then
2399 # Some versions of bash will fail to source /dev/null (special files
2400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406 *) . "./$cache_file";;
2410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2417 /* Does the compiler advertise C89 conformance?
2419 while being otherwise adequately conformant. */
2424 #include <stddef.h>
2425 #include <stdarg.h>
2427 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2436 static char *f (char * (*g) (char **, int), char **p, ...)
2446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2447 function prototypes and stuff, but not \xHH hex character constants.
2449 as an "x". The following induces an error, until -std is added to get
2450 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2451 array size at least. It is necessary to write \x00 == 0 to get something
2452 that is true only with -std. */
2453 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2456 inside strings and character constants. */
2458 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2466 # Test code for whether the C compiler supports C89 (body of main).
2468 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2473 // Does the compiler advertise C99 conformance?
2478 #include <stdbool.h>
2480 extern int printf (const char *, ...);
2481 extern int dprintf (int, const char *, ...);
2484 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2485 // dprintf is used instead of fprintf to avoid needing to declare
2486 // FILE and stderr.
2487 #define debug(...) dprintf (2, __VA_ARGS__)
2488 #define showlist(...) puts (#__VA_ARGS__)
2489 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2497 showlist (The first, second, and third items.);
2501 // Check long long types.
2504 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2512 static long long int bignum = -9223372036854775807LL;
2532 // See if C++-style comments work.
2533 // Iterate through items via the restricted pointer.
2534 // Also check for declarations in for loops.
2540 // Check varargs and va_copy.
2542 test_varargs (const char *format, ...)
2557 case '\''s'\'': // string
2560 case '\''d'\'': // int
2563 case '\''f'\'': // float
2577 # Test code for whether the C compiler supports C99 (body of main).
2579 // Check bool.
2583 // Check restrict.
2588 // Check varargs.
2589 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2592 // Check flexible array members.
2595 ia->datasize = 10;
2596 for (int i = 0; i < ia->datasize; ++i)
2597 ia->data[i] = i * 1.234;
2599 // Check named initializers.
2601 .number = 34,
2602 .name = L"Test wide string",
2603 .average = 543.34343,
2606 ni.number = 58;
2608 int dynamic_array[ni.number];
2610 dynamic_array[ni.number - 1] = 543;
2612 // work around unused variable warnings
2614 || dynamic_array[ni.number - 1] != 543);
2619 // Does the compiler advertise C11 conformance?
2624 // Check _Alignas.
2630 // Check _Alignof.
2637 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2639 // Check _Noreturn.
2642 // Check _Static_assert.
2651 // Check UTF-8 literals.
2655 // Check duplicate typedefs.
2660 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2671 # Test code for whether the C compiler supports C11 (body of main).
2674 == offsetof (struct anonymous, w.k)),
2676 v1.i = 2;
2677 v1.w.k = 5;
2678 ok |= v1.i != 5;
2681 # Test code for whether the C compiler supports C11 (complete).
2697 # Test code for whether the C compiler supports C99 (complete).
2711 # Test code for whether the C compiler supports C89 (complete).
2723 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2724 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2725 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2726 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2727 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2728 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2729 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2730 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2731 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2732 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2733 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2734 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
2736 as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H"
2740 # Auxiliary files required by this configure script.
2741 ac_aux_files="ltmain.sh compile config.guess config.sub missing install-sh"
2743 # Locations in which to look for auxiliary files.
2744 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2746 # Search for a directory containing all of the required auxiliary files,
2747 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2748 # If we don't find one directory that contains all the files we need,
2749 # we report the set of missing files from the *first* directory in
2750 # $ac_aux_dir_candidates and give up.
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2760 '') as_dir=./ ;;
2761 */) ;;
2762 *) as_dir=$as_dir/ ;;
2766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2771 # As a special case, if "install-sh" is required, that requirement
2772 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2773 # and $ac_install_sh is set appropriately for whichever one is found.
2774 if test x"$ac_aux" = x"install-sh"
2776 if test -f "${as_dir}install-sh"; then
2777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2778 ac_install_sh="${as_dir}install-sh -c"
2779 elif test -f "${as_dir}install.sh"; then
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2781 ac_install_sh="${as_dir}install.sh -c"
2782 elif test -f "${as_dir}shtool"; then
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2784 ac_install_sh="${as_dir}shtool install -c"
2788 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2794 if test -f "${as_dir}${ac_aux}"; then
2795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2819 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2824 # and are intended to be withdrawn in a future Autoconf release.
2826 # whose full name contains unusual characters.
2827 if test -f "${ac_aux_dir}config.guess"; then
2828 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2830 if test -f "${ac_aux_dir}config.sub"; then
2831 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2833 if test -f "$ac_aux_dir/configure"; then
2837 # Check that the precious variables saved in the cache have kept the same
2838 # value.
2847 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
2851 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
2857 # differences in whitespace do not lead to failure.
2861 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
2865 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2875 # Pass precious variables to config.status.
2878 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2882 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
2892 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2895 ## -------------------- ##
2896 ## Main body of script. ##
2897 ## -------------------- ##
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2910 # Find a good install program. We prefer a C program (faster),
2911 # so one script is as good as another. But avoid the broken or
2913 # SysV /etc/install, /usr/sbin/install
2914 # SunOS /usr/etc/install
2915 # IRIX /sbin/install
2916 # AIX /bin/install
2917 # AmigaOS /C/install, which installs bootblocks on floppy discs
2918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2921 # OS/2's system install, which has a completely different semantic
2922 # ./install, which can be erroneously created by make from ./install.sh.
2923 # Reject install programs that cannot install multiple files.
2924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2925 printf %s "checking for a BSD-compatible install... " >&6; }
2926 if test -z "$INSTALL"; then
2936 '') as_dir=./ ;;
2937 */) ;;
2938 *) as_dir=$as_dir/ ;;
2940 # Account for fact that we put trailing slashes in our PATH walk.
2942 ./ | /[cC]/* | \
2943 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2944 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2945 /usr/ucb/* ) ;;
2947 # OSF1 and SCO ODT 3.0 have their own names for install.
2949 # by default.
2954 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2955 # AIX install. It has an incompatible calling convention.
2958 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2959 # program-specific install script used by HP pwplus--don't use.
2962 rm -rf conftest.one conftest.two conftest.dir
2963 echo one > conftest.one
2964 echo two > conftest.two
2965 mkdir conftest.dir
2966 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2967 test -s conftest.one && test -s conftest.two &&
2968 test -s conftest.dir/conftest.one &&
2969 test -s conftest.dir/conftest.two
2971 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2984 rm -rf conftest.one conftest.two conftest.dir
2990 # As a last resort, use the slow shell script. Don't cache a
2993 # removed, or if the value is a relative name.
2997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3000 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3001 # It thinks the first close brace ends the variable substitution.
3002 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3004 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3006 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3009 printf %s "checking whether build environment is sane... " >&6; }
3011 # name. Accept space and tab only in the latter.
3024 # arguments. Must try -L first in case configure is actually a
3027 # directory).
3030 for am_try in 1 2; do
3031 echo "timestamp, slept: $am_has_slept" > conftest.file
3032 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3034 # -L didn't work.
3035 set X `ls -t "$srcdir/configure" conftest.file`
3037 if test "$*" != "X $srcdir/configure conftest.file" \
3038 && test "$*" != "X conftest.file $srcdir/configure"; then
3040 # If neither matched, then we have a broken ls. This can happen
3042 # broken ls alias from the environment. This has actually
3043 # happened. Such a system could not be considered "sane".
3044 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3047 if test "$2" = conftest.file || test $am_try -eq 2; then
3050 # Just in case.
3051 sleep 1
3054 test "$2" = conftest.file
3057 # Ok.
3060 as_fn_error $? "newly created file is older than distributed files!
3061 Check your system clock" "$LINENO" 5
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3065 # If we didn't sleep, we still need to ensure time stamps of config.status and
3066 # generated files are strictly newer.
3068 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3069 ( sleep 1 ) &
3073 rm -f conftest.file
3075 test "$program_prefix" != NONE &&
3077 # Use a double $ so make ignores it.
3078 test "$program_suffix" != NONE &&
3080 # Double any \ or $.
3081 # By default was `s,x,x', remove it if useless.
3082 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3086 # Expand $ac_aux_dir to an absolute path.
3091 MISSING="\${SHELL} '$am_aux_dir/missing'"
3094 if eval "$MISSING --is-lightweight"; then
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3105 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3107 install_sh="\${SHELL} $am_aux_dir/install-sh"
3112 # run "make install-strip". However 'strip' might not be the right
3113 # tool to use in cross-compilation environments, therefore Automake
3114 # will honor the 'STRIP' environment variable to overrule this program.
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 printf %s "checking for $ac_word... " >&6; }
3125 if test -n "$STRIP"; then
3126 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3133 '') as_dir=./ ;;
3134 */) ;;
3135 *) as_dir=$as_dir/ ;;
3140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3150 if test -n "$STRIP"; then
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 if test -z "$ac_cv_prog_STRIP"; then
3162 # Extract the first word of "strip", so it can be a program name with args.
3164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 printf %s "checking for $ac_word... " >&6; }
3170 if test -n "$ac_ct_STRIP"; then
3171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3178 '') as_dir=./ ;;
3179 */) ;;
3180 *) as_dir=$as_dir/ ;;
3185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3195 if test -n "$ac_ct_STRIP"; then
3196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3219 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3223 printf %s "checking for a race-free mkdir -p... " >&6; }
3224 if test -z "$MKDIR_P"; then
3230 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3234 '') as_dir=./ ;;
3235 */) ;;
3236 *) as_dir=$as_dir/ ;;
3241 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3255 test -d ./--version && rmdir ./--version
3257 MKDIR_P="$ac_cv_path_mkdir -p"
3259 # As a last resort, use the slow shell script. Don't cache a
3262 # removed, or if the value is a relative name.
3263 MKDIR_P="$ac_install_sh -d"
3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3271 # Extract the first word of "$ac_prog", so it can be a program name with args.
3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 printf %s "checking for $ac_word... " >&6; }
3279 if test -n "$AWK"; then
3280 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3287 '') as_dir=./ ;;
3288 */) ;;
3289 *) as_dir=$as_dir/ ;;
3294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3304 if test -n "$AWK"; then
3305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 test -n "$AWK" && break
3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3317 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3318 set x ${MAKE-make}
3319 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3324 cat >conftest.make <<\_ACEOF
3325 SHELL = /bin/sh
3329 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3330 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3336 rm -f conftest.make
3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 SET_MAKE="MAKE=${MAKE-make}"
3348 rm -rf .tst 2>/dev/null
3349 mkdir .tst 2>/dev/null
3350 if test -d .tst; then
3351 am__leading_dot=.
3355 rmdir .tst 2>/dev/null
3357 # Check whether --enable-silent-rules was given.
3365 no) AM_DEFAULT_VERBOSITY=1;;
3366 *) AM_DEFAULT_VERBOSITY=1;;
3368 am_make=${MAKE-make}
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3370 printf %s "checking whether $am_make supports nested variables... " >&6; }
3378 V=1
3381 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3399 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3400 # is not polluted with repeated "-I."
3401 am__isrc=' -I$(srcdir)'
3403 if test -f $srcdir/config.status; then
3409 if test -z "$CYGPATH_W"; then
3410 if (cygpath --version) >/dev/null 2>/dev/null; then
3411 CYGPATH_W='cygpath -w'
3418 # Define the identity of the package.
3423 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3426 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3428 # Some tools Automake needs.
3430 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3433 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3436 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3439 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3442 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3444 # For better backward compatibility. To be removed once Automake 1.9.x
3445 # dies out for good. For more background, see:
3446 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3447 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3450 # We need awk for the "check" target (and possibly the TAP driver). The
3451 # system "awk" is bad on some platforms.
3452 # Always define AMTAR for backward compatibility. Yes, it's still used
3453 # in the wild :-( We should find a proper way to deprecate it ...
3454 AMTAR='$${TAR-tar}'
3457 # We'll loop over all known methods to create a tar archive until one works.
3458 _am_tools='gnutar pax cpio none'
3460 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3466 # Variables for tags utilities; see am/tags.am
3467 if test -z "$CTAGS"; then
3471 if test -z "$ETAGS"; then
3475 if test -z "$CSCOPE"; then
3481 # POSIX will say in a future version that running "rm -f" with no argument
3483 # recipes. So use an aggressive probe to check that the usage we want is
3484 # actually supported "in the wild" to an acceptable degree.
3485 # See automake bug#10828.
3488 # user can still override this though.
3489 if rm -f && rm -fr && rm -rf; then : OK; else
3494 on the command line, even when the '-f' option is present. This is contrary
3496 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3498 Please tell bug-automake@gnu.org about your system, including the value
3499 of your $PATH and any error possibly output before this message. This
3500 can help us improve future automake versions.
3509 Aborting the configuration process, to ensure you take notice of the issue.
3512 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3516 to "yes", and re-run configure.
3519 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portio…
3525 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3526 # Check whether --enable-maintainer-mode was given.
3534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3547 # Check whether --enable-silent-rules was given.
3555 no) AM_DEFAULT_VERBOSITY=1;;
3558 am_make=${MAKE-make}
3559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3560 printf %s "checking whether $am_make supports nested variables... " >&6; }
3568 V=1
3571 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3589 ac_config_headers="$ac_config_headers config.h"
3593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for builtin ELF support" >&5
3594 printf %s "checking for builtin ELF support... " >&6; }
3595 # Check whether --enable-elf was given.
3599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 printf "%s\n" "#define BUILTIN_ELF 1" >>confdefs.h
3605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 printf "%s\n" "#define BUILTIN_ELF 1" >>confdefs.h
3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF core file support" >&5
3621 printf %s "checking for ELF core file support... " >&6; }
3622 # Check whether --enable-elf-core was given.
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3629 printf "%s\n" "#define ELFCORE 1" >>confdefs.h
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3641 printf "%s\n" "#define ELFCORE 1" >>confdefs.h
3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5
3648 printf %s "checking for zlib support... " >&6; }
3649 # Check whether --enable-zlib was given.
3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_zlib" >&5
3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bzlib support" >&5
3659 printf %s "checking for bzlib support... " >&6; }
3660 # Check whether --enable-bzlib was given.
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_bzlib" >&5
3669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xzlib support" >&5
3670 printf %s "checking for xzlib support... " >&6; }
3671 # Check whether --enable-xzlib was given.
3677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_xzlib" >&5
3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zstdlib support" >&5
3681 printf %s "checking for zstdlib support... " >&6; }
3682 # Check whether --enable-zstdlib was given.
3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_zstdlib" >&5
3691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzlib support" >&5
3692 printf %s "checking for lzlib support... " >&6; }
3693 # Check whether --enable-lzlib was given.
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_lzlib" >&5
3702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libseccomp support" >&5
3703 printf %s "checking for libseccomp support... " >&6; }
3704 # Check whether --enable-libseccomp was given.
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_libseccomp" >&5
3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file formats in man section 5" >&5
3714 printf %s "checking for file formats in man section 5... " >&6; }
3715 # Check whether --enable-fsect-man5 was given.
3719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 # Make sure we can run config.sub.
3740 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3741 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3744 printf %s "checking build system type... " >&6; }
3751 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3754 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3755 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3761 *-*-*) ;;
3765 ac_save_IFS=$IFS; IFS='-'
3768 build_cpu=$1
3775 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3779 printf %s "checking host system type... " >&6; }
3787 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3788 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 *-*-*) ;;
3799 ac_save_IFS=$IFS; IFS='-'
3802 host_cpu=$1
3809 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3814 MINGW=1
3821 if test "$MINGW" = 1; then
3830 pkgdatadir='$(datadir)/misc'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 if test -n "$ac_tool_prefix"; then
3859 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 printf %s "checking for $ac_word... " >&6; }
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3875 '') as_dir=./ ;;
3876 */) ;;
3877 *) as_dir=$as_dir/ ;;
3882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3892 if test -n "$CC"; then
3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 if test -z "$ac_cv_prog_CC"; then
3904 # Extract the first word of "gcc", so it can be a program name with args.
3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 printf %s "checking for $ac_word... " >&6; }
3912 if test -n "$ac_ct_CC"; then
3913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3920 '') as_dir=./ ;;
3921 */) ;;
3922 *) as_dir=$as_dir/ ;;
3927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3937 if test -n "$ac_ct_CC"; then
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3960 if test -z "$CC"; then
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 printf %s "checking for $ac_word... " >&6; }
3970 if test -n "$CC"; then
3971 ac_cv_prog_CC="$CC" # Let the user override the test.
3978 '') as_dir=./ ;;
3979 */) ;;
3980 *) as_dir=$as_dir/ ;;
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3995 if test -n "$CC"; then
3996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 if test -z "$CC"; then
4007 # Extract the first word of "cc", so it can be a program name with args.
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 printf %s "checking for $ac_word... " >&6; }
4015 if test -n "$CC"; then
4016 ac_cv_prog_CC="$CC" # Let the user override the test.
4024 '') as_dir=./ ;;
4025 */) ;;
4026 *) as_dir=$as_dir/ ;;
4030 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4043 # We found a bogon in the path, so make sure we never use it.
4047 # We chose a different compiler from the bogus one.
4049 # first if we set CC to just the basename; use the full file name.
4051 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4057 if test -n "$CC"; then
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 if test -z "$CC"; then
4068 if test -n "$ac_tool_prefix"; then
4069 for ac_prog in cl.exe
4071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 printf %s "checking for $ac_word... " >&6; }
4079 if test -n "$CC"; then
4080 ac_cv_prog_CC="$CC" # Let the user override the test.
4087 '') as_dir=./ ;;
4088 */) ;;
4089 *) as_dir=$as_dir/ ;;
4094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4104 if test -n "$CC"; then
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 test -n "$CC" && break
4116 if test -z "$CC"; then
4118 for ac_prog in cl.exe
4120 # Extract the first word of "$ac_prog", so it can be a program name with args.
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 printf %s "checking for $ac_word... " >&6; }
4128 if test -n "$ac_ct_CC"; then
4129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4136 '') as_dir=./ ;;
4137 */) ;;
4138 *) as_dir=$as_dir/ ;;
4143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4153 if test -n "$ac_ct_CC"; then
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 test -n "$ac_ct_CC" && break
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4179 if test -z "$CC"; then
4180 if test -n "$ac_tool_prefix"; then
4181 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 printf %s "checking for $ac_word... " >&6; }
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC="$CC" # Let the user override the test.
4197 '') as_dir=./ ;;
4198 */) ;;
4199 *) as_dir=$as_dir/ ;;
4204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4214 if test -n "$CC"; then
4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 if test -z "$ac_cv_prog_CC"; then
4226 # Extract the first word of "clang", so it can be a program name with args.
4228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 printf %s "checking for $ac_word... " >&6; }
4234 if test -n "$ac_ct_CC"; then
4235 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4242 '') as_dir=./ ;;
4243 */) ;;
4244 *) as_dir=$as_dir/ ;;
4249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4259 if test -n "$ac_ct_CC"; then
4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4285 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288 See \`config.log' for more details" "$LINENO" 5; }
4290 # Provide some information about the compiler.
4291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4294 for ac_option in --version -v -V -qversion -version; do
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4304 if test -s conftest.err; then
4306 ... rest of stderr output deleted ...
4307 10q' conftest.err >conftest.er1
4308 cat conftest.er1 >&5
4310 rm -f conftest.er1 conftest.err
4311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4327 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4328 # Try to create an executable without -o first, disregard a.out.
4330 # of exeext.
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4332 printf %s "checking whether the C compiler works... " >&6; }
4333 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4335 # The possible output files:
4336 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4342 …*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o |…
4346 rm -f $ac_rmfiles
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4362 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4363 # so that the user can short-circuit this test for compilers unknown to
4364 # Autoconf.
4367 test -f "$ac_file" || continue
4369 …*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o |…
4371 [ab].out )
4373 # certainly right.
4375 *.* )
4378 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4381 # safe: cross compilers may not add the suffix if given an `-o'
4382 # argument, so we may need to know it at that point already.
4384 # actually working.
4395 if test -z "$ac_file"
4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 sed 's/^/| /' conftest.$ac_ext >&5
4402 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 See \`config.log' for more details" "$LINENO" 5; }
4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4411 printf %s "checking for C compiler default output file name... " >&6; }
4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4416 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4419 printf %s "checking for suffix of executables... " >&6; }
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4433 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4434 # work properly (i.e., refer to `conftest.exe'), while it won't with
4435 # `rm'.
4436 for ac_file in conftest.exe conftest conftest.*; do
4437 test -f "$ac_file" || continue
4439 …*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o |…
4440 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4446 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4449 See \`config.log' for more details" "$LINENO" 5; }
4451 rm -f conftest conftest$ac_cv_exeext
4452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4455 rm -f conftest.$ac_ext
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4460 #include <stdio.h>
4464 FILE *f = fopen ("conftest.out", "w");
4471 ac_clean_files="$ac_clean_files conftest.out"
4472 # Check that the compiler produces executables we can run. If not, either
4473 # the compiler is broken, or we cross compile.
4474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4475 printf %s "checking whether we are cross compiling... " >&6; }
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 if { ac_try='./conftest$ac_cv_exeext'
4493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4504 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4506 as_fn_error 77 "cannot run C compiled programs.
4507 If you meant to cross compile, use \`--host'.
4508 See \`config.log' for more details" "$LINENO" 5; }
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4515 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4518 printf %s "checking for suffix of object files... " >&6; }
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 rm -f conftest.o conftest.obj
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4547 for ac_file in conftest.o conftest.obj conftest.*; do
4548 test -f "$ac_file" || continue;
4550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4561 as_fn_error $? "cannot compute suffix of object files: cannot compile
4562 See \`config.log' for more details" "$LINENO" 5; }
4564 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4571 printf %s "checking whether the compiler supports GNU C... " >&6; }
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4612 printf %s "checking whether $CC accepts -g... " >&6; }
4620 CFLAGS="-g"
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4653 CFLAGS="-g"
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4682 CFLAGS="-g -O2"
4684 CFLAGS="-g"
4688 CFLAGS="-O2"
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4697 printf %s "checking for $CC option to enable C11 features... " >&6; }
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4708 for ac_arg in '' -std=gnu11
4715 rm -f core conftest.err conftest.$ac_objext conftest.beam
4718 rm -f conftest.$ac_ext
4724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4730 printf "%s\n" "none needed" >&6; }
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4743 printf %s "checking for $CC option to enable C99 features... " >&6; }
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4754 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4761 rm -f core conftest.err conftest.$ac_objext conftest.beam
4764 rm -f conftest.$ac_ext
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4776 printf "%s\n" "none needed" >&6; }
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4789 printf %s "checking for $CC option to enable C89 features... " >&6; }
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
4807 rm -f core conftest.err conftest.$ac_objext conftest.beam
4810 rm -f conftest.$ac_ext
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4822 printf "%s\n" "none needed" >&6; }
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" …
4846 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4862 # Make sure it works both with $CC and with simple cc.
4864 # compilers refuse to overwrite an existing .o file with -o,
4865 # though they will create one.
4867 for am_i in 1 2; do
4868 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4869 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4873 && test -f conftest2.$ac_objext; then
4880 rm -f core conftest*
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4886 # Losing compiler, so override with the script.
4887 # FIXME: It is wrong to rewrite CC.
4888 # But if we don't then we get into trouble of one sort or another.
4889 # A longer-term fix would be to have automake use am__CC in this case,
4890 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4891 CC="$am_aux_dir/compile $CC"
4895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include di…
4904 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4905 cat > confinc.mk << 'END'
4907 @echo this is the am__doit target >confinc.out
4908 .PHONY: am__doit
4912 # BSD make does it like this.
4913 echo '.include "confinc.mk" # ignored' > confmf.BSD
4914 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4915 echo 'include confinc.mk # ignored' > confmf.GNU
4918 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4919 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4923 case $?:`cat confinc.out 2>/dev/null` in #(
4927 am__include='.include' am__quote='"' ;; #(
4939 rm -f confinc.* confmf.*
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4943 # Check whether --enable-dependency-tracking was given.
4950 am_depcomp="$ac_aux_dir/depcomp"
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4967 printf %s "checking dependency style of $depcc... " >&6; }
4972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4973 # We make a subdir and do the tests there. Otherwise we can end up
4974 # making bogus files that we don't know about and never remove. For
4975 # instance it was reported that on HP-UX the gcc test will end up
4976 # making a dummy file named 'D' -- because '-MD' means "put the output
4977 # in D".
4978 rm -rf conftest.dir
4979 mkdir conftest.dir
4981 # using a relative directory.
4982 cp "$am_depcomp" conftest.dir
4983 cd conftest.dir
4985 # it helps to detect inapplicable dependency modes. For instance
4986 # both Tru64's cc and ICC support -MD to output dependencies as a
4989 # directory.
4992 am_cv_CC_dependencies_compiler_type=none
4994 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4998 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5004 # we should not choose a depcomp mode which is confused by this.
5006 # We need to recreate these files for each test, as the compiler may
5007 # overwrite some of them when testing with obscure command lines.
5008 # This happens at least with the AIX C compiler.
5009 : > sub/conftest.c
5010 for i in 1 2 3 4 5 6; do
5011 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5012 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5013 # Solaris 10 /bin/sh.
5014 echo '/* dummy */' > sub/conftst$i.h
5016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5018 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5019 # mode. It turns out that the SunPro C++ compiler does not properly
5020 # handle '-M -o', and we need to detect this. Also, some Intel
5021 # versions had trouble with output in subdirs.
5022 am__obj=sub/conftest.${OBJEXT-o}
5023 am__minus_obj="-o $am__obj"
5026 # This depmode causes a compiler race in universal mode.
5030 # After this tag, mechanisms are not by side-effect, so they'll
5031 # only be used when explicitly requested.
5039 # This compiler won't grok '-c -o', but also, the minuso test has
5040 # not run yet. These depmodes are late enough in the game, and
5041 # so weak that their functioning should not be impacted.
5042 am__obj=conftest.${OBJEXT-o}
5045 none) break ;;
5048 source=sub/conftest.c object=$am__obj \
5049 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5050 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5051 >/dev/null 2>conftest.err &&
5052 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5053 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5054 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5055 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5057 # or remarks (even with -Werror). So we grep stderr for any message
5058 # that says an option was ignored or not supported.
5059 # When given -MP, icc 7.0 and 7.1 complain thusly:
5060 # icc: Command line warning: ignoring option '-M'; no argument required
5062 # icc: Command line remark: option '-MP' not supported
5063 if (grep 'ignoring option' conftest.err ||
5064 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5071 cd ..
5072 rm -rf conftest.dir
5074 am_cv_CC_dependencies_compiler_type=none
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5100 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5120 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5129 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__…
5130 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5138 # define __EXTENSIONS__ 1
5154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5159 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5160 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5171 #include <wchar.h>
5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5189 #include <wchar.h>
5203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5211 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5213 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5215 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5217 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5219 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5221 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5223 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5225 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5227 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5229 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5231 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5233 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5235 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5237 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5239 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5244 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5246 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5248 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5255 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5260 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5266 printf %s "checking whether byte ordering is bigendian... " >&6; }
5272 # See if we're dealing with a universal compiler.
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5284 # Check for potential -arch flags. It is not universal unless
5285 # there are at least two -arch flags with different values.
5289 if test -n "$ac_prev"; then
5292 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5301 elif test "x$ac_word" = "x-arch"; then
5306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5308 # See if sys/param.h defines the BYTE_ORDER macro.
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <sys/types.h>
5312 #include <sys/param.h>
5329 # It does; now see whether it defined to BIG_ENDIAN or not.
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5332 #include <sys/types.h>
5333 #include <sys/param.h>
5352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5357 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <limits.h>
5375 # It does; now see whether it defined to _BIG_ENDIAN or not.
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5378 #include <limits.h>
5397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5402 # Compile a test program.
5405 # Try to guess by grepping values from an object file.
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5434 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5437 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5455 /* Are we little or big endian? From Harbison&Steele. */
5461 u.l = 1;
5462 return u.c[sizeof (long int) - 1] == 1;
5474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5475 conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5484 printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
5490 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5500 printf %s "checking whether ln -s works... " >&6; }
5502 if test "$LN_S" = "ln -s"; then
5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5512 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
5518 macro_version='2.4.6'
5519 macro_revision='2.4.6'
5534 ltmain=$ac_aux_dir/ltmain.sh
5537 # double-quoted strings.
5538 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5540 # Same as above, but do not quote variable references.
5541 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5544 # double_quote_subst'ed string.
5545 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5547 # Sed substitution to delay expansion of an escaped single quote.
5548 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5551 no_glob_subst='s/\*/\\\*/g'
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5558 printf %s "checking how to print strings... " >&6; }
5559 # Test print first, because it will be a builtin if present.
5560 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5561 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5562 ECHO='print -r --'
5563 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5566 # Use this function as a fallback that always works.
5570 $1
5576 # func_echo_all arg...
5577 # Invoke $ECHO with all args, space-separated.
5584 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5586 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5587 printf "%s\n" "print -r" >&6; } ;;
5588 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5606 printf %s "checking for a sed that does not truncate output... " >&6; }
5611 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5612 for ac_i in 1 2 3 4 5 6 7; do
5615 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5617 if test -z "$SED"; then
5619 # Loop through the user's path and test for each of PROGNAME-LIST
5625 '') as_dir=./ ;;
5626 */) ;;
5627 *) as_dir=$as_dir/ ;;
5634 # Check for GNU ac_path_SED and select it if it is found.
5635 # Check for GNU $ac_path_SED
5636 case `"$ac_path_SED" --version 2>&1` in
5641 printf %s 0123456789 >"conftest.in"
5644 cat "conftest.in" "conftest.in" >"conftest.tmp"
5645 mv "conftest.tmp" "conftest.in"
5646 cp "conftest.in" "conftest.nl"
5647 printf "%s\n" '' >> "conftest.nl"
5648 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5650 as_fn_arith $ac_count + 1 && ac_count=$as_val
5651 if test $ac_count -gt ${ac_path_SED_max-0}; then
5657 test $ac_count -gt 10 && break
5659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5667 if test -z "$ac_cv_path_SED"; then
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5678 rm -f conftest.sed
5680 test -z "$SED" && SED=sed
5681 Xsed="$SED -e 1s/^X//"
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5694 printf %s "checking for grep that handles long lines and -e... " >&6; }
5699 if test -z "$GREP"; then
5701 # Loop through the user's path and test for each of PROGNAME-LIST
5703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5707 '') as_dir=./ ;;
5708 */) ;;
5709 *) as_dir=$as_dir/ ;;
5716 # Check for GNU ac_path_GREP and select it if it is found.
5717 # Check for GNU $ac_path_GREP
5718 case `"$ac_path_GREP" --version 2>&1` in
5723 printf %s 0123456789 >"conftest.in"
5726 cat "conftest.in" "conftest.in" >"conftest.tmp"
5727 mv "conftest.tmp" "conftest.in"
5728 cp "conftest.in" "conftest.nl"
5729 printf "%s\n" 'GREP' >> "conftest.nl"
5730 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
5731 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5732 as_fn_arith $ac_count + 1 && ac_count=$as_val
5733 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5739 test $ac_count -gt 10 && break
5741 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5749 if test -z "$ac_cv_path_GREP"; then
5750 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5763 printf %s "checking for egrep... " >&6; }
5768 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5769 then ac_cv_path_EGREP="$GREP -E"
5771 if test -z "$EGREP"; then
5773 # Loop through the user's path and test for each of PROGNAME-LIST
5775 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5779 '') as_dir=./ ;;
5780 */) ;;
5781 *) as_dir=$as_dir/ ;;
5788 # Check for GNU ac_path_EGREP and select it if it is found.
5789 # Check for GNU $ac_path_EGREP
5790 case `"$ac_path_EGREP" --version 2>&1` in
5795 printf %s 0123456789 >"conftest.in"
5798 cat "conftest.in" "conftest.in" >"conftest.tmp"
5799 mv "conftest.tmp" "conftest.in"
5800 cp "conftest.in" "conftest.nl"
5801 printf "%s\n" 'EGREP' >> "conftest.nl"
5802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5804 as_fn_arith $ac_count + 1 && ac_count=$as_val
5805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5811 test $ac_count -gt 10 && break
5813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5821 if test -z "$ac_cv_path_EGREP"; then
5822 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5836 printf %s "checking for fgrep... " >&6; }
5841 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5842 then ac_cv_path_FGREP="$GREP -F"
5844 if test -z "$FGREP"; then
5846 # Loop through the user's path and test for each of PROGNAME-LIST
5848 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5852 '') as_dir=./ ;;
5853 */) ;;
5854 *) as_dir=$as_dir/ ;;
5861 # Check for GNU ac_path_FGREP and select it if it is found.
5862 # Check for GNU $ac_path_FGREP
5863 case `"$ac_path_FGREP" --version 2>&1` in
5868 printf %s 0123456789 >"conftest.in"
5871 cat "conftest.in" "conftest.in" >"conftest.tmp"
5872 mv "conftest.tmp" "conftest.in"
5873 cp "conftest.in" "conftest.nl"
5874 printf "%s\n" 'FGREP' >> "conftest.nl"
5875 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5876 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5877 as_fn_arith $ac_count + 1 && ac_count=$as_val
5878 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5884 test $ac_count -gt 10 && break
5886 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5894 if test -z "$ac_cv_path_FGREP"; then
5895 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5908 test -z "$GREP" && GREP=grep
5928 # Check whether --with-gnu-ld was given.
5938 # Check if gcc -print-prog-name=ld gives a path.
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5940 printf %s "checking for ld used by $CC... " >&6; }
5942 *-*-mingw*)
5944 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5946 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5949 # Accept absolute paths.
5950 [\\/]* | ?:[\\/]*)
5951 re_direlt='/[^/][^/]*/\.\./'
5953 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5954 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5955 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5957 test -z "$LD" && LD=$ac_prog
5960 # If it fails, then pretend we aren't using GCC.
5964 # If it is relative, then search for the first ld in PATH.
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5970 printf %s "checking for GNU ld... " >&6; }
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5973 printf %s "checking for non-GNU ld... " >&6; }
5979 if test -z "$LD"; then
5983 test -z "$ac_dir" && ac_dir=.
5984 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5985 lt_cv_path_LD=$ac_dir/$ac_prog
5986 # Check to see if the program is GNU ld. I'd rather use --version,
5987 # but apparently some variants of GNU ld only accept -v.
5988 # Break only if it was the GNU/non-GNU ld that we prefer.
5989 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6001 lt_cv_path_LD=$LD # Let the user override the test with a path.
6006 if test -n "$LD"; then
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6015 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6020 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6021 case `$LD -v 2>&1 </dev/null` in
6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
6043 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6048 if test -n "$NM"; then
6049 # Let the user override the test.
6053 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6058 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6060 test -z "$ac_dir" && ac_dir=.
6061 tmp_nm=$ac_dir/$lt_tmp_nm
6062 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6063 # Check to see if the nm accepts a BSD-compat flag.
6064 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6066 # Tru64's nm complains that /dev/null is an invalid object file
6067 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6069 mingw*) lt_bad_file=conftest.nm/nofile ;;
6070 *) lt_bad_file=/dev/null ;;
6072 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6074 lt_cv_path_NM="$tmp_nm -B"
6078 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6079 */dev/null*)
6080 lt_cv_path_NM="$tmp_nm -p"
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6102 # Didn't find any BSD compatible name lister, look for dumpbin.
6103 if test -n "$DUMPBIN"; then :
6104 # Let the user override the test.
6106 if test -n "$ac_tool_prefix"; then
6107 for ac_prog in dumpbin "link -dump"
6109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s "checking for $ac_word... " >&6; }
6117 if test -n "$DUMPBIN"; then
6118 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6125 '') as_dir=./ ;;
6126 */) ;;
6127 *) as_dir=$as_dir/ ;;
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 if test -n "$DUMPBIN"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 test -n "$DUMPBIN" && break
6154 if test -z "$DUMPBIN"; then
6156 for ac_prog in dumpbin "link -dump"
6158 # Extract the first word of "$ac_prog", so it can be a program name with args.
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 printf %s "checking for $ac_word... " >&6; }
6166 if test -n "$ac_ct_DUMPBIN"; then
6167 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6174 '') as_dir=./ ;;
6175 */) ;;
6176 *) as_dir=$as_dir/ ;;
6181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6191 if test -n "$ac_ct_DUMPBIN"; then
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 test -n "$ac_ct_DUMPBIN" && break
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6216 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6218 DUMPBIN="$DUMPBIN -symbols -headers"
6230 test -z "$NM" && NM=nm
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6238 printf %s "checking the name lister ($NM) interface... " >&6; }
6244 echo "int some_variable = 0;" > conftest.$ac_ext
6246 (eval "$ac_compile" 2>conftest.err)
6247 cat conftest.err >&5
6248 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6249 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6250 cat conftest.err >&5
6252 cat conftest.out >&5
6253 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6256 rm -f conftest*
6258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
6263 printf %s "checking the maximum length of command line arguments... " >&6; }
6275 # during glob expansion). Even if it were fixed, the result of this
6276 # check would be larger than it should be.
6282 # no limit to the length of command line arguments.
6283 # Libtool will interpret -1 as no limit whatsoever
6284 lt_cv_sys_max_cmd_len=-1;
6288 # On Win9x/ME, this test blows up -- it succeeds, but takes
6289 # about 5 minutes as the teststring grows exponentially.
6290 # Worse, since 9x/ME are not pre-emptively multitasking,
6292 # the test eventually succeeds (with a max line length of 256k).
6294 # all of the supported platforms: 8192 (on NT/2K/XP).
6299 # On MiNT this can take a long time and run out of memory.
6304 # On AmigaOS with pdksh, this test takes hours, literally.
6305 # So we just punt and use a minimum line length of 8192.
6310 # This has been around since 386BSD, at least. Likely further.
6311 if test -x /sbin/sysctl; then
6312 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6313 elif test -x /usr/sbin/sysctl; then
6314 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6329 # The test takes a long time on OS/2.
6334 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6335 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6336 # nice to cause kernel panics so lets avoid the loop below.
6337 # First set a reasonable default.
6340 if test -x /sbin/sysconfig; then
6341 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6342 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6346 sco3.2v5*)
6349 sysv5* | sco5v6* | sysv4.2uw2*)
6350 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6351 if test -n "$kargmax"; then
6352 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6358 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6359 if test -n "$lt_cv_sys_max_cmd_len" && \
6361 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6364 # Make teststring a little bigger before we do anything with it.
6365 # a 1K string should be a reasonable start.
6366 for i in 1 2 3 4 5 6 7 8; do
6369 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6370 # If test is not a shell built-in, we'll probably end up computing a
6372 # we can't tell.
6373 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6374 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6375 test 17 != "$i" # 1/2 MB should be enough
6377 i=`expr $i + 1`
6380 # Only check the string length outside the loop.
6381 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6385 # linker. It appears as though 1/2 is a usable value.
6386 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6393 if test -n "$lt_cv_sys_max_cmd_len"; then
6394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6398 printf "%s\n" "none" >&6; }
6407 : ${CP="cp -f"}
6408 : ${MV="mv -f"}
6409 : ${RM="rm -f"}
6411 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6424 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
6443 printf %s "checking how to convert $build file names to $host format... " >&6; }
6449 *-*-mingw* )
6451 *-*-mingw* ) # actually msys
6454 *-*-cygwin* )
6462 *-*-cygwin* )
6464 *-*-mingw* ) # actually msys
6467 *-*-cygwin* )
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
6491 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6496 #assume ordinary cross tools, or native build.
6499 *-*-mingw* )
6501 *-*-mingw* ) # actually msys
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6519 printf %s "checking for $LD option to reload object files... " >&6; }
6524 lt_cv_ld_reload_flag='-r'
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6533 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6542 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6544 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6557 if test -n "$ac_tool_prefix"; then
6558 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 printf %s "checking for $ac_word... " >&6; }
6566 if test -n "$OBJDUMP"; then
6567 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6574 '') as_dir=./ ;;
6575 */) ;;
6576 *) as_dir=$as_dir/ ;;
6581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6591 if test -n "$OBJDUMP"; then
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 if test -z "$ac_cv_prog_OBJDUMP"; then
6603 # Extract the first word of "objdump", so it can be a program name with args.
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 printf %s "checking for $ac_word... " >&6; }
6611 if test -n "$ac_ct_OBJDUMP"; then
6612 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6619 '') as_dir=./ ;;
6620 */) ;;
6621 *) as_dir=$as_dir/ ;;
6626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6636 if test -n "$ac_ct_OBJDUMP"; then
6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6659 test -z "$OBJDUMP" && OBJDUMP=objdump
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6670 printf %s "checking how to recognize dependent libraries... " >&6; }
6679 # interlibrary dependencies.
6680 # 'none' -- dependencies not supported.
6681 # 'unknown' -- same as none, but documents that we really don't know.
6682 # 'pass_all' -- all dependencies passed with no checks.
6683 # 'test_compile' -- check by making test program.
6684 # 'file_magic [[regex]]' -- check by looking for files in library path
6685 # that responds to the $file_magic_cmd with a given extended regex.
6687 # whether 'pass_all' will *always* work, you probably want this one.
6690 aix[4-9]*)
6699 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6700 lt_cv_file_magic_cmd='/usr/bin/file -L'
6701 lt_cv_file_magic_test_file=/shlib/libc.so
6705 # func_win32_libid is a shell function defined in ltmain.sh
6711 # Base MSYS/MinGW do not provide the 'file' command needed by
6713 # unless we find 'file', for example because we are cross-compiling.
6714 if ( file / ) >/dev/null 2>&1; then
6718 # Keep this pattern in sync with the one in func_win32_libid.
6719 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
6720 lt_cv_file_magic_cmd='$OBJDUMP -f'
6725 # use the weaker test based on 'objdump'. See mingw*.
6726 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6727 lt_cv_file_magic_cmd='$OBJDUMP -f'
6735 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6738 # Not sure whether the presence of OpenBSD here was a mistake.
6739 # Let's accept both of them until this is cleared up.
6740 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
6741 lt_cv_file_magic_cmd=/usr/bin/file
6742 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6754 hpux10.20* | hpux11*)
6755 lt_cv_file_magic_cmd=/usr/bin/file
6758 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6759 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6762 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
6763 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6766 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6767 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6772 interix[3-9]*)
6773 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6779 *-32|*"-32 ") libmagic=32-bit;;
6780 *-n32|*"-n32 ") libmagic=N32;;
6781 *-64|*"-64 ") libmagic=64-bit;;
6782 *) libmagic=never-match;;
6787 # This must be glibc/ELF.
6788 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6793 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6794 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6796 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6801 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6802 lt_cv_file_magic_cmd=/usr/bin/file
6803 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6811 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6814 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6830 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6834 sysv4 | sysv4.3*)
6837 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-…
6838 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6844 lt_cv_file_magic_cmd='/bin/file'
6845 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6848 lt_cv_file_magic_cmd='/bin/file'
6849 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6850 lt_cv_file_magic_test_file=/lib/libc.so
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6878 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6881 …echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6889 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6912 if test -n "$ac_tool_prefix"; then
6913 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 printf %s "checking for $ac_word... " >&6; }
6921 if test -n "$DLLTOOL"; then
6922 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6929 '') as_dir=./ ;;
6930 */) ;;
6931 *) as_dir=$as_dir/ ;;
6936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6946 if test -n "$DLLTOOL"; then
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 if test -z "$ac_cv_prog_DLLTOOL"; then
6958 # Extract the first word of "dlltool", so it can be a program name with args.
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 printf %s "checking for $ac_word... " >&6; }
6966 if test -n "$ac_ct_DLLTOOL"; then
6967 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6974 '') as_dir=./ ;;
6975 */) ;;
6976 *) as_dir=$as_dir/ ;;
6981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6991 if test -n "$ac_ct_DLLTOOL"; then
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7014 test -z "$DLLTOOL" && DLLTOOL=dlltool
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
7026 printf %s "checking how to associate runtime and link libraries... " >&6; }
7035 # two different shell functions defined in ltmain.sh;
7037 case `$DLLTOOL --help 2>&1` in
7038 *--identify-strict*)
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7056 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7064 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 printf %s "checking for $ac_word... " >&6; }
7075 if test -n "$AR"; then
7076 ac_cv_prog_AR="$AR" # Let the user override the test.
7083 '') as_dir=./ ;;
7084 */) ;;
7085 *) as_dir=$as_dir/ ;;
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7100 if test -n "$AR"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 test -n "$AR" && break
7112 if test -z "$AR"; then
7116 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 printf %s "checking for $ac_word... " >&6; }
7124 if test -n "$ac_ct_AR"; then
7125 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7132 '') as_dir=./ ;;
7133 */) ;;
7134 *) as_dir=$as_dir/ ;;
7139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 if test -n "$ac_ct_AR"; then
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 test -n "$ac_ct_AR" && break
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7188 printf %s "checking for archiver @FILE support... " >&6; }
7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7207 echo conftest.$ac_objext > conftest.lst
7208 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7214 if test 0 -eq "$ac_status"; then
7215 # Ensure the archiver fails upon bogus file names.
7216 rm -f conftest.$ac_objext libconftest.a
7217 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7222 if test 0 -ne "$ac_status"; then
7226 rm -f conftest.* libconftest.a
7229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 printf %s "checking for $ac_word... " >&6; }
7256 if test -n "$STRIP"; then
7257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7264 '') as_dir=./ ;;
7265 */) ;;
7266 *) as_dir=$as_dir/ ;;
7271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7281 if test -n "$STRIP"; then
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 if test -z "$ac_cv_prog_STRIP"; then
7293 # Extract the first word of "strip", so it can be a program name with args.
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 printf %s "checking for $ac_word... " >&6; }
7301 if test -n "$ac_ct_STRIP"; then
7302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7309 '') as_dir=./ ;;
7310 */) ;;
7311 *) as_dir=$as_dir/ ;;
7316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7326 if test -n "$ac_ct_STRIP"; then
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7349 test -z "$STRIP" && STRIP=:
7356 if test -n "$ac_tool_prefix"; then
7357 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 printf %s "checking for $ac_word... " >&6; }
7365 if test -n "$RANLIB"; then
7366 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7373 '') as_dir=./ ;;
7374 */) ;;
7375 *) as_dir=$as_dir/ ;;
7380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7390 if test -n "$RANLIB"; then
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 if test -z "$ac_cv_prog_RANLIB"; then
7402 # Extract the first word of "ranlib", so it can be a program name with args.
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 printf %s "checking for $ac_word... " >&6; }
7410 if test -n "$ac_ct_RANLIB"; then
7411 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7418 '') as_dir=./ ;;
7419 */) ;;
7420 *) as_dir=$as_dir/ ;;
7425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7435 if test -n "$ac_ct_RANLIB"; then
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7458 test -z "$RANLIB" && RANLIB=:
7465 # Determine commands to create old-style static archives.
7470 if test -n "$RANLIB"; then
7473 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7527 # If no C compiler was specified, use CC.
7528 LTCC=${LTCC-"$CC"}
7530 # If no C compiler flags were specified, use CFLAGS.
7531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7533 # Allow CC to be a program name with arguments.
7537 # Check for command to grab the raw symbol name followed by C symbol from nm.
7538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
7539 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7545 # These are sane defaults that work on at least a few old systems.
7546 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7548 # Character class describing NM global symbol codes.
7551 # Regexp to match symbols that can be accessed directly from C.
7552 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7554 # Define system-specific variables.
7576 sco3.2v5*)
7579 sysv4.2uw2*)
7590 # If we're using GNU nm, then use its standard symbol codes.
7591 case `$NM -V 2>&1` in
7597 # Gets list of data symbols to import.
7598 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7599 # Adjust the below global symbol transforms to fixup imported variables.
7600 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7601 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7603 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7604 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7606 # Disable hooks by default.
7613 # Transform an extracted symbol line into a proper C declaration.
7614 # Some systems (esp. on ia64) link data and code symbols differently,
7615 # so use this general approach.
7616 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7618 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7619 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7622 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7624 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7625 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7628 # symbol address.
7629 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7631 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7632 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7633 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7639 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7643 # Try without a prefix underscore, then with it.
7646 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7647 symxfrm="\\1 $ac_symprfx\\2 \\2"
7649 # Write the raw and C identifiers.
7651 # Fake it for dumpbin and say T for any non-static function,
7652 # D for any global variable and I for any imported variable.
7654 # which start with @ or ?.
7657 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7658 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7659 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7660 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7661 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7662 " \$ 0!~/External *\|/{next};"\
7663 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7665 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7666 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7667 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7668 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7671 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat…
7673 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7675 # Check to see that the pipe works correctly.
7678 rm -f conftest*
7679 cat > conftest.$ac_ext <<_LT_EOF
7692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7697 # Now try to grab the symbols.
7698 nlist=conftest.nm
7699 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_globa…
7700 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7703 test $ac_status = 0; } && test -s "$nlist"; then
7704 # Try sorting and uniquifying the output.
7706 mv -f "$nlist"T "$nlist"
7708 rm -f "$nlist"T
7711 # Make sure that we snagged all the symbols we need.
7712 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7713 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7714 cat <<_LT_EOF > conftest.$ac_ext
7715 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7717 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7718 relocations are performed -- see ld's documentation on pseudo-relocs. */
7721 /* This system does not cope well with relocations in const data. */
7732 # Now generate the symbol file.
7733 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7735 cat <<_LT_EOF >> conftest.$ac_ext
7737 /* The mapping between symbol names and symbols. */
7746 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
7747 cat <<\_LT_EOF >> conftest.$ac_ext
7751 /* This works around a problem in FreeBSD linker */
7762 # Now try linking the two files.
7763 mv conftest.$ac_objext conftstm.$ac_objext
7766 LIBS=conftstm.$ac_objext
7768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7788 cat conftest.$ac_ext >&5
7790 rm -rf conftest* conftst*
7792 # Do not use the global_symbol_pipe unless it works.
7802 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7805 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7813 # Response file support.
7816 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7857 printf %s "checking for sysroot... " >&6; }
7859 # Check whether --with-sysroot was given.
7872 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7875 /*)
7876 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7883 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7888 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7895 printf %s "checking for a working dd... " >&6; }
7900 printf 0123456789abcdef0123456789abcdef >conftest.i
7901 cat conftest.i conftest.i >conftest2.i
7903 if test -z "$lt_DD"; then
7905 # Loop through the user's path and test for each of PROGNAME-LIST
7911 '') as_dir=./ ;;
7912 */) ;;
7913 *) as_dir=$as_dir/ ;;
7920 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7921 cmp -s conftest.i conftest.out \
7929 if test -z "$ac_cv_path_lt_DD"; then
7936 rm -f conftest.i conftest2.i conftest.out
7938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7943 printf %s "checking how to truncate binary pipes... " >&6; }
7948 printf 0123456789abcdef0123456789abcdef >conftest.i
7949 cat conftest.i conftest.i >conftest2.i
7951 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7952 cmp -s conftest.i conftest.out \
7953 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7955 rm -f conftest.i conftest2.i conftest.out
7956 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7967 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7972 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7973 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7974 \-*) ;;
7978 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7981 # Check whether --enable-libtool-lock was given.
7989 # Some flags need to be propagated to the compiler or linker for good
7990 # libtool support.
7992 ia64-*-hpux*)
7994 # options accordingly.
7995 echo 'int i;' > conftest.$ac_ext
7996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8001 case `/usr/bin/file conftest.$ac_objext` in
8002 *ELF-32*)
8005 *ELF-64*)
8010 rm -rf conftest*
8012 *-*-irix6*)
8014 # options accordingly.
8015 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8022 case `/usr/bin/file conftest.$ac_objext` in
8023 *32-bit*)
8024 LD="${LD-ld} -melf32bsmip"
8027 LD="${LD-ld} -melf32bmipn32"
8029 *64-bit*)
8030 LD="${LD-ld} -melf64bmip"
8034 case `/usr/bin/file conftest.$ac_objext` in
8035 *32-bit*)
8036 LD="${LD-ld} -32"
8039 LD="${LD-ld} -n32"
8041 *64-bit*)
8042 LD="${LD-ld} -64"
8047 rm -rf conftest*
8050 mips64*-*linux*)
8052 # options accordingly.
8053 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8060 case `/usr/bin/file conftest.$ac_objext` in
8061 *32-bit*)
8064 *64-bit*)
8068 case `/usr/bin/file conftest.$ac_objext` in
8076 case `/usr/bin/file conftest.$ac_objext` in
8081 LD="${LD-ld} -m $emul"
8083 rm -rf conftest*
8086 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8087 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8089 # options accordingly. Note that the listed cases only cover the
8091 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8093 # not appear in the list.
8094 echo 'int i;' > conftest.$ac_ext
8095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8100 case `/usr/bin/file conftest.o` in
8101 *32-bit*)
8103 x86_64-*kfreebsd*-gnu)
8104 LD="${LD-ld} -m elf_i386_fbsd"
8106 x86_64-*linux*)
8107 case `/usr/bin/file conftest.o` in
8108 *x86-64*)
8109 LD="${LD-ld} -m elf32_x86_64"
8112 LD="${LD-ld} -m elf_i386"
8116 powerpc64le-*linux*)
8117 LD="${LD-ld} -m elf32lppclinux"
8119 powerpc64-*linux*)
8120 LD="${LD-ld} -m elf32ppclinux"
8122 s390x-*linux*)
8123 LD="${LD-ld} -m elf_s390"
8125 sparc64-*linux*)
8126 LD="${LD-ld} -m elf32_sparc"
8130 *64-bit*)
8132 x86_64-*kfreebsd*-gnu)
8133 LD="${LD-ld} -m elf_x86_64_fbsd"
8135 x86_64-*linux*)
8136 LD="${LD-ld} -m elf_x86_64"
8138 powerpcle-*linux*)
8139 LD="${LD-ld} -m elf64lppc"
8141 powerpc-*linux*)
8142 LD="${LD-ld} -m elf64ppc"
8144 s390*-*linux*|s390*-*tpf*)
8145 LD="${LD-ld} -m elf64_s390"
8147 sparc*-*linux*)
8148 LD="${LD-ld} -m elf64_sparc"
8154 rm -rf conftest*
8157 *-*-sco3.2v5*)
8158 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8160 CFLAGS="$CFLAGS -belf"
8161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8162 printf %s "checking whether the C compiler needs -belf... " >&6; }
8169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8191 conftest$ac_exeext conftest.$ac_ext
8194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8202 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8206 *-*solaris*)
8208 # options accordingly.
8209 echo 'int i;' > conftest.$ac_ext
8210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8215 case `/usr/bin/file conftest.o` in
8216 *64-bit*)
8220 i?86-*-solaris*|x86_64-*-solaris*)
8221 LD="${LD-ld} -m elf_x86_64"
8223 sparc*-*-solaris*)
8224 LD="${LD-ld} -m elf64_sparc"
8227 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8228 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8229 LD=${LD-ld}_sol2
8233 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8234 LD="${LD-ld} -64"
8241 rm -rf conftest*
8247 if test -n "$ac_tool_prefix"; then
8248 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 printf %s "checking for $ac_word... " >&6; }
8256 if test -n "$MANIFEST_TOOL"; then
8257 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8264 '') as_dir=./ ;;
8265 */) ;;
8266 *) as_dir=$as_dir/ ;;
8271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8281 if test -n "$MANIFEST_TOOL"; then
8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8293 # Extract the first word of "mt", so it can be a program name with args.
8295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 printf %s "checking for $ac_word... " >&6; }
8301 if test -n "$ac_ct_MANIFEST_TOOL"; then
8302 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8309 '') as_dir=./ ;;
8310 */) ;;
8311 *) as_dir=$as_dir/ ;;
8316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8326 if test -n "$ac_ct_MANIFEST_TOOL"; then
8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8349 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8351 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8357 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8358 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8359 cat conftest.err >&5
8360 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8363 rm -f conftest*
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8378 if test -n "$ac_tool_prefix"; then
8379 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 printf %s "checking for $ac_word... " >&6; }
8387 if test -n "$DSYMUTIL"; then
8388 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8395 '') as_dir=./ ;;
8396 */) ;;
8397 *) as_dir=$as_dir/ ;;
8402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8412 if test -n "$DSYMUTIL"; then
8413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422 if test -z "$ac_cv_prog_DSYMUTIL"; then
8424 # Extract the first word of "dsymutil", so it can be a program name with args.
8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 printf %s "checking for $ac_word... " >&6; }
8432 if test -n "$ac_ct_DSYMUTIL"; then
8433 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8440 '') as_dir=./ ;;
8441 */) ;;
8442 *) as_dir=$as_dir/ ;;
8447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8457 if test -n "$ac_ct_DSYMUTIL"; then
8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8480 if test -n "$ac_tool_prefix"; then
8481 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8484 printf %s "checking for $ac_word... " >&6; }
8489 if test -n "$NMEDIT"; then
8490 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8497 '') as_dir=./ ;;
8498 */) ;;
8499 *) as_dir=$as_dir/ ;;
8504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8514 if test -n "$NMEDIT"; then
8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 if test -z "$ac_cv_prog_NMEDIT"; then
8526 # Extract the first word of "nmedit", so it can be a program name with args.
8528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8529 printf %s "checking for $ac_word... " >&6; }
8534 if test -n "$ac_ct_NMEDIT"; then
8535 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8542 '') as_dir=./ ;;
8543 */) ;;
8544 *) as_dir=$as_dir/ ;;
8549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8559 if test -n "$ac_ct_NMEDIT"; then
8560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 printf %s "checking for $ac_word... " >&6; }
8591 if test -n "$LIPO"; then
8592 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8599 '') as_dir=./ ;;
8600 */) ;;
8601 *) as_dir=$as_dir/ ;;
8606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8616 if test -n "$LIPO"; then
8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8626 if test -z "$ac_cv_prog_LIPO"; then
8628 # Extract the first word of "lipo", so it can be a program name with args.
8630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8631 printf %s "checking for $ac_word... " >&6; }
8636 if test -n "$ac_ct_LIPO"; then
8637 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8644 '') as_dir=./ ;;
8645 */) ;;
8646 *) as_dir=$as_dir/ ;;
8651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8661 if test -n "$ac_ct_LIPO"; then
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8684 if test -n "$ac_tool_prefix"; then
8685 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8688 printf %s "checking for $ac_word... " >&6; }
8693 if test -n "$OTOOL"; then
8694 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8701 '') as_dir=./ ;;
8702 */) ;;
8703 *) as_dir=$as_dir/ ;;
8708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8718 if test -n "$OTOOL"; then
8719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728 if test -z "$ac_cv_prog_OTOOL"; then
8730 # Extract the first word of "otool", so it can be a program name with args.
8732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 printf %s "checking for $ac_word... " >&6; }
8738 if test -n "$ac_ct_OTOOL"; then
8739 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8746 '') as_dir=./ ;;
8747 */) ;;
8748 *) as_dir=$as_dir/ ;;
8753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8763 if test -n "$ac_ct_OTOOL"; then
8764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8786 if test -n "$ac_tool_prefix"; then
8787 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790 printf %s "checking for $ac_word... " >&6; }
8795 if test -n "$OTOOL64"; then
8796 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8803 '') as_dir=./ ;;
8804 */) ;;
8805 *) as_dir=$as_dir/ ;;
8810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8820 if test -n "$OTOOL64"; then
8821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 if test -z "$ac_cv_prog_OTOOL64"; then
8832 # Extract the first word of "otool64", so it can be a program name with args.
8834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 printf %s "checking for $ac_word... " >&6; }
8840 if test -n "$ac_ct_OTOOL64"; then
8841 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8848 '') as_dir=./ ;;
8849 */) ;;
8850 *) as_dir=$as_dir/ ;;
8855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8865 if test -n "$ac_ct_OTOOL64"; then
8866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8915 printf %s "checking for -single_module linker flag... " >&6; }
8921 if test -z "$LT_MULTI_MODULE"; then
8922 # By default we will add the -single_module flag. You can override
8924 # non-empty at configure time, or by adding -multi_module to the
8925 # link flags.
8926 rm -rf libconftest.dylib*
8927 echo "int foo(void){return 1;}" > conftest.c
8928 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8929 -dynamiclib -Wl,-single_module conftest.c" >&5
8930 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8931 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8933 # If there is a non-empty error log, and "single_module"
8935 if test -s conftest.err && $GREP single_module conftest.err; then
8936 cat conftest.err >&5
8938 # the compiler, it worked.
8939 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8942 cat conftest.err >&5
8944 rm -rf libconftest.dylib*
8945 rm -f conftest.*
8948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8951 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8952 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8959 echo "_main" > conftest.sym
8960 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8979 conftest$ac_exeext conftest.$ac_ext
8983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8987 printf %s "checking for -force_load linker flag... " >&6; }
8993 cat > conftest.c << _LT_EOF
8996 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8997 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8998 echo "$AR cru libconftest.a conftest.o" >&5
8999 $AR cru libconftest.a conftest.o 2>&5
9000 echo "$RANLIB libconftest.a" >&5
9001 $RANLIB libconftest.a 2>&5
9002 cat > conftest.c << _LT_EOF
9005 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9006 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9008 if test -s conftest.err && $GREP force_load conftest.err; then
9009 cat conftest.err >&5
9010 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9013 cat conftest.err >&5
9015 rm -f conftest.err libconftest.a conftest conftest.c
9016 rm -rf conftest.dSYM
9019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9022 rhapsody* | darwin1.[012])
9023 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9024 darwin1.*)
9025 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9026 darwin*) # darwin 5.x on
9029 # target defaults to 10.4. Don't you love it?
9030 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9031 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9032 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9033 10.[012][,.]*)
9034 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9035 10.*)
9036 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9044 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9046 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9057 # -----------------------------------
9076 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9079 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9082 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9083 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9086 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9091 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9095 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9104 # Check whether --enable-static was given.
9107 enableval=$enable_static; p=${PACKAGE-default}
9113 # Look at the argument we got. We use all the common list separators.
9135 # Check whether --with-pic was given.
9138 withval=$with_pic; lt_p=${PACKAGE-default}
9143 # Look at the argument we got. We use all the common list separators.
9172 # Check whether --enable-shared was given.
9175 enableval=$enable_shared; p=${PACKAGE-default}
9181 # Look at the argument we got. We use all the common list separators.
9206 # Check whether --enable-fast-install was given.
9209 enableval=$enable_fast_install; p=${PACKAGE-default}
9215 # Look at the argument we got. We use all the common list separators.
9239 power*-*-aix[5-9]*,yes)
9240 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
9241 printf %s "checking which variant of shared library versioning to provide... " >&6; }
9243 # Check whether --with-aix-soname was given.
9250 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9269 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9270 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9271 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9272 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9273 if test 64 = "${OBJECT_MODE-32}"; then
9297 # Always use our own libtool.
9298 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9329 test -z "$LN_S" && LN_S="ln -s"
9344 if test -n "${ZSH_VERSION+set}"; then
9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9349 printf %s "checking for objdir... " >&6; }
9354 rm -f .libs 2>/dev/null
9355 mkdir .libs 2>/dev/null
9356 if test -d .libs; then
9357 lt_cv_objdir=.libs
9359 # MS-DOS does not allow filenames that begin with a dot.
9362 rmdir .libs 2>/dev/null
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9372 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9379 # AIX sometimes has problems with the GCC collect2 program. For some
9381 # vanish in a puff of smoke.
9393 # All known linkers require a '.a' archive for static linking (except MSVC,
9394 # which needs '.lib').
9403 test -z "$CC" && CC=cc
9404 test -z "$LTCC" && LTCC=$CC
9405 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9406 test -z "$LD" && LD=ld
9407 test -z "$ac_objext" && ac_objext=o
9413 # Only perform the check for file, if the check method requires it
9414 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9419 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9425 [\\/*] | ?:[\\/]*)
9426 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9431 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9434 test -z "$ac_dir" && ac_dir=.
9435 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9436 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9437 if test -n "$file_magic_test_file"; then
9440 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9442 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9443 $EGREP "$file_magic_regex" > /dev/null; then
9446 cat <<_LT_EOF 1>&2
9449 *** $file_magic_cmd, produces output that libtool cannot recognize.
9451 *** as such. This will affect the creation of libtool libraries that
9453 *** libraries will work regardless of this problem. Nevertheless, you
9454 *** may want to report the problem to your system manager and/or to
9455 *** bug-libtool@gnu.org
9471 if test -n "$MAGIC_CMD"; then
9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9483 if test -z "$lt_cv_path_MAGIC_CMD"; then
9484 if test -n "$ac_tool_prefix"; then
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9486 printf %s "checking for file... " >&6; }
9492 [\\/*] | ?:[\\/]*)
9493 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9498 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9501 test -z "$ac_dir" && ac_dir=.
9502 if test -f "$ac_dir/file"; then
9503 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9504 if test -n "$file_magic_test_file"; then
9507 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9509 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9510 $EGREP "$file_magic_regex" > /dev/null; then
9513 cat <<_LT_EOF 1>&2
9516 *** $file_magic_cmd, produces output that libtool cannot recognize.
9518 *** as such. This will affect the creation of libtool libraries that
9520 *** libraries will work regardless of this problem. Nevertheless, you
9521 *** may want to report the problem to your system manager and/or to
9522 *** bug-libtool@gnu.org
9538 if test -n "$MAGIC_CMD"; then
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 # Source file extension for C test sources.
9569 # Object file extension for compiled C test sources.
9573 # Code to be used in simple compile tests
9576 # Code to be used in simple link tests
9585 # If no C compiler was specified, use CC.
9586 LTCC=${LTCC-"$CC"}
9588 # If no C compiler flags were specified, use CFLAGS.
9589 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9591 # Allow CC to be a program name with arguments.
9595 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9598 # save warnings/boilerplate of simple test code
9599 ac_outfile=conftest.$ac_objext
9600 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9601 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9602 _lt_compiler_boilerplate=`cat conftest.err`
9605 ac_outfile=conftest.$ac_objext
9606 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9607 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9608 _lt_linker_boilerplate=`cat conftest.err`
9609 $RM -r conftest*
9615 ## what you are doing...
9616 if test -n "$compiler"; then
9623 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9625 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9628 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
9629 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9635 ac_outfile=conftest.$ac_objext
9636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9637 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9638 # Insert the option either (1) after the last *FLAGS variable, or
9639 # (2) before a word containing "conftest.", or (3) at the end.
9641 # with a dollar sign (not a hyphen), so the echo should work correctly.
9642 # The option is referenced via a variable to avoid confusing sed.
9644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9646 -e 's:$: $lt_compiler_flag:'`
9648 (eval "$lt_compile" 2>conftest.err)
9650 cat conftest.err >&5
9652 if (exit $ac_status) && test -s "$ac_outfile"; then
9654 # So say no if there are warnings other than the usual output.
9655 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9656 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9657 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9668 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9686 lt_prog_compiler_wl='-Wl,'
9687 lt_prog_compiler_static='-static'
9691 # All AIX code is PIC.
9694 lt_prog_compiler_static='-Bstatic'
9696 lt_prog_compiler_pic='-fPIC'
9702 # see comment about AmigaOS4 .so support
9703 lt_prog_compiler_pic='-fPIC'
9707 # adding the '-m68020' flag to GCC prevents building anything better,
9708 # like '-m68040'.
9709 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9715 # PIC is the default for these OSes.
9720 # built for inclusion in a dll (and should export symbols for example).
9721 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9722 # (--disable-auto-import) libraries
9723 lt_prog_compiler_pic='-DDLL_EXPORT'
9726 lt_prog_compiler_static='$wl-static'
9733 # Common symbols not allowed in MH_DYLIB files
9734 lt_prog_compiler_pic='-fno-common'
9738 # PIC is the default for Haiku.
9739 # The "-static" flag exists, but is broken.
9744 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9745 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9746 # sets the default TLS model and affects inlining.
9752 lt_prog_compiler_pic='-fPIC'
9757 interix[3-9]*)
9758 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9759 # Instead, we relocate shared libraries at runtime.
9764 # on systems that don't support them.
9770 # QNX uses GNU C++, but need to define -shared option too, otherwise
9771 # it will coredump.
9772 lt_prog_compiler_pic='-fPIC -shared'
9776 if test -d /usr/nec; then
9777 lt_prog_compiler_pic=-Kconform_pic
9782 lt_prog_compiler_pic='-fPIC'
9788 lt_prog_compiler_wl='-Xlinker '
9789 if test -n "$lt_prog_compiler_pic"; then
9790 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9795 # PORTME Check for flag to pass linker flags through the system compiler.
9798 lt_prog_compiler_wl='-Wl,'
9801 lt_prog_compiler_static='-Bstatic'
9803 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9809 # Common symbols not allowed in MH_DYLIB files
9810 lt_prog_compiler_pic='-fno-common'
9814 lt_prog_compiler_wl='-Wl,-Wl,,'
9815 lt_prog_compiler_pic='-PIC'
9816 lt_prog_compiler_static='-Bstatic'
9823 # built for inclusion in a dll (and should export symbols for example).
9824 lt_prog_compiler_pic='-DDLL_EXPORT'
9827 lt_prog_compiler_static='$wl-static'
9833 lt_prog_compiler_wl='-Wl,'
9834 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9835 # not for PA HP-UX.
9845 lt_prog_compiler_static='$wl-a ${wl}archive'
9849 lt_prog_compiler_wl='-Wl,'
9850 # PIC (with -KPIC) is the default.
9851 lt_prog_compiler_static='-non_shared'
9854 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9856 # old Intel for x86_64, which still supported -KPIC.
9858 lt_prog_compiler_wl='-Wl,'
9859 lt_prog_compiler_pic='-KPIC'
9860 lt_prog_compiler_static='-static'
9862 # icc used to be incompatible with GCC.
9863 # ICC 10 doesn't accept -KPIC any more.
9865 lt_prog_compiler_wl='-Wl,'
9866 lt_prog_compiler_pic='-fPIC'
9867 lt_prog_compiler_static='-static'
9869 # Lahey Fortran 8.1.
9871 lt_prog_compiler_wl='-Wl,'
9872 lt_prog_compiler_pic='--shared'
9873 lt_prog_compiler_static='--static'
9877 lt_prog_compiler_wl='-Wl,-Wl,,'
9878 lt_prog_compiler_pic='-PIC'
9879 lt_prog_compiler_static='-Bstatic'
9883 lt_prog_compiler_wl='-Wl,'
9884 lt_prog_compiler_pic='-fPIC'
9885 lt_prog_compiler_static='-static'
9890 lt_prog_compiler_wl='-Wl,'
9891 lt_prog_compiler_pic='-fpic'
9892 lt_prog_compiler_static='-Bstatic'
9895 lt_prog_compiler_wl='-Wl,'
9896 # All Alpha code is PIC.
9897 lt_prog_compiler_static='-non_shared'
9900 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9901 lt_prog_compiler_wl='-Wl,'
9902 lt_prog_compiler_pic='-qpic'
9903 lt_prog_compiler_static='-qstaticlink'
9906 case `$CC -V 2>&1 | sed 5q` in
9907 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9909 lt_prog_compiler_pic='-KPIC'
9910 lt_prog_compiler_static='-Bstatic'
9914 lt_prog_compiler_pic='-KPIC'
9915 lt_prog_compiler_static='-Bstatic'
9916 lt_prog_compiler_wl='-Qoption ld '
9920 lt_prog_compiler_pic='-KPIC'
9921 lt_prog_compiler_static='-Bstatic'
9922 lt_prog_compiler_wl='-Wl,'
9925 lt_prog_compiler_wl='-Wl,'
9926 lt_prog_compiler_pic='-fPIC'
9927 lt_prog_compiler_static='-static'
9930 lt_prog_compiler_wl='-Wl,'
9931 lt_prog_compiler_pic='-fpic'
9932 lt_prog_compiler_static='-Bstatic'
9940 lt_prog_compiler_pic='-KPIC'
9941 lt_prog_compiler_static='-Bstatic'
9945 # QNX uses GNU C++, but need to define -shared option too, otherwise
9946 # it will coredump.
9947 lt_prog_compiler_pic='-fPIC -shared'
9951 lt_prog_compiler_wl='-Wl,'
9952 # All OSF/1 code is PIC.
9953 lt_prog_compiler_static='-non_shared'
9957 lt_prog_compiler_static='-non_shared'
9961 lt_prog_compiler_pic='-KPIC'
9962 lt_prog_compiler_static='-Bstatic'
9965 lt_prog_compiler_wl='-Qoption ld ';;
9967 lt_prog_compiler_wl='-Wl,';;
9972 lt_prog_compiler_wl='-Qoption ld '
9973 lt_prog_compiler_pic='-PIC'
9974 lt_prog_compiler_static='-Bstatic'
9977 sysv4 | sysv4.2uw2* | sysv4.3*)
9978 lt_prog_compiler_wl='-Wl,'
9979 lt_prog_compiler_pic='-KPIC'
9980 lt_prog_compiler_static='-Bstatic'
9984 if test -d /usr/nec; then
9985 lt_prog_compiler_pic='-Kconform_pic'
9986 lt_prog_compiler_static='-Bstatic'
9990 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9991 lt_prog_compiler_wl='-Wl,'
9992 lt_prog_compiler_pic='-KPIC'
9993 lt_prog_compiler_static='-Bstatic'
9997 lt_prog_compiler_wl='-Wl,'
10002 lt_prog_compiler_pic='-pic'
10003 lt_prog_compiler_static='-Bstatic'
10013 # For platforms that do not support PIC, -DPIC is meaningless:
10018 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10023 printf %s "checking for $compiler option to produce PIC... " >&6; }
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10035 # Check to make sure the PIC flag actually works.
10037 if test -n "$lt_prog_compiler_pic"; then
10038 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
10039 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10045 ac_outfile=conftest.$ac_objext
10046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10047 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10048 # Insert the option either (1) after the last *FLAGS variable, or
10049 # (2) before a word containing "conftest.", or (3) at the end.
10051 # with a dollar sign (not a hyphen), so the echo should work correctly.
10052 # The option is referenced via a variable to avoid confusing sed.
10054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10056 -e 's:$: $lt_compiler_flag:'`
10058 (eval "$lt_compile" 2>conftest.err)
10060 cat conftest.err >&5
10062 if (exit $ac_status) && test -s "$ac_outfile"; then
10064 # So say no if there are warnings other than the usual output.
10065 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10066 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10067 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10100 # Check to make sure the static flag actually works.
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
10104 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10112 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10113 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10116 if test -s conftest.err; then
10117 # Append any errors to the config.log.
10118 cat conftest.err 1>&5
10119 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10120 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10121 if diff conftest.exp conftest.er2 >/dev/null; then
10128 $RM -r conftest*
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10147 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
10148 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10154 $RM -r conftest 2>/dev/null
10158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160 lt_compiler_flag="-o out/conftest2.$ac_objext"
10161 # Insert the option either (1) after the last *FLAGS variable, or
10162 # (2) before a word containing "conftest.", or (3) at the end.
10164 # with a dollar sign (not a hyphen), so the echo should work correctly.
10166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10168 -e 's:$: $lt_compiler_flag:'`
10170 (eval "$lt_compile" 2>out/conftest.err)
10172 cat out/conftest.err >&5
10174 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10178 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10179 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10180 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10184 chmod u+w . 2>&5
10186 # SGI C++ compiler will create directory out/ii_files/ for
10188 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10189 $RM out/* && rmdir out
10190 cd ..
10191 $RM -r conftest
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10203 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
10204 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10210 $RM -r conftest 2>/dev/null
10214 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10216 lt_compiler_flag="-o out/conftest2.$ac_objext"
10217 # Insert the option either (1) after the last *FLAGS variable, or
10218 # (2) before a word containing "conftest.", or (3) at the end.
10220 # with a dollar sign (not a hyphen), so the echo should work correctly.
10222 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10224 -e 's:$: $lt_compiler_flag:'`
10226 (eval "$lt_compile" 2>out/conftest.err)
10228 cat out/conftest.err >&5
10230 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10234 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10235 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10236 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10240 chmod u+w . 2>&5
10242 # SGI C++ compiler will create directory out/ii_files/ for
10244 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10245 $RM out/* && rmdir out
10246 cd ..
10247 $RM -r conftest
10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10261 printf %s "checking if we can lock with hard links... " >&6; }
10264 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10265 touch conftest.a
10266 ln conftest.a conftest.b 2>&5 || hard_links=no
10267 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10271 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
10272 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10284 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
10285 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10295 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort…
10311 # include_expsyms should be a list of space-separated symbols to be *always*
10316 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10317 # as well as any symbol that contains 'd'.
10318 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10319 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10321 # the symbol is explicitly referenced. Since portable code cannot
10323 # preloaded symbol tables.
10324 # Exclude shared library initialization/finalization symbols.
10331 # Microsoft Visual C++.
10337 # we just hope/assume this is gcc and not c89 (= MSVC++)
10348 # that we're better off using the native interface for both.
10354 # with the native linker. However, as the warning in the GNU ld
10355 # block says, versions before 2.19.5* couldn't really create working
10356 # shared libraries, regardless of the interface used.
10357 case `$LD -v 2>&1` in
10358 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10359 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10360 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10376 # Set some defaults for GNU ld with shared library support. These
10377 # are reset later if shared libraries are not supported. Putting them
10378 # here allows them to be overridden if necessary.
10380 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10381 export_dynamic_flag_spec='$wl--export-dynamic'
10382 # ancient GNU ld didn't support --whole-archive et. al.
10383 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10384 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10389 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10391 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10392 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10393 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10394 *\ 2.11.*) ;; # other 2.11 versions
10398 # See if GNU ld supports shared libraries.
10400 aix[3-9]*)
10401 # On AIX/PPC, the GNU linker is very broken
10404 cat <<_LT_EOF 1>&2
10407 *** to be unable to reliably create shared libraries on AIX.
10408 *** Therefore, libtool is disabling shared libraries support. If you
10410 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10411 *** You will then need to restart the configuration process.
10420 # see comment about AmigaOS4 .so support
10421 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10425 …/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define L…
10426 hardcode_libdir_flag_spec='-L$libdir'
10433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10436 # support --undefined. This deserves some investigation. FIXME
10437 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10445 # as there is no search path for DLLs.
10446 hardcode_libdir_flag_spec='-L$libdir'
10447 export_dynamic_flag_spec='$wl--export-all-symbols'
10451 …ymbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\…
10452 …lude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_…
10454 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10455 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
10456 # If the export-symbols file already is a .def file, use it as
10457 # is; otherwise, prepend EXPORTS...
10458 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
10459 cp $export_symbols $output_objdir/$soname.def;
10461 echo EXPORTS > $output_objdir/$soname.def;
10462 cat $export_symbols >> $output_objdir/$soname.def;
10464 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
10471 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10476 hardcode_libdir_flag_spec='-L$libdir'
10479 shrext_cmds=.dll
10480 …mds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10481 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10482 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10483 $ECHO EXPORTS >> $output_objdir/$libname.def~
10484 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10485 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
10486 emximp -o $lib $output_objdir/$libname.def'
10487 …mds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10488 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10489 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10490 $ECHO EXPORTS >> $output_objdir/$libname.def~
10492 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10493 prefix_cmds="$prefix_cmds -e 1d";
10495 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10496 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10497 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
10498 emximp -o $lib $output_objdir/$libname.def'
10499 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10503 interix[3-9]*)
10506 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10507 export_dynamic_flag_spec='$wl-E'
10508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10511 # consuming and fragmenting process. To avoid this, we pick a random,
10512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10514 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
10515 …/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-…
10518 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10520 if test linux-dietlibc = "$host_os"; then
10522 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10529 tmp_sharedflag='-shared'
10532 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
10537 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
10538 tmp_addflag=' $pic_flag -Mnomain' ;;
10540 tmp_addflag=' -i_dynamic' ;;
10542 tmp_addflag=' -i_dynamic -nofor_main' ;;
10544 tmp_addflag=' -nofor_main' ;;
10547 tmp_sharedflag='--shared' ;;
10549 tmp_sharedflag='-Wl,-shared' ;;
10551 tmp_sharedflag='-qmkshrobj'
10554 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
10558 case `$CC -V 2>&1 | sed 5q` in
10560 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
10562 tmp_sharedflag='-G' ;;
10564 tmp_sharedflag='-G' ;;
10566 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10569 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10570 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10571 echo "local: *; };" >> $output_objdir/$libname.ver~
10572 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
10577 export_dynamic_flag_spec='-rdynamic'
10581 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10582 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10583 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10585 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10586 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10587 echo "local: *; };" >> $output_objdir/$libname.ver~
10588 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
10598 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10599 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10602 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
10603 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
10608 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10610 cat <<_LT_EOF 1>&2
10612 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10613 *** create shared libraries on Solaris systems. Therefore, libtool
10614 *** is disabling shared libraries support. We urge you to upgrade GNU
10615 *** binutils to release 2.9.1 or newer. Another option is to modify
10617 *** used, and then restart.
10620 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10621 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
10622 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
10628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10629 case `$LD -v 2>&1` in
10630 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10632 cat <<_LT_EOF 1>&2
10634 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10635 *** reliably create shared libraries on SCO systems. Therefore, libtool
10636 *** is disabling shared libraries support. We urge you to upgrade GNU
10637 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10639 *** used, and then restart.
10646 # DT_RUNPATH tag from executables and libraries. But doing so
10647 # requires that you compile everything twice, which is a pain.
10648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10649 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10651 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
10660 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10667 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10668 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
10669 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
10688 …cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H51…
10690 # are no directories specified by -L.
10692 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10694 # broken collect2.
10699 aix[4-9]*)
10702 # have to do anything special.
10704 exp_sym_flag='-Bexport'
10707 # If we're using GNU nm, then we don't want the "-C" option.
10708 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10709 # Without the "-l" option, or with the "-B" option, AIX nm treats
10711 # GNU nm marks them as "W".
10713 # it in the Import File for the 'aix-soname' feature, so we have
10714 # to replace the "-B" option with "-P" for AIX nm.
10715 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10716 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
10718 …-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
10723 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10724 # have runtime linking enabled, and use it for executables.
10725 # For shared libraries, we enable/disable runtime linking
10726 # depending on the kind of the shared library created -
10728 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10729 # "aix,yes" lib.so shared, rtl:yes, for executables
10730 # lib.a static archive
10731 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10732 # lib.a(lib.so.V) shared, rtl:no, for executables
10733 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10734 # lib.a(lib.so.V) shared, rtl:no
10735 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10736 # lib.a static archive
10737 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10739 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10745 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10746 # so we don't have lib.a shared libs to link our executables.
10747 # We have to force runtime linking in this case.
10749 LDFLAGS="$LDFLAGS -Wl,-brtl"
10754 exp_sym_flag='-bexport'
10755 no_entry_flag='-bnoentry'
10759 # have problems creating the table of contents. If linking a library
10760 # or program results in "error TOC overflow" add -mminimal-toc to
10761 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10762 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10769 file_list_spec='$wl-f,'
10773 # The Import File defines what to hardcode.
10780 case $host_os in aix4.[012]|aix4.[012].*)
10781 # We only want to do this on AIX 4.2 and lower, the check
10783 collect2name=`$CC -print-prog-name=collect2`
10784 if test -f "$collect2name" &&
10785 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10793 # path is not listed in the libpath. Setting hardcode_minus_L
10796 hardcode_libdir_flag_spec='-L$libdir'
10801 shared_flag='-shared'
10803 shared_flag="$shared_flag "'$wl-G'
10807 # /with/ Import File - we do not want to mix them.
10808 shared_flag_aix='-shared'
10809 shared_flag_svr4='-shared $wl-G'
10813 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10814 # chokes on -Wl,-G. The following line is correct:
10815 shared_flag='-G'
10818 shared_flag='$wl-G'
10820 shared_flag='$wl-bM:SRE'
10822 shared_flag_aix='$wl-bM:SRE'
10823 shared_flag_svr4='$wl-G'
10827 export_dynamic_flag_spec='$wl-bexpall'
10828 # It seems that -bexpall does not export symbols beginning with
10829 # underscore (_), so it is better to generate a list of symbols to export.
10832 # Warning - without using the other runtime loading flags (-brtl),
10833 # -berok will link without error, but may produce a broken library.
10834 allow_undefined_flag='-berok'
10836 # empty executable.
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10859 /Import File Strings/,/^$/ {
10860 /^0/ {
10861 s/^0 *\([^ ]*\) *$/\1/
10865 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10866 # Check for a 64-bit object if we didn't find anything.
10867 if test -z "$lt_cv_aix_libpath_"; then
10868 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 if test -z "$lt_cv_aix_libpath_"; then
10874 lt_cv_aix_libpath_=/usr/lib:/lib
10882 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10883 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
10886 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10887 allow_undefined_flag="-z nodefs"
10888 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
10891 # empty executable.
10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10914 /Import File Strings/,/^$/ {
10915 /^0/ {
10916 s/^0 *\([^ ]*\) *$/\1/
10920 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10921 # Check for a 64-bit object if we didn't find anything.
10922 if test -z "$lt_cv_aix_libpath_"; then
10923 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10927 conftest$ac_exeext conftest.$ac_ext
10928 if test -z "$lt_cv_aix_libpath_"; then
10929 lt_cv_aix_libpath_=/usr/lib:/lib
10937 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10938 # Warning - without using the other run time loading flags,
10939 # -berok will link without error, but may produce a broken library.
10940 no_undefined_flag=' $wl-bernotok'
10941 allow_undefined_flag=' $wl-berok'
10943 # We only use this code for GNU lds that support --whole-archive.
10944 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10950 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10951 # -brtl affects multiple linker settings, -berok does not and is overridden later
10952 …piler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10954 # This is similar to how AIX traditionally builds its shared libraries.
10955 …-o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl…
10958 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
10960 # used by -dlpreopen to get the symbols
10961 …archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10963 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10971 # see comment about AmigaOS4 .so support
10972 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10976 …/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define L…
10977 hardcode_libdir_flag_spec='-L$libdir'
10984 export_dynamic_flag_spec=-rdynamic
10989 # Microsoft Visual C++.
10991 # no search path for DLLs.
10999 # Tell ltmain to make .lib files, not .a files.
11001 # Tell ltmain to make .dll files, not .so files.
11002 shrext_cmds=.dll
11003 # FIXME: Setting linknames here is a bad hack.
11004 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
11005 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
11006 cp "$export_symbols" "$output_objdir/$soname.def";
11007 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11009 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11011 …C -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp…
11013 # The linker will not automatically build a static lib if we build a DLL.
11016 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11017 …nce | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''…
11023 *.exe|*.EXE) ;;
11025 lt_outputfile=$lt_outputfile.exe
11026 lt_tool_outputfile=$lt_tool_outputfile.exe
11029 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11030 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
11031 $RM "$lt_outputfile.manifest";
11038 # Tell ltmain to make .lib files, not .a files.
11040 # Tell ltmain to make .dll files, not .so files.
11041 shrext_cmds=.dll
11042 # FIXME: Setting linknames here is a bad hack.
11043 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
11044 # The linker will automatically build a .lib file if we build a DLL.
11046 # FIXME: Should let the user specify the lib program.
11047 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11061 …ag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
11074 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
11075 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
11076 …ut_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$de…
11077 …le_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
11086 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11087 hardcode_libdir_flag_spec='-L$libdir'
11091 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11092 # support. Future versions do this automatically, but an explicit c++rt0.o
11094 # extra space).
11095 freebsd2.2*)
11096 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11097 hardcode_libdir_flag_spec='-R$libdir'
11102 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11103 freebsd2.*)
11104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11110 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11112 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11113 hardcode_libdir_flag_spec='-R$libdir'
11120 …/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplib…
11122 …/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test …
11129 # but as the default location of the library.
11131 export_dynamic_flag_spec='$wl-E'
11136 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
11138 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11145 export_dynamic_flag_spec='$wl-E'
11147 # but as the default location of the library.
11156 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11159 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
11162 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
11168 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11171 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11175 # Older versions of the 11.00 compiler do not understand -b yet
11176 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11178 printf %s "checking if $CC understands -b... " >&6; }
11185 LDFLAGS="$LDFLAGS -b"
11186 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11187 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11190 if test -s conftest.err; then
11191 # Append any errors to the config.log.
11192 cat conftest.err 1>&5
11193 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11194 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11195 if diff conftest.exp conftest.er2 >/dev/null; then
11202 $RM -r conftest*
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11210 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
11212 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11230 export_dynamic_flag_spec='$wl-E'
11233 # but as the default location of the library.
11242 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
11243 # Try to use the -exported_symbol ld option, if it does not
11244 # work, assume that -exports_file does not work either and
11245 # implicitly export all symbols.
11246 # This should be the same for all languages, so no per-tag cache variable.
11247 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
11248 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11254 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11266 conftest$ac_exeext conftest.$ac_ext
11269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11272 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
11275 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
11276 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
11279 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11290 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11296 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11297 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11299 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11301 hardcode_libdir_flag_spec='-R$libdir'
11307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11309 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11318 if test -f /usr/libexec/ld.so; then
11322 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11323 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11324 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
11325 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11326 export_dynamic_flag_spec='$wl-E'
11328 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11329 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11337 hardcode_libdir_flag_spec='-L$libdir'
11340 shrext_cmds=.dll
11341 …mds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11342 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11343 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11344 $ECHO EXPORTS >> $output_objdir/$libname.def~
11345 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11346 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
11347 emximp -o $lib $output_objdir/$libname.def'
11348 …mds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11349 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11350 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11351 $ECHO EXPORTS >> $output_objdir/$libname.def~
11353 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11354 prefix_cmds="$prefix_cmds -e 1d";
11356 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11357 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11358 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
11359 emximp -o $lib $output_objdir/$libname.def'
11360 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11366 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11367 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
11369 allow_undefined_flag=' -expect_unresolved \*'
11370 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
11373 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11377 osf4* | osf5*) # as osf3* with the addition of -msym flag
11379 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11380 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
11381 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11383 allow_undefined_flag=' -expect_unresolved \*'
11384 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
11385 …$export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-…
11386 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
11388 # Both c and cxx compiler support -rpath directly
11389 hardcode_libdir_flag_spec='-rpath $libdir'
11396 no_undefined_flag=' -z defs'
11399 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
11400 …m_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo…
11401 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
11403 case `$CC -V 2>&1` in
11406 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11407 …m_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo…
11408 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
11412 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11413 …m_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo…
11414 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
11418 hardcode_libdir_flag_spec='-R$libdir'
11421 solaris2.[0-5] | solaris2.[0-5].*) ;;
11424 # but understands '-z linker_flag'. GCC discards it without '$wl',
11425 # but is careful enough not to reorder.
11426 # Supported since Solaris 2.6 (maybe 2.5.1?)
11428 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11430 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11439 # Use $CC to link under sequent, because it throws in some extra .o
11440 # files that make .init and .fini sections work.
11441 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11443 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11445 hardcode_libdir_flag_spec='-L$libdir'
11454 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11459 ## CC just makes a GrossModule.
11460 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11461 reload_cmds='$CC -r -o $output$reload_objs'
11465 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11466 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11473 sysv4.3*)
11474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11476 export_dynamic_flag_spec='-Bexport'
11480 if test -d /usr/nec; then
11481 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11489 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11490 no_undefined_flag='$wl-z,text'
11496 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11497 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
11499 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11500 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
11504 sysv5* | sco3.2v5* | sco5v6*)
11505 # Note: We CANNOT use -z defs as we might desire, because we do not
11506 # link with -lc, and that would cause any symbols used from libc to
11508 # ever link correctly. If we're not using GNU ld we use -z text
11509 # though, which does catch some bad symbols but isn't as heavy-handed
11510 # as -z defs.
11511 no_undefined_flag='$wl-z,text'
11512 allow_undefined_flag='$wl-z,nodefs'
11515 hardcode_libdir_flag_spec='$wl-R,$libdir'
11518 export_dynamic_flag_spec='$wl-Bexport'
11522 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11523 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
11525 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11526 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
11531 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11532 hardcode_libdir_flag_spec='-L$libdir'
11543 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11544 export_dynamic_flag_spec='$wl-Blargedynsym'
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11575 # Assume -lc should be added
11581 # FIXME: we may have to deal with multi-command sequences.
11584 # Test whether the compiler implicitly links with -lc since on some
11585 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11586 # to ld, don't add -lc before -lgcc.
11587 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
11588 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600 test $ac_status = 0; } 2>conftest.err; then
11603 libobjs=conftest.$ac_objext
11607 compiler_flags=-v
11608 linker_flags=-v
11610 output_objdir=.
11614 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
11615 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11626 cat conftest.err 1>&5
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11792 printf %s "checking dynamic linker characteristics... " >&6; }
11796 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11797 *) lt_awk_arg='/^libraries:/' ;;
11800 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11801 *) lt_sed_strip_eq='s|=/|/|g' ;;
11803 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
11807 # otherwise default to the standard path separator (i.e. ":") - it is
11809 # okay in the real world where ";" in dirpaths is itself problematic.
11810 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11813 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11817 # and add multilib dir if necessary...
11819 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11820 # ...but if some path component already ends with the multilib dir we assume
11821 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11823 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11828 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11830 elif test -n "$lt_multi_os_dir"; then
11831 test -d "$lt_sys_path" && \
11836 BEGIN {RS = " "; FS = "/|\n";} {
11839 for (lt_i = NF; lt_i > 0; lt_i--) {
11840 if ($lt_i != "" && $lt_i != ".") {
11841 if ($lt_i == "..") {
11845 lt_foo = "/" $lt_i lt_foo;
11847 lt_count--;
11853 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11855 # AWK program above erroneously prepends '/' to C:/dos/paths
11856 # for these hosts.
11859 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11863 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11868 shrext_cmds=.so
11875 version_type=none
11876 dynamic_linker="$host_os ld.so"
11877 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11881 # when you set need_version to no, make sure it does not cause -set_version
11889 version_type=linux # correct to gnu/linux during the next big refactor
11890 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11893 # AIX 3 has no versioning support, so we append a major version to the name.
11897 aix[4-9]*)
11898 version_type=linux # correct to gnu/linux during the next big refactor
11907 # With GCC up to 2.95.x, collect2 would create an import file
11908 # for dependence libraries. The import file would start with
11909 # the line '#! .'. This would cause the generated library to
11910 # depend on '.', always an invalid library. This was fixed in
11911 # development snapshots of GCC prior to 3.0.
11913 aix4 | aix4.[01] | aix4.[01].*)
11916 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11923 # Using Import Files as archive members, it is possible to support
11924 # filename-based versioning of shared library archives on AIX. While
11926 # prevent static linking of such archives. So we do filename-based
11927 # shared library versioning with .so extension only, which is used
11928 # when both runtime linking and shared linking is enabled.
11930 # not want this to be the default eventually. Also, we use the
11931 # versioned .so libs for executables only if there is the -brtl
11932 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11933 # To allow for filename-based versioning support, we need to create
11934 # libNAME.so.V as an archive file, containing:
11941 # it being seen by the linker.
11943 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11947 # soname into executable. Probably we can add versioning support to
11948 # collect2, so additional links can be useful in future.
11950 dynamic_linker='AIX unversionable lib.so'
11951 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11952 # instead of lib<name>.a to let people know that these are not
11953 # typical AIX shared libraries.
11957 dynamic_linker='AIX lib.a(lib.so.V)'
11958 # We preserve .a as extension for shared libraries through AIX4.2
11959 # and later when we are not doing run time linking.
11960 library_names_spec='$libname$release.a $libname.a'
11964 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11966 # We do not specify a path in Import Files, so LIBPATH fires.
11970 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11972 # unpreferred sharedlib libNAME.a needs extra handling
11973 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
11974 …; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " …
11975 # We do not specify a path in Import Files, so LIBPATH fires.
11979 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11980 library_names_spec='$libname$release.a $libname.a'
11982 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11983 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
11984 …-z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; d…
11994 # Since July 2007 AmigaOS4 officially supports .so libraries.
11995 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11999 library_names_spec='$libname.ixlibrary $libname.a'
12000 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12001 …/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$…
12008 dynamic_linker="$host_os ld.so"
12013 version_type=linux # correct to gnu/linux during the next big refactor
12017 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12019 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12020 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12021 # the default ld.so.conf also contains /usr/contrib/lib and
12022 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12023 # libtool to hard-code these into programs
12028 shrext_cmds=.dll
12035 library_names_spec='$libname.dll.a'
12036 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12038 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12039 dldir=$destdir/`dirname \$dlpath`~
12040 test -d \$dldir || mkdir -p \$dldir~
12041 $install_prog $dir/$dlname \$dldir/$dlname~
12042 chmod a+x \$dldir/$dlname~
12043 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12044 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12046 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12047 dlpath=$dir/\$dldll~
12054 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix…
12056 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12060 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12064 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ver…
12067 dynamic_linker='Win32 ld.exe'
12073 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12074 library_names_spec='$libname.dll.lib'
12084 # Let DOS variable expansion print the short 8.3 style file name.
12085 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12089 # Convert to MSYS style.
12090 …_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
12095 # like /cygdrive/c/PROGRA~1:/cygdr...
12096 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12097 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12098 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
12102 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12103 # It is most probably a Windows format PATH.
12104 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12106 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12109 # common. (e.g. "Program Files" -> "PROGRA~1")
12113 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12115 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12116 dldir=$destdir/`dirname \$dlpath`~
12117 test -d \$dldir || mkdir -p \$dldir~
12118 $install_prog $dir/$dlname \$dldir/$dlname'
12119 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12120 dlpath=$dir/\$dldll~
12123 dynamic_linker='Win32 link.exe'
12128 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
12129 dynamic_linker='Win32 ld.exe'
12132 # FIXME: first we should search . and the directory the executable is in
12145 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12147 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12148 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12152 version_type=linux # correct to gnu/linux during the next big refactor
12161 # DragonFly does not have aout. When/if they implement a new
12162 # versioning mechanism, adjust this.
12163 if test -x /usr/bin/objformat; then
12164 objformat=`/usr/bin/objformat`
12167 freebsd[23].*) objformat=aout ;;
12171 version_type=freebsd-$objformat
12173 freebsd-elf*)
12179 freebsd-*)
12186 freebsd2.*)
12189 freebsd3.[01]* | freebsdelf3.[01]*)
12193 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12194 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12206 version_type=linux # correct to gnu/linux during the next big refactor
12214 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12219 # Give a soname corresponding to the major version so that dld.sl refuses to
12220 # link against other versions.
12226 shrext_cmds='.so'
12228 dynamic_linker="$host_os dld.so"
12230 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12234 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12235 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12237 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12238 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12242 shrext_cmds='.sl'
12244 dynamic_linker="$host_os dld.sl"
12246 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12249 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12253 shrext_cmds='.sl'
12254 dynamic_linker="$host_os dld.sl"
12261 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12267 interix[3-9]*)
12268 version_type=linux # correct to gnu/linux during the next big refactor
12273 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12284 version_type=linux # correct to gnu/linux during the next big refactor
12298 case $LD in # libtool.m4 will add one of these switches to LD
12299 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12300 libsuff= shlibsuff= libmagic=32-bit;;
12301 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12303 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12304 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12305 *) libsuff= shlibsuff= libmagic=never-match;;
12311 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12312 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12316 # No shared lib support for Linux oldld, aout, or coff.
12322 version_type=none # Android doesn't support versioned libraries.
12331 # This implies no fast_install, which is unacceptable.
12333 # before this can be enabled.
12337 # Don't embed -rpath directories since the linker doesn't support them.
12338 hardcode_libdir_flag_spec='-L$libdir'
12341 # This must be glibc/ELF.
12342 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12343 version_type=linux # correct to gnu/linux during the next big refactor
12348 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12360 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12375 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12381 conftest$ac_exeext conftest.$ac_ext
12389 # This implies no fast_install, which is unacceptable.
12391 # before this can be enabled.
12395 # searched for libraries, however this is still not possible. Aside from not
12396 # being certain /sbin/ldconfig is available, command
12397 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12398 # even though it is searched at run-time. Try to do the best guess by
12399 # appending ld.so.conf contents (and includes) to the search path.
12400 if test -f /etc/ld.so.conf; then
12401 …/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print …
12402 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12405 # We used to test for /lib/ld.so.1 and disable shared libraries on
12407 # GNU dynamic linker. Since this was broken with cross compilers,
12408 # most powerpc-linux boxes support dynamic linking these days and
12409 # people can always --disable-shared, the test was removed, and we
12410 # assume the GNU/Linux dynamic linker is in use.
12411 dynamic_linker='GNU/Linux ld.so'
12418 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12421 dynamic_linker='NetBSD (a.out) ld.so'
12425 dynamic_linker='NetBSD ld.elf_so'
12433 version_type=linux # correct to gnu/linux during the next big refactor
12448 dynamic_linker='ldqnx.so'
12453 sys_lib_dlsearch_path_spec=/usr/lib
12455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12469 shrext_cmds=.dll
12472 # OS/2 can only load a DLL with a base name of 8 characters or less.
12473 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12474 v=$($ECHO $release$versuffix | tr -d .-);
12475 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12477 library_names_spec='${libname}_dll.$libext'
12478 dynamic_linker='OS/2 ld.exe'
12480 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12483 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12484 dldir=$destdir/`dirname \$dlpath`~
12485 test -d \$dldir || mkdir -p \$dldir~
12486 $install_prog $dir/$dlname \$dldir/$dlname~
12487 chmod a+x \$dldir/$dlname~
12488 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12489 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12491 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12492 dlpath=$dir/\$dldll~
12503 …sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/…
12512 version_type=linux # correct to gnu/linux during the next big refactor
12527 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12536 sysv4 | sysv4.3*)
12537 version_type=linux # correct to gnu/linux during the next big refactor
12554 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12560 if test -d /usr/nec; then
12561 version_type=linux # correct to gnu/linux during the next big refactor
12562 … library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12563 soname_spec='$libname$shared_ext.$major'
12568 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12578 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12580 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12582 sco3.2v5*)
12583 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12587 sys_lib_dlsearch_path_spec='/usr/lib'
12591 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12592 version_type=linux # correct to gnu/linux during the next big refactor
12602 version_type=linux # correct to gnu/linux during the next big refactor
12612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12629 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12632 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12734 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
12735 printf %s "checking how to hardcode library paths into programs... " >&6; }
12737 if test -n "$hardcode_libdir_flag_spec" ||
12738 test -n "$runpath_var" ||
12741 # We can hardcode non-existent directories.
12745 # when we should be linking with a yet-to-be-installed one
12748 # Linking always hardcodes the temporary library directory.
12751 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12756 # directories.
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12805 printf %s "checking for dlopen in -ldl... " >&6; }
12811 LIBS="-ldl $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12817 builtin and then its argument prototype would still apply. */
12833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12834 conftest$ac_exeext conftest.$ac_ext
12837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12841 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12853 # Don't try to run any link tests for TPF. We know it's impossible
12854 # because TPF is a cross-compiler, and we know how we open DSOs.
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12867 printf %s "checking for shl_load in -ldld... " >&6; }
12873 LIBS="-ldld $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12879 builtin and then its argument prototype would still apply. */
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12896 conftest$ac_exeext conftest.$ac_ext
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12903 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12911 printf %s "checking for dlopen in -ldl... " >&6; }
12917 LIBS="-ldl $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12923 builtin and then its argument prototype would still apply. */
12939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12940 conftest$ac_exeext conftest.$ac_ext
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12947 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12950 printf %s "checking for dlopen in -lsvld... " >&6; }
12956 LIBS="-lsvld $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12962 builtin and then its argument prototype would still apply. */
12978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12979 conftest$ac_exeext conftest.$ac_ext
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12986 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12989 printf %s "checking for dld_link in -ldld... " >&6; }
12995 LIBS="-ldld $LIBS"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13001 builtin and then its argument prototype would still apply. */
13017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13018 conftest$ac_exeext conftest.$ac_ext
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13025 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13055 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13064 printf %s "checking whether a program can dlopen itself... " >&6; }
13072 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13074 cat > conftest.$ac_ext <<_LT_EOF
13076 #include "confdefs.h"
13079 #include <dlfcn.h>
13082 #include <stdio.h>
13094 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13095 find out it does not work in some platform. */
13116 /* When -fvisibility=hidden is used, assume the code has been annotated
13117 correspondingly for the symbols needed. */
13136 /* dlclose (self); */
13144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13148 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13149 (./conftest; exit; ) >&5 2>/dev/null
13161 rm -fr conftest*
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13170 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
13171 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
13179 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13181 cat > conftest.$ac_ext <<_LT_EOF
13183 #include "confdefs.h"
13186 #include <dlfcn.h>
13189 #include <stdio.h>
13201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13202 find out it does not work in some platform. */
13223 /* When -fvisibility=hidden is used, assume the code has been annotated
13224 correspondingly for the symbols needed. */
13243 /* dlclose (self); */
13251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13256 (./conftest; exit; ) >&5 2>/dev/null
13268 rm -fr conftest*
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13312 printf %s "checking whether stripping libraries is possible... " >&6; }
13313 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13314 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13315 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13319 # FIXME - insert some real tests, host_os isn't really good enough
13322 if test -n "$STRIP"; then
13323 striplib="$STRIP -x"
13324 old_striplib="$STRIP -S"
13325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13352 printf %s "checking if libtool supports shared libraries... " >&6; }
13353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13357 printf %s "checking whether to build shared libraries... " >&6; }
13361 # are all built from PIC.
13365 if test -n "$RANLIB"; then
13371 aix[4-9]*)
13374 yes,aix,yes) ;; # shared object as lib.so file only
13375 yes,svr4,*) ;; # shared object as lib.so archive member only
13376 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13385 printf %s "checking whether to build static libraries... " >&6; }
13386 # Make sure either enable_shared or enable_static is yes.
13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13429 if test -n "$GCC"; then
13430 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
13431 printf %s "checking whether the -Werror option is usable... " >&6; }
13438 CFLAGS="$CFLAGS -Werror"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
13462 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
13463 printf %s "checking for simple visibility declarations... " >&6; }
13470 CFLAGS="$CFLAGS -fvisibility=hidden"
13472 CFLAGS="$CFLAGS -Werror"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
13503 CFLAG_VISIBILITY="-fvisibility=hidden"
13504 HAVE_VISIBILITY=1
13510 printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h
13514 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_defau…
13518 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
13523 …ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_inclu…
13527 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
13533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >…
13534 printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13541 #include <sys/types.h>
13542 #include <sys/wait.h>
13555 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
13572 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
13576 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
13579 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
13582 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
13585 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
13588 ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13591 printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
13594 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13597 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
13600 ac_fn_c_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
13603 printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
13607 ac_fn_c_check_header_compile "$LINENO" "spawn.h" "ac_cv_header_spawn_h" "$ac_includes_default"
13610 printf "%s\n" "#define HAVE_SPAWN_H 1" >>confdefs.h
13613 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
13616 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
13619 ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
13622 printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
13625 ac_fn_c_check_header_compile "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
13628 printf "%s\n" "#define HAVE_WCTYPE_H 1" >>confdefs.h
13632 ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
13635 printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
13638 ac_fn_c_check_header_compile "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default"
13641 printf "%s\n" "#define HAVE_ERR_H 1" >>confdefs.h
13644 ac_fn_c_check_header_compile "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
13647 printf "%s\n" "#define HAVE_XLOCALE_H 1" >>confdefs.h
13651 ac_fn_c_check_header_compile "$LINENO" "sys/bswap.h" "ac_cv_header_sys_bswap_h" "$ac_includes_defau…
13654 printf "%s\n" "#define HAVE_SYS_BSWAP_H 1" >>confdefs.h
13657 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13660 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
13663 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
13666 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
13669 ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_defau…
13672 printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
13675 ac_fn_c_check_header_compile "$LINENO" "sys/utime.h" "ac_cv_header_sys_utime_h" "$ac_includes_defau…
13678 printf "%s\n" "#define HAVE_SYS_UTIME_H 1" >>confdefs.h
13681 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13684 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
13687 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includ…
13690 printf "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h
13693 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_defau…
13696 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
13701 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13704 printf "%s\n" "#define HAVE_ZLIB_H 1" >>confdefs.h
13710 ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
13713 printf "%s\n" "#define HAVE_BZLIB_H 1" >>confdefs.h
13719 ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
13722 printf "%s\n" "#define HAVE_LZMA_H 1" >>confdefs.h
13728 ac_fn_c_check_header_compile "$LINENO" "zstd.h" "ac_cv_header_zstd_h" "$ac_includes_default"
13731 printf "%s\n" "#define HAVE_ZSTD_H 1" >>confdefs.h
13734 ac_fn_c_check_header_compile "$LINENO" "zstd_errors.h" "ac_cv_header_zstd_errors_h" "$ac_includes_d…
13737 printf "%s\n" "#define HAVE_ZSTD_ERRORS_H 1" >>confdefs.h
13743 ac_fn_c_check_header_compile "$LINENO" "lzlib.h" "ac_cv_header_lzlib_h" "$ac_includes_default"
13746 printf "%s\n" "#define HAVE_LZLIB_H 1" >>confdefs.h
13751 ac_fn_c_check_type "$LINENO" "sig_t" "ac_cv_type_sig_t" "#include <signal.h>
13756 printf "%s\n" "#define HAVE_SIG_T 1" >>confdefs.h
13767 printf "%s\n" "#define off_t long int" >>confdefs.h
13777 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
13785 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_RDEV 1" >>confdefs.h
13791 …heck_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
13796 printf "%s\n" "#define HAVE_STRUCT_TM_TM_GMTOFF 1" >>confdefs.h
13801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h…
13802 printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; }
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13809 #include <sys/types.h>
13810 #include <time.h>
13816 int *p = &tm.tm_sec;
13824 ac_cv_struct_tm=time.h
13826 ac_cv_struct_tm=sys/time.h
13828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13832 if test $ac_cv_struct_tm = sys/time.h; then
13834 printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h
13838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
13839 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
13846 for ac_arg in '' -fno-builtin; do
13848 # This test program should *not* compile successfully.
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13864 # This test program should compile successfully.
13867 # declaration. Include always-available headers on the
13868 # off chance that they somehow elicit warnings.
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <float.h>
13872 #include <limits.h>
13873 #include <stdarg.h>
13874 #include <stddef.h>
13891 ac_cv_c_undeclared_builtin_options='none needed'
13897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
13908 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13911 See \`config.log' for more details" "$LINENO" 5; } ;; #(
13912 'none needed') :
13918 …eck_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
13925 printf "%s\n" "#define HAVE_STRUCT_TM_TM_ZONE 1" >>confdefs.h
13932 printf "%s\n" "#define HAVE_TM_ZONE 1" >>confdefs.h
13935 ac_fn_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
13939 ac_have_decl=1
13943 printf "%s\n" "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
13946 printf %s "checking for tzname... " >&6; }
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <time.h>
13972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13973 conftest$ac_exeext conftest.$ac_ext
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
13979 printf "%s\n" "#define HAVE_TZNAME 1" >>confdefs.h
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_zone in struct tm" >&5
13985 printf %s "checking for tm_zone in struct tm... " >&6; }
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 #include <sys/types.h>
13997 struct tm tm; tm.tm_zone;
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_zone" >&5
14014 printf "%s\n" "#define HAVE_TM_ZONE 1" >>confdefs.h
14019 # consider it declared and we won't give our own extern.
14020 ac_fn_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
14024 ac_have_decl=1
14028 printf "%s\n" "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h
14030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
14031 printf %s "checking for tzname... " >&6; }
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 #include <time.h>
14056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14057 conftest$ac_exeext conftest.$ac_ext
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
14063 printf "%s\n" "#define HAVE_TZNAME 1" >>confdefs.h
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_isdst in struct tm" >&5
14068 printf %s "checking for tm_isdst in struct tm... " >&6; }
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 #include <sys/types.h>
14080 struct tm tm; tm.tm_isdst;
14091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_isdst" >&5
14097 printf "%s\n" "#define HAVE_TM_ISDST 1" >>confdefs.h
14102 ac_fn_check_decl "$LINENO" "daylight" "ac_cv_have_decl_daylight" "#include <time.h>
14103 #include <stdlib.h>
14107 ac_have_decl=1
14111 printf "%s\n" "#define HAVE_DECL_DAYLIGHT $ac_have_decl" >>confdefs.h
14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for daylight" >&5
14114 printf %s "checking for daylight... " >&6; }
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 #include <time.h>
14122 #include <stdlib.h>
14129 daylight = atoi("1");
14140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14141 conftest$ac_exeext conftest.$ac_ext
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_daylight" >&5
14147 printf "%s\n" "#define HAVE_DAYLIGHT 1" >>confdefs.h
14151 # Check whether --enable-largefile was given.
14159 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
14160 printf %s "checking for special C compiler options needed for large files... " >&6; }
14169 # IRIX 6.2 and later do not support large files by default,
14170 # so use the C compiler's -n32 option if that helps.
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 #include <sys/types.h>
14174 /* Check that off_t can represent 2**63 - 1 correctly.
14177 incorrectly reject 9223372036854775807. */
14178 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
14180 && LARGE_OFF_T % 2147483647 == 1)
14181 ? 1 : -1];
14194 rm -f core conftest.err conftest.$ac_objext conftest.beam
14195 CC="$CC -n32"
14198 ac_cv_sys_largefile_CC=' -n32'; break
14200 rm -f core conftest.err conftest.$ac_objext conftest.beam
14204 rm -f conftest.$ac_ext
14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14213 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
14214 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 #include <sys/types.h>
14223 /* Check that off_t can represent 2**63 - 1 correctly.
14226 incorrectly reject 9223372036854775807. */
14227 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
14229 && LARGE_OFF_T % 2147483647 == 1)
14230 ? 1 : -1];
14243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 #include <sys/types.h>
14248 /* Check that off_t can represent 2**63 - 1 correctly.
14251 incorrectly reject 9223372036854775807. */
14252 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
14254 && LARGE_OFF_T % 2147483647 == 1)
14255 ? 1 : -1];
14268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14278 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
14281 rm -rf conftest*
14283 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
14284 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14292 #include <sys/types.h>
14293 /* Check that off_t can represent 2**63 - 1 correctly.
14296 incorrectly reject 9223372036854775807. */
14297 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
14299 && LARGE_OFF_T % 2147483647 == 1)
14300 ? 1 : -1];
14313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 #define _LARGE_FILES 1
14317 #include <sys/types.h>
14318 /* Check that off_t can represent 2**63 - 1 correctly.
14321 incorrectly reject 9223372036854775807. */
14322 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
14324 && LARGE_OFF_T % 2147483647 == 1)
14325 ? 1 : -1];
14336 ac_cv_sys_large_files=1; break
14338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14348 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
14351 rm -rf conftest*
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large…
14356 printf %s "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 #include <sys/types.h> /* for off_t */
14365 #include <stdio.h>
14379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14380 conftest$ac_exeext conftest.$ac_ext
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 #define _LARGEFILE_SOURCE 1
14384 #include <sys/types.h> /* for off_t */
14385 #include <stdio.h>
14397 ac_cv_sys_largefile_source=1; break
14399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14400 conftest$ac_exeext conftest.$ac_ext
14405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14410 printf "%s\n" "#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source" >>confdefs.h
14413 rm -rf conftest*
14416 # in glibc 2.1.3, but that breaks too many other things.
14417 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14420 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
14424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
14425 printf %s "checking for mbstate_t... " >&6; }
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14433 # include <wchar.h>
14448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
14454 printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h
14458 printf "%s\n" "#define mbstate_t int" >>confdefs.h
14462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct option in getopt" >&5
14463 printf %s "checking for struct option in getopt... " >&6; }
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14470 #include <getopt.h>
14474 struct option op; op.name;
14485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_option_getopt_h" >&5
14491 printf "%s\n" "#define HAVE_STRUCT_OPTION 1" >>confdefs.h
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14526 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
14537 printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
14540 printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
14550 printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
14559 printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
14562 printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
14571 printf "%s\n" "#define int32_t $ac_cv_c_int32_t" >>confdefs.h
14580 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
14583 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
14592 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
14601 printf "%s\n" "#define HAVE_INTPTR_T 1" >>confdefs.h
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14611 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
14622 printf "%s\n" "#define intptr_t $ac_type" >>confdefs.h
14626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14627 test -z "$ac_type" && break
14637 printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14648 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
14659 printf "%s\n" "#define uintptr_t $ac_type" >>confdefs.h
14663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14664 test -z "$ac_type" && break
14676 echo "#define $ac_item 1" >> confdefs.h
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14686 printf %s "checking for working mmap... " >&6; }
14694 # Guess yes on platforms where we know the result.
14696 # If we don't know, assume the worst.
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* malloc might have been renamed as rpl_malloc. */
14706 /* Thanks to Mike Haertel and Jim Avera for this test.
14716 address. (There have been systems where private was not correctly
14717 implemented like the infamous i386 svr4.0, and systems where the
14719 like early versions of FreeBSD and possibly contemporary NetBSD.)
14721 propagated back to all the places they're supposed to be.
14723 Grep wants private fixed already mapped.
14726 * how to use it (BSD variants) */
14728 #include <fcntl.h>
14729 #include <sys/mman.h>
14731 /* This mess was copied from the GNU getpagesize.h. */
14735 # else /* no _SC_PAGESIZE */
14737 # include <sys/param.h>
14740 # else /* no EXEC_PAGESIZE */
14744 # define CLSIZE 1
14745 # endif /* no CLSIZE */
14746 # else /* no NBPG */
14749 # else /* no NBPC */
14752 # endif /* PAGESIZE */
14753 # endif /* no NBPC */
14754 # endif /* no NBPG */
14755 # endif /* no EXEC_PAGESIZE */
14756 # else /* no HAVE_SYS_PARAM_H */
14757 # define getpagesize() 8192 /* punt totally */
14758 # endif /* no HAVE_SYS_PARAM_H */
14759 # endif /* no _SC_PAGESIZE */
14761 #endif /* no HAVE_GETPAGESIZE */
14773 /* First, make a file with some known garbage in it. */
14776 return 1;
14780 fd = creat ("conftest.mmap", 0600);
14787 /* Next, check that the tail of a page is zero-filled. File must have
14788 non-zero length, otherwise we risk SIGBUS for entire page. */
14789 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14793 if (write (fd2, cdata2, 1) != 1)
14805 /* Next, try to mmap the file at a fixed address which already has
14806 something else allocated at it. If we can, also make sure that
14807 we see the same garbage. */
14808 fd = open ("conftest.mmap", O_RDWR);
14818 /* Finally, make sure that changes to the mapped area do not
14819 percolate back to the file as seen by read(). (This is a bug on
14820 some variants of i386 svr4.0.) */
14822 *(data2 + i) = *(data2 + i) + 1;
14843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14844 conftest.$ac_objext conftest.beam conftest.$ac_ext
14848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14852 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
14855 rm -f conftest.mmap conftest.txt
14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14864 printf %s "checking for working fork... " >&6; }
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14880 /* By Ruediger Kuhlmann. */
14893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14894 conftest.$ac_objext conftest.beam conftest.$ac_ext
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
14906 *-*-amigaos* | *-*-msdosdjgpp*)
14914 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed becau…
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14920 printf %s "checking for working vfork... " >&6; }
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 /* Thanks to Paul Eggert for this test. */
14933 #include <signal.h>
14934 #include <sys/wait.h>
14936 # include <vfork.h>
14945 /* On some sparc systems, changes by the child to local and incoming
14946 argument registers are propagated back to the parent. The compiler
14947 is told about this with #include <vfork.h>, but some compilers
14948 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
14950 clobbered by the vfork. */
14963 write(-1, "", 0);
14977 /* On Solaris 2.4, changes by the child to the signal handler
14978 also munge signal handlers in the parent. To detect this,
14979 start by putting the parent's handler in a known state. */
14985 /* Here is another test for sparc vfork register problems. This
14988 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
14989 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
14992 in this routine. Assigning to the local variable will thus
14993 munge parent in the parent process. */
14997 /* Convince the compiler that p..p7 are live; otherwise, it might
14998 use the same hardware register for all 8 local variables. */
15001 _exit(1);
15003 /* Alter the child's signal handler. */
15005 _exit(1);
15007 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15008 from child file descriptors. If the child closes a descriptor
15010 as well. Test for this by closing stdout in the child. */
15019 /* Was there some problem with vforking? */
15022 /* Did the child munge the parent's signal handler? */
15025 /* Did the child fail? (This shouldn't happen.) */
15028 /* Did the vfork/compiler bug occur? */
15031 /* Did the file descriptor bug occur? */
15043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15044 conftest.$ac_objext conftest.beam conftest.$ac_ext
15048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
15054 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed beca…
15060 printf "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h
15064 printf "%s\n" "#define vfork fork" >>confdefs.h
15069 printf "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h
15074 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly …
15075 printf %s "checking whether mbrtowc and mbstate_t are properly declared... " >&6; }
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 #include <wchar.h>
15088 size_t n = 1;
15101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15102 conftest$ac_exeext conftest.$ac_ext
15104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5
15108 printf "%s\n" "#define HAVE_MBRTOWC 1" >>confdefs.h
15113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc compiler warnings" >&5
15114 printf %s "checking for gcc compiler warnings... " >&6; }
15115 # Check whether --enable-warnings was given.
15118 enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then
15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15125 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
15126 -Wmissing-declarations -Wredundant-decls -Wnested-externs \
15127 -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
15128 -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15135 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
15136 -Wmissing-declarations -Wredundant-decls -Wnested-externs \
15137 -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
15138 -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
15141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15150 printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
15156 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15162 printf "%s\n" "#define HAVE_MKOSTEMP 1" >>confdefs.h
15168 printf "%s\n" "#define HAVE_UTIMES 1" >>confdefs.h
15174 printf "%s\n" "#define HAVE_UTIME 1" >>confdefs.h
15180 printf "%s\n" "#define HAVE_WCWIDTH 1" >>confdefs.h
15186 printf "%s\n" "#define HAVE_STRTOF 1" >>confdefs.h
15192 printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h
15198 printf "%s\n" "#define HAVE_USELOCALE 1" >>confdefs.h
15204 printf "%s\n" "#define HAVE_FREELOCALE 1" >>confdefs.h
15210 printf "%s\n" "#define HAVE_MEMMEM 1" >>confdefs.h
15216 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
15222 printf "%s\n" "#define HAVE_POSIX_SPAWNP 1" >>confdefs.h
15230 printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h
15234 *" getopt_long.$ac_objext "* ) ;;
15235 *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext"
15243 printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
15247 *" asprintf.$ac_objext "* ) ;;
15248 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
15256 printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
15260 *" vasprintf.$ac_objext "* ) ;;
15261 *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
15269 printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
15273 *" strlcpy.$ac_objext "* ) ;;
15274 *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
15282 printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
15286 *" strlcat.$ac_objext "* ) ;;
15287 *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
15295 printf "%s\n" "#define HAVE_GETLINE 1" >>confdefs.h
15299 *" getline.$ac_objext "* ) ;;
15300 *) LIBOBJS="$LIBOBJS getline.$ac_objext"
15308 printf "%s\n" "#define HAVE_CTIME_R 1" >>confdefs.h
15312 *" ctime_r.$ac_objext "* ) ;;
15313 *) LIBOBJS="$LIBOBJS ctime_r.$ac_objext"
15321 printf "%s\n" "#define HAVE_ASCTIME_R 1" >>confdefs.h
15325 *" asctime_r.$ac_objext "* ) ;;
15326 *) LIBOBJS="$LIBOBJS asctime_r.$ac_objext"
15334 printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h
15338 *" localtime_r.$ac_objext "* ) ;;
15339 *) LIBOBJS="$LIBOBJS localtime_r.$ac_objext"
15347 printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h
15351 *" gmtime_r.$ac_objext "* ) ;;
15352 *) LIBOBJS="$LIBOBJS gmtime_r.$ac_objext"
15360 printf "%s\n" "#define HAVE_PREAD 1" >>confdefs.h
15364 *" pread.$ac_objext "* ) ;;
15365 *) LIBOBJS="$LIBOBJS pread.$ac_objext"
15373 printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h
15377 *" strcasestr.$ac_objext "* ) ;;
15378 *) LIBOBJS="$LIBOBJS strcasestr.$ac_objext"
15386 printf "%s\n" "#define HAVE_FMTCHECK 1" >>confdefs.h
15390 *" fmtcheck.$ac_objext "* ) ;;
15391 *) LIBOBJS="$LIBOBJS fmtcheck.$ac_objext"
15399 printf "%s\n" "#define HAVE_DPRINTF 1" >>confdefs.h
15403 *" dprintf.$ac_objext "* ) ;;
15404 *) LIBOBJS="$LIBOBJS dprintf.$ac_objext"
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
15413 printf %s "checking for gzopen in -lz... " >&6; }
15419 LIBS="-lz $LIBS"
15420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15423 /* Override any GCC internal prototype to avoid an error.
15425 builtin and then its argument prototype would still apply. */
15441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15442 conftest$ac_exeext conftest.$ac_ext
15445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
15449 printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h
15451 LIBS="-lz $LIBS"
15457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompressInit in -lbz2" >&5
15458 printf %s "checking for BZ2_bzCompressInit in -lbz2... " >&6; }
15464 LIBS="-lbz2 $LIBS"
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15468 /* Override any GCC internal prototype to avoid an error.
15470 builtin and then its argument prototype would still apply. */
15486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15487 conftest$ac_exeext conftest.$ac_ext
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompressInit" >&5
15494 printf "%s\n" "#define HAVE_LIBBZ2 1" >>confdefs.h
15496 LIBS="-lbz2 $LIBS"
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_stream_decoder in -llzma" >&5
15503 printf %s "checking for lzma_stream_decoder in -llzma... " >&6; }
15509 LIBS="-llzma $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15515 builtin and then its argument prototype would still apply. */
15531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15532 conftest$ac_exeext conftest.$ac_ext
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stream_decoder" >&5
15539 printf "%s\n" "#define HAVE_LIBLZMA 1" >>confdefs.h
15541 LIBS="-llzma $LIBS"
15547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
15548 printf %s "checking for ZSTD_createDStream in -lzstd... " >&6; }
15554 LIBS="-lzstd $LIBS"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15560 builtin and then its argument prototype would still apply. */
15576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15577 conftest$ac_exeext conftest.$ac_ext
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
15584 printf "%s\n" "#define HAVE_LIBZSTD 1" >>confdefs.h
15586 LIBS="-lzstd $LIBS"
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LZ_decompress_open in -llz" >&5
15593 printf %s "checking for LZ_decompress_open in -llz... " >&6; }
15599 LIBS="-llz $LIBS"
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15603 /* Override any GCC internal prototype to avoid an error.
15605 builtin and then its argument prototype would still apply. */
15621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15622 conftest$ac_exeext conftest.$ac_ext
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz_LZ_decompress_open" >&5
15629 printf "%s\n" "#define HAVE_LIBLZ 1" >>confdefs.h
15631 LIBS="-llz $LIBS"
15637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for seccomp_init in -lseccomp" >&5
15638 printf %s "checking for seccomp_init in -lseccomp... " >&6; }
15644 LIBS="-lseccomp $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15650 builtin and then its argument prototype would still apply. */
15666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15667 conftest$ac_exeext conftest.$ac_ext
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_seccomp_seccomp_init" >&5
15674 printf "%s\n" "#define HAVE_LIBSECCOMP 1" >>confdefs.h
15676 LIBS="-lseccomp $LIBS"
15681 if test "$MINGW" = 1; then
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for regexec in -lgnurx" >&5
15683 printf %s "checking for regexec in -lgnurx... " >&6; }
15689 LIBS="-lgnurx $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15695 builtin and then its argument prototype would still apply. */
15711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15712 conftest$ac_exeext conftest.$ac_ext
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnurx_regexec" >&5
15719 printf "%s\n" "#define HAVE_LIBGNURX 1" >>confdefs.h
15721 LIBS="-lgnurx $LIBS"
15724 as_fn_error $? "libgnurx is required to build file(1) with MinGW" "$LINENO" 5
15745 printf "%s\n" "#define ZLIBSUPPORT 1" >>confdefs.h
15755 printf "%s\n" "#define BZLIBSUPPORT 1" >>confdefs.h
15765 printf "%s\n" "#define XZLIBSUPPORT 1" >>confdefs.h
15775 printf "%s\n" "#define ZSTDLIBSUPPORT 1" >>confdefs.h
15785 printf "%s\n" "#define LZLIBSUPPORT 1" >>confdefs.h
15789 …_files="$ac_config_files Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/M…
15793 # tests run on this system so they can be shared between configure
15794 # scripts and configure runs, see configure's option --config-cache.
15795 # It is not useful on other systems. If it contains results you don't
15796 # want to keep, you may remove or edit it.
15798 # config.status only pays attention to the cache file if you give it
15799 # the --recheck option to rerun configure.
15803 # following values.
15808 # but we know of no workaround that is simple, portable, and efficient.
15809 # So, we kill variables containing newlines.
15811 # and sets the high bit in the cache file unless we assign to the vars.
15813 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15818 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
15829 (set) 2>&1 |
15830 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15832 # `set' does not quote correctly, so add quotes: double-quote
15833 # substitution turns \\\\ into \\, and sed turns \\ into \.
15834 sed -n \
15835 "s/'/'\\\\''/g;
15836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15839 # `set' quotes correctly as required by POSIX, so do not add quotes.
15840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15846 /^ac_cv_env_/b end
15849 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
15851 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15853 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15854 if test -w "$cache_file"; then
15855 if test "x$cache_file" != "x/dev/null"; then
15856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15858 if test ! -f "$cache_file" || test -h "$cache_file"; then
15862 */* | ?:*)
15863 mv -f confcache "$cache_file"$$ &&
15864 mv -f "$cache_file"$$ "$cache_file" ;; #(
15866 mv -f confcache "$cache_file" ;;
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15875 rm -f confcache
15878 # Let make expand exec_prefix.
15881 DEFS=-DHAVE_CONFIG_H
15887 # 1. Remove the extension, and $U if already installed.
15888 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15891 # will be set to the directory where LIBOBJS objects are built.
15892 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15893 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configur…
15901 printf %s "checking that generated files are newer than configure... " >&6; }
15902 if test -n "$am_sleep_pid"; then
15903 # Hide warnings about reused PIDs.
15904 wait $am_sleep_pid 2>/dev/null
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
15908 if test -n "$EXEEXT"; then
15916 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15917 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15920 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
15921 as_fn_error $? "conditional \"MINGW\" was never defined.
15922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15924 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
15925 as_fn_error $? "conditional \"FSECT5\" was never defined.
15926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15928 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15929 as_fn_error $? "conditional \"AMDEP\" was never defined.
15930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15933 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15937 if test -z "${IS_CROSS_COMPILE_TRUE}" && test -z "${IS_CROSS_COMPILE_FALSE}"; then
15938 as_fn_error $? "conditional \"IS_CROSS_COMPILE\" was never defined.
15939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15942 : "${CONFIG_STATUS=./config.status}"
15946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15949 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15951 # Generated by $as_me.
15952 # Run this file to recreate the current configuration.
15954 # configure, is in config.log if it exists.
15960 SHELL=\${CONFIG_SHELL-$SHELL}
15963 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15964 ## -------------------- ##
15965 ## M4sh Initialization. ##
15966 ## -------------------- ##
15969 DUALCASE=1; export DUALCASE # for MKS sh
15971 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15975 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15976 # is contrary to our usage. Disable this feature.
15977 alias -g '${1+"$@"}'='"$@"'
15980 case `(set -o) 2>/dev/null` in #(
15982 set -o posix ;; #(
15991 # the environment.
15993 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15995 # side effect of setting IFS to empty, thus disabling word splitting.)
15996 # Quoting is to prevent editors from complaining about space-tab.
16006 # Ensure predictable behavior from utilities with locale-dependent output.
16013 # to be unset--not just set to an empty or harmless value--now, to
16014 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16016 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16019 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16022 # Ensure that fds 0, 1, and 2 are open.
16023 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16024 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16025 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16027 # The user is always right.
16030 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16031 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16037 # Find who we are. Look in the path if we contain no directory separator.
16040 *[\\/]* ) as_myself=$0 ;;
16046 '') as_dir=./ ;;
16047 */) ;;
16048 *) as_dir=$as_dir/ ;;
16050 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16057 # in which case we are not to be found in the path.
16061 if test ! -f "$as_myself"; then
16063 exit 1
16069 # ----------------------------------------
16070 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16071 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16072 # script with STATUS, using 1 if that was 0.
16075 as_status=$1; test $as_status -eq 0 && as_status=1
16077 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16087 # -----------------------
16088 # Set $? to STATUS, without forking.
16091 return $1
16095 # -----------------
16096 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16100 as_fn_set_status $1
16101 exit $1
16105 # ---------------
16106 # Portably unset VAR.
16109 { eval $1=; unset $1;}
16114 # ----------------------
16115 # Append the text in VALUE to the end of the definition contained in VAR. Take
16118 # implementations.
16119 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16123 eval $1+=\$2
16128 eval $1=\$$1\$2
16132 # as_fn_arith ARG...
16133 # ------------------
16135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16136 # must be portable across $(()) and expr.
16137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16146 as_val=`expr "$@" || test $? -eq 1`
16151 if expr a : '\(a\)' >/dev/null 2>&1 &&
16152 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16158 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16164 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16170 as_me=`$as_basename -- "$0" ||
16171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16172 X"$0" : 'X\(//\)$' \| \
16173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16174 printf "%s\n" X/"$0" |
16175 sed '/^.*\/\([^/][^/]*\)\/*$/{
16176 s//\1/
16179 /^X\/\(\/\/\)$/{
16180 s//\1/
16183 /^X\/\(\/\).*/{
16184 s//\1/
16187 s/.*/./; q'`
16189 # Avoid depending upon Character Ranges.
16197 # Determine whether it's possible to make 'echo' print without a newline.
16199 # for compatibility with existing Makefiles.
16201 case `echo -n x` in #(((((
16202 -n*)
16204 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16206 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16210 ECHO_N='-n';;
16213 # For backward compatibility with old third-party macros, we provide
16214 # the shell variables $as_echo and $as_echo_n. New code should use
16215 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16219 rm -f conf$$ conf$$.exe conf$$.file
16220 if test -d conf$$.dir; then
16221 rm -f conf$$.dir/conf$$.file
16223 rm -f conf$$.dir
16224 mkdir conf$$.dir 2>/dev/null
16226 if (echo >conf$$.file) 2>/dev/null; then
16227 if ln -s conf$$.file conf$$ 2>/dev/null; then
16228 as_ln_s='ln -s'
16229 # ... but there are two gotchas:
16230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16232 # In both cases, we have to default to `cp -pR'.
16233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16234 as_ln_s='cp -pR'
16235 elif ln conf$$.file conf$$ 2>/dev/null; then
16238 as_ln_s='cp -pR'
16241 as_ln_s='cp -pR'
16243 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16244 rmdir conf$$.dir 2>/dev/null
16248 # -------------
16249 # Create "$as_dir" as a directory, including parents if necessary.
16254 -*) as_dir=./$as_dir;;
16256 test -d "$as_dir" || eval $as_mkdir_p || {
16260 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16264 as_dir=`$as_dirname -- "$as_dir" ||
16265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16266 X"$as_dir" : 'X\(//\)[^/]' \| \
16267 X"$as_dir" : 'X\(//\)$' \| \
16268 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16271 s//\1/
16274 /^X\(\/\/\)[^/].*/{
16275 s//\1/
16278 /^X\(\/\/\)$/{
16279 s//\1/
16282 /^X\(\/\).*/{
16283 s//\1/
16286 s/.*/./; q'`
16287 test -d "$as_dir" && break
16289 test -z "$as_dirs" || eval "mkdir $as_dirs"
16290 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16294 if mkdir -p . 2>/dev/null; then
16295 as_mkdir_p='mkdir -p "$as_dir"'
16297 test -d ./-p && rmdir ./-p
16303 # -----------------------
16304 # Test if FILE is an executable regular file.
16307 test -f "$1" && test -x "$1"
16309 as_test_x='test -x'
16312 # Sed expression to map a string onto a valid CPP name.
16315 # Sed expression to map a string onto a valid variable name.
16319 exec 6>&1
16320 ## ----------------------------------- ##
16321 ## Main body of $CONFIG_STATUS script. ##
16322 ## ----------------------------------- ##
16324 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16328 # report actual input values of CONFIG_FILES etc. instead of their
16329 # values after options handling.
16332 generated by GNU Autoconf 2.71. Invocation command line was
16340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16355 # Files that config.status was made for.
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16364 \`$as_me' instantiates files and other configuration actions
16365 from templates according to the current configuration. Unless the files
16366 and actions are specified as TAGs, all are instantiated by default.
16368 Usage: $0 [OPTION]... [TAG]...
16370 -h, --help print this help, then exit
16371 -V, --version print version number and configuration settings, then exit
16372 --config print configuration, then exit
16373 -q, --quiet, --silent
16375 -d, --debug don't remove temporary files
16376 --recheck update $as_me by reconfiguring in the same conditions
16377 --file=FILE[:TEMPLATE]
16379 --header=FILE[:TEMPLATE]
16382 Configuration files:
16391 Report bugs to <christos@astron.com>."
16395 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
16396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16399 file config.status 5.45
16403 Copyright (C) 2021 Free Software Foundation, Inc.
16404 This config.status script is free software; the Free Software Foundation
16405 gives unlimited permission to copy, distribute and modify it."
16412 test -n "\$AWK" || AWK=awk
16415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16416 # The default lists apply if the user does not specify any file.
16420 case $1 in
16421 --*=?*)
16422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16423 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16426 --*=)
16427 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16432 ac_option=$1
16439 # Handling of the options.
16440 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16442 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16444 --config | --confi | --conf | --con | --co | --c )
16446 --debug | --debu | --deb | --de | --d | -d )
16448 --file | --fil | --fi | --f )
16451 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16456 --header | --heade | --head | --hea )
16459 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16463 --he | --h)
16464 # Conflict between --help and --header
16465 as_fn_error $? "ambiguous option: \`$1'
16466 Try \`$0 --help' for more information.";;
16467 --help | --hel | -h )
16469 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16470 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16473 # This is an error.
16474 -*) as_fn_error $? "unrecognized option: \`$1'
16475 Try \`$0 --help' for more information." ;;
16477 *) as_fn_append ac_config_targets " $1"
16487 exec 6>/dev/null
16488 ac_configure_extra_args="$ac_configure_extra_args --silent"
16492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16494 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16504 exec 5>>config.log
16507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16508 ## Running $as_me. ##
16514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16516 # INIT-COMMANDS
16518 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16521 # The HP-UX ksh and POSIX shell print the target directory to stdout
16522 # if CDPATH is set.
16523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16668 # A function that is used when there is no print builtin or printf.
16672 \$1
16676 # Quote evaled strings.
16755 # Double-quote double-evaled strings.
16778 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
16789 # commands through without removal of \ escapes INIT.
16790 if test -n "\${ZSH_VERSION+set}"; then
16805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16807 # Handling of arguments.
16811 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16815 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16816 "magic/Makefile") CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
16817 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16818 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16819 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16820 "libmagic.pc") CONFIG_FILES="$CONFIG_FILES libmagic.pc" ;;
16828 # then the envvar interface is used. Set only those that are not.
16830 # bizarre bug on SunOS 4.1.3.
16837 # Have a temporary directory for convenience. Make it in the build tree
16839 # creating and moving files from /tmp can sometimes cause problems.
16840 # Hook for its removal unless debugging.
16842 # after its creation but before its name has been assigned to `$tmp'.
16848 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16850 trap 'as_fn_exit 1' 1 2 13 15
16852 # Create a (secure) tmp directory for tmp files.
16855 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16856 test -d "$tmp"
16859 tmp=./conf$$-$RANDOM
16861 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16864 # Set up the scripts for CONFIG_FILES section.
16865 # No need to generate them if there are no CONFIG_FILES.
16866 # This happens for instance with `./config.status config.h'.
16867 if test -n "$CONFIG_FILES"; then
16871 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16873 # point, so we can use a bashism as a fallback.
16877 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16884 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16889 echo "cat >conf$$subs.awk <<_ACEOF" &&
16890 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16892 } >conf$$subs.sh ||
16894 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16897 . ./conf$$subs.sh ||
16900 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16909 rm -f conf$$subs.sh
16911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16912 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16914 sed -n '
16916 s/^/S["/; s/!.*/"]=/
16919 s/^[^!]*!//
16922 s/'"$ac_delim"'$//
16926 s/\(.\{148\}\)..*/\1/
16928 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16933 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16936 s/.\{148\}//
16940 s/\(.\{148\}\)..*/\1/
16942 s/["\\]/\\&/g; s/^/"/; s/$/"/
16946 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16949 s/.\{148\}//
16951 ' <conf$$subs.awk | sed '
16952 /^[^""]/{
16954 s/\n//
16956 ' >>$CONFIG_STATUS || ac_write_fail=1
16957 rm -f conf$$subs.awk
16958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16960 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16961 for (key in S) S_is_set[key] = 1
16969 len = length(field[1])
16975 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16977 substed = 1
16979 len += 1 + keylen
16987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16988 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16989 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16992 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16993 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16997 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16999 # (actually we leave an empty line to preserve line numbers).
17000 if test "x$srcdir" = x.; then
17001 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17003 s///
17004 s/^/:/
17005 s/[ ]*$/:/
17006 s/:\$(srcdir):/:/g
17007 s/:\${srcdir}:/:/g
17008 s/:@srcdir@:/:/g
17009 s/^:*//
17010 s/:*$//
17012 s/\(=[ ]*\).*/\1/
17014 s/\n//
17015 s/^[^=]*=[ ]*$//
17019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17020 fi # test -n "$CONFIG_FILES"
17022 # Set up the scripts for CONFIG_HEADERS section.
17023 # No need to generate them if there are no CONFIG_HEADERS.
17024 # This happens for instance with `./config.status Makefile'.
17025 if test -n "$CONFIG_HEADERS"; then
17026 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17030 # Transform confdefs.h into an awk script `defines.awk', embedded as
17031 # here-document in config.status, that substitutes the proper values into
17032 # config.h.in to produce config.h.
17034 # Create a delimiter string that does not exist in confdefs.h, to ease
17035 # handling of long lines.
17038 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17039 if test -z "$ac_tt"; then
17049 # likewise P contains macro parameters if any. Preserve backslash
17050 # newline sequences.
17053 sed -n '
17054 s/.\{148\}/&'"$ac_delim"'/g
17057 s/^[ ]*#[ ]*define[ ][ ]*/ /
17061 s/\\$//
17063 s/["\\]/\\&/g
17064 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17065 D["\1"]=" \3"/p
17066 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17069 s/["\\]/\\&/g
17070 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17071 D["\1"]=" \3\\\\\\n"\\/p
17073 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17078 s/.\{148\}/&'"$ac_delim"'/g
17081 s/\\$//
17083 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17086 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17088 ' <confdefs.h | sed '
17089 s/'"$ac_delim"'/"\\\
17090 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17093 for (key in D) D_is_set[key] = 1
17096 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17099 if (arg[1] == "#") {
17103 defundef = substr(arg[1], 2)
17107 macro = mac2[1]
17108 prefix = substr(line, 1, index(line, defundef) - 1)
17110 # Preserve the white space surrounding the "#".
17114 # Replace #undef with comments. This is necessary, for example,
17116 # on some systems where configure will not decide to define it.
17118 print "/*", prefix defundef, macro, "*/"
17126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17128 fi # test -n "$CONFIG_HEADERS"
17141 :[FH]-) ac_tag=-:-;;
17142 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17149 ac_file=$1
17153 :L) ac_source=$1;;
17159 -) ac_f="$ac_tmp/stdin";;
17161 # (if the path is not absolute). The absolute path cannot be DOS-style,
17162 # because $ac_f cannot contain `:'.
17163 test -f "$ac_f" ||
17165 [\\/$]*) false;;
17166 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17168 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17170 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17174 # Let's still pretend it is `configure' which instantiates (i.e., don't
17176 # /* config.h. Generated by config.status. */
17178 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17179 `' by configure.'
17180 if test x"$ac_file" != x-; then
17181 configure_input="$ac_file. $configure_input"
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17185 # Neutralize special characters interpreted by sed in replacement strings.
17189 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17194 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17200 ac_dir=`$as_dirname -- "$ac_file" ||
17201 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17202 X"$ac_file" : 'X\(//\)[^/]' \| \
17203 X"$ac_file" : 'X\(//\)$' \| \
17204 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17207 s//\1/
17210 /^X\(\/\/\)[^/].*/{
17211 s//\1/
17214 /^X\(\/\/\)$/{
17215 s//\1/
17218 /^X\(\/\).*/{
17219 s//\1/
17222 s/.*/./; q'`
17224 ac_builddir=.
17227 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17229 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
17230 # A ".." for each directory in $ac_dir_suffix.
17231 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17233 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17234 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17243 .) # We are building in place.
17244 ac_srcdir=.
17247 [\\/]* | ?:[\\/]* ) # Absolute name.
17251 *) # Relative name.
17254 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17266 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17271 [\\/$]* | ?:[\\/]* ) ;;
17272 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17277 # If the template does not know about datarootdir, expand it.
17278 # FIXME: This hack should be removed a few years after 2.60.
17281 /datarootdir/ {
17285 /@datadir@/p
17286 /@docdir@/p
17287 /@infodir@/p
17288 /@localedir@/p
17289 /@mandir@/p'
17290 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17293 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
17294 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17307 # Neutralize VPATH when `$srcdir' = `.'.
17308 # Shell code in configure.ac might set extrasub.
17310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17331 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17332 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17334 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17335 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17336 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17337 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17338 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
17339 which seems to be undefined. Please make sure it is defined" >&5
17341 which seems to be undefined. Please make sure it is defined" >&2;}
17343 rm -f "$ac_tmp/stdin"
17345 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17346 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17354 if test x"$ac_file" != x-; then
17356 printf "%s\n" "/* $configure_input */" >&1 \
17357 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17358 } >"$ac_tmp/config.h" \
17360 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17364 rm -f "$ac_file"
17365 mv "$ac_tmp/config.h" "$ac_file" \
17369 printf "%s\n" "/* $configure_input */" >&1 \
17370 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17371 || as_fn_error $? "could not create -" "$LINENO" 5
17373 # Compute "$ac_file"'s index in $config_headers.
17375 _am_stamp_count=1
17381 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17384 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17385 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17386 X"$_am_arg" : 'X\(//\)[^/]' \| \
17387 X"$_am_arg" : 'X\(//\)$' \| \
17388 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17391 s//\1/
17394 /^X\(\/\/\)[^/].*/{
17395 s//\1/
17398 /^X\(\/\/\)$/{
17399 s//\1/
17402 /^X\(\/\).*/{
17403 s//\1/
17406 s/.*/./; q'`/stamp-h$_am_stamp_count
17409 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17417 # Older Autoconf quotes --file arguments for eval, but not when files
17418 # are listed without --file. Let's play safe and only enable the eval
17419 # if we detect the quoting.
17421 # requiring Autoconf 2.70 or later.
17431 # Used to flag and report bootstrapping failures.
17435 # Strip MF so we end up with the name of the file.
17436 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
17437 # Check whether this is an Automake generated Makefile which includes
17438 # dependency-tracking related rules and includes.
17440 # limit of 2048, but all sed's we know have understand at least 4000.
17441 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17443 am_dirpart=`$as_dirname -- "$am_mf" ||
17444 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17445 X"$am_mf" : 'X\(//\)[^/]' \| \
17446 X"$am_mf" : 'X\(//\)$' \| \
17447 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17450 s//\1/
17453 /^X\(\/\/\)[^/].*/{
17454 s//\1/
17457 /^X\(\/\/\)$/{
17458 s//\1/
17461 /^X\(\/\).*/{
17462 s//\1/
17465 s/.*/./; q'`
17466 am_filepart=`$as_basename -- "$am_mf" ||
17467 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17468 X"$am_mf" : 'X\(//\)$' \| \
17469 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17470 printf "%s\n" X/"$am_mf" |
17471 sed '/^.*\/\([^/][^/]*\)\/*$/{
17472 s//\1/
17475 /^X\/\(\/\/\)$/{
17476 s//\1/
17479 /^X\/\(\/\).*/{
17480 s//\1/
17483 s/.*/./; q'`
17485 && sed -e '/# am--include-marker/d' "$am_filepart" \
17486 | $MAKE -f - am--depfiles" >&5
17488 && sed -e '/# am--include-marker/d' "$am_filepart" \
17489 | $MAKE -f - am--depfiles) >&5 2>&5
17494 if test $am_rc -ne 0; then
17495 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17498 for automatic dependency tracking. If GNU make was not used, consider
17499 re-running the configure script with MAKE=\"gmake\" (or whatever is
17500 necessary). You can also try re-running configure with the
17501 '--disable-dependency-tracking' option to at least be able to build
17502 the package (albeit without support for automatic dependency tracking).
17503 See \`config.log' for more details" "$LINENO" 5; }
17509 rm -f conftest-deps.mk
17515 # commands through without removal of \ escapes.
17516 if test -n "${ZSH_VERSION+set}"; then
17521 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17527 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17528 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17530 # Provide generalized library-building support services.
17533 # Copyright (C) 2014 Free Software Foundation, Inc.
17534 # This is free software; see the source for copying conditions. There is NO
17535 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17537 # GNU Libtool is free software; you can redistribute it and/or modify
17540 # (at your option) any later version.
17545 # distribution terms that you use for the rest of that program.
17549 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17550 # GNU General Public License for more details.
17553 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17556 # The names of the tagged configurations supported by this script.
17559 # Configured defaults for sys_lib_dlsearch_path munging.
17564 # Which release of libtool.m4 was used?
17568 # Whether or not to build static libraries.
17571 # What type of objects to build.
17574 # Whether or not to build shared libraries.
17577 # Whether or not to optimize for fast installation.
17580 # Shared archive member basename,for filename based shared library versioning on AIX.
17583 # Shell to use when invoking shell scripts.
17586 # An echo program that protects backslashes.
17589 # The PATH separator for the build system.
17592 # The host system.
17597 # The build system.
17602 # A sed program that does not truncate output.
17605 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17606 Xsed="\$SED -e 1s/^X//"
17608 # A grep program that handles long lines.
17611 # An ERE matcher.
17614 # A literal string matcher.
17617 # A BSD- or MS-compatible name lister.
17620 # Whether we need soft or hard links.
17626 # Object file suffix (normally "o").
17629 # Executable file suffix (normally "").
17632 # whether the shell understands "unset".
17635 # turn spaces into newlines.
17638 # turn newlines into spaces.
17641 # convert \$build file names to \$host format.
17644 # convert \$build files to toolchain format.
17647 # An object symbol dumper.
17650 # Method to check whether dependent libraries are shared objects.
17653 # Command to use when deplibs_check_method = "file_magic".
17656 # How to find potential files when deplibs_check_method = "file_magic".
17659 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17662 # DLL creation program.
17665 # Command to associate shared and link libraries.
17668 # The archiver.
17671 # Flags to create an archive.
17674 # How to feed a file listing to the archiver.
17677 # A symbol stripping program.
17680 # Commands used to install an old-style archive.
17685 # Whether to use a lock for old archive extraction.
17688 # A C compiler.
17691 # LTCC compiler flags.
17694 # Take the output of nm and produce a listing of raw symbols and C names.
17697 # Transform the output of nm in a proper C declaration.
17700 # Transform the output of nm into a list of symbols to manually relocate.
17703 # Transform the output of nm in a C name address pair.
17706 # Transform the output of nm in a C name address pair when lib prefix is needed.
17709 # The name lister interface.
17712 # Specify filename containing input files for \$NM.
17715 # The root where to search for dependent libraries,and where our libraries should be installed.
17718 # Command to truncate a binary pipe.
17721 # The name of the directory that contains temporary libtool files.
17724 # Used to examine libraries when file_magic_cmd begins with "file".
17727 # Must we lock files when doing compilation?
17730 # Manifest tool.
17733 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17736 # Tool to change global to local symbols on Mac OS X.
17739 # Tool to manipulate fat objects and archives on Mac OS X.
17742 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17745 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17748 # Old archive suffix (normally "a").
17751 # Shared library suffix (normally ".so").
17754 # The commands to extract the exported symbol list from a shared archive.
17758 # restored at link time.
17767 # Library versioning type.
17770 # Shared library runtime path variable.
17773 # Shared library path variable.
17776 # Is shlibpath searched before the hard-coded library search path?
17779 # Format of library name prefix.
17782 # List of archive names. First name is the real one, the rest are links.
17783 # The last name is the one that the linker finds with -lNAME
17786 # The coded name of the library, if different from the real name.
17789 # Permission mode override for installation of shared libraries.
17792 # Command to use after installation of a shared archive.
17795 # Command to use after uninstallation of a shared archive.
17798 # Commands used to finish a libtool library installation in a directory.
17802 # not shown.
17805 # Whether we should hardcode library paths into libraries.
17808 # Compile-time system search path for libraries.
17811 # Detected run-time system search path for libraries.
17814 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17817 # Whether dlopen is supported.
17820 # Whether dlopen of programs is supported.
17823 # Whether dlopen of statically linked programs is supported.
17826 # Commands to strip libraries.
17831 # The linker used to build libraries.
17834 # How to create reloadable object files.
17838 # Commands used to build an old-style archive.
17841 # A language specific compiler.
17847 # Compiler flag to turn off builtin functions.
17850 # Additional compiler flags for building library objects.
17853 # How to pass a linker flag through the compiler.
17856 # Compiler flag to prevent dynamic linking.
17859 # Does compiler simultaneously support -c and -o options?
17862 # Whether or not to add -lc for building shared libraries.
17865 # Whether or not to disallow shared libs when runtime libs are static.
17868 # Compiler flag to allow reflexive dlopens.
17871 # Compiler flag to generate shared objects directly from archives.
17874 # Whether the compiler copes with passing no objects directly.
17877 # Create an old-style archive from a shared archive.
17880 # Create a temporary old-style archive to link instead of a shared archive.
17883 # Commands used to build a shared archive.
17888 # a shared archive.
17892 # Whether we are building with GNU ld or not.
17895 # Flag that allows shared libraries with undefined symbols to be built.
17898 # Flag that enforces no undefined symbols.
17901 # Flag to hardcode \$libdir into a binary during linking.
17905 # Whether we need a single "-rpath" flag with a separated argument.
17908 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17909 # DIR into the resulting binary.
17912 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17914 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17915 # library is relocated.
17918 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17919 # into the resulting binary.
17923 # into the resulting binary.
17928 # against it.
17932 # to runtime path list.
17935 # Whether libtool must link a program against all its dependency libraries.
17938 # Set to "yes" if exported symbols are required.
17941 # The commands to list exported symbols.
17944 # Symbols that should not be listed in the preloaded symbols.
17947 # Symbols that must always be exported.
17950 # Commands necessary for linking programs (against libraries) with templates.
17953 # Commands necessary for finishing linking programs.
17956 # Specify filename containing input files.
17959 # How to hardcode a shared library path into an executable.
17971 # -----------------------------------
17990 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17993 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17996 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17997 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18000 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18006 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18011 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18012 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18013 \-*) ;;
18017 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18028 # AIX sometimes has problems with the GCC collect2 program. For some
18030 # vanish in a puff of smoke.
18041 ltmain=$ac_aux_dir/ltmain.sh
18045 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18046 # text mode, it properly converts lines to CR/LF. This bash problem
18049 || (rm -f "$cfgfile"; exit 1)
18051 mv -f "$cfgfile" "$ofile" ||
18052 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18069 # configure is writing to config.log, and then calls config.status.
18070 # config.status does its own redirection, appending to config.log.
18071 # Unfortunately, on DOS this fails, as config.log is still kept open
18072 # by configure, so config.status won't be able to write to it; its
18073 # output is simply discarded. So we exec the FD to /dev/null,
18074 # effectively closing config.log, so it can be properly (re)opened and
18075 # appended to by config.status. When coming back to configure, we
18076 # need to make the FD available again.
18081 ac_config_status_args="$ac_config_status_args --quiet"
18082 exec 5>/dev/null
18084 exec 5>>config.log
18085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18086 # would make configure fail if this is the last instruction.
18087 $ac_cs_success || as_fn_exit 1
18089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18090 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…