@@ -0,0 +1,4349 @@
2+# Guess values for system-dependent variables and create Makefiles.
3+# Generated by GNU Autoconf 2.71 for streamly-core 0.8.2.
5+# Report bugs to <streamly@composewell.com>.
8+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12+# This configure script is free software; the Free Software Foundation
13+# gives unlimited permission to copy, distribute and modify it.
14+## -------------------- ##
15+## M4sh Initialization. ##
16+## -------------------- ##
18+# Be more Bourne compatible
19+DUALCASE=1; export DUALCASE # for MKS sh
21+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
25+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26+ # is contrary to our usage. Disable this feature.
27+ alias -g '${1+"$@"}'='"$@"'
30+ case `(set -o) 2>/dev/null` in #(
40+# Reset variables that may have inherited troublesome values from
43+# IFS needs to be set, to space, tab, and newline, in precisely that order.
44+# (If _AS_PATH_WALK were called with IFS unset, it would have the
45+# side effect of setting IFS to empty, thus disabling word splitting.)
46+# Quoting is to prevent editors from complaining about space-tab.
56+# Ensure predictable behavior from utilities with locale-dependent output.
62+# We cannot yet rely on "unset" to work, but we need these variables
63+# to be unset--not just set to an empty or harmless value--now, to
64+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65+# also avoids known problems related to "unset" and subshell syntax
66+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68+do eval test \${$as_var+y} \
69+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72+# Ensure that fds 0, 1, and 2 are open.
73+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77+# The user is always right.
78+if ${PATH_SEPARATOR+false} :; then
80+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87+# Find who we are. Look in the path if we contain no directory separator.
90+ *[\\/]* ) as_myself=$0 ;;
91+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98+ *) as_dir=$as_dir/ ;;
100+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
106+# We did not find ourselves, most probably we were run as `sh COMMAND'
107+# in which case we are not to be found in the path.
108+if test "x$as_myself" = x; then
111+if test ! -f "$as_myself"; then
112+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117+# Use a proper internal environment variable to ensure we don't fall
118+ # into an infinite loop, continuously re-executing ourselves.
119+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120+ _as_can_reexec=no; export _as_can_reexec;
121+ # We cannot yet assume a decent shell, so we have to provide a
122+# neutralization value for shells without unset; and this also
123+# works around shells that cannot unset nonexistent variables.
124+# Preserve -v and -x to the replacement shell.
127+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
129+ *v*x* | *x*v* ) as_opts=-vx ;;
134+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135+# Admittedly, this is quite paranoid, since all the known shells bail
136+# out after a failed `exec'.
137+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140+ # We don't want this to propagate to other subprocesses.
141+ { _as_can_reexec=; unset _as_can_reexec;}
142+if test "x$CONFIG_SHELL" = x; then
143+ as_bourne_compatible="as_nop=:
144+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149+ # is contrary to our usage. Disable this feature.
150+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
151+ setopt NO_GLOB_SUBST
153+ case \`(set -o) 2>/dev/null\` in #(
161+ as_required="as_fn_return () { (exit \$1); }
162+as_fn_success () { as_fn_return 0; }
163+as_fn_failure () { as_fn_return 1; }
164+as_fn_ret_success () { return 0; }
165+as_fn_ret_failure () { return 1; }
168+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176+ exitcode=1; echo positional parameters were not saved.
178+test x\$exitcode = x0 || exit 1
179+blah=\$(echo \$(echo blah))
180+test x\"\$blah\" = xblah || exit 1
182+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186+ if (eval "$as_required") 2>/dev/null
188+ as_have_required=yes
192+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201+ case $as_dir in #(((
204+ *) as_dir=$as_dir/ ;;
209+ for as_base in sh bash ksh sh5; do
210+ # Try only shells that exist, to save several forks.
211+ as_shell=$as_dir$as_base
212+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213+ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215+ CONFIG_SHELL=$as_shell as_have_required=yes
216+ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
230+ if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233+ CONFIG_SHELL=$SHELL as_have_required=yes
238+ if test "x$CONFIG_SHELL" != x
241+ # We cannot yet assume a decent shell, so we have to provide a
242+# neutralization value for shells without unset; and this also
243+# works around shells that cannot unset nonexistent variables.
244+# Preserve -v and -x to the replacement shell.
247+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249+ *v*x* | *x*v* ) as_opts=-vx ;;
254+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255+# Admittedly, this is quite paranoid, since all the known shells bail
256+# out after a failed `exec'.
257+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261+ if test x$as_have_required = xno
263+ printf "%s\n" "$0: This script requires a shell more modern than all"
264+ printf "%s\n" "$0: the shells that I found on your system."
265+ if test ${ZSH_VERSION+y} ; then
266+ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267+ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270+$0: streamly@composewell.com about your system, including
271+$0: any error possibly output before this message. Then
272+$0: install a modern shell, or manually run the script
273+$0: under such a shell if you do have one."
279+SHELL=${CONFIG_SHELL-/bin/sh}
281+# Unset more variables known to interfere with behavior of common tools.
282+CLICOLOR_FORCE= GREP_OPTIONS=
283+unset CLICOLOR_FORCE GREP_OPTIONS
285+## --------------------- ##
286+## M4sh Shell Functions. ##
287+## --------------------- ##
290+# Portably unset VAR.
293+ { eval $1=; unset $1;}
298+# as_fn_set_status STATUS
299+# -----------------------
300+# Set $? to STATUS, without forking.
308+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317+# Do nothing but, unlike ":", preserve the value of $?.
326+# Create "$as_dir" as a directory, including parents if necessary.
331+ -*) as_dir=./$as_dir;;
333+ test -d "$as_dir" || eval $as_mkdir_p || {
337+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338+ *) as_qdir=$as_dir;;
340+ as_dirs="'$as_qdir' $as_dirs"
341+ as_dir=`$as_dirname -- "$as_dir" ||
342+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343+ X"$as_dir" : 'X\(//\)[^/]' \| \
344+ X"$as_dir" : 'X\(//\)$' \| \
345+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346+printf "%s\n" X"$as_dir" |
347+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364+ test -d "$as_dir" && break
366+ test -z "$as_dirs" || eval "mkdir $as_dirs"
367+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372+# as_fn_executable_p FILE
373+# -----------------------
374+# Test if FILE is an executable regular file.
375+as_fn_executable_p ()
377+ test -f "$1" && test -x "$1"
378+} # as_fn_executable_p
379+# as_fn_append VAR VALUE
380+# ----------------------
381+# Append the text in VALUE to the end of the definition contained in VAR. Take
382+# advantage of any shell optimizations that allow amortized linear growth over
383+# repeated appends, instead of the typical quadratic growth present in naive
385+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387+ eval 'as_fn_append ()
400+# Perform arithmetic evaluation on the ARGs, and store the result in the
401+# global $as_val. Take advantage of shells that can avoid forks. The arguments
402+# must be portable across $(()) and expr.
403+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405+ eval 'as_fn_arith ()
412+ as_val=`expr "$@" || test $? -eq 1`
418+# Do nothing but, unlike ":", preserve the value of $?.
425+# as_fn_error STATUS ERROR [LINENO LOG_FD]
426+# ----------------------------------------
427+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429+# script with STATUS, using 1 if that was 0.
432+ as_status=$1; test $as_status -eq 0 && as_status=1
434+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437+ printf "%s\n" "$as_me: error: $2" >&2
438+ as_fn_exit $as_status
441+if expr a : '\(a\)' >/dev/null 2>&1 &&
442+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
448+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449+ as_basename=basename
454+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460+as_me=`$as_basename -- "$0" ||
461+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462+ X"$0" : 'X\(//\)$' \| \
463+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464+printf "%s\n" X/"$0" |
465+ sed '/^.*\/\([^/][^/]*\)\/*$/{
479+# Avoid depending upon Character Ranges.
480+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483+as_cr_digits='0123456789'
484+as_cr_alnum=$as_cr_Letters$as_cr_digits
487+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
488+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
489+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
503+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
507+ chmod +x "$as_me.lineno" ||
508+ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511+ # already done that, so ensure we don't try to do so again and fall
512+ # in an infinite loop. This has already happened in practice.
513+ _as_can_reexec=no; export _as_can_reexec
514+ # Don't try to exec as it changes $[0], causing all sort of problems
515+ # (the dirname of $[0] is not the place where we might find the
516+ # original and so on. Autoconf is especially sensitive to this).
518+ # Exit status is that of the last command.
523+# Determine whether it's possible to make 'echo' print without a newline.
524+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525+# for compatibility with existing Makefiles.
526+ECHO_C= ECHO_N= ECHO_T=
527+case `echo -n x` in #(((((
529+ case `echo 'xy\c'` in
530+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
539+# For backward compatibility with old third-party macros, we provide
540+# the shell variables $as_echo and $as_echo_n. New code should use
541+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542+as_echo='printf %s\n'
543+as_echo_n='printf %s'
546+rm -f conf$$ conf$$.exe conf$$.file
547+if test -d conf$$.dir; then
548+ rm -f conf$$.dir/conf$$.file
551+ mkdir conf$$.dir 2>/dev/null
553+if (echo >conf$$.file) 2>/dev/null; then
554+ if ln -s conf$$.file conf$$ 2>/dev/null; then
556+ # ... but there are two gotchas:
557+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559+ # In both cases, we have to default to `cp -pR'.
560+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562+ elif ln conf$$.file conf$$ 2>/dev/null; then
570+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571+rmdir conf$$.dir 2>/dev/null
573+if mkdir -p . 2>/dev/null; then
574+ as_mkdir_p='mkdir -p "$as_dir"'
576+ test -d ./-p && rmdir ./-p
581+as_executable_p=as_fn_executable_p
583+# Sed expression to map a string onto a valid CPP name.
584+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586+# Sed expression to map a string onto a valid variable name.
587+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590+test -n "$DJDIR" || exec 7<&0 </dev/null
594+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595+# so uname gets run too.
596+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601+ac_default_prefix=/usr/local
603+ac_config_libobj_dir=.
610+# Identity of this package.
611+PACKAGE_NAME='streamly-core'
612+PACKAGE_TARNAME='streamly-core'
613+PACKAGE_VERSION='0.8.2'
614+PACKAGE_STRING='streamly-core 0.8.2'
615+PACKAGE_BUGREPORT='streamly@composewell.com'
616+PACKAGE_URL='https://streamly.composewell.com'
618+# Factoring default headers for most tests.
619+ac_includes_default="\
630+#ifdef HAVE_INTTYPES_H
631+# include <inttypes.h>
636+#ifdef HAVE_STRINGS_H
637+# include <strings.h>
639+#ifdef HAVE_SYS_TYPES_H
640+# include <sys/types.h>
642+#ifdef HAVE_SYS_STAT_H
643+# include <sys/stat.h>
650+ac_subst_vars='LTLIBOBJS
687+program_transform_name
700+enable_option_checking
703+ ac_precious_vars='build_alias
713+# Initialize some variables set by options.
715+ac_init_version=false
716+ac_unrecognized_opts=
718+# The variables have the same names as the options, with
719+# dashes changed to underlines.
727+program_transform_name=s,x,x,
735+# Installation directory options.
736+# These are left unexpanded so users can "make install exec_prefix=/foo"
737+# and all the variables that are supposed to be based on exec_prefix
738+# by default will actually change.
739+# Use braces instead of parens because sh, perl, etc. also accept them.
740+# (The list follows the same order as the GNU Coding Standards.)
741+bindir='${exec_prefix}/bin'
742+sbindir='${exec_prefix}/sbin'
743+libexecdir='${exec_prefix}/libexec'
744+datarootdir='${prefix}/share'
745+datadir='${datarootdir}'
746+sysconfdir='${prefix}/etc'
747+sharedstatedir='${prefix}/com'
748+localstatedir='${prefix}/var'
749+runstatedir='${localstatedir}/run'
750+includedir='${prefix}/include'
751+oldincludedir='/usr/include'
752+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
753+infodir='${datarootdir}/info'
758+libdir='${exec_prefix}/lib'
759+localedir='${datarootdir}/locale'
760+mandir='${datarootdir}/man'
766+ # If the previous option needs an argument, assign it.
767+ if test -n "$ac_prev"; then
768+ eval $ac_prev=\$ac_option
774+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
779+ case $ac_dashdash$ac_option in
783+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
785+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
786+ bindir=$ac_optarg ;;
788+ -build | --build | --buil | --bui | --bu)
789+ ac_prev=build_alias ;;
790+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791+ build_alias=$ac_optarg ;;
793+ -cache-file | --cache-file | --cache-fil | --cache-fi \
794+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795+ ac_prev=cache_file ;;
796+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798+ cache_file=$ac_optarg ;;
800+ --config-cache | -C)
801+ cache_file=config.cache ;;
803+ -datadir | --datadir | --datadi | --datad)
805+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
806+ datadir=$ac_optarg ;;
808+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809+ | --dataroo | --dataro | --datar)
810+ ac_prev=datarootdir ;;
811+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813+ datarootdir=$ac_optarg ;;
815+ -disable-* | --disable-*)
816+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817+ # Reject names that are not valid shell variable names.
818+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
820+ ac_useropt_orig=$ac_useropt
821+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
822+ case $ac_user_opts in
826+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827+ ac_unrecognized_sep=', ';;
829+ eval enable_$ac_useropt=no ;;
831+ -docdir | --docdir | --docdi | --doc | --do)
833+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
834+ docdir=$ac_optarg ;;
836+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
838+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
839+ dvidir=$ac_optarg ;;
841+ -enable-* | --enable-*)
842+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843+ # Reject names that are not valid shell variable names.
844+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
846+ ac_useropt_orig=$ac_useropt
847+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
848+ case $ac_user_opts in
852+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853+ ac_unrecognized_sep=', ';;
855+ eval enable_$ac_useropt=\$ac_optarg ;;
857+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859+ | --exec | --exe | --ex)
860+ ac_prev=exec_prefix ;;
861+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863+ | --exec=* | --exe=* | --ex=*)
864+ exec_prefix=$ac_optarg ;;
866+ -gas | --gas | --ga | --g)
867+ # Obsolete; use --with-gas.
870+ -help | --help | --hel | --he | -h)
871+ ac_init_help=long ;;
872+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873+ ac_init_help=recursive ;;
874+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875+ ac_init_help=short ;;
877+ -host | --host | --hos | --ho)
878+ ac_prev=host_alias ;;
879+ -host=* | --host=* | --hos=* | --ho=*)
880+ host_alias=$ac_optarg ;;
882+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
884+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
886+ htmldir=$ac_optarg ;;
888+ -includedir | --includedir | --includedi | --included | --include \
889+ | --includ | --inclu | --incl | --inc)
890+ ac_prev=includedir ;;
891+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892+ | --includ=* | --inclu=* | --incl=* | --inc=*)
893+ includedir=$ac_optarg ;;
895+ -infodir | --infodir | --infodi | --infod | --info | --inf)
897+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898+ infodir=$ac_optarg ;;
900+ -libdir | --libdir | --libdi | --libd)
902+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
903+ libdir=$ac_optarg ;;
905+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906+ | --libexe | --libex | --libe)
907+ ac_prev=libexecdir ;;
908+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909+ | --libexe=* | --libex=* | --libe=*)
910+ libexecdir=$ac_optarg ;;
912+ -localedir | --localedir | --localedi | --localed | --locale)
913+ ac_prev=localedir ;;
914+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915+ localedir=$ac_optarg ;;
917+ -localstatedir | --localstatedir | --localstatedi | --localstated \
918+ | --localstate | --localstat | --localsta | --localst | --locals)
919+ ac_prev=localstatedir ;;
920+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922+ localstatedir=$ac_optarg ;;
924+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
926+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927+ mandir=$ac_optarg ;;
929+ -nfp | --nfp | --nf)
930+ # Obsolete; use --without-fp.
933+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934+ | --no-cr | --no-c | -n)
937+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
941+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943+ | --oldin | --oldi | --old | --ol | --o)
944+ ac_prev=oldincludedir ;;
945+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948+ oldincludedir=$ac_optarg ;;
950+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
952+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953+ prefix=$ac_optarg ;;
955+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
956+ | --program-pre | --program-pr | --program-p)
957+ ac_prev=program_prefix ;;
958+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
959+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960+ program_prefix=$ac_optarg ;;
962+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
963+ | --program-suf | --program-su | --program-s)
964+ ac_prev=program_suffix ;;
965+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
966+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967+ program_suffix=$ac_optarg ;;
969+ -program-transform-name | --program-transform-name \
970+ | --program-transform-nam | --program-transform-na \
971+ | --program-transform-n | --program-transform- \
972+ | --program-transform | --program-transfor \
973+ | --program-transfo | --program-transf \
974+ | --program-trans | --program-tran \
975+ | --progr-tra | --program-tr | --program-t)
976+ ac_prev=program_transform_name ;;
977+ -program-transform-name=* | --program-transform-name=* \
978+ | --program-transform-nam=* | --program-transform-na=* \
979+ | --program-transform-n=* | --program-transform-=* \
980+ | --program-transform=* | --program-transfor=* \
981+ | --program-transfo=* | --program-transf=* \
982+ | --program-trans=* | --program-tran=* \
983+ | --progr-tra=* | --program-tr=* | --program-t=*)
984+ program_transform_name=$ac_optarg ;;
986+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
988+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989+ pdfdir=$ac_optarg ;;
991+ -psdir | --psdir | --psdi | --psd | --ps)
993+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
996+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997+ | -silent | --silent | --silen | --sile | --sil)
1000+ -runstatedir | --runstatedir | --runstatedi | --runstated \
1001+ | --runstate | --runstat | --runsta | --runst | --runs \
1002+ | --run | --ru | --r)
1003+ ac_prev=runstatedir ;;
1004+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1005+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1006+ | --run=* | --ru=* | --r=*)
1007+ runstatedir=$ac_optarg ;;
1009+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1011+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012+ | --sbi=* | --sb=*)
1013+ sbindir=$ac_optarg ;;
1015+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017+ | --sharedst | --shareds | --shared | --share | --shar \
1019+ ac_prev=sharedstatedir ;;
1020+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023+ | --sha=* | --sh=*)
1024+ sharedstatedir=$ac_optarg ;;
1026+ -site | --site | --sit)
1028+ -site=* | --site=* | --sit=*)
1031+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1033+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034+ srcdir=$ac_optarg ;;
1036+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037+ | --syscon | --sysco | --sysc | --sys | --sy)
1038+ ac_prev=sysconfdir ;;
1039+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041+ sysconfdir=$ac_optarg ;;
1043+ -target | --target | --targe | --targ | --tar | --ta | --t)
1044+ ac_prev=target_alias ;;
1045+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046+ target_alias=$ac_optarg ;;
1048+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051+ -version | --version | --versio | --versi | --vers | -V)
1052+ ac_init_version=: ;;
1054+ -with-* | --with-*)
1055+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056+ # Reject names that are not valid shell variable names.
1057+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1059+ ac_useropt_orig=$ac_useropt
1060+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1061+ case $ac_user_opts in
1065+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066+ ac_unrecognized_sep=', ';;
1068+ eval with_$ac_useropt=\$ac_optarg ;;
1070+ -without-* | --without-*)
1071+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072+ # Reject names that are not valid shell variable names.
1073+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1075+ ac_useropt_orig=$ac_useropt
1076+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1077+ case $ac_user_opts in
1081+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082+ ac_unrecognized_sep=', ';;
1084+ eval with_$ac_useropt=no ;;
1087+ # Obsolete; use --with-x.
1090+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1091+ | --x-incl | --x-inc | --x-in | --x-i)
1092+ ac_prev=x_includes ;;
1093+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1094+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1095+ x_includes=$ac_optarg ;;
1097+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1098+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1099+ ac_prev=x_libraries ;;
1100+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1101+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1102+ x_libraries=$ac_optarg ;;
1104+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1105+Try \`$0 --help' for more information"
1109+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1110+ # Reject names that are not valid shell variable names.
1111+ case $ac_envvar in #(
1112+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1113+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1115+ eval $ac_envvar=\$ac_optarg
1116+ export $ac_envvar ;;
1119+ # FIXME: should be removed in autoconf 3.0.
1120+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1121+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1123+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129+if test -n "$ac_prev"; then
1130+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1131+ as_fn_error $? "missing argument to $ac_option"
1134+if test -n "$ac_unrecognized_opts"; then
1135+ case $enable_option_checking in
1137+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1138+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142+# Check all directory arguments for consistency.
1143+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144+ datadir sysconfdir sharedstatedir localstatedir includedir \
1145+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146+ libdir localedir mandir runstatedir
1148+ eval ac_val=\$$ac_var
1149+ # Remove trailing slashes.
1152+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153+ eval $ac_var=\$ac_val;;
1155+ # Be sure to have absolute directory names.
1157+ [\\/$]* | ?:[\\/]* ) continue;;
1158+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1160+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1163+# There might be people who depend on the old broken behavior: `$host'
1164+# used to hold the argument of --host etc.
1165+# FIXME: To remove some day.
1168+target=$target_alias
1170+# FIXME: To remove some day.
1171+if test "x$host_alias" != x; then
1172+ if test "x$build_alias" = x; then
1173+ cross_compiling=maybe
1174+ elif test "x$build_alias" != "x$host_alias"; then
1175+ cross_compiling=yes
1180+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182+test "$silent" = yes && exec 6>/dev/null
1185+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186+ac_ls_di=`ls -di .` &&
1187+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188+ as_fn_error $? "working directory cannot be determined"
1189+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190+ as_fn_error $? "pwd does not report name of working directory"
1193+# Find the source files, if location was not specified.
1194+if test -z "$srcdir"; then
1195+ ac_srcdir_defaulted=yes
1196+ # Try the directory containing this script, then the parent directory.
1197+ ac_confdir=`$as_dirname -- "$as_myself" ||
1198+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199+ X"$as_myself" : 'X\(//\)[^/]' \| \
1200+ X"$as_myself" : 'X\(//\)$' \| \
1201+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202+printf "%s\n" X"$as_myself" |
1203+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207+ /^X\(\/\/\)[^/].*/{
1221+ if test ! -r "$srcdir/$ac_unique_file"; then
1225+ ac_srcdir_defaulted=no
1227+if test ! -r "$srcdir/$ac_unique_file"; then
1228+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1231+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1233+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235+# When building in place, set srcdir=.
1236+if test "$ac_abs_confdir" = "$ac_pwd"; then
1239+# Remove unnecessary trailing slashes from srcdir.
1240+# Double slashes in file names in object file debugging info
1241+# mess up M-x gdb in Emacs.
1243+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245+for ac_var in $ac_precious_vars; do
1246+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247+ eval ac_env_${ac_var}_value=\$${ac_var}
1248+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1253+# Report the --help message.
1255+if test "$ac_init_help" = "long"; then
1256+ # Omit some internal or obsolete options to make the list less imposing.
1257+ # This message is too long to be a string in the A/UX 3.1 sh.
1259+\`configure' configures streamly-core 0.8.2 to adapt to many kinds of systems.
1261+Usage: $0 [OPTION]... [VAR=VALUE]...
1263+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264+VAR=VALUE. See below for descriptions of some of the useful variables.
1266+Defaults for the options are specified in brackets.
1269+ -h, --help display this help and exit
1270+ --help=short display options specific to this package
1271+ --help=recursive display the short help of all the included packages
1272+ -V, --version display version information and exit
1273+ -q, --quiet, --silent do not print \`checking ...' messages
1274+ --cache-file=FILE cache test results in FILE [disabled]
1275+ -C, --config-cache alias for \`--cache-file=config.cache'
1276+ -n, --no-create do not create output files
1277+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279+Installation directories:
1280+ --prefix=PREFIX install architecture-independent files in PREFIX
1281+ [$ac_default_prefix]
1282+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285+By default, \`make install' will install all the files in
1286+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288+for instance \`--prefix=\$HOME'.
1290+For better control, use the options below.
1292+Fine tuning of the installation directories:
1293+ --bindir=DIR user executables [EPREFIX/bin]
1294+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1295+ --libexecdir=DIR program executables [EPREFIX/libexec]
1296+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1300+ --libdir=DIR object code libraries [EPREFIX/lib]
1301+ --includedir=DIR C header files [PREFIX/include]
1302+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305+ --infodir=DIR info documentation [DATAROOTDIR/info]
1306+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307+ --mandir=DIR man documentation [DATAROOTDIR/man]
1308+ --docdir=DIR documentation root [DATAROOTDIR/doc/streamly-core]
1309+ --htmldir=DIR html documentation [DOCDIR]
1310+ --dvidir=DIR dvi documentation [DOCDIR]
1311+ --pdfdir=DIR pdf documentation [DOCDIR]
1312+ --psdir=DIR ps documentation [DOCDIR]
1319+if test -n "$ac_init_help"; then
1320+ case $ac_init_help in
1321+ short | recursive ) echo "Configuration of streamly-core 0.8.2:";;
1326+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1327+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1330+Some influential environment variables:
1331+ CC C compiler command
1332+ CFLAGS C compiler flags
1333+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1334+ nonstandard directory <lib dir>
1335+ LIBS libraries to pass to the linker, e.g. -l<library>
1336+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337+ you have headers in a nonstandard directory <include dir>
1339+Use these variables to override the choices made by `configure' or to help
1340+it to find libraries and programs with nonstandard names/locations.
1342+Report bugs to <streamly@composewell.com>.
1343+streamly-core home page: <https://streamly.composewell.com>.
1348+if test "$ac_init_help" = "recursive"; then
1349+ # If there are subdirs, report their specific --help.
1350+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351+ test -d "$ac_dir" ||
1352+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1360+ # A ".." for each directory in $ac_dir_suffix.
1361+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362+ case $ac_top_builddir_sub in
1363+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367+ac_abs_top_builddir=$ac_pwd
1368+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369+# for backward compatibility:
1370+ac_top_builddir=$ac_top_build_prefix
1373+ .) # We are building in place.
1375+ ac_top_srcdir=$ac_top_builddir_sub
1376+ ac_abs_top_srcdir=$ac_pwd ;;
1377+ [\\/]* | ?:[\\/]* ) # Absolute name.
1378+ ac_srcdir=$srcdir$ac_dir_suffix;
1379+ ac_top_srcdir=$srcdir
1380+ ac_abs_top_srcdir=$srcdir ;;
1381+ *) # Relative name.
1382+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1384+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388+ cd "$ac_dir" || { ac_status=$?; continue; }
1389+ # Check for configure.gnu first; this name is used for a wrapper for
1390+ # Metaconfig's "Configure" on case-insensitive file systems.
1391+ if test -f "$ac_srcdir/configure.gnu"; then
1393+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394+ elif test -f "$ac_srcdir/configure"; then
1396+ $SHELL "$ac_srcdir/configure" --help=recursive
1398+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1400+ cd "$ac_pwd" || { ac_status=$?; break; }
1404+test -n "$ac_init_help" && exit $ac_status
1405+if $ac_init_version; then
1407+streamly-core configure 0.8.2
1408+generated by GNU Autoconf 2.71
1410+Copyright (C) 2021 Free Software Foundation, Inc.
1411+This configure script is free software; the Free Software Foundation
1412+gives unlimited permission to copy, distribute and modify it.
1417+## ------------------------ ##
1418+## Autoconf initialization. ##
1419+## ------------------------ ##
1421+# ac_fn_c_try_compile LINENO
1422+# --------------------------
1423+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1424+ac_fn_c_try_compile ()
1426+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427+ rm -f conftest.$ac_objext conftest.beam
1428+ if { { ac_try="$ac_compile"
1430+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431+ *) ac_try_echo=$ac_try;;
1433+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434+printf "%s\n" "$ac_try_echo"; } >&5
1435+ (eval "$ac_compile") 2>conftest.err
1437+ if test -s conftest.err; then
1438+ grep -v '^ *+' conftest.err >conftest.er1
1439+ cat conftest.er1 >&5
1440+ mv -f conftest.er1 conftest.err
1442+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443+ test $ac_status = 0; } && {
1444+ test -z "$ac_c_werror_flag" ||
1445+ test ! -s conftest.err
1446+ } && test -s conftest.$ac_objext
1450+ printf "%s\n" "$as_me: failed program was:" >&5
1451+sed 's/^/| /' conftest.$ac_ext >&5
1455+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456+ as_fn_set_status $ac_retval
1458+} # ac_fn_c_try_compile
1460+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1461+# -------------------------------------------------------
1462+# Tests whether HEADER exists and can be compiled using the include files in
1463+# INCLUDES, setting the cache variable VAR accordingly.
1464+ac_fn_c_check_header_compile ()
1466+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1468+printf %s "checking for $2... " >&6; }
1469+if eval test \${$3+y}
1471+ printf %s "(cached) " >&6
1473+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1474+/* end confdefs.h. */
1478+if ac_fn_c_try_compile "$LINENO"
1484+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1487+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1488+printf "%s\n" "$ac_res" >&6; }
1489+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491+} # ac_fn_c_check_header_compile
1493+# ac_fn_c_try_link LINENO
1494+# -----------------------
1495+# Try to link conftest.$ac_ext, and return whether this succeeded.
1498+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499+ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1500+ if { { ac_try="$ac_link"
1502+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503+ *) ac_try_echo=$ac_try;;
1505+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506+printf "%s\n" "$ac_try_echo"; } >&5
1507+ (eval "$ac_link") 2>conftest.err
1509+ if test -s conftest.err; then
1510+ grep -v '^ *+' conftest.err >conftest.er1
1511+ cat conftest.er1 >&5
1512+ mv -f conftest.er1 conftest.err
1514+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515+ test $ac_status = 0; } && {
1516+ test -z "$ac_c_werror_flag" ||
1517+ test ! -s conftest.err
1518+ } && test -s conftest$ac_exeext && {
1519+ test "$cross_compiling" = yes ||
1520+ test -x conftest$ac_exeext
1525+ printf "%s\n" "$as_me: failed program was:" >&5
1526+sed 's/^/| /' conftest.$ac_ext >&5
1530+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1531+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1532+ # interfere with the next link command; also delete a directory that is
1533+ # left behind by Apple's compiler. We do this before executing the actions.
1534+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1535+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536+ as_fn_set_status $ac_retval
1538+} # ac_fn_c_try_link
1540+# ac_fn_c_check_func LINENO FUNC VAR
1541+# ----------------------------------
1542+# Tests whether FUNC exists, setting the cache variable VAR accordingly
1543+ac_fn_c_check_func ()
1545+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1547+printf %s "checking for $2... " >&6; }
1548+if eval test \${$3+y}
1550+ printf %s "(cached) " >&6
1552+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553+/* end confdefs.h. */
1554+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1555+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
1556+#define $2 innocuous_$2
1558+/* System header to define __stub macros and hopefully few prototypes,
1559+ which can conflict with char $2 (); below. */
1564+/* Override any GCC internal prototype to avoid an error.
1565+ Use char because int might match the return type of a GCC
1566+ builtin and then its argument prototype would still apply. */
1571+/* The GNU C library defines this for functions which it implements
1572+ to always fail with ENOSYS. Some functions are actually named
1573+ something starting with __ and the normal name is an alias. */
1574+#if defined __stub_$2 || defined __stub___$2
1586+if ac_fn_c_try_link "$LINENO"
1592+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1593+ conftest$ac_exeext conftest.$ac_ext
1596+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597+printf "%s\n" "$ac_res" >&6; }
1598+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600+} # ac_fn_c_check_func
1601+ac_configure_args_raw=
1606+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1608+ as_fn_append ac_configure_args_raw " '$ac_arg'"
1611+case $ac_configure_args_raw in
1613+ ac_safe_unquote= ;;
1615+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1616+ ac_unsafe_a="$ac_unsafe_z#~"
1617+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1618+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1621+cat >config.log <<_ACEOF
1622+This file contains any messages produced by compilers while
1623+running configure, to aid debugging if configure makes a mistake.
1625+It was created by streamly-core $as_me 0.8.2, which was
1626+generated by GNU Autoconf 2.71. Invocation command line was
1628+ $ $0$ac_configure_args_raw
1638+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1639+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1640+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1641+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1642+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1644+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1645+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1647+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1648+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1649+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1650+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1651+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1652+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1653+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1657+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661+ case $as_dir in #(((
1664+ *) as_dir=$as_dir/ ;;
1666+ printf "%s\n" "PATH: $as_dir"
1682+# Keep a trace of the command line.
1683+# Strip out --no-create and --no-recursion so they do not pile up.
1684+# Strip out --silent because we don't want to record it for future runs.
1685+# Also quote any args containing shell meta-characters.
1686+# Make two passes to allow for proper duplicate-argument suppression.
1690+ac_must_keep_next=false
1696+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1697+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1698+ | -silent | --silent | --silen | --sile | --sil)
1701+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1704+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1706+ as_fn_append ac_configure_args1 " '$ac_arg'"
1707+ if test $ac_must_keep_next = true; then
1708+ ac_must_keep_next=false # Got value, back to normal.
1711+ *=* | --config-cache | -C | -disable-* | --disable-* \
1712+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1713+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1714+ | -with-* | --with-* | -without-* | --without-* | --x)
1715+ case "$ac_configure_args0 " in
1716+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1719+ -* ) ac_must_keep_next=true ;;
1722+ as_fn_append ac_configure_args " '$ac_arg'"
1727+{ ac_configure_args0=; unset ac_configure_args0;}
1728+{ ac_configure_args1=; unset ac_configure_args1;}
1730+# When interrupted or exit'd, cleanup temporary files, and complete
1731+# config.log. We remove comments because anyway the quotes in there
1732+# would cause problems or look ugly.
1733+# WARNING: Use '\'' to represent an apostrophe within the trap.
1734+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1735+trap 'exit_status=$?
1738+ # Save into config.log some information that might help in debugging.
1742+ printf "%s\n" "## ---------------- ##
1743+## Cache variables. ##
1744+## ---------------- ##"
1746+ # The following way of writing the cache mishandles newlines in values,
1748+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1749+ eval ac_val=\$$ac_var
1753+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1754+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1757+ _ | IFS | as_nl) ;; #(
1758+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1759+ *) { eval $ac_var=; unset $ac_var;} ;;
1764+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1765+ *${as_nl}ac_space=\ *)
1767+ "s/'\''/'\''\\\\'\'''\''/g;
1768+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1771+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1778+ printf "%s\n" "## ----------------- ##
1779+## Output variables. ##
1780+## ----------------- ##"
1782+ for ac_var in $ac_subst_vars
1784+ eval ac_val=\$$ac_var
1786+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1788+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1792+ if test -n "$ac_subst_files"; then
1793+ printf "%s\n" "## ------------------- ##
1794+## File substitutions. ##
1795+## ------------------- ##"
1797+ for ac_var in $ac_subst_files
1799+ eval ac_val=\$$ac_var
1801+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1803+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1808+ if test -s confdefs.h; then
1809+ printf "%s\n" "## ----------- ##
1816+ test "$ac_signal" != 0 &&
1817+ printf "%s\n" "$as_me: caught signal $ac_signal"
1818+ printf "%s\n" "$as_me: exit $exit_status"
1820+ rm -f core *.core core.conftest.* &&
1821+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1824+for ac_signal in 1 2 13 15; do
1825+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1829+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1830+rm -f -r conftest* confdefs.h
1832+printf "%s\n" "/* confdefs.h */" > confdefs.h
1834+# Predefined preprocessor variables.
1836+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1838+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1840+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1842+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1844+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1846+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1849+# Let the site file select an alternate cache file if it wants to.
1850+# Prefer an explicitly selected file to automatically selected ones.
1851+if test -n "$CONFIG_SITE"; then
1852+ ac_site_files="$CONFIG_SITE"
1853+elif test "x$prefix" != xNONE; then
1854+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1856+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1859+for ac_site_file in $ac_site_files
1861+ case $ac_site_file in #(
1865+ ac_site_file=./$ac_site_file ;;
1867+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1868+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1869+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1870+ sed 's/^/| /' "$ac_site_file" >&5
1871+ . "$ac_site_file" \
1872+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1873+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1874+as_fn_error $? "failed to load site script $ac_site_file
1875+See \`config.log' for more details" "$LINENO" 5; }
1879+if test -r "$cache_file"; then
1880+ # Some versions of bash will fail to source /dev/null (special files
1881+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1882+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1883+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1884+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1885+ case $cache_file in
1886+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887+ *) . "./$cache_file";;
1891+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1892+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1896+# Test code for whether the C compiler supports C89 (global declarations)
1897+ac_c_conftest_c89_globals='
1898+/* Does the compiler advertise C89 conformance?
1899+ Do not test the value of __STDC__, because some compilers set it to 0
1900+ while being otherwise adequately conformant. */
1901+#if !defined __STDC__
1902+# error "Compiler does not advertise C89 conformance"
1908+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1909+struct buf { int x; };
1910+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1911+static char *e (p, i)
1917+static char *f (char * (*g) (char **, int), char **p, ...)
1922+ s = g (p, va_arg (v,int));
1927+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1928+ function prototypes and stuff, but not \xHH hex character constants.
1929+ These do not provoke an error unfortunately, instead are silently treated
1930+ as an "x". The following induces an error, until -std is added to get
1931+ proper ANSI mode. Curiously \x00 != x always comes out true, for an
1932+ array size at least. It is necessary to write \x00 == 0 to get something
1933+ that is true only with -std. */
1934+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1936+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1937+ inside strings and character constants. */
1938+#define FOO(x) '\''x'\''
1939+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1941+int test (int i, double x);
1942+struct s1 {int (*f) (int a);};
1943+struct s2 {int (*f) (double a);};
1944+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1947+# Test code for whether the C compiler supports C89 (body of main).
1948+ac_c_conftest_c89_main='
1949+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1952+# Test code for whether the C compiler supports C99 (global declarations)
1953+ac_c_conftest_c99_globals='
1954+// Does the compiler advertise C99 conformance?
1955+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1956+# error "Compiler does not advertise C99 conformance"
1959+#include <stdbool.h>
1960+extern int puts (const char *);
1961+extern int printf (const char *, ...);
1962+extern int dprintf (int, const char *, ...);
1963+extern void *malloc (size_t);
1965+// Check varargs macros. These examples are taken from C99 6.10.3.5.
1966+// dprintf is used instead of fprintf to avoid needing to declare
1968+#define debug(...) dprintf (2, __VA_ARGS__)
1969+#define showlist(...) puts (#__VA_ARGS__)
1970+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1972+test_varargs_macros (void)
1977+ debug ("X = %d\n", x);
1978+ showlist (The first, second, and third items.);
1979+ report (x>y, "x is %d but y is %d", x, y);
1982+// Check long long types.
1983+#define BIG64 18446744073709551615ull
1984+#define BIG32 4294967295ul
1985+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1987+ #error "your preprocessor is broken"
1991+ #error "your preprocessor is broken"
1993+static long long int bignum = -9223372036854775807LL;
1994+static unsigned long long int ubignum = BIG64;
1996+struct incomplete_array
2004+ const wchar_t *name;
2008+typedef const char *ccp;
2011+test_restrict (ccp restrict text)
2013+ // See if C++-style comments work.
2014+ // Iterate through items via the restricted pointer.
2015+ // Also check for declarations in for loops.
2016+ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2021+// Check varargs and va_copy.
2023+test_varargs (const char *format, ...)
2026+ va_start (args, format);
2028+ va_copy (args_copy, args);
2030+ const char *str = "";
2038+ case '\''s'\'': // string
2039+ str = va_arg (args_copy, const char *);
2041+ case '\''d'\'': // int
2042+ number = va_arg (args_copy, int);
2044+ case '\''f'\'': // float
2045+ fnumber = va_arg (args_copy, double);
2051+ va_end (args_copy);
2054+ return *str && number && fnumber;
2058+# Test code for whether the C compiler supports C99 (body of main).
2059+ac_c_conftest_c99_main='
2061+ _Bool success = false;
2062+ success |= (argc != 0);
2065+ if (test_restrict ("String literal") == 0)
2067+ char *restrict newvar = "Another string";
2070+ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2071+ test_varargs_macros ();
2073+ // Check flexible array members.
2074+ struct incomplete_array *ia =
2075+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2077+ for (int i = 0; i < ia->datasize; ++i)
2078+ ia->data[i] = i * 1.234;
2080+ // Check named initializers.
2081+ struct named_init ni = {
2083+ .name = L"Test wide string",
2084+ .average = 543.34343,
2089+ int dynamic_array[ni.number];
2090+ dynamic_array[0] = argv[0][0];
2091+ dynamic_array[ni.number - 1] = 543;
2093+ // work around unused variable warnings
2094+ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2095+ || dynamic_array[ni.number - 1] != 543);
2098+# Test code for whether the C compiler supports C11 (global declarations)
2099+ac_c_conftest_c11_globals='
2100+// Does the compiler advertise C11 conformance?
2101+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2102+# error "Compiler does not advertise C11 conformance"
2106+char _Alignas (double) aligned_as_double;
2107+char _Alignas (0) no_special_alignment;
2108+extern char aligned_as_int;
2109+char _Alignas (0) _Alignas (int) aligned_as_int;
2114+ int_alignment = _Alignof (int),
2115+ int_array_alignment = _Alignof (int[100]),
2116+ char_alignment = _Alignof (char)
2118+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2121+int _Noreturn does_not_return (void) { for (;;) continue; }
2123+// Check _Static_assert.
2124+struct test_static_assert
2127+ _Static_assert (sizeof (int) <= sizeof (long int),
2128+ "_Static_assert does not work in struct");
2132+// Check UTF-8 literals.
2133+#define u8 syntax error!
2134+char const utf8_literal[] = u8"happens to be ASCII" "another string";
2136+// Check duplicate typedefs.
2137+typedef long *long_ptr;
2138+typedef long int *long_ptr;
2139+typedef long_ptr long_ptr;
2141+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2145+ struct { int i; int j; };
2146+ struct { int k; long int l; } w;
2152+# Test code for whether the C compiler supports C11 (body of main).
2153+ac_c_conftest_c11_main='
2154+ _Static_assert ((offsetof (struct anonymous, i)
2155+ == offsetof (struct anonymous, w.k)),
2156+ "Anonymous union alignment botch");
2162+# Test code for whether the C compiler supports C11 (complete).
2163+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2164+${ac_c_conftest_c99_globals}
2165+${ac_c_conftest_c11_globals}
2168+main (int argc, char **argv)
2171+ ${ac_c_conftest_c89_main}
2172+ ${ac_c_conftest_c99_main}
2173+ ${ac_c_conftest_c11_main}
2178+# Test code for whether the C compiler supports C99 (complete).
2179+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2180+${ac_c_conftest_c99_globals}
2183+main (int argc, char **argv)
2186+ ${ac_c_conftest_c89_main}
2187+ ${ac_c_conftest_c99_main}
2192+# Test code for whether the C compiler supports C89 (complete).
2193+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2196+main (int argc, char **argv)
2199+ ${ac_c_conftest_c89_main}
2204+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2205+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2206+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2207+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2208+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2209+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2210+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2211+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2212+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2213+# Check that the precious variables saved in the cache have kept the same
2215+ac_cache_corrupted=false
2216+for ac_var in $ac_precious_vars; do
2217+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218+ eval ac_new_set=\$ac_env_${ac_var}_set
2219+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220+ eval ac_new_val=\$ac_env_${ac_var}_value
2221+ case $ac_old_set,$ac_new_set in
2223+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225+ ac_cache_corrupted=: ;;
2227+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229+ ac_cache_corrupted=: ;;
2232+ if test "x$ac_old_val" != "x$ac_new_val"; then
2233+ # differences in whitespace do not lead to failure.
2234+ ac_old_val_w=`echo x $ac_old_val`
2235+ ac_new_val_w=`echo x $ac_new_val`
2236+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239+ ac_cache_corrupted=:
2241+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243+ eval $ac_var=\$ac_old_val
2245+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2247+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2251+ # Pass precious variables to config.status.
2252+ if test "$ac_new_set" = set; then
2253+ case $ac_new_val in
2254+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255+ *) ac_arg=$ac_var=$ac_new_val ;;
2257+ case " $ac_configure_args " in
2258+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2263+if $ac_cache_corrupted; then
2264+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2266+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2268+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2269+ and start over" "$LINENO" 5
2271+## -------------------- ##
2272+## Main body of script. ##
2273+## -------------------- ##
2276+ac_cpp='$CPP $CPPFLAGS'
2277+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283+# To suppress "WARNING: unrecognized options: --with-compiler"
2285+# Check whether --with-compiler was given.
2286+if test ${with_compiler+y}
2288+ withval=$with_compiler;
2292+# Check headers and functions required
2303+ac_cpp='$CPP $CPPFLAGS'
2304+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307+if test -n "$ac_tool_prefix"; then
2308+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2309+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2310+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311+printf %s "checking for $ac_word... " >&6; }
2312+if test ${ac_cv_prog_CC+y}
2314+ printf %s "(cached) " >&6
2316+ if test -n "$CC"; then
2317+ ac_cv_prog_CC="$CC" # Let the user override the test.
2319+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323+ case $as_dir in #(((
2326+ *) as_dir=$as_dir/ ;;
2328+ for ac_exec_ext in '' $ac_executable_extensions; do
2329+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2330+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
2331+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2341+if test -n "$CC"; then
2342+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2343+printf "%s\n" "$CC" >&6; }
2345+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2346+printf "%s\n" "no" >&6; }
2351+if test -z "$ac_cv_prog_CC"; then
2353+ # Extract the first word of "gcc", so it can be a program name with args.
2354+set dummy gcc; ac_word=$2
2355+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356+printf %s "checking for $ac_word... " >&6; }
2357+if test ${ac_cv_prog_ac_ct_CC+y}
2359+ printf %s "(cached) " >&6
2361+ if test -n "$ac_ct_CC"; then
2362+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2364+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368+ case $as_dir in #(((
2371+ *) as_dir=$as_dir/ ;;
2373+ for ac_exec_ext in '' $ac_executable_extensions; do
2374+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2375+ ac_cv_prog_ac_ct_CC="gcc"
2376+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2385+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2386+if test -n "$ac_ct_CC"; then
2387+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2388+printf "%s\n" "$ac_ct_CC" >&6; }
2390+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391+printf "%s\n" "no" >&6; }
2394+ if test "x$ac_ct_CC" = x; then
2397+ case $cross_compiling:$ac_tool_warned in
2399+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2400+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2401+ac_tool_warned=yes ;;
2406+ CC="$ac_cv_prog_CC"
2409+if test -z "$CC"; then
2410+ if test -n "$ac_tool_prefix"; then
2411+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2412+set dummy ${ac_tool_prefix}cc; ac_word=$2
2413+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414+printf %s "checking for $ac_word... " >&6; }
2415+if test ${ac_cv_prog_CC+y}
2417+ printf %s "(cached) " >&6
2419+ if test -n "$CC"; then
2420+ ac_cv_prog_CC="$CC" # Let the user override the test.
2422+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426+ case $as_dir in #(((
2429+ *) as_dir=$as_dir/ ;;
2431+ for ac_exec_ext in '' $ac_executable_extensions; do
2432+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2433+ ac_cv_prog_CC="${ac_tool_prefix}cc"
2434+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2444+if test -n "$CC"; then
2445+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2446+printf "%s\n" "$CC" >&6; }
2448+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449+printf "%s\n" "no" >&6; }
2455+if test -z "$CC"; then
2456+ # Extract the first word of "cc", so it can be a program name with args.
2457+set dummy cc; ac_word=$2
2458+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459+printf %s "checking for $ac_word... " >&6; }
2460+if test ${ac_cv_prog_CC+y}
2462+ printf %s "(cached) " >&6
2464+ if test -n "$CC"; then
2465+ ac_cv_prog_CC="$CC" # Let the user override the test.
2467+ ac_prog_rejected=no
2468+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472+ case $as_dir in #(((
2475+ *) as_dir=$as_dir/ ;;
2477+ for ac_exec_ext in '' $ac_executable_extensions; do
2478+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2479+ if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2480+ ac_prog_rejected=yes
2484+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2491+if test $ac_prog_rejected = yes; then
2492+ # We found a bogon in the path, so make sure we never use it.
2493+ set dummy $ac_cv_prog_CC
2495+ if test $# != 0; then
2496+ # We chose a different compiler from the bogus one.
2497+ # However, it has the same basename, so the bogon will be chosen
2498+ # first if we set CC to just the basename; use the full file name.
2500+ ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2506+if test -n "$CC"; then
2507+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2508+printf "%s\n" "$CC" >&6; }
2510+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511+printf "%s\n" "no" >&6; }
2516+if test -z "$CC"; then
2517+ if test -n "$ac_tool_prefix"; then
2518+ for ac_prog in cl.exe
2520+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2521+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2522+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523+printf %s "checking for $ac_word... " >&6; }
2524+if test ${ac_cv_prog_CC+y}
2526+ printf %s "(cached) " >&6
2528+ if test -n "$CC"; then
2529+ ac_cv_prog_CC="$CC" # Let the user override the test.
2531+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535+ case $as_dir in #(((
2538+ *) as_dir=$as_dir/ ;;
2540+ for ac_exec_ext in '' $ac_executable_extensions; do
2541+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2542+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2543+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2553+if test -n "$CC"; then
2554+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555+printf "%s\n" "$CC" >&6; }
2557+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558+printf "%s\n" "no" >&6; }
2562+ test -n "$CC" && break
2565+if test -z "$CC"; then
2567+ for ac_prog in cl.exe
2569+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2570+set dummy $ac_prog; ac_word=$2
2571+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572+printf %s "checking for $ac_word... " >&6; }
2573+if test ${ac_cv_prog_ac_ct_CC+y}
2575+ printf %s "(cached) " >&6
2577+ if test -n "$ac_ct_CC"; then
2578+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2580+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584+ case $as_dir in #(((
2587+ *) as_dir=$as_dir/ ;;
2589+ for ac_exec_ext in '' $ac_executable_extensions; do
2590+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2591+ ac_cv_prog_ac_ct_CC="$ac_prog"
2592+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2601+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2602+if test -n "$ac_ct_CC"; then
2603+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2604+printf "%s\n" "$ac_ct_CC" >&6; }
2606+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607+printf "%s\n" "no" >&6; }
2611+ test -n "$ac_ct_CC" && break
2614+ if test "x$ac_ct_CC" = x; then
2617+ case $cross_compiling:$ac_tool_warned in
2619+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621+ac_tool_warned=yes ;;
2628+if test -z "$CC"; then
2629+ if test -n "$ac_tool_prefix"; then
2630+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2631+set dummy ${ac_tool_prefix}clang; ac_word=$2
2632+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633+printf %s "checking for $ac_word... " >&6; }
2634+if test ${ac_cv_prog_CC+y}
2636+ printf %s "(cached) " >&6
2638+ if test -n "$CC"; then
2639+ ac_cv_prog_CC="$CC" # Let the user override the test.
2641+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645+ case $as_dir in #(((
2648+ *) as_dir=$as_dir/ ;;
2650+ for ac_exec_ext in '' $ac_executable_extensions; do
2651+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2652+ ac_cv_prog_CC="${ac_tool_prefix}clang"
2653+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2663+if test -n "$CC"; then
2664+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665+printf "%s\n" "$CC" >&6; }
2667+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668+printf "%s\n" "no" >&6; }
2673+if test -z "$ac_cv_prog_CC"; then
2675+ # Extract the first word of "clang", so it can be a program name with args.
2676+set dummy clang; ac_word=$2
2677+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678+printf %s "checking for $ac_word... " >&6; }
2679+if test ${ac_cv_prog_ac_ct_CC+y}
2681+ printf %s "(cached) " >&6
2683+ if test -n "$ac_ct_CC"; then
2684+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2686+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690+ case $as_dir in #(((
2693+ *) as_dir=$as_dir/ ;;
2695+ for ac_exec_ext in '' $ac_executable_extensions; do
2696+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2697+ ac_cv_prog_ac_ct_CC="clang"
2698+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2707+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2708+if test -n "$ac_ct_CC"; then
2709+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2710+printf "%s\n" "$ac_ct_CC" >&6; }
2712+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713+printf "%s\n" "no" >&6; }
2716+ if test "x$ac_ct_CC" = x; then
2719+ case $cross_compiling:$ac_tool_warned in
2721+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2722+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2723+ac_tool_warned=yes ;;
2728+ CC="$ac_cv_prog_CC"
2734+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2736+as_fn_error $? "no acceptable C compiler found in \$PATH
2737+See \`config.log' for more details" "$LINENO" 5; }
2739+# Provide some information about the compiler.
2740+printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2743+for ac_option in --version -v -V -qversion -version; do
2744+ { { ac_try="$ac_compiler $ac_option >&5"
2746+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747+ *) ac_try_echo=$ac_try;;
2749+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750+printf "%s\n" "$ac_try_echo"; } >&5
2751+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2753+ if test -s conftest.err; then
2755+... rest of stderr output deleted ...
2756+ 10q' conftest.err >conftest.er1
2757+ cat conftest.er1 >&5
2759+ rm -f conftest.er1 conftest.err
2760+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761+ test $ac_status = 0; }
2764+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765+/* end confdefs.h. */
2775+ac_clean_files_save=$ac_clean_files
2776+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2777+# Try to create an executable without -o first, disregard a.out.
2778+# It will help us diagnose broken compilers, and finding out an intuition
2780+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2781+printf %s "checking whether the C compiler works... " >&6; }
2782+ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2784+# The possible output files:
2785+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2788+for ac_file in $ac_files
2791+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2792+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2797+if { { ac_try="$ac_link_default"
2799+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800+ *) ac_try_echo=$ac_try;;
2802+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803+printf "%s\n" "$ac_try_echo"; } >&5
2804+ (eval "$ac_link_default") 2>&5
2806+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807+ test $ac_status = 0; }
2809+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2810+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2811+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2812+# so that the user can short-circuit this test for compilers unknown to
2814+for ac_file in $ac_files ''
2816+ test -f "$ac_file" || continue
2818+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2821+ # We found the default executable, but exeext='' is most
2825+ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2827+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2829+ # We set ac_cv_exeext here because the later test for it is not
2830+ # safe: cross compilers may not add the suffix if given an `-o'
2831+ # argument, so we may need to know it at that point already.
2832+ # Even if this section looks crufty: it has the advantage of
2833+ # actually working.
2839+test "$ac_cv_exeext" = no && ac_cv_exeext=
2844+if test -z "$ac_file"
2846+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847+printf "%s\n" "no" >&6; }
2848+printf "%s\n" "$as_me: failed program was:" >&5
2849+sed 's/^/| /' conftest.$ac_ext >&5
2851+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2852+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2853+as_fn_error 77 "C compiler cannot create executables
2854+See \`config.log' for more details" "$LINENO" 5; }
2856+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2857+printf "%s\n" "yes" >&6; }
2859+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2860+printf %s "checking for C compiler default output file name... " >&6; }
2861+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2862+printf "%s\n" "$ac_file" >&6; }
2863+ac_exeext=$ac_cv_exeext
2865+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2866+ac_clean_files=$ac_clean_files_save
2867+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2868+printf %s "checking for suffix of executables... " >&6; }
2869+if { { ac_try="$ac_link"
2871+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872+ *) ac_try_echo=$ac_try;;
2874+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875+printf "%s\n" "$ac_try_echo"; } >&5
2876+ (eval "$ac_link") 2>&5
2878+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879+ test $ac_status = 0; }
2881+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2882+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2883+# work properly (i.e., refer to `conftest.exe'), while it won't with
2885+for ac_file in conftest.exe conftest conftest.*; do
2886+ test -f "$ac_file" || continue
2888+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2889+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2895+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2896+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2897+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2898+See \`config.log' for more details" "$LINENO" 5; }
2900+rm -f conftest conftest$ac_cv_exeext
2901+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2902+printf "%s\n" "$ac_cv_exeext" >&6; }
2904+rm -f conftest.$ac_ext
2905+EXEEXT=$ac_cv_exeext
2907+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908+/* end confdefs.h. */
2913+FILE *f = fopen ("conftest.out", "w");
2914+ return ferror (f) || fclose (f) != 0;
2920+ac_clean_files="$ac_clean_files conftest.out"
2921+# Check that the compiler produces executables we can run. If not, either
2922+# the compiler is broken, or we cross compile.
2923+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2924+printf %s "checking whether we are cross compiling... " >&6; }
2925+if test "$cross_compiling" != yes; then
2926+ { { ac_try="$ac_link"
2928+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929+ *) ac_try_echo=$ac_try;;
2931+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932+printf "%s\n" "$ac_try_echo"; } >&5
2933+ (eval "$ac_link") 2>&5
2935+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936+ test $ac_status = 0; }
2937+ if { ac_try='./conftest$ac_cv_exeext'
2938+ { { case "(($ac_try" in
2939+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940+ *) ac_try_echo=$ac_try;;
2942+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943+printf "%s\n" "$ac_try_echo"; } >&5
2944+ (eval "$ac_try") 2>&5
2946+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947+ test $ac_status = 0; }; }; then
2950+ if test "$cross_compiling" = maybe; then
2951+ cross_compiling=yes
2953+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2954+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2955+as_fn_error 77 "cannot run C compiled programs.
2956+If you meant to cross compile, use \`--host'.
2957+See \`config.log' for more details" "$LINENO" 5; }
2961+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2962+printf "%s\n" "$cross_compiling" >&6; }
2964+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2965+ac_clean_files=$ac_clean_files_save
2966+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2967+printf %s "checking for suffix of object files... " >&6; }
2968+if test ${ac_cv_objext+y}
2970+ printf %s "(cached) " >&6
2972+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973+/* end confdefs.h. */
2983+rm -f conftest.o conftest.obj
2984+if { { ac_try="$ac_compile"
2986+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987+ *) ac_try_echo=$ac_try;;
2989+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990+printf "%s\n" "$ac_try_echo"; } >&5
2991+ (eval "$ac_compile") 2>&5
2993+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994+ test $ac_status = 0; }
2996+ for ac_file in conftest.o conftest.obj conftest.*; do
2997+ test -f "$ac_file" || continue;
2999+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3000+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3005+ printf "%s\n" "$as_me: failed program was:" >&5
3006+sed 's/^/| /' conftest.$ac_ext >&5
3008+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3010+as_fn_error $? "cannot compute suffix of object files: cannot compile
3011+See \`config.log' for more details" "$LINENO" 5; }
3013+rm -f conftest.$ac_cv_objext conftest.$ac_ext
3015+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3016+printf "%s\n" "$ac_cv_objext" >&6; }
3017+OBJEXT=$ac_cv_objext
3019+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3020+printf %s "checking whether the compiler supports GNU C... " >&6; }
3021+if test ${ac_cv_c_compiler_gnu+y}
3023+ printf %s "(cached) " >&6
3025+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026+/* end confdefs.h. */
3039+if ac_fn_c_try_compile "$LINENO"
3041+ ac_compiler_gnu=yes
3045+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3046+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3049+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3050+printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3051+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053+if test $ac_compiler_gnu = yes; then
3058+ac_test_CFLAGS=${CFLAGS+y}
3059+ac_save_CFLAGS=$CFLAGS
3060+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3061+printf %s "checking whether $CC accepts -g... " >&6; }
3062+if test ${ac_cv_prog_cc_g+y}
3064+ printf %s "(cached) " >&6
3066+ ac_save_c_werror_flag=$ac_c_werror_flag
3067+ ac_c_werror_flag=yes
3070+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071+/* end confdefs.h. */
3081+if ac_fn_c_try_compile "$LINENO"
3083+ ac_cv_prog_cc_g=yes
3086+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087+/* end confdefs.h. */
3097+if ac_fn_c_try_compile "$LINENO"
3101+ ac_c_werror_flag=$ac_save_c_werror_flag
3103+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104+/* end confdefs.h. */
3114+if ac_fn_c_try_compile "$LINENO"
3116+ ac_cv_prog_cc_g=yes
3118+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3120+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3122+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123+ ac_c_werror_flag=$ac_save_c_werror_flag
3125+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3126+printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3127+if test $ac_test_CFLAGS; then
3128+ CFLAGS=$ac_save_CFLAGS
3129+elif test $ac_cv_prog_cc_g = yes; then
3130+ if test "$GCC" = yes; then
3136+ if test "$GCC" = yes; then
3143+if test x$ac_prog_cc_stdc = xno
3145+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3146+printf %s "checking for $CC option to enable C11 features... " >&6; }
3147+if test ${ac_cv_prog_cc_c11+y}
3149+ printf %s "(cached) " >&6
3151+ ac_cv_prog_cc_c11=no
3153+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154+/* end confdefs.h. */
3155+$ac_c_conftest_c11_program
3157+for ac_arg in '' -std=gnu11
3159+ CC="$ac_save_CC $ac_arg"
3160+ if ac_fn_c_try_compile "$LINENO"
3162+ ac_cv_prog_cc_c11=$ac_arg
3164+rm -f core conftest.err conftest.$ac_objext conftest.beam
3165+ test "x$ac_cv_prog_cc_c11" != "xno" && break
3167+rm -f conftest.$ac_ext
3171+if test "x$ac_cv_prog_cc_c11" = xno
3173+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3174+printf "%s\n" "unsupported" >&6; }
3176+ if test "x$ac_cv_prog_cc_c11" = x
3178+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3179+printf "%s\n" "none needed" >&6; }
3181+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3182+printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3183+ CC="$CC $ac_cv_prog_cc_c11"
3185+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3186+ ac_prog_cc_stdc=c11
3189+if test x$ac_prog_cc_stdc = xno
3191+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3192+printf %s "checking for $CC option to enable C99 features... " >&6; }
3193+if test ${ac_cv_prog_cc_c99+y}
3195+ printf %s "(cached) " >&6
3197+ ac_cv_prog_cc_c99=no
3199+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200+/* end confdefs.h. */
3201+$ac_c_conftest_c99_program
3203+for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3205+ CC="$ac_save_CC $ac_arg"
3206+ if ac_fn_c_try_compile "$LINENO"
3208+ ac_cv_prog_cc_c99=$ac_arg
3210+rm -f core conftest.err conftest.$ac_objext conftest.beam
3211+ test "x$ac_cv_prog_cc_c99" != "xno" && break
3213+rm -f conftest.$ac_ext
3217+if test "x$ac_cv_prog_cc_c99" = xno
3219+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3220+printf "%s\n" "unsupported" >&6; }
3222+ if test "x$ac_cv_prog_cc_c99" = x
3224+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3225+printf "%s\n" "none needed" >&6; }
3227+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3228+printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3229+ CC="$CC $ac_cv_prog_cc_c99"
3231+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3232+ ac_prog_cc_stdc=c99
3235+if test x$ac_prog_cc_stdc = xno
3237+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3238+printf %s "checking for $CC option to enable C89 features... " >&6; }
3239+if test ${ac_cv_prog_cc_c89+y}
3241+ printf %s "(cached) " >&6
3243+ ac_cv_prog_cc_c89=no
3245+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246+/* end confdefs.h. */
3247+$ac_c_conftest_c89_program
3249+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3251+ CC="$ac_save_CC $ac_arg"
3252+ if ac_fn_c_try_compile "$LINENO"
3254+ ac_cv_prog_cc_c89=$ac_arg
3256+rm -f core conftest.err conftest.$ac_objext conftest.beam
3257+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3259+rm -f conftest.$ac_ext
3263+if test "x$ac_cv_prog_cc_c89" = xno
3265+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3266+printf "%s\n" "unsupported" >&6; }
3268+ if test "x$ac_cv_prog_cc_c89" = x
3270+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3271+printf "%s\n" "none needed" >&6; }
3273+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3274+printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3275+ CC="$CC $ac_cv_prog_cc_c89"
3277+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3278+ ac_prog_cc_stdc=c89
3283+ac_cpp='$CPP $CPPFLAGS'
3284+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3285+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3289+ac_header= ac_cache=
3290+for ac_item in $ac_header_c_list
3292+ if test $ac_cache; then
3293+ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3294+ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3295+ printf "%s\n" "#define $ac_item 1" >> confdefs.h
3297+ ac_header= ac_cache=
3298+ elif test $ac_header; then
3312+if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3315+printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3318+ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3319+if test "x$ac_cv_header_time_h" = xyes
3321+ printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
3325+ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3326+if test "x$ac_cv_func_clock_gettime" = xyes
3328+ printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
3334+ac_config_headers="$ac_config_headers src/config.h"
3336+cat >confcache <<\_ACEOF
3337+# This file is a shell script that caches the results of configure
3338+# tests run on this system so they can be shared between configure
3339+# scripts and configure runs, see configure's option --config-cache.
3340+# It is not useful on other systems. If it contains results you don't
3341+# want to keep, you may remove or edit it.
3343+# config.status only pays attention to the cache file if you give it
3344+# the --recheck option to rerun configure.
3346+# `ac_cv_env_foo' variables (set or unset) will be overridden when
3347+# loading this file, other *unset* `ac_cv_foo' will be assigned the
3352+# The following way of writing the cache mishandles newlines in values,
3353+# but we know of no workaround that is simple, portable, and efficient.
3354+# So, we kill variables containing newlines.
3355+# Ultrix sh set writes to stderr and can't be redirected directly,
3356+# and sets the high bit in the cache file unless we assign to the vars.
3358+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3359+ eval ac_val=\$$ac_var
3363+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3364+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3367+ _ | IFS | as_nl) ;; #(
3368+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3369+ *) { eval $ac_var=; unset $ac_var;} ;;
3375+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
3376+ *${as_nl}ac_space=\ *)
3377+ # `set' does not quote correctly, so add quotes: double-quote
3378+ # substitution turns \\\\ into \\, and sed turns \\ into \.
3381+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3384+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3385+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3394+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3396+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3398+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3399+ if test -w "$cache_file"; then
3400+ if test "x$cache_file" != "x/dev/null"; then
3401+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3402+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3403+ if test ! -f "$cache_file" || test -h "$cache_file"; then
3404+ cat confcache >"$cache_file"
3406+ case $cache_file in #(
3408+ mv -f confcache "$cache_file"$$ &&
3409+ mv -f "$cache_file"$$ "$cache_file" ;; #(
3411+ mv -f confcache "$cache_file" ;;
3416+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3417+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3422+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3423+# Let make expand exec_prefix.
3424+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3426+DEFS=-DHAVE_CONFIG_H
3431+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3432+ # 1. Remove the extension, and $U if already installed.
3433+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3434+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3435+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3436+ # will be set to the directory where LIBOBJS objects are built.
3437+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3438+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3442+LTLIBOBJS=$ac_ltlibobjs
3446+: "${CONFIG_STATUS=./config.status}"
3448+ac_clean_files_save=$ac_clean_files
3449+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3450+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3451+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3453+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3455+# Generated by $as_me.
3456+# Run this file to recreate the current configuration.
3457+# Compiler output produced by configure, useful for debugging
3458+# configure, is in config.log if it exists.
3464+SHELL=\${CONFIG_SHELL-$SHELL}
3467+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3468+## -------------------- ##
3469+## M4sh Initialization. ##
3470+## -------------------- ##
3472+# Be more Bourne compatible
3473+DUALCASE=1; export DUALCASE # for MKS sh
3475+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3479+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3480+ # is contrary to our usage. Disable this feature.
3481+ alias -g '${1+"$@"}'='"$@"'
3482+ setopt NO_GLOB_SUBST
3484+ case `(set -o) 2>/dev/null` in #(
3494+# Reset variables that may have inherited troublesome values from
3497+# IFS needs to be set, to space, tab, and newline, in precisely that order.
3498+# (If _AS_PATH_WALK were called with IFS unset, it would have the
3499+# side effect of setting IFS to empty, thus disabling word splitting.)
3500+# Quoting is to prevent editors from complaining about space-tab.
3510+# Ensure predictable behavior from utilities with locale-dependent output.
3516+# We cannot yet rely on "unset" to work, but we need these variables
3517+# to be unset--not just set to an empty or harmless value--now, to
3518+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3519+# also avoids known problems related to "unset" and subshell syntax
3520+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3521+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3522+do eval test \${$as_var+y} \
3523+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3526+# Ensure that fds 0, 1, and 2 are open.
3527+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3528+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3529+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3531+# The user is always right.
3532+if ${PATH_SEPARATOR+false} :; then
3534+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3535+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3541+# Find who we are. Look in the path if we contain no directory separator.
3544+ *[\\/]* ) as_myself=$0 ;;
3545+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549+ case $as_dir in #(((
3552+ *) as_dir=$as_dir/ ;;
3554+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3560+# We did not find ourselves, most probably we were run as `sh COMMAND'
3561+# in which case we are not to be found in the path.
3562+if test "x$as_myself" = x; then
3565+if test ! -f "$as_myself"; then
3566+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3572+# as_fn_error STATUS ERROR [LINENO LOG_FD]
3573+# ----------------------------------------
3574+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3575+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3576+# script with STATUS, using 1 if that was 0.
3579+ as_status=$1; test $as_status -eq 0 && as_status=1
3581+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3582+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3584+ printf "%s\n" "$as_me: error: $2" >&2
3585+ as_fn_exit $as_status
3590+# as_fn_set_status STATUS
3591+# -----------------------
3592+# Set $? to STATUS, without forking.
3596+} # as_fn_set_status
3600+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3604+ as_fn_set_status $1
3610+# Portably unset VAR.
3613+ { eval $1=; unset $1;}
3615+as_unset=as_fn_unset
3617+# as_fn_append VAR VALUE
3618+# ----------------------
3619+# Append the text in VALUE to the end of the definition contained in VAR. Take
3620+# advantage of any shell optimizations that allow amortized linear growth over
3621+# repeated appends, instead of the typical quadratic growth present in naive
3623+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3625+ eval 'as_fn_append ()
3636+# as_fn_arith ARG...
3637+# ------------------
3638+# Perform arithmetic evaluation on the ARGs, and store the result in the
3639+# global $as_val. Take advantage of shells that can avoid forks. The arguments
3640+# must be portable across $(()) and expr.
3641+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3643+ eval 'as_fn_arith ()
3650+ as_val=`expr "$@" || test $? -eq 1`
3655+if expr a : '\(a\)' >/dev/null 2>&1 &&
3656+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3662+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3663+ as_basename=basename
3668+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3674+as_me=`$as_basename -- "$0" ||
3675+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3676+ X"$0" : 'X\(//\)$' \| \
3677+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3678+printf "%s\n" X/"$0" |
3679+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3693+# Avoid depending upon Character Ranges.
3694+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3695+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3696+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3697+as_cr_digits='0123456789'
3698+as_cr_alnum=$as_cr_Letters$as_cr_digits
3701+# Determine whether it's possible to make 'echo' print without a newline.
3702+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3703+# for compatibility with existing Makefiles.
3704+ECHO_C= ECHO_N= ECHO_T=
3705+case `echo -n x` in #(((((
3707+ case `echo 'xy\c'` in
3708+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3710+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3717+# For backward compatibility with old third-party macros, we provide
3718+# the shell variables $as_echo and $as_echo_n. New code should use
3719+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3720+as_echo='printf %s\n'
3721+as_echo_n='printf %s'
3723+rm -f conf$$ conf$$.exe conf$$.file
3724+if test -d conf$$.dir; then
3725+ rm -f conf$$.dir/conf$$.file
3728+ mkdir conf$$.dir 2>/dev/null
3730+if (echo >conf$$.file) 2>/dev/null; then
3731+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3733+ # ... but there are two gotchas:
3734+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3735+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3736+ # In both cases, we have to default to `cp -pR'.
3737+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3739+ elif ln conf$$.file conf$$ 2>/dev/null; then
3747+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3748+rmdir conf$$.dir 2>/dev/null
3753+# Create "$as_dir" as a directory, including parents if necessary.
3758+ -*) as_dir=./$as_dir;;
3760+ test -d "$as_dir" || eval $as_mkdir_p || {
3764+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3765+ *) as_qdir=$as_dir;;
3767+ as_dirs="'$as_qdir' $as_dirs"
3768+ as_dir=`$as_dirname -- "$as_dir" ||
3769+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3770+ X"$as_dir" : 'X\(//\)[^/]' \| \
3771+ X"$as_dir" : 'X\(//\)$' \| \
3772+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3773+printf "%s\n" X"$as_dir" |
3774+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3778+ /^X\(\/\/\)[^/].*/{
3791+ test -d "$as_dir" && break
3793+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3794+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3798+if mkdir -p . 2>/dev/null; then
3799+ as_mkdir_p='mkdir -p "$as_dir"'
3801+ test -d ./-p && rmdir ./-p
3806+# as_fn_executable_p FILE
3807+# -----------------------
3808+# Test if FILE is an executable regular file.
3809+as_fn_executable_p ()
3811+ test -f "$1" && test -x "$1"
3812+} # as_fn_executable_p
3814+as_executable_p=as_fn_executable_p
3816+# Sed expression to map a string onto a valid CPP name.
3817+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3819+# Sed expression to map a string onto a valid variable name.
3820+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3824+## ----------------------------------- ##
3825+## Main body of $CONFIG_STATUS script. ##
3826+## ----------------------------------- ##
3828+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3830+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3831+# Save the log message, to keep $0 and so on meaningful, and to
3832+# report actual input values of CONFIG_FILES etc. instead of their
3833+# values after options handling.
3835+This file was extended by streamly-core $as_me 0.8.2, which was
3836+generated by GNU Autoconf 2.71. Invocation command line was
3838+ CONFIG_FILES = $CONFIG_FILES
3839+ CONFIG_HEADERS = $CONFIG_HEADERS
3840+ CONFIG_LINKS = $CONFIG_LINKS
3841+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3844+on `(hostname || uname -n) 2>/dev/null | sed 1q`
3850+case $ac_config_headers in *"
3851+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3855+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3856+# Files that config.status was made for.
3857+config_headers="$ac_config_headers"
3861+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3863+\`$as_me' instantiates files and other configuration actions
3864+from templates according to the current configuration. Unless the files
3865+and actions are specified as TAGs, all are instantiated by default.
3867+Usage: $0 [OPTION]... [TAG]...
3869+ -h, --help print this help, then exit
3870+ -V, --version print version number and configuration settings, then exit
3871+ --config print configuration, then exit
3872+ -q, --quiet, --silent
3873+ do not print progress messages
3874+ -d, --debug don't remove temporary files
3875+ --recheck update $as_me by reconfiguring in the same conditions
3876+ --header=FILE[:TEMPLATE]
3877+ instantiate the configuration header FILE
3879+Configuration headers:
3882+Report bugs to <streamly@composewell.com>.
3883+streamly-core home page: <https://streamly.composewell.com>."
3886+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3887+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3888+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3889+ac_cs_config='$ac_cs_config_escaped'
3891+streamly-core config.status 0.8.2
3892+configured by $0, generated by GNU Autoconf 2.71,
3893+ with options \\"\$ac_cs_config\\"
3895+Copyright (C) 2021 Free Software Foundation, Inc.
3896+This config.status script is free software; the Free Software Foundation
3897+gives unlimited permission to copy, distribute and modify it."
3901+test -n "\$AWK" || AWK=awk
3904+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3905+# The default lists apply if the user does not specify any file.
3911+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3912+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3916+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3928+ # Handling of the options.
3929+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3931+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3932+ printf "%s\n" "$ac_cs_version"; exit ;;
3933+ --config | --confi | --conf | --con | --co | --c )
3934+ printf "%s\n" "$ac_cs_config"; exit ;;
3935+ --debug | --debu | --deb | --de | --d | -d )
3937+ --header | --heade | --head | --hea )
3940+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3942+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3943+ ac_need_defaults=false;;
3945+ # Conflict between --help and --header
3946+ as_fn_error $? "ambiguous option: \`$1'
3947+Try \`$0 --help' for more information.";;
3948+ --help | --hel | -h )
3949+ printf "%s\n" "$ac_cs_usage"; exit ;;
3950+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3951+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
3954+ # This is an error.
3955+ -*) as_fn_error $? "unrecognized option: \`$1'
3956+Try \`$0 --help' for more information." ;;
3958+ *) as_fn_append ac_config_targets " $1"
3959+ ac_need_defaults=false ;;
3965+ac_configure_extra_args=
3967+if $ac_cs_silent; then
3969+ ac_configure_extra_args="$ac_configure_extra_args --silent"
3973+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3974+if \$ac_cs_recheck; then
3975+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3977+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3978+ CONFIG_SHELL='$SHELL'
3979+ export CONFIG_SHELL
3984+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3988+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3989+## Running $as_me. ##
3991+ printf "%s\n" "$ac_log"
3995+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3998+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4000+# Handling of arguments.
4001+for ac_config_target in $ac_config_targets
4003+ case $ac_config_target in
4004+ "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4006+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4011+# If the user did not use the arguments to specify the items to instantiate,
4012+# then the envvar interface is used. Set only those that are not.
4013+# We use the long form for the default assignment because of an extremely
4014+# bizarre bug on SunOS 4.1.3.
4015+if $ac_need_defaults; then
4016+ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4019+# Have a temporary directory for convenience. Make it in the build tree
4020+# simply because there is no reason against having it here, and in addition,
4021+# creating and moving files from /tmp can sometimes cause problems.
4022+# Hook for its removal unless debugging.
4023+# Note that there is a small window in which the directory will not be cleaned:
4024+# after its creation but before its name has been assigned to `$tmp'.
4028+ trap 'exit_status=$?
4029+ : "${ac_tmp:=$tmp}"
4030+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4032+ trap 'as_fn_exit 1' 1 2 13 15
4034+# Create a (secure) tmp directory for tmp files.
4037+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4041+ tmp=./conf$$-$RANDOM
4042+ (umask 077 && mkdir "$tmp")
4043+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4046+# Set up the scripts for CONFIG_HEADERS section.
4047+# No need to generate them if there are no CONFIG_HEADERS.
4048+# This happens for instance with `./config.status Makefile'.
4049+if test -n "$CONFIG_HEADERS"; then
4050+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4054+# Transform confdefs.h into an awk script `defines.awk', embedded as
4055+# here-document in config.status, that substitutes the proper values into
4056+# config.h.in to produce config.h.
4058+# Create a delimiter string that does not exist in confdefs.h, to ease
4059+# handling of long lines.
4061+for ac_last_try in false false :; do
4062+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4063+ if test -z "$ac_tt"; then
4065+ elif $ac_last_try; then
4066+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4068+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4072+# For the awk script, D is an array of macro values keyed by name,
4073+# likewise P contains macro parameters if any. Preserve backslash
4074+# newline sequences.
4076+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4078+s/.\{148\}/&'"$ac_delim"'/g
4081+s/^[ ]*#[ ]*define[ ][ ]*/ /
4088+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4090+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4094+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4095+D["\1"]=" \3\\\\\\n"\\/p
4097+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4102+s/.\{148\}/&'"$ac_delim"'/g
4107+s/["\\]/\\&/g; s/^/"/; s/$/"/p
4110+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4112+' <confdefs.h | sed '
4113+s/'"$ac_delim"'/"\\\
4114+"/g' >>$CONFIG_STATUS || ac_write_fail=1
4116+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4117+ for (key in D) D_is_set[key] = 1
4120+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4122+ split(line, arg, " ")
4123+ if (arg[1] == "#") {
4127+ defundef = substr(arg[1], 2)
4130+ split(mac1, mac2, "(") #)
4132+ prefix = substr(line, 1, index(line, defundef) - 1)
4133+ if (D_is_set[macro]) {
4134+ # Preserve the white space surrounding the "#".
4135+ print prefix "define", macro P[macro] D[macro]
4138+ # Replace #undef with comments. This is necessary, for example,
4139+ # in the case of _POSIX_SOURCE, which is predefined and required
4140+ # on some systems where configure will not decide to define it.
4141+ if (defundef == "undef") {
4142+ print "/*", prefix defundef, macro, "*/"
4150+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4151+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4152+fi # test -n "$CONFIG_HEADERS"
4155+eval set X " :H $CONFIG_HEADERS "
4160+ :[FHLC]) ac_mode=$ac_tag; continue;;
4162+ case $ac_mode$ac_tag in
4164+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4165+ :[FH]-) ac_tag=-:-;;
4166+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4183+ -) ac_f="$ac_tmp/stdin";;
4184+ *) # Look for the file first in the build tree, then in the source tree
4185+ # (if the path is not absolute). The absolute path cannot be DOS-style,
4186+ # because $ac_f cannot contain `:'.
4190+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4192+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4194+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4195+ as_fn_append ac_file_inputs " '$ac_f'"
4198+ # Let's still pretend it is `configure' which instantiates (i.e., don't
4199+ # use $as_me), people would be surprised to read:
4200+ # /* config.h. Generated by config.status. */
4201+ configure_input='Generated from '`
4202+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4204+ if test x"$ac_file" != x-; then
4205+ configure_input="$ac_file. $configure_input"
4206+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4207+printf "%s\n" "$as_me: creating $ac_file" >&6;}
4209+ # Neutralize special characters interpreted by sed in replacement strings.
4210+ case $configure_input in #(
4211+ *\&* | *\|* | *\\* )
4212+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4213+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
4214+ *) ac_sed_conf_input=$configure_input;;
4218+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
4219+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4224+ ac_dir=`$as_dirname -- "$ac_file" ||
4225+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4226+ X"$ac_file" : 'X\(//\)[^/]' \| \
4227+ X"$ac_file" : 'X\(//\)$' \| \
4228+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4229+printf "%s\n" X"$ac_file" |
4230+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4234+ /^X\(\/\/\)[^/].*/{
4247+ as_dir="$ac_dir"; as_fn_mkdir_p
4251+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4253+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4254+ # A ".." for each directory in $ac_dir_suffix.
4255+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4256+ case $ac_top_builddir_sub in
4257+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4258+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4261+ac_abs_top_builddir=$ac_pwd
4262+ac_abs_builddir=$ac_pwd$ac_dir_suffix
4263+# for backward compatibility:
4264+ac_top_builddir=$ac_top_build_prefix
4267+ .) # We are building in place.
4269+ ac_top_srcdir=$ac_top_builddir_sub
4270+ ac_abs_top_srcdir=$ac_pwd ;;
4271+ [\\/]* | ?:[\\/]* ) # Absolute name.
4272+ ac_srcdir=$srcdir$ac_dir_suffix;
4273+ ac_top_srcdir=$srcdir
4274+ ac_abs_top_srcdir=$srcdir ;;
4275+ *) # Relative name.
4276+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4277+ ac_top_srcdir=$ac_top_build_prefix$srcdir
4278+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4280+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4289+ if test x"$ac_file" != x-; then
4291+ printf "%s\n" "/* $configure_input */" >&1 \
4292+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4293+ } >"$ac_tmp/config.h" \
4294+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4295+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4296+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4297+printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4300+ mv "$ac_tmp/config.h" "$ac_file" \
4301+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4304+ printf "%s\n" "/* $configure_input */" >&1 \
4305+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4306+ || as_fn_error $? "could not create -" "$LINENO" 5
4318+ac_clean_files=$ac_clean_files_save
4320+test $ac_write_fail = 0 ||
4321+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4324+# configure is writing to config.log, and then calls config.status.
4325+# config.status does its own redirection, appending to config.log.
4326+# Unfortunately, on DOS this fails, as config.log is still kept open
4327+# by configure, so config.status won't be able to write to it; its
4328+# output is simply discarded. So we exec the FD to /dev/null,
4329+# effectively closing config.log, so it can be properly (re)opened and
4330+# appended to by config.status. When coming back to configure, we
4331+# need to make the FD available again.
4332+if test "$no_create" != yes; then
4334+ ac_config_status_args=
4335+ test "$silent" = yes &&
4336+ ac_config_status_args="$ac_config_status_args --quiet"
4338+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4340+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4341+ # would make configure fail if this is the last instruction.
4342+ $ac_cs_success || as_fn_exit 1
4344+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4345+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4346+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}