2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71.
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
38 # Reset variables that may have inherited troublesome values from
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
54 # Ensure predictable behavior from utilities with locale-dependent output.
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # Find who we are. Look in the path if we contain no directory separator.
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
127 *v*x* | *x*v* ) as_opts=-vx ;;
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 case \`(set -o) 2>/dev/null\` in #(
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
174 exitcode=1; echo positional parameters were not saved.
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 *) as_dir=$as_dir/ ;;
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231 CONFIG_SHELL=$SHELL as_have_required=yes
236 if test "x$CONFIG_SHELL" != x
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 *v*x* | *x*v* ) as_opts=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x$as_have_required = xno
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
267 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Do nothing but, unlike ":", preserve the value of $?.
323 # Create "$as_dir" as a directory, including parents if necessary.
328 -*) as_dir=./$as_dir;;
330 test -d "$as_dir" || eval $as_mkdir_p || {
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
361 test -d "$as_dir" && break
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
409 as_val=`expr "$@" || test $? -eq 1`
415 # Do nothing but, unlike ":", preserve the value of $?.
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
429 as_status=$1; test $as_status -eq 0 && as_status=1
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
515 # Exit status is that of the last command.
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
548 mkdir conf$$.dir 2>/dev/null
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
559 elif ln conf$$.file conf$$ 2>/dev/null; then
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
573 test -d ./-p && rmdir ./-p
578 as_executable_p=as_fn_executable_p
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
587 test -n "$DJDIR" || exec 7<&0 </dev/null
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598 ac_default_prefix=/usr/local
600 ac_config_libobj_dir=.
607 # Identity of this package.
615 ac_unique_file="listtests"
616 # Factoring default headers for most tests.
617 ac_includes_default="\
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
634 #ifdef HAVE_STRINGS_H
635 # include <strings.h>
637 #ifdef HAVE_SYS_TYPES_H
638 # include <sys/types.h>
640 #ifdef HAVE_SYS_STAT_H
641 # include <sys/stat.h>
649 ac_subst_vars='LTLIBOBJS
693 program_transform_name
706 enable_option_checking
708 ac_precious_vars='build_alias
718 # Initialize some variables set by options.
720 ac_init_version=false
721 ac_unrecognized_opts=
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
732 program_transform_name=s,x,x,
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir='${exec_prefix}/bin'
747 sbindir='${exec_prefix}/sbin'
748 libexecdir='${exec_prefix}/libexec'
749 datarootdir='${prefix}/share'
750 datadir='${datarootdir}'
751 sysconfdir='${prefix}/etc'
752 sharedstatedir='${prefix}/com'
753 localstatedir='${prefix}/var'
754 runstatedir='${localstatedir}/run'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE}'
758 infodir='${datarootdir}/info'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 case $ac_dashdash$ac_option in
788 -bindir | --bindir | --bindi | --bind | --bin | --bi)
790 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793 -build | --build | --buil | --bui | --bu)
794 ac_prev=build_alias ;;
795 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
796 build_alias=$ac_optarg ;;
798 -cache-file | --cache-file | --cache-fil | --cache-fi \
799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
800 ac_prev=cache_file ;;
801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
803 cache_file=$ac_optarg ;;
806 cache_file=config.cache ;;
808 -datadir | --datadir | --datadi | --datad)
810 -datadir=* | --datadir=* | --datadi=* | --datad=*)
811 datadir=$ac_optarg ;;
813 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
814 | --dataroo | --dataro | --datar)
815 ac_prev=datarootdir ;;
816 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
817 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
818 datarootdir=$ac_optarg ;;
820 -disable-* | --disable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 as_fn_error $? "invalid feature name: \`$ac_useropt'"
825 ac_useropt_orig=$ac_useropt
826 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
827 case $ac_user_opts in
831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
832 ac_unrecognized_sep=', ';;
834 eval enable_$ac_useropt=no ;;
836 -docdir | --docdir | --docdi | --doc | --do)
838 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
843 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 -enable-* | --enable-*)
847 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850 as_fn_error $? "invalid feature name: \`$ac_useropt'"
851 ac_useropt_orig=$ac_useropt
852 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
858 ac_unrecognized_sep=', ';;
860 eval enable_$ac_useropt=\$ac_optarg ;;
862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
864 | --exec | --exe | --ex)
865 ac_prev=exec_prefix ;;
866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
868 | --exec=* | --exe=* | --ex=*)
869 exec_prefix=$ac_optarg ;;
871 -gas | --gas | --ga | --g)
872 # Obsolete; use --with-gas.
875 -help | --help | --hel | --he | -h)
877 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
878 ac_init_help=recursive ;;
879 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
880 ac_init_help=short ;;
882 -host | --host | --hos | --ho)
883 ac_prev=host_alias ;;
884 -host=* | --host=* | --hos=* | --ho=*)
885 host_alias=$ac_optarg ;;
887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
891 htmldir=$ac_optarg ;;
893 -includedir | --includedir | --includedi | --included | --include \
894 | --includ | --inclu | --incl | --inc)
895 ac_prev=includedir ;;
896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
897 | --includ=* | --inclu=* | --incl=* | --inc=*)
898 includedir=$ac_optarg ;;
900 -infodir | --infodir | --infodi | --infod | --info | --inf)
902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
903 infodir=$ac_optarg ;;
905 -libdir | --libdir | --libdi | --libd)
907 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
911 | --libexe | --libex | --libe)
912 ac_prev=libexecdir ;;
913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
914 | --libexe=* | --libex=* | --libe=*)
915 libexecdir=$ac_optarg ;;
917 -localedir | --localedir | --localedi | --localed | --locale)
919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
920 localedir=$ac_optarg ;;
922 -localstatedir | --localstatedir | --localstatedi | --localstated \
923 | --localstate | --localstat | --localsta | --localst | --locals)
924 ac_prev=localstatedir ;;
925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
927 localstatedir=$ac_optarg ;;
929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935 # Obsolete; use --without-fp.
938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
939 | --no-cr | --no-c | -n)
942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
948 | --oldin | --oldi | --old | --ol | --o)
949 ac_prev=oldincludedir ;;
950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
953 oldincludedir=$ac_optarg ;;
955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 -program-prefix | --program-prefix | --program-prefi | --program-pref \
961 | --program-pre | --program-pr | --program-p)
962 ac_prev=program_prefix ;;
963 -program-prefix=* | --program-prefix=* | --program-prefi=* \
964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
965 program_prefix=$ac_optarg ;;
967 -program-suffix | --program-suffix | --program-suffi | --program-suff \
968 | --program-suf | --program-su | --program-s)
969 ac_prev=program_suffix ;;
970 -program-suffix=* | --program-suffix=* | --program-suffi=* \
971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
972 program_suffix=$ac_optarg ;;
974 -program-transform-name | --program-transform-name \
975 | --program-transform-nam | --program-transform-na \
976 | --program-transform-n | --program-transform- \
977 | --program-transform | --program-transfor \
978 | --program-transfo | --program-transf \
979 | --program-trans | --program-tran \
980 | --progr-tra | --program-tr | --program-t)
981 ac_prev=program_transform_name ;;
982 -program-transform-name=* | --program-transform-name=* \
983 | --program-transform-nam=* | --program-transform-na=* \
984 | --program-transform-n=* | --program-transform-=* \
985 | --program-transform=* | --program-transfor=* \
986 | --program-transfo=* | --program-transf=* \
987 | --program-trans=* | --program-tran=* \
988 | --progr-tra=* | --program-tr=* | --program-t=*)
989 program_transform_name=$ac_optarg ;;
991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 -psdir | --psdir | --psdi | --psd | --ps)
998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1005 -runstatedir | --runstatedir | --runstatedi | --runstated \
1006 | --runstate | --runstat | --runsta | --runst | --runs \
1007 | --run | --ru | --r)
1008 ac_prev=runstatedir ;;
1009 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1010 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1011 | --run=* | --ru=* | --r=*)
1012 runstatedir=$ac_optarg ;;
1014 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1016 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1018 sbindir=$ac_optarg ;;
1020 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1021 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1022 | --sharedst | --shareds | --shared | --share | --shar \
1024 ac_prev=sharedstatedir ;;
1025 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1026 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1027 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1029 sharedstatedir=$ac_optarg ;;
1031 -site | --site | --sit)
1033 -site=* | --site=* | --sit=*)
1036 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1038 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1039 srcdir=$ac_optarg ;;
1041 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1042 | --syscon | --sysco | --sysc | --sys | --sy)
1043 ac_prev=sysconfdir ;;
1044 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1045 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1046 sysconfdir=$ac_optarg ;;
1048 -target | --target | --targe | --targ | --tar | --ta | --t)
1049 ac_prev=target_alias ;;
1050 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1051 target_alias=$ac_optarg ;;
1053 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1056 -version | --version | --versio | --versi | --vers | -V)
1057 ac_init_version=: ;;
1060 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: \`$ac_useropt'"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval with_$ac_useropt=\$ac_optarg ;;
1075 -without-* | --without-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid package name: \`$ac_useropt'"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1089 eval with_$ac_useropt=no ;;
1092 # Obsolete; use --with-x.
1095 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1096 | --x-incl | --x-inc | --x-in | --x-i)
1097 ac_prev=x_includes ;;
1098 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1099 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1100 x_includes=$ac_optarg ;;
1102 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1103 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1104 ac_prev=x_libraries ;;
1105 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1106 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1107 x_libraries=$ac_optarg ;;
1109 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1110 Try \`$0 --help' for more information"
1114 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1115 # Reject names that are not valid shell variable names.
1116 case $ac_envvar in #(
1117 '' | [0-9]* | *[!_$as_cr_alnum]* )
1118 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1120 eval $ac_envvar=\$ac_optarg
1121 export $ac_envvar ;;
1124 # FIXME: should be removed in autoconf 3.0.
1125 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1126 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1128 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1134 if test -n "$ac_prev"; then
1135 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1136 as_fn_error $? "missing argument to $ac_option"
1139 if test -n "$ac_unrecognized_opts"; then
1140 case $enable_option_checking in
1142 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1143 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1147 # Check all directory arguments for consistency.
1148 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1149 datadir sysconfdir sharedstatedir localstatedir includedir \
1150 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1151 libdir localedir mandir runstatedir
1153 eval ac_val=\$$ac_var
1154 # Remove trailing slashes.
1157 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1158 eval $ac_var=\$ac_val;;
1160 # Be sure to have absolute directory names.
1162 [\\/$]* | ?:[\\/]* ) continue;;
1163 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1165 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1173 target=$target_alias
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177 if test "x$build_alias" = x; then
1178 cross_compiling=maybe
1179 elif test "x$build_alias" != "x$host_alias"; then
1185 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1187 test "$silent" = yes && exec 6>/dev/null
1190 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1191 ac_ls_di=`ls -di .` &&
1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1193 as_fn_error $? "working directory cannot be determined"
1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1195 as_fn_error $? "pwd does not report name of working directory"
1198 # Find the source files, if location was not specified.
1199 if test -z "$srcdir"; then
1200 ac_srcdir_defaulted=yes
1201 # Try the directory containing this script, then the parent directory.
1202 ac_confdir=`$as_dirname -- "$as_myself" ||
1203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1204 X"$as_myself" : 'X\(//\)[^/]' \| \
1205 X"$as_myself" : 'X\(//\)$' \| \
1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1207 printf "%s\n" X"$as_myself" |
1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1230 ac_srcdir_defaulted=no
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1234 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1240 # When building in place, set srcdir=.
1241 if test "$ac_abs_confdir" = "$ac_pwd"; then
1244 # Remove unnecessary trailing slashes from srcdir.
1245 # Double slashes in file names in object file debugging info
1246 # mess up M-x gdb in Emacs.
1248 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250 for ac_var in $ac_precious_vars; do
1251 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1252 eval ac_env_${ac_var}_value=\$${ac_var}
1253 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1254 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 # Report the --help message.
1260 if test "$ac_init_help" = "long"; then
1261 # Omit some internal or obsolete options to make the list less imposing.
1262 # This message is too long to be a string in the A/UX 3.1 sh.
1264 \`configure' configures this package to adapt to many kinds of systems.
1266 Usage: $0 [OPTION]... [VAR=VALUE]...
1268 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1269 VAR=VALUE. See below for descriptions of some of the useful variables.
1271 Defaults for the options are specified in brackets.
1274 -h, --help display this help and exit
1275 --help=short display options specific to this package
1276 --help=recursive display the short help of all the included packages
1277 -V, --version display version information and exit
1278 -q, --quiet, --silent do not print \`checking ...' messages
1279 --cache-file=FILE cache test results in FILE [disabled]
1280 -C, --config-cache alias for \`--cache-file=config.cache'
1281 -n, --no-create do not create output files
1282 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1284 Installation directories:
1285 --prefix=PREFIX install architecture-independent files in PREFIX
1286 [$ac_default_prefix]
1287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290 By default, \`make install' will install all the files in
1291 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1292 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1293 for instance \`--prefix=\$HOME'.
1295 For better control, use the options below.
1297 Fine tuning of the installation directories:
1298 --bindir=DIR user executables [EPREFIX/bin]
1299 --sbindir=DIR system admin executables [EPREFIX/sbin]
1300 --libexecdir=DIR program executables [EPREFIX/libexec]
1301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1303 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1304 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1324 if test -n "$ac_init_help"; then
1328 Some influential environment variables:
1329 CC C compiler command
1330 CFLAGS C compiler flags
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332 nonstandard directory <lib dir>
1333 LIBS libraries to pass to the linker, e.g. -l<library>
1334 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1335 you have headers in a nonstandard directory <include dir>
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to the package provider.
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1370 .) # We are building in place.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for configure.gnu first; this name is used for a wrapper for
1387 # Metaconfig's "Configure" on case-insensitive file systems.
1388 if test -f "$ac_srcdir/configure.gnu"; then
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391 elif test -f "$ac_srcdir/configure"; then
1393 $SHELL "$ac_srcdir/configure" --help=recursive
1395 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1397 cd "$ac_pwd" || { ac_status=$?; break; }
1401 test -n "$ac_init_help" && exit $ac_status
1402 if $ac_init_version; then
1405 generated by GNU Autoconf 2.71
1407 Copyright (C) 2021 Free Software Foundation, Inc.
1408 This configure script is free software; the Free Software Foundation
1409 gives unlimited permission to copy, distribute and modify it.
1414 ## ------------------------ ##
1415 ## Autoconf initialization. ##
1416 ## ------------------------ ##
1418 # ac_fn_c_try_compile LINENO
1419 # --------------------------
1420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1421 ac_fn_c_try_compile ()
1423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1424 rm -f conftest.$ac_objext conftest.beam
1425 if { { ac_try="$ac_compile"
1427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1428 *) ac_try_echo=$ac_try;;
1430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1431 printf "%s\n" "$ac_try_echo"; } >&5
1432 (eval "$ac_compile") 2>conftest.err
1434 if test -s conftest.err; then
1435 grep -v '^ *+' conftest.err >conftest.er1
1436 cat conftest.er1 >&5
1437 mv -f conftest.er1 conftest.err
1439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440 test $ac_status = 0; } && {
1441 test -z "$ac_c_werror_flag" ||
1442 test ! -s conftest.err
1443 } && test -s conftest.$ac_objext
1447 printf "%s\n" "$as_me: failed program was:" >&5
1448 sed 's/^/| /' conftest.$ac_ext >&5
1452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1453 as_fn_set_status $ac_retval
1455 } # ac_fn_c_try_compile
1457 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1458 # -------------------------------------------------------
1459 # Tests whether HEADER exists and can be compiled using the include files in
1460 # INCLUDES, setting the cache variable VAR accordingly.
1461 ac_fn_c_check_header_compile ()
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1465 printf %s "checking for $2... " >&6; }
1466 if eval test \${$3+y}
1468 printf %s "(cached) " >&6
1470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1471 /* end confdefs.h. */
1475 if ac_fn_c_try_compile "$LINENO"
1481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1485 printf "%s\n" "$ac_res" >&6; }
1486 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 } # ac_fn_c_check_header_compile
1490 # ac_fn_c_try_link LINENO
1491 # -----------------------
1492 # Try to link conftest.$ac_ext, and return whether this succeeded.
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1497 if { { ac_try="$ac_link"
1499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500 *) ac_try_echo=$ac_try;;
1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 printf "%s\n" "$ac_try_echo"; } >&5
1504 (eval "$ac_link") 2>conftest.err
1506 if test -s conftest.err; then
1507 grep -v '^ *+' conftest.err >conftest.er1
1508 cat conftest.er1 >&5
1509 mv -f conftest.er1 conftest.err
1511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest$ac_exeext && {
1516 test "$cross_compiling" = yes ||
1517 test -x conftest$ac_exeext
1522 printf "%s\n" "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1528 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1529 # interfere with the next link command; also delete a directory that is
1530 # left behind by Apple's compiler. We do this before executing the actions.
1531 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1533 as_fn_set_status $ac_retval
1535 } # ac_fn_c_try_link
1537 # ac_fn_c_check_func LINENO FUNC VAR
1538 # ----------------------------------
1539 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1540 ac_fn_c_check_func ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1544 printf %s "checking for $2... " >&6; }
1545 if eval test \${$3+y}
1547 printf %s "(cached) " >&6
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1551 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1553 #define $2 innocuous_$2
1555 /* System header to define __stub macros and hopefully few prototypes,
1556 which can conflict with char $2 (); below. */
1561 /* Override any GCC internal prototype to avoid an error.
1562 Use char because int might match the return type of a GCC
1563 builtin and then its argument prototype would still apply. */
1568 /* The GNU C library defines this for functions which it implements
1569 to always fail with ENOSYS. Some functions are actually named
1570 something starting with __ and the normal name is an alias. */
1571 #if defined __stub_$2 || defined __stub___$2
1583 if ac_fn_c_try_link "$LINENO"
1589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1590 conftest$ac_exeext conftest.$ac_ext
1593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594 printf "%s\n" "$ac_res" >&6; }
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 } # ac_fn_c_check_func
1598 ac_configure_args_raw=
1603 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1605 as_fn_append ac_configure_args_raw " '$ac_arg'"
1608 case $ac_configure_args_raw in
1612 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1613 ac_unsafe_a="$ac_unsafe_z#~"
1614 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1615 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1618 cat >config.log <<_ACEOF
1619 This file contains any messages produced by compilers while
1620 running configure, to aid debugging if configure makes a mistake.
1622 It was created by $as_me, which was
1623 generated by GNU Autoconf 2.71. Invocation command line was
1625 $ $0$ac_configure_args_raw
1635 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1636 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1637 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1638 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1639 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1641 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1642 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1644 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1645 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1646 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1647 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1648 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1649 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1650 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658 case $as_dir in #(((
1661 *) as_dir=$as_dir/ ;;
1663 printf "%s\n" "PATH: $as_dir"
1679 # Keep a trace of the command line.
1680 # Strip out --no-create and --no-recursion so they do not pile up.
1681 # Strip out --silent because we don't want to record it for future runs.
1682 # Also quote any args containing shell meta-characters.
1683 # Make two passes to allow for proper duplicate-argument suppression.
1687 ac_must_keep_next=false
1693 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1695 | -silent | --silent | --silen | --sile | --sil)
1698 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1701 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1703 as_fn_append ac_configure_args1 " '$ac_arg'"
1704 if test $ac_must_keep_next = true; then
1705 ac_must_keep_next=false # Got value, back to normal.
1708 *=* | --config-cache | -C | -disable-* | --disable-* \
1709 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1710 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1711 | -with-* | --with-* | -without-* | --without-* | --x)
1712 case "$ac_configure_args0 " in
1713 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1716 -* ) ac_must_keep_next=true ;;
1719 as_fn_append ac_configure_args " '$ac_arg'"
1724 { ac_configure_args0=; unset ac_configure_args0;}
1725 { ac_configure_args1=; unset ac_configure_args1;}
1727 # When interrupted or exit'd, cleanup temporary files, and complete
1728 # config.log. We remove comments because anyway the quotes in there
1729 # would cause problems or look ugly.
1730 # WARNING: Use '\'' to represent an apostrophe within the trap.
1731 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1732 trap 'exit_status=$?
1735 # Save into config.log some information that might help in debugging.
1739 printf "%s\n" "## ---------------- ##
1740 ## Cache variables. ##
1741 ## ---------------- ##"
1743 # The following way of writing the cache mishandles newlines in values,
1745 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1746 eval ac_val=\$$ac_var
1750 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1751 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1754 _ | IFS | as_nl) ;; #(
1755 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1756 *) { eval $ac_var=; unset $ac_var;} ;;
1761 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1762 *${as_nl}ac_space=\ *)
1764 "s/'\''/'\''\\\\'\'''\''/g;
1765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1775 printf "%s\n" "## ----------------- ##
1776 ## Output variables. ##
1777 ## ----------------- ##"
1779 for ac_var in $ac_subst_vars
1781 eval ac_val=\$$ac_var
1783 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1785 printf "%s\n" "$ac_var='\''$ac_val'\''"
1789 if test -n "$ac_subst_files"; then
1790 printf "%s\n" "## ------------------- ##
1791 ## File substitutions. ##
1792 ## ------------------- ##"
1794 for ac_var in $ac_subst_files
1796 eval ac_val=\$$ac_var
1798 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 printf "%s\n" "$ac_var='\''$ac_val'\''"
1805 if test -s confdefs.h; then
1806 printf "%s\n" "## ----------- ##
1813 test "$ac_signal" != 0 &&
1814 printf "%s\n" "$as_me: caught signal $ac_signal"
1815 printf "%s\n" "$as_me: exit $exit_status"
1817 rm -f core *.core core.conftest.* &&
1818 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1821 for ac_signal in 1 2 13 15; do
1822 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1826 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1827 rm -f -r conftest* confdefs.h
1829 printf "%s\n" "/* confdefs.h */" > confdefs.h
1831 # Predefined preprocessor variables.
1833 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1835 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1837 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1839 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1841 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1843 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1846 # Let the site file select an alternate cache file if it wants to.
1847 # Prefer an explicitly selected file to automatically selected ones.
1848 if test -n "$CONFIG_SITE"; then
1849 ac_site_files="$CONFIG_SITE"
1850 elif test "x$prefix" != xNONE; then
1851 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1853 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1856 for ac_site_file in $ac_site_files
1858 case $ac_site_file in #(
1862 ac_site_file=./$ac_site_file ;;
1864 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1866 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1867 sed 's/^/| /' "$ac_site_file" >&5
1869 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1870 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1871 as_fn_error $? "failed to load site script $ac_site_file
1872 See \`config.log' for more details" "$LINENO" 5; }
1876 if test -r "$cache_file"; then
1877 # Some versions of bash will fail to source /dev/null (special files
1878 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1879 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1881 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1883 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1884 *) . "./$cache_file";;
1888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1889 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1893 # Test code for whether the C compiler supports C89 (global declarations)
1894 ac_c_conftest_c89_globals='
1895 /* Does the compiler advertise C89 conformance?
1896 Do not test the value of __STDC__, because some compilers set it to 0
1897 while being otherwise adequately conformant. */
1898 #if !defined __STDC__
1899 # error "Compiler does not advertise C89 conformance"
1905 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1906 struct buf { int x; };
1907 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1908 static char *e (p, i)
1914 static char *f (char * (*g) (char **, int), char **p, ...)
1919 s = g (p, va_arg (v,int));
1924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1925 function prototypes and stuff, but not \xHH hex character constants.
1926 These do not provoke an error unfortunately, instead are silently treated
1927 as an "x". The following induces an error, until -std is added to get
1928 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1929 array size at least. It is necessary to write \x00 == 0 to get something
1930 that is true only with -std. */
1931 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1934 inside strings and character constants. */
1935 #define FOO(x) '\''x'\''
1936 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1938 int test (int i, double x);
1939 struct s1 {int (*f) (int a);};
1940 struct s2 {int (*f) (double a);};
1941 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1944 # Test code for whether the C compiler supports C89 (body of main).
1945 ac_c_conftest_c89_main='
1946 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1949 # Test code for whether the C compiler supports C99 (global declarations)
1950 ac_c_conftest_c99_globals='
1951 // Does the compiler advertise C99 conformance?
1952 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1953 # error "Compiler does not advertise C99 conformance"
1956 #include <stdbool.h>
1957 extern int puts (const char *);
1958 extern int printf (const char *, ...);
1959 extern int dprintf (int, const char *, ...);
1960 extern void *malloc (size_t);
1962 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1963 // dprintf is used instead of fprintf to avoid needing to declare
1965 #define debug(...) dprintf (2, __VA_ARGS__)
1966 #define showlist(...) puts (#__VA_ARGS__)
1967 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1969 test_varargs_macros (void)
1974 debug ("X = %d\n", x);
1975 showlist (The first, second, and third items.);
1976 report (x>y, "x is %d but y is %d", x, y);
1979 // Check long long types.
1980 #define BIG64 18446744073709551615ull
1981 #define BIG32 4294967295ul
1982 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1984 #error "your preprocessor is broken"
1988 #error "your preprocessor is broken"
1990 static long long int bignum = -9223372036854775807LL;
1991 static unsigned long long int ubignum = BIG64;
1993 struct incomplete_array
2001 const wchar_t *name;
2005 typedef const char *ccp;
2008 test_restrict (ccp restrict text)
2010 // See if C++-style comments work.
2011 // Iterate through items via the restricted pointer.
2012 // Also check for declarations in for loops.
2013 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2018 // Check varargs and va_copy.
2020 test_varargs (const char *format, ...)
2023 va_start (args, format);
2025 va_copy (args_copy, args);
2027 const char *str = "";
2035 case '\''s'\'': // string
2036 str = va_arg (args_copy, const char *);
2038 case '\''d'\'': // int
2039 number = va_arg (args_copy, int);
2041 case '\''f'\'': // float
2042 fnumber = va_arg (args_copy, double);
2051 return *str && number && fnumber;
2055 # Test code for whether the C compiler supports C99 (body of main).
2056 ac_c_conftest_c99_main='
2058 _Bool success = false;
2059 success |= (argc != 0);
2062 if (test_restrict ("String literal") == 0)
2064 char *restrict newvar = "Another string";
2067 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2068 test_varargs_macros ();
2070 // Check flexible array members.
2071 struct incomplete_array *ia =
2072 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2074 for (int i = 0; i < ia->datasize; ++i)
2075 ia->data[i] = i * 1.234;
2077 // Check named initializers.
2078 struct named_init ni = {
2080 .name = L"Test wide string",
2081 .average = 543.34343,
2086 int dynamic_array[ni.number];
2087 dynamic_array[0] = argv[0][0];
2088 dynamic_array[ni.number - 1] = 543;
2090 // work around unused variable warnings
2091 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2092 || dynamic_array[ni.number - 1] != 543);
2095 # Test code for whether the C compiler supports C11 (global declarations)
2096 ac_c_conftest_c11_globals='
2097 // Does the compiler advertise C11 conformance?
2098 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2099 # error "Compiler does not advertise C11 conformance"
2103 char _Alignas (double) aligned_as_double;
2104 char _Alignas (0) no_special_alignment;
2105 extern char aligned_as_int;
2106 char _Alignas (0) _Alignas (int) aligned_as_int;
2111 int_alignment = _Alignof (int),
2112 int_array_alignment = _Alignof (int[100]),
2113 char_alignment = _Alignof (char)
2115 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2118 int _Noreturn does_not_return (void) { for (;;) continue; }
2120 // Check _Static_assert.
2121 struct test_static_assert
2124 _Static_assert (sizeof (int) <= sizeof (long int),
2125 "_Static_assert does not work in struct");
2129 // Check UTF-8 literals.
2130 #define u8 syntax error!
2131 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2133 // Check duplicate typedefs.
2134 typedef long *long_ptr;
2135 typedef long int *long_ptr;
2136 typedef long_ptr long_ptr;
2138 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2142 struct { int i; int j; };
2143 struct { int k; long int l; } w;
2149 # Test code for whether the C compiler supports C11 (body of main).
2150 ac_c_conftest_c11_main='
2151 _Static_assert ((offsetof (struct anonymous, i)
2152 == offsetof (struct anonymous, w.k)),
2153 "Anonymous union alignment botch");
2159 # Test code for whether the C compiler supports C11 (complete).
2160 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2161 ${ac_c_conftest_c99_globals}
2162 ${ac_c_conftest_c11_globals}
2165 main (int argc, char **argv)
2168 ${ac_c_conftest_c89_main}
2169 ${ac_c_conftest_c99_main}
2170 ${ac_c_conftest_c11_main}
2175 # Test code for whether the C compiler supports C99 (complete).
2176 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2177 ${ac_c_conftest_c99_globals}
2180 main (int argc, char **argv)
2183 ${ac_c_conftest_c89_main}
2184 ${ac_c_conftest_c99_main}
2189 # Test code for whether the C compiler supports C89 (complete).
2190 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2193 main (int argc, char **argv)
2196 ${ac_c_conftest_c89_main}
2201 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2202 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2203 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2204 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2205 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2206 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2207 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2208 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2209 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2210 as_fn_append ac_func_c_list " getaddrinfo HAVE_GETADDRINFO"
2211 # Check that the precious variables saved in the cache have kept the same
2213 ac_cache_corrupted=false
2214 for ac_var in $ac_precious_vars; do
2215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2216 eval ac_new_set=\$ac_env_${ac_var}_set
2217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2218 eval ac_new_val=\$ac_env_${ac_var}_value
2219 case $ac_old_set,$ac_new_set in
2221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2222 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2226 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2230 if test "x$ac_old_val" != "x$ac_new_val"; then
2231 # differences in whitespace do not lead to failure.
2232 ac_old_val_w=`echo x $ac_old_val`
2233 ac_new_val_w=`echo x $ac_new_val`
2234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2236 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2237 ac_cache_corrupted=:
2239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2240 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2241 eval $ac_var=\$ac_old_val
2243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2244 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2246 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2249 # Pass precious variables to config.status.
2250 if test "$ac_new_set" = set; then
2252 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2253 *) ac_arg=$ac_var=$ac_new_val ;;
2255 case " $ac_configure_args " in
2256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2257 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2261 if $ac_cache_corrupted; then
2262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2263 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2265 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2266 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2267 and start over" "$LINENO" 5
2269 ## -------------------- ##
2270 ## Main body of script. ##
2271 ## -------------------- ##
2274 ac_cpp='$CPP $CPPFLAGS'
2275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300 if test -n "$ac_tool_prefix"; then
2301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 printf %s "checking for $ac_word... " >&6; }
2305 if test ${ac_cv_prog_CC+y}
2307 printf %s "(cached) " >&6
2309 if test -n "$CC"; then
2310 ac_cv_prog_CC="$CC" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 case $as_dir in #(((
2319 *) as_dir=$as_dir/ ;;
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2323 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2334 if test -n "$CC"; then
2335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2336 printf "%s\n" "$CC" >&6; }
2338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2339 printf "%s\n" "no" >&6; }
2344 if test -z "$ac_cv_prog_CC"; then
2346 # Extract the first word of "gcc", so it can be a program name with args.
2347 set dummy gcc; ac_word=$2
2348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349 printf %s "checking for $ac_word... " >&6; }
2350 if test ${ac_cv_prog_ac_ct_CC+y}
2352 printf %s "(cached) " >&6
2354 if test -n "$ac_ct_CC"; then
2355 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 case $as_dir in #(((
2364 *) as_dir=$as_dir/ ;;
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_ac_ct_CC="gcc"
2369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2381 printf "%s\n" "$ac_ct_CC" >&6; }
2383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 printf "%s\n" "no" >&6; }
2387 if test "x$ac_ct_CC" = x; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2393 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2394 ac_tool_warned=yes ;;
2402 if test -z "$CC"; then
2403 if test -n "$ac_tool_prefix"; then
2404 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2405 set dummy ${ac_tool_prefix}cc; ac_word=$2
2406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407 printf %s "checking for $ac_word... " >&6; }
2408 if test ${ac_cv_prog_CC+y}
2410 printf %s "(cached) " >&6
2412 if test -n "$CC"; then
2413 ac_cv_prog_CC="$CC" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 case $as_dir in #(((
2422 *) as_dir=$as_dir/ ;;
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2426 ac_cv_prog_CC="${ac_tool_prefix}cc"
2427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2437 if test -n "$CC"; then
2438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2439 printf "%s\n" "$CC" >&6; }
2441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 printf "%s\n" "no" >&6; }
2448 if test -z "$CC"; then
2449 # Extract the first word of "cc", so it can be a program name with args.
2450 set dummy cc; ac_word=$2
2451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452 printf %s "checking for $ac_word... " >&6; }
2453 if test ${ac_cv_prog_CC+y}
2455 printf %s "(cached) " >&6
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 case $as_dir in #(((
2468 *) as_dir=$as_dir/ ;;
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2472 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2473 ac_prog_rejected=yes
2477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2484 if test $ac_prog_rejected = yes; then
2485 # We found a bogon in the path, so make sure we never use it.
2486 set dummy $ac_cv_prog_CC
2488 if test $# != 0; then
2489 # We chose a different compiler from the bogus one.
2490 # However, it has the same basename, so the bogon will be chosen
2491 # first if we set CC to just the basename; use the full file name.
2493 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2499 if test -n "$CC"; then
2500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2501 printf "%s\n" "$CC" >&6; }
2503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 printf "%s\n" "no" >&6; }
2509 if test -z "$CC"; then
2510 if test -n "$ac_tool_prefix"; then
2511 for ac_prog in cl.exe
2513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 printf %s "checking for $ac_word... " >&6; }
2517 if test ${ac_cv_prog_CC+y}
2519 printf %s "(cached) " >&6
2521 if test -n "$CC"; then
2522 ac_cv_prog_CC="$CC" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 case $as_dir in #(((
2531 *) as_dir=$as_dir/ ;;
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2548 printf "%s\n" "$CC" >&6; }
2550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 printf "%s\n" "no" >&6; }
2555 test -n "$CC" && break
2558 if test -z "$CC"; then
2560 for ac_prog in cl.exe
2562 # Extract the first word of "$ac_prog", so it can be a program name with args.
2563 set dummy $ac_prog; ac_word=$2
2564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 printf %s "checking for $ac_word... " >&6; }
2566 if test ${ac_cv_prog_ac_ct_CC+y}
2568 printf %s "(cached) " >&6
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 case $as_dir in #(((
2580 *) as_dir=$as_dir/ ;;
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_ac_ct_CC="$ac_prog"
2585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2595 if test -n "$ac_ct_CC"; then
2596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2597 printf "%s\n" "$ac_ct_CC" >&6; }
2599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 printf "%s\n" "no" >&6; }
2604 test -n "$ac_ct_CC" && break
2607 if test "x$ac_ct_CC" = x; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned=yes ;;
2621 if test -z "$CC"; then
2622 if test -n "$ac_tool_prefix"; then
2623 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2624 set dummy ${ac_tool_prefix}clang; ac_word=$2
2625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 printf %s "checking for $ac_word... " >&6; }
2627 if test ${ac_cv_prog_CC+y}
2629 printf %s "(cached) " >&6
2631 if test -n "$CC"; then
2632 ac_cv_prog_CC="$CC" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 case $as_dir in #(((
2641 *) as_dir=$as_dir/ ;;
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2645 ac_cv_prog_CC="${ac_tool_prefix}clang"
2646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2656 if test -n "$CC"; then
2657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2658 printf "%s\n" "$CC" >&6; }
2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 printf "%s\n" "no" >&6; }
2666 if test -z "$ac_cv_prog_CC"; then
2668 # Extract the first word of "clang", so it can be a program name with args.
2669 set dummy clang; ac_word=$2
2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671 printf %s "checking for $ac_word... " >&6; }
2672 if test ${ac_cv_prog_ac_ct_CC+y}
2674 printf %s "(cached) " >&6
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 case $as_dir in #(((
2686 *) as_dir=$as_dir/ ;;
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2690 ac_cv_prog_ac_ct_CC="clang"
2691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2701 if test -n "$ac_ct_CC"; then
2702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2703 printf "%s\n" "$ac_ct_CC" >&6; }
2705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 printf "%s\n" "no" >&6; }
2709 if test "x$ac_ct_CC" = x; then
2712 case $cross_compiling:$ac_tool_warned in
2714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2716 ac_tool_warned=yes ;;
2727 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2729 as_fn_error $? "no acceptable C compiler found in \$PATH
2730 See \`config.log' for more details" "$LINENO" 5; }
2732 # Provide some information about the compiler.
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2736 for ac_option in --version -v -V -qversion -version; do
2737 { { ac_try="$ac_compiler $ac_option >&5"
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 printf "%s\n" "$ac_try_echo"; } >&5
2744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2746 if test -s conftest.err; then
2748 ... rest of stderr output deleted ...
2749 10q' conftest.err >conftest.er1
2750 cat conftest.er1 >&5
2752 rm -f conftest.er1 conftest.err
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; }
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2768 ac_clean_files_save=$ac_clean_files
2769 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2770 # Try to create an executable without -o first, disregard a.out.
2771 # It will help us diagnose broken compilers, and finding out an intuition
2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2774 printf %s "checking whether the C compiler works... " >&6; }
2775 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2777 # The possible output files:
2778 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2781 for ac_file in $ac_files
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2785 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2790 if { { ac_try="$ac_link_default"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 printf "%s\n" "$ac_try_echo"; } >&5
2797 (eval "$ac_link_default") 2>&5
2799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; }
2802 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2803 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2804 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2805 # so that the user can short-circuit this test for compilers unknown to
2807 for ac_file in $ac_files ''
2809 test -f "$ac_file" || continue
2811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2814 # We found the default executable, but exeext='' is most
2818 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2820 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2822 # We set ac_cv_exeext here because the later test for it is not
2823 # safe: cross compilers may not add the suffix if given an `-o'
2824 # argument, so we may need to know it at that point already.
2825 # Even if this section looks crufty: it has the advantage of
2832 test "$ac_cv_exeext" = no && ac_cv_exeext=
2837 if test -z "$ac_file"
2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 printf "%s\n" "no" >&6; }
2841 printf "%s\n" "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2845 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2846 as_fn_error 77 "C compiler cannot create executables
2847 See \`config.log' for more details" "$LINENO" 5; }
2849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850 printf "%s\n" "yes" >&6; }
2852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2853 printf %s "checking for C compiler default output file name... " >&6; }
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2855 printf "%s\n" "$ac_file" >&6; }
2856 ac_exeext=$ac_cv_exeext
2858 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2859 ac_clean_files=$ac_clean_files_save
2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2861 printf %s "checking for suffix of executables... " >&6; }
2862 if { { ac_try="$ac_link"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 printf "%s\n" "$ac_try_echo"; } >&5
2869 (eval "$ac_link") 2>&5
2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; }
2874 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2875 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2876 # work properly (i.e., refer to `conftest.exe'), while it won't with
2878 for ac_file in conftest.exe conftest conftest.*; do
2879 test -f "$ac_file" || continue
2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2888 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2889 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2890 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2891 See \`config.log' for more details" "$LINENO" 5; }
2893 rm -f conftest conftest$ac_cv_exeext
2894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2895 printf "%s\n" "$ac_cv_exeext" >&6; }
2897 rm -f conftest.$ac_ext
2898 EXEEXT=$ac_cv_exeext
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2906 FILE *f = fopen ("conftest.out", "w");
2907 return ferror (f) || fclose (f) != 0;
2913 ac_clean_files="$ac_clean_files conftest.out"
2914 # Check that the compiler produces executables we can run. If not, either
2915 # the compiler is broken, or we cross compile.
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2917 printf %s "checking whether we are cross compiling... " >&6; }
2918 if test "$cross_compiling" != yes; then
2919 { { ac_try="$ac_link"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2925 printf "%s\n" "$ac_try_echo"; } >&5
2926 (eval "$ac_link") 2>&5
2928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; }
2930 if { ac_try='./conftest$ac_cv_exeext'
2931 { { case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 printf "%s\n" "$ac_try_echo"; } >&5
2937 (eval "$ac_try") 2>&5
2939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; }; }; then
2943 if test "$cross_compiling" = maybe; then
2946 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2947 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2948 as_fn_error 77 "cannot run C compiled programs.
2949 If you meant to cross compile, use \`--host'.
2950 See \`config.log' for more details" "$LINENO" 5; }
2954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2955 printf "%s\n" "$cross_compiling" >&6; }
2957 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2958 ac_clean_files=$ac_clean_files_save
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2960 printf %s "checking for suffix of object files... " >&6; }
2961 if test ${ac_cv_objext+y}
2963 printf %s "(cached) " >&6
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2976 rm -f conftest.o conftest.obj
2977 if { { ac_try="$ac_compile"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 printf "%s\n" "$ac_try_echo"; } >&5
2984 (eval "$ac_compile") 2>&5
2986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; }
2989 for ac_file in conftest.o conftest.obj conftest.*; do
2990 test -f "$ac_file" || continue;
2992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2998 printf "%s\n" "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error $? "cannot compute suffix of object files: cannot compile
3004 See \`config.log' for more details" "$LINENO" 5; }
3006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3009 printf "%s\n" "$ac_cv_objext" >&6; }
3010 OBJEXT=$ac_cv_objext
3012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3013 printf %s "checking whether the compiler supports GNU C... " >&6; }
3014 if test ${ac_cv_c_compiler_gnu+y}
3016 printf %s "(cached) " >&6
3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3032 if ac_fn_c_try_compile "$LINENO"
3038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3039 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3043 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3046 if test $ac_compiler_gnu = yes; then
3051 ac_test_CFLAGS=${CFLAGS+y}
3052 ac_save_CFLAGS=$CFLAGS
3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3054 printf %s "checking whether $CC accepts -g... " >&6; }
3055 if test ${ac_cv_prog_cc_g+y}
3057 printf %s "(cached) " >&6
3059 ac_save_c_werror_flag=$ac_c_werror_flag
3060 ac_c_werror_flag=yes
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3090 if ac_fn_c_try_compile "$LINENO"
3094 ac_c_werror_flag=$ac_save_c_werror_flag
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3107 if ac_fn_c_try_compile "$LINENO"
3111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3116 ac_c_werror_flag=$ac_save_c_werror_flag
3118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3119 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3120 if test $ac_test_CFLAGS; then
3121 CFLAGS=$ac_save_CFLAGS
3122 elif test $ac_cv_prog_cc_g = yes; then
3123 if test "$GCC" = yes; then
3129 if test "$GCC" = yes; then
3136 if test x$ac_prog_cc_stdc = xno
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3139 printf %s "checking for $CC option to enable C11 features... " >&6; }
3140 if test ${ac_cv_prog_cc_c11+y}
3142 printf %s "(cached) " >&6
3144 ac_cv_prog_cc_c11=no
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3148 $ac_c_conftest_c11_program
3150 for ac_arg in '' -std=gnu11
3152 CC="$ac_save_CC $ac_arg"
3153 if ac_fn_c_try_compile "$LINENO"
3155 ac_cv_prog_cc_c11=$ac_arg
3157 rm -f core conftest.err conftest.$ac_objext conftest.beam
3158 test "x$ac_cv_prog_cc_c11" != "xno" && break
3160 rm -f conftest.$ac_ext
3164 if test "x$ac_cv_prog_cc_c11" = xno
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3167 printf "%s\n" "unsupported" >&6; }
3169 if test "x$ac_cv_prog_cc_c11" = x
3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3172 printf "%s\n" "none needed" >&6; }
3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3175 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3176 CC="$CC $ac_cv_prog_cc_c11"
3178 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3182 if test x$ac_prog_cc_stdc = xno
3184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3185 printf %s "checking for $CC option to enable C99 features... " >&6; }
3186 if test ${ac_cv_prog_cc_c99+y}
3188 printf %s "(cached) " >&6
3190 ac_cv_prog_cc_c99=no
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3194 $ac_c_conftest_c99_program
3196 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3198 CC="$ac_save_CC $ac_arg"
3199 if ac_fn_c_try_compile "$LINENO"
3201 ac_cv_prog_cc_c99=$ac_arg
3203 rm -f core conftest.err conftest.$ac_objext conftest.beam
3204 test "x$ac_cv_prog_cc_c99" != "xno" && break
3206 rm -f conftest.$ac_ext
3210 if test "x$ac_cv_prog_cc_c99" = xno
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3213 printf "%s\n" "unsupported" >&6; }
3215 if test "x$ac_cv_prog_cc_c99" = x
3217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3218 printf "%s\n" "none needed" >&6; }
3220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3221 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3222 CC="$CC $ac_cv_prog_cc_c99"
3224 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3228 if test x$ac_prog_cc_stdc = xno
3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3231 printf %s "checking for $CC option to enable C89 features... " >&6; }
3232 if test ${ac_cv_prog_cc_c89+y}
3234 printf %s "(cached) " >&6
3236 ac_cv_prog_cc_c89=no
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3240 $ac_c_conftest_c89_program
3242 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3244 CC="$ac_save_CC $ac_arg"
3245 if ac_fn_c_try_compile "$LINENO"
3247 ac_cv_prog_cc_c89=$ac_arg
3249 rm -f core conftest.err conftest.$ac_objext conftest.beam
3250 test "x$ac_cv_prog_cc_c89" != "xno" && break
3252 rm -f conftest.$ac_ext
3256 if test "x$ac_cv_prog_cc_c89" = xno
3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3259 printf "%s\n" "unsupported" >&6; }
3261 if test "x$ac_cv_prog_cc_c89" = x
3263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3264 printf "%s\n" "none needed" >&6; }
3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3267 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3268 CC="$CC $ac_cv_prog_cc_c89"
3270 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3276 ac_cpp='$CPP $CPPFLAGS'
3277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284 ac_header= ac_cache=
3285 for ac_item in $ac_header_c_list
3287 if test $ac_cache; then
3288 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3289 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3290 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3292 ac_header= ac_cache=
3293 elif test $ac_header; then
3307 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3310 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3313 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
3314 if test "x$ac_cv_header_sys_socket_h" = xyes
3316 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
3320 for ac_header in openssl/crypto.h
3322 ac_fn_c_check_header_compile "$LINENO" "openssl/crypto.h" "ac_cv_header_openssl_crypto_h" "$ac_includes_default"
3323 if test "x$ac_cv_header_openssl_crypto_h" = xyes
3325 printf "%s\n" "#define HAVE_OPENSSL_CRYPTO_H 1" >>confdefs.h
3326 CLIENT_OPENSSL=bin/client-ssl
3330 for ac_header in openssl/crypto.h
3332 ac_fn_c_check_header_compile "$LINENO" "openssl/crypto.h" "ac_cv_header_openssl_crypto_h" "$ac_includes_default"
3333 if test "x$ac_cv_header_openssl_crypto_h" = xyes
3335 printf "%s\n" "#define HAVE_OPENSSL_CRYPTO_H 1" >>confdefs.h
3336 CLIENT_ANYTLS=bin/client-anytls
3340 for ac_header in gnutls/gnutls.h
3342 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
3343 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
3345 printf "%s\n" "#define HAVE_GNUTLS_GNUTLS_H 1" >>confdefs.h
3346 CLIENT_GNUTLS=bin/client-gnutls
3350 for ac_header in gnutls/gnutls.h
3352 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
3353 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
3355 printf "%s\n" "#define HAVE_GNUTLS_GNUTLS_H 1" >>confdefs.h
3356 CLIENT_ANYTLS=bin/client-anytls
3360 for ac_header in gnutls/gnutls.h
3362 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
3363 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
3365 printf "%s\n" "#define HAVE_GNUTLS_GNUTLS_H 1" >>confdefs.h
3366 B64_GNUTLS=bin/ed25519_privkey_pem_to_pubkey_raw_b64
3375 case $CC-$host_os in
3376 gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* )
3378 LOADED_OPT="-shared -fPIC"
3379 echo "Using gcc on $host_os: will compile dynamically loaded module"
3383 echo "Will not compile dynamically loaded module: not known OS/CC combination"
3390 BIND_8_COMPAT=-DBIND_8_COMPAT
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_addr" >&5
3396 printf %s "checking for library containing inet_addr... " >&6; }
3397 if test ${ac_cv_search_inet_addr+y}
3399 printf %s "(cached) " >&6
3401 ac_func_search_save_LIBS=$LIBS
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3405 /* Override any GCC internal prototype to avoid an error.
3406 Use char because int might match the return type of a GCC
3407 builtin and then its argument prototype would still apply. */
3412 return inet_addr ();
3417 for ac_lib in '' nsl
3419 if test -z "$ac_lib"; then
3420 ac_res="none required"
3423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3425 if ac_fn_c_try_link "$LINENO"
3427 ac_cv_search_inet_addr=$ac_res
3429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3431 if test ${ac_cv_search_inet_addr+y}
3436 if test ${ac_cv_search_inet_addr+y}
3440 ac_cv_search_inet_addr=no
3443 LIBS=$ac_func_search_save_LIBS
3445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_addr" >&5
3446 printf "%s\n" "$ac_cv_search_inet_addr" >&6; }
3447 ac_res=$ac_cv_search_inet_addr
3448 if test "$ac_res" != no
3450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
3455 printf %s "checking for library containing connect... " >&6; }
3456 if test ${ac_cv_search_connect+y}
3458 printf %s "(cached) " >&6
3460 ac_func_search_save_LIBS=$LIBS
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3464 /* Override any GCC internal prototype to avoid an error.
3465 Use char because int might match the return type of a GCC
3466 builtin and then its argument prototype would still apply. */
3476 for ac_lib in '' socket
3478 if test -z "$ac_lib"; then
3479 ac_res="none required"
3482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3484 if ac_fn_c_try_link "$LINENO"
3486 ac_cv_search_connect=$ac_res
3488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3490 if test ${ac_cv_search_connect+y}
3495 if test ${ac_cv_search_connect+y}
3499 ac_cv_search_connect=no
3502 LIBS=$ac_func_search_save_LIBS
3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
3505 printf "%s\n" "$ac_cv_search_connect" >&6; }
3506 ac_res=$ac_cv_search_connect
3507 if test "$ac_res" != no
3509 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
3514 printf %s "checking for library containing inet_pton... " >&6; }
3515 if test ${ac_cv_search_inet_pton+y}
3517 printf %s "(cached) " >&6
3519 ac_func_search_save_LIBS=$LIBS
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3523 /* Override any GCC internal prototype to avoid an error.
3524 Use char because int might match the return type of a GCC
3525 builtin and then its argument prototype would still apply. */
3530 return inet_pton ();
3535 for ac_lib in '' nsl socket resolv
3537 if test -z "$ac_lib"; then
3538 ac_res="none required"
3541 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3543 if ac_fn_c_try_link "$LINENO"
3545 ac_cv_search_inet_pton=$ac_res
3547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3549 if test ${ac_cv_search_inet_pton+y}
3554 if test ${ac_cv_search_inet_pton+y}
3558 ac_cv_search_inet_pton=no
3561 LIBS=$ac_func_search_save_LIBS
3563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
3564 printf "%s\n" "$ac_cv_search_inet_pton" >&6; }
3565 ac_res=$ac_cv_search_inet_pton
3566 if test "$ac_res" != no
3568 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
3573 printf %s "checking for library containing inet_ntop... " >&6; }
3574 if test ${ac_cv_search_inet_ntop+y}
3576 printf %s "(cached) " >&6
3578 ac_func_search_save_LIBS=$LIBS
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3582 /* Override any GCC internal prototype to avoid an error.
3583 Use char because int might match the return type of a GCC
3584 builtin and then its argument prototype would still apply. */
3589 return inet_ntop ();
3594 for ac_lib in '' nsl socket resolv
3596 if test -z "$ac_lib"; then
3597 ac_res="none required"
3600 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3602 if ac_fn_c_try_link "$LINENO"
3604 ac_cv_search_inet_ntop=$ac_res
3606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3608 if test ${ac_cv_search_inet_ntop+y}
3613 if test ${ac_cv_search_inet_ntop+y}
3617 ac_cv_search_inet_ntop=no
3620 LIBS=$ac_func_search_save_LIBS
3622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
3623 printf "%s\n" "$ac_cv_search_inet_ntop" >&6; }
3624 ac_res=$ac_cv_search_inet_ntop
3625 if test "$ac_res" != no
3627 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3633 for ac_item in $ac_func_c_list
3635 if test $ac_func; then
3636 ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
3637 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
3638 echo "#define $ac_item 1" >> confdefs.h
3658 ac_config_files="$ac_config_files Makefile"
3660 cat >confcache <<\_ACEOF
3661 # This file is a shell script that caches the results of configure
3662 # tests run on this system so they can be shared between configure
3663 # scripts and configure runs, see configure's option --config-cache.
3664 # It is not useful on other systems. If it contains results you don't
3665 # want to keep, you may remove or edit it.
3667 # config.status only pays attention to the cache file if you give it
3668 # the --recheck option to rerun configure.
3670 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3671 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3676 # The following way of writing the cache mishandles newlines in values,
3677 # but we know of no workaround that is simple, portable, and efficient.
3678 # So, we kill variables containing newlines.
3679 # Ultrix sh set writes to stderr and can't be redirected directly,
3680 # and sets the high bit in the cache file unless we assign to the vars.
3682 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3683 eval ac_val=\$$ac_var
3687 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3688 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3691 _ | IFS | as_nl) ;; #(
3692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3693 *) { eval $ac_var=; unset $ac_var;} ;;
3699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3700 *${as_nl}ac_space=\ *)
3701 # `set' does not quote correctly, so add quotes: double-quote
3702 # substitution turns \\\\ into \\, and sed turns \\ into \.
3705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3708 # `set' quotes correctly as required by POSIX, so do not add quotes.
3709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3718 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3722 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3723 if test -w "$cache_file"; then
3724 if test "x$cache_file" != "x/dev/null"; then
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3726 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3727 if test ! -f "$cache_file" || test -h "$cache_file"; then
3728 cat confcache >"$cache_file"
3730 case $cache_file in #(
3732 mv -f confcache "$cache_file"$$ &&
3733 mv -f "$cache_file"$$ "$cache_file" ;; #(
3735 mv -f confcache "$cache_file" ;;
3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3741 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3746 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3747 # Let make expand exec_prefix.
3748 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3750 # Transform confdefs.h into DEFS.
3751 # Protect against shell expansion while executing Makefile rules.
3752 # Protect against Makefile macro expansion.
3754 # If the first sed substitution is executed (which looks for macros that
3755 # take arguments), then branch to the quote section. Otherwise,
3756 # look for a macro that doesn't take arguments.
3766 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3768 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3772 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3785 DEFS=`sed -n "$ac_script" confdefs.h`
3791 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3792 # 1. Remove the extension, and $U if already installed.
3793 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3794 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3795 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3796 # will be set to the directory where LIBOBJS objects are built.
3797 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3798 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3802 LTLIBOBJS=$ac_ltlibobjs
3806 : "${CONFIG_STATUS=./config.status}"
3808 ac_clean_files_save=$ac_clean_files
3809 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3811 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3813 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3815 # Generated by $as_me.
3816 # Run this file to recreate the current configuration.
3817 # Compiler output produced by configure, useful for debugging
3818 # configure, is in config.log if it exists.
3824 SHELL=\${CONFIG_SHELL-$SHELL}
3827 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3828 ## -------------------- ##
3829 ## M4sh Initialization. ##
3830 ## -------------------- ##
3832 # Be more Bourne compatible
3833 DUALCASE=1; export DUALCASE # for MKS sh
3835 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3839 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3840 # is contrary to our usage. Disable this feature.
3841 alias -g '${1+"$@"}'='"$@"'
3842 setopt NO_GLOB_SUBST
3844 case `(set -o) 2>/dev/null` in #(
3854 # Reset variables that may have inherited troublesome values from
3857 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3858 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3859 # side effect of setting IFS to empty, thus disabling word splitting.)
3860 # Quoting is to prevent editors from complaining about space-tab.
3870 # Ensure predictable behavior from utilities with locale-dependent output.
3876 # We cannot yet rely on "unset" to work, but we need these variables
3877 # to be unset--not just set to an empty or harmless value--now, to
3878 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3879 # also avoids known problems related to "unset" and subshell syntax
3880 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3881 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3882 do eval test \${$as_var+y} \
3883 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3886 # Ensure that fds 0, 1, and 2 are open.
3887 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3888 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3889 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3891 # The user is always right.
3892 if ${PATH_SEPARATOR+false} :; then
3894 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3895 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3901 # Find who we are. Look in the path if we contain no directory separator.
3904 *[\\/]* ) as_myself=$0 ;;
3905 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909 case $as_dir in #(((
3912 *) as_dir=$as_dir/ ;;
3914 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3920 # We did not find ourselves, most probably we were run as `sh COMMAND'
3921 # in which case we are not to be found in the path.
3922 if test "x$as_myself" = x; then
3925 if test ! -f "$as_myself"; then
3926 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3932 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3933 # ----------------------------------------
3934 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3935 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3936 # script with STATUS, using 1 if that was 0.
3939 as_status=$1; test $as_status -eq 0 && as_status=1
3941 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3944 printf "%s\n" "$as_me: error: $2" >&2
3945 as_fn_exit $as_status
3950 # as_fn_set_status STATUS
3951 # -----------------------
3952 # Set $? to STATUS, without forking.
3956 } # as_fn_set_status
3960 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3970 # Portably unset VAR.
3973 { eval $1=; unset $1;}
3975 as_unset=as_fn_unset
3977 # as_fn_append VAR VALUE
3978 # ----------------------
3979 # Append the text in VALUE to the end of the definition contained in VAR. Take
3980 # advantage of any shell optimizations that allow amortized linear growth over
3981 # repeated appends, instead of the typical quadratic growth present in naive
3983 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3985 eval 'as_fn_append ()
3996 # as_fn_arith ARG...
3997 # ------------------
3998 # Perform arithmetic evaluation on the ARGs, and store the result in the
3999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4000 # must be portable across $(()) and expr.
4001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4003 eval 'as_fn_arith ()
4010 as_val=`expr "$@" || test $? -eq 1`
4015 if expr a : '\(a\)' >/dev/null 2>&1 &&
4016 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4023 as_basename=basename
4028 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4034 as_me=`$as_basename -- "$0" ||
4035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4036 X"$0" : 'X\(//\)$' \| \
4037 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4038 printf "%s\n" X/"$0" |
4039 sed '/^.*\/\([^/][^/]*\)\/*$/{
4053 # Avoid depending upon Character Ranges.
4054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4057 as_cr_digits='0123456789'
4058 as_cr_alnum=$as_cr_Letters$as_cr_digits
4061 # Determine whether it's possible to make 'echo' print without a newline.
4062 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4063 # for compatibility with existing Makefiles.
4064 ECHO_C= ECHO_N= ECHO_T=
4065 case `echo -n x` in #(((((
4067 case `echo 'xy\c'` in
4068 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4070 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4077 # For backward compatibility with old third-party macros, we provide
4078 # the shell variables $as_echo and $as_echo_n. New code should use
4079 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4080 as_echo='printf %s\n'
4081 as_echo_n='printf %s'
4083 rm -f conf$$ conf$$.exe conf$$.file
4084 if test -d conf$$.dir; then
4085 rm -f conf$$.dir/conf$$.file
4088 mkdir conf$$.dir 2>/dev/null
4090 if (echo >conf$$.file) 2>/dev/null; then
4091 if ln -s conf$$.file conf$$ 2>/dev/null; then
4093 # ... but there are two gotchas:
4094 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4095 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4096 # In both cases, we have to default to `cp -pR'.
4097 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4099 elif ln conf$$.file conf$$ 2>/dev/null; then
4107 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4108 rmdir conf$$.dir 2>/dev/null
4113 # Create "$as_dir" as a directory, including parents if necessary.
4118 -*) as_dir=./$as_dir;;
4120 test -d "$as_dir" || eval $as_mkdir_p || {
4124 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4125 *) as_qdir=$as_dir;;
4127 as_dirs="'$as_qdir' $as_dirs"
4128 as_dir=`$as_dirname -- "$as_dir" ||
4129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4130 X"$as_dir" : 'X\(//\)[^/]' \| \
4131 X"$as_dir" : 'X\(//\)$' \| \
4132 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4133 printf "%s\n" X"$as_dir" |
4134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4151 test -d "$as_dir" && break
4153 test -z "$as_dirs" || eval "mkdir $as_dirs"
4154 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4158 if mkdir -p . 2>/dev/null; then
4159 as_mkdir_p='mkdir -p "$as_dir"'
4161 test -d ./-p && rmdir ./-p
4166 # as_fn_executable_p FILE
4167 # -----------------------
4168 # Test if FILE is an executable regular file.
4169 as_fn_executable_p ()
4171 test -f "$1" && test -x "$1"
4172 } # as_fn_executable_p
4174 as_executable_p=as_fn_executable_p
4176 # Sed expression to map a string onto a valid CPP name.
4177 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4179 # Sed expression to map a string onto a valid variable name.
4180 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4184 ## ----------------------------------- ##
4185 ## Main body of $CONFIG_STATUS script. ##
4186 ## ----------------------------------- ##
4188 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4191 # Save the log message, to keep $0 and so on meaningful, and to
4192 # report actual input values of CONFIG_FILES etc. instead of their
4193 # values after options handling.
4195 This file was extended by $as_me, which was
4196 generated by GNU Autoconf 2.71. Invocation command line was
4198 CONFIG_FILES = $CONFIG_FILES
4199 CONFIG_HEADERS = $CONFIG_HEADERS
4200 CONFIG_LINKS = $CONFIG_LINKS
4201 CONFIG_COMMANDS = $CONFIG_COMMANDS
4204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4209 case $ac_config_files in *"
4210 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4216 # Files that config.status was made for.
4217 config_files="$ac_config_files"
4221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4223 \`$as_me' instantiates files and other configuration actions
4224 from templates according to the current configuration. Unless the files
4225 and actions are specified as TAGs, all are instantiated by default.
4227 Usage: $0 [OPTION]... [TAG]...
4229 -h, --help print this help, then exit
4230 -V, --version print version number and configuration settings, then exit
4231 --config print configuration, then exit
4232 -q, --quiet, --silent
4233 do not print progress messages
4234 -d, --debug don't remove temporary files
4235 --recheck update $as_me by reconfiguring in the same conditions
4236 --file=FILE[:TEMPLATE]
4237 instantiate the configuration file FILE
4239 Configuration files:
4242 Report bugs to the package provider."
4245 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4246 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4248 ac_cs_config='$ac_cs_config_escaped'
4251 configured by $0, generated by GNU Autoconf 2.71,
4252 with options \\"\$ac_cs_config\\"
4254 Copyright (C) 2021 Free Software Foundation, Inc.
4255 This config.status script is free software; the Free Software Foundation
4256 gives unlimited permission to copy, distribute and modify it."
4260 test -n "\$AWK" || AWK=awk
4263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4264 # The default lists apply if the user does not specify any file.
4270 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4271 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4275 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4287 # Handling of the options.
4288 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4290 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4291 printf "%s\n" "$ac_cs_version"; exit ;;
4292 --config | --confi | --conf | --con | --co | --c )
4293 printf "%s\n" "$ac_cs_config"; exit ;;
4294 --debug | --debu | --deb | --de | --d | -d )
4296 --file | --fil | --fi | --f )
4299 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4300 '') as_fn_error $? "missing file argument" ;;
4302 as_fn_append CONFIG_FILES " '$ac_optarg'"
4303 ac_need_defaults=false;;
4304 --he | --h | --help | --hel | -h )
4305 printf "%s\n" "$ac_cs_usage"; exit ;;
4306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4307 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4311 -*) as_fn_error $? "unrecognized option: \`$1'
4312 Try \`$0 --help' for more information." ;;
4314 *) as_fn_append ac_config_targets " $1"
4315 ac_need_defaults=false ;;
4321 ac_configure_extra_args=
4323 if $ac_cs_silent; then
4325 ac_configure_extra_args="$ac_configure_extra_args --silent"
4329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4330 if \$ac_cs_recheck; then
4331 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4333 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4334 CONFIG_SHELL='$SHELL'
4340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4344 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4345 ## Running $as_me. ##
4347 printf "%s\n" "$ac_log"
4351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4356 # Handling of arguments.
4357 for ac_config_target in $ac_config_targets
4359 case $ac_config_target in
4360 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4362 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4367 # If the user did not use the arguments to specify the items to instantiate,
4368 # then the envvar interface is used. Set only those that are not.
4369 # We use the long form for the default assignment because of an extremely
4370 # bizarre bug on SunOS 4.1.3.
4371 if $ac_need_defaults; then
4372 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4375 # Have a temporary directory for convenience. Make it in the build tree
4376 # simply because there is no reason against having it here, and in addition,
4377 # creating and moving files from /tmp can sometimes cause problems.
4378 # Hook for its removal unless debugging.
4379 # Note that there is a small window in which the directory will not be cleaned:
4380 # after its creation but before its name has been assigned to `$tmp'.
4384 trap 'exit_status=$?
4386 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4388 trap 'as_fn_exit 1' 1 2 13 15
4390 # Create a (secure) tmp directory for tmp files.
4393 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4397 tmp=./conf$$-$RANDOM
4398 (umask 077 && mkdir "$tmp")
4399 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4402 # Set up the scripts for CONFIG_FILES section.
4403 # No need to generate them if there are no CONFIG_FILES.
4404 # This happens for instance with `./config.status config.h'.
4405 if test -n "$CONFIG_FILES"; then
4408 ac_cr=`echo X | tr X '\015'`
4409 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4410 # But we know of no other shell where ac_cr would be empty at this
4411 # point, so we can use a bashism as a fallback.
4412 if test "x$ac_cr" = x; then
4413 eval ac_cr=\$\'\\r\'
4415 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4416 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4422 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4427 echo "cat >conf$$subs.awk <<_ACEOF" &&
4428 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4432 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4434 for ac_last_try in false false false false false :; do
4435 . ./conf$$subs.sh ||
4436 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4438 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4439 if test $ac_delim_n = $ac_delim_num; then
4441 elif $ac_last_try; then
4442 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4444 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4450 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4454 s/^/S["/; s/!.*/"]=/
4464 s/\(.\{148\}\)..*/\1/
4466 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4471 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4478 s/\(.\{148\}\)..*/\1/
4480 s/["\\]/\\&/g; s/^/"/; s/$/"/
4484 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4489 ' <conf$$subs.awk | sed '
4494 ' >>$CONFIG_STATUS || ac_write_fail=1
4495 rm -f conf$$subs.awk
4496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4498 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4499 for (key in S) S_is_set[key] = 1
4505 nfields = split(line, field, "@")
4507 len = length(field[1])
4508 for (i = 2; i < nfields; i++) {
4510 keylen = length(key)
4511 if (S_is_set[key]) {
4513 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4514 len += length(value) + length(field[++i])
4525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4526 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4527 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4530 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4531 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4534 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4535 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4536 # trailing colons and then remove the whole line if VPATH becomes empty
4537 # (actually we leave an empty line to preserve line numbers).
4538 if test "x$srcdir" = x.; then
4539 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4558 fi # test -n "$CONFIG_FILES"
4561 eval set X " :F $CONFIG_FILES "
4566 :[FHLC]) ac_mode=$ac_tag; continue;;
4568 case $ac_mode$ac_tag in
4570 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4571 :[FH]-) ac_tag=-:-;;
4572 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4589 -) ac_f="$ac_tmp/stdin";;
4590 *) # Look for the file first in the build tree, then in the source tree
4591 # (if the path is not absolute). The absolute path cannot be DOS-style,
4592 # because $ac_f cannot contain `:'.
4596 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4598 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4600 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4601 as_fn_append ac_file_inputs " '$ac_f'"
4604 # Let's still pretend it is `configure' which instantiates (i.e., don't
4605 # use $as_me), people would be surprised to read:
4606 # /* config.h. Generated by config.status. */
4607 configure_input='Generated from '`
4608 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4610 if test x"$ac_file" != x-; then
4611 configure_input="$ac_file. $configure_input"
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4613 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4615 # Neutralize special characters interpreted by sed in replacement strings.
4616 case $configure_input in #(
4617 *\&* | *\|* | *\\* )
4618 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4619 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4620 *) ac_sed_conf_input=$configure_input;;
4624 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4630 ac_dir=`$as_dirname -- "$ac_file" ||
4631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4632 X"$ac_file" : 'X\(//\)[^/]' \| \
4633 X"$ac_file" : 'X\(//\)$' \| \
4634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4635 printf "%s\n" X"$ac_file" |
4636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4653 as_dir="$ac_dir"; as_fn_mkdir_p
4657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4659 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4660 # A ".." for each directory in $ac_dir_suffix.
4661 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4662 case $ac_top_builddir_sub in
4663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4667 ac_abs_top_builddir=$ac_pwd
4668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4669 # for backward compatibility:
4670 ac_top_builddir=$ac_top_build_prefix
4673 .) # We are building in place.
4675 ac_top_srcdir=$ac_top_builddir_sub
4676 ac_abs_top_srcdir=$ac_pwd ;;
4677 [\\/]* | ?:[\\/]* ) # Absolute name.
4678 ac_srcdir=$srcdir$ac_dir_suffix;
4679 ac_top_srcdir=$srcdir
4680 ac_abs_top_srcdir=$srcdir ;;
4682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4683 ac_top_srcdir=$ac_top_build_prefix$srcdir
4684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4698 # If the template does not know about datarootdir, expand it.
4699 # FIXME: This hack should be removed a few years after 2.60.
4700 ac_datarootdir_hack=; ac_datarootdir_seen=
4711 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4712 *datarootdir*) ac_datarootdir_seen=yes;;
4713 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4715 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4718 ac_datarootdir_hack='
4719 s&@datadir@&$datadir&g
4720 s&@docdir@&$docdir&g
4721 s&@infodir@&$infodir&g
4722 s&@localedir@&$localedir&g
4723 s&@mandir@&$mandir&g
4724 s&\\\${datarootdir}&$datarootdir&g' ;;
4728 # Neutralize VPATH when `$srcdir' = `.'.
4729 # Shell code in configure.ac might set extrasub.
4730 # FIXME: do we really want to maintain this feature?
4731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4732 ac_sed_extra="$ac_vpsub
4735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4737 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4738 s|@configure_input@|$ac_sed_conf_input|;t t
4739 s&@top_builddir@&$ac_top_builddir_sub&;t t
4740 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4741 s&@srcdir@&$ac_srcdir&;t t
4742 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4743 s&@top_srcdir@&$ac_top_srcdir&;t t
4744 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4745 s&@builddir@&$ac_builddir&;t t
4746 s&@abs_builddir@&$ac_abs_builddir&;t t
4747 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4748 $ac_datarootdir_hack
4750 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4751 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4753 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4754 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4755 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4756 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4758 which seems to be undefined. Please make sure it is defined" >&5
4759 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4760 which seems to be undefined. Please make sure it is defined" >&2;}
4762 rm -f "$ac_tmp/stdin"
4764 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4765 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4779 ac_clean_files=$ac_clean_files_save
4781 test $ac_write_fail = 0 ||
4782 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4785 # configure is writing to config.log, and then calls config.status.
4786 # config.status does its own redirection, appending to config.log.
4787 # Unfortunately, on DOS this fails, as config.log is still kept open
4788 # by configure, so config.status won't be able to write to it; its
4789 # output is simply discarded. So we exec the FD to /dev/null,
4790 # effectively closing config.log, so it can be properly (re)opened and
4791 # appended to by config.status. When coming back to configure, we
4792 # need to make the FD available again.
4793 if test "$no_create" != yes; then
4795 ac_config_status_args=
4796 test "$silent" = yes &&
4797 ac_config_status_args="$ac_config_status_args --quiet"
4799 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4801 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4802 # would make configure fail if this is the last instruction.
4803 $ac_cs_success || as_fn_exit 1
4805 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4807 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}