2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for streamly 0.10.0.
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
19DUALCASE=1; export DUALCASE # for MKS sh
21if 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).
67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68do 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.
73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77# The user is always right.
78if ${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
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.
108if test "x$as_myself" = x; then
111if 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 ;;
134exec $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'.
137printf "%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;}
142if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required="as_fn_return () { (exit \$1); }
162as_fn_success () { as_fn_return 0; }
163as_fn_failure () { as_fn_return 1; }
164as_fn_ret_success () { return 0; }
165as_fn_ret_failure () { return 1; }
168as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test 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
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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 ;;
254exec $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'.
257printf "%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."
279SHELL=${CONFIG_SHELL-/bin/sh}
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
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"`;; #'(
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 ||
346printf "%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.
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
385if (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.
403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
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
441if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
448if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460as_me=`$as_basename -- "$0" ||
461$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
479# Avoid depending upon Character Ranges.
480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483as_cr_digits='0123456789'
484as_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.
526ECHO_C= ECHO_N= ECHO_T=
527case `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.
546rm -f conf$$ conf$$.exe conf$$.file
547if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
551 mkdir conf$$.dir 2>/dev/null
553if (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
570rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571rmdir conf$$.dir 2>/dev/null
573if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
576 test -d ./-p && rmdir ./-p
581as_executable_p=as_fn_executable_p
583# Sed expression to map a string onto a valid CPP name.
584as_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.
587as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590test -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.
596ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601ac_default_prefix=/usr/local
603ac_config_libobj_dir=.
610# Identity of this package.
611PACKAGE_NAME='streamly'
612PACKAGE_TARNAME='streamly'
613PACKAGE_VERSION='0.10.0'
614PACKAGE_STRING='streamly 0.10.0'
615PACKAGE_BUGREPORT='streamly@composewell.com'
616PACKAGE_URL='https://streamly.composewell.com'
618ac_subst_vars='LTLIBOBJS
655program_transform_name
668enable_option_checking
671 ac_precious_vars='build_alias
681# Initialize some variables set by options.
686# The variables have the same names as the options, with
687# dashes changed to underlines.
695program_transform_name=s,x,x,
703# Installation directory options.
704# These are left unexpanded so users can "make install exec_prefix=/foo"
705# and all the variables that are supposed to be based on exec_prefix
706# by default will actually change.
707# Use braces instead of parens because sh, perl, etc. also accept them.
708# (The list follows the same order as the GNU Coding Standards.)
709bindir='${exec_prefix}/bin'
710sbindir='${exec_prefix}/sbin'
711libexecdir='${exec_prefix}/libexec'
712datarootdir='${prefix}/share'
713datadir='${datarootdir}'
714sysconfdir='${prefix}/etc'
715sharedstatedir='${prefix}/com'
716localstatedir='${prefix}/var'
717runstatedir='${localstatedir}/run'
718includedir='${prefix}/include'
719oldincludedir='/usr/include'
720docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
721infodir='${datarootdir}/info'
726libdir='${exec_prefix}/lib'
727localedir='${datarootdir}/locale'
728mandir='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\$ac_option
742 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 case $ac_dashdash$ac_option in
751 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
756 -build | --build | --buil | --bui | --bu)
757 ac_prev=build_alias ;;
758 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
759 build_alias=$ac_optarg ;;
761 -cache-file | --cache-file | --cache-fil | --cache-fi \
762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
763 ac_prev=cache_file ;;
764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
766 cache_file=$ac_optarg ;;
769 cache_file=config.cache ;;
771 -datadir | --datadir | --datadi | --datad)
773 -datadir=* | --datadir=* | --datadi=* | --datad=*)
774 datadir=$ac_optarg ;;
776 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
777 | --dataroo | --dataro | --datar)
778 ac_prev=datarootdir ;;
779 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
780 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
781 datarootdir=$ac_optarg ;;
783 -disable-* | --disable-*)
784 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
787 as_fn_error $? "invalid feature name: \`$ac_useropt'"
788 ac_useropt_orig=$ac_useropt
789 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in
794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
795 ac_unrecognized_sep=', ';;
797 eval enable_$ac_useropt=no ;;
799 -docdir | --docdir | --docdi | --doc | --do)
801 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
804 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
809 -enable-* | --enable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: \`$ac_useropt'"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
823 eval enable_$ac_useropt=\$ac_optarg ;;
825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
827 | --exec | --exe | --ex)
828 ac_prev=exec_prefix ;;
829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
831 | --exec=* | --exe=* | --ex=*)
832 exec_prefix=$ac_optarg ;;
834 -gas | --gas | --ga | --g)
835 # Obsolete; use --with-gas.
838 -help | --help | --hel | --he | -h)
840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
841 ac_init_help=recursive ;;
842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
843 ac_init_help=short ;;
845 -host | --host | --hos | --ho)
846 ac_prev=host_alias ;;
847 -host=* | --host=* | --hos=* | --ho=*)
848 host_alias=$ac_optarg ;;
850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 htmldir=$ac_optarg ;;
856 -includedir | --includedir | --includedi | --included | --include \
857 | --includ | --inclu | --incl | --inc)
858 ac_prev=includedir ;;
859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
860 | --includ=* | --inclu=* | --incl=* | --inc=*)
861 includedir=$ac_optarg ;;
863 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
866 infodir=$ac_optarg ;;
868 -libdir | --libdir | --libdi | --libd)
870 -libdir=* | --libdir=* | --libdi=* | --libd=*)
873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
874 | --libexe | --libex | --libe)
875 ac_prev=libexecdir ;;
876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
877 | --libexe=* | --libex=* | --libe=*)
878 libexecdir=$ac_optarg ;;
880 -localedir | --localedir | --localedi | --localed | --locale)
882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
883 localedir=$ac_optarg ;;
885 -localstatedir | --localstatedir | --localstatedi | --localstated \
886 | --localstate | --localstat | --localsta | --localst | --locals)
887 ac_prev=localstatedir ;;
888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
890 localstatedir=$ac_optarg ;;
892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
898 # Obsolete; use --without-fp.
901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
902 | --no-cr | --no-c | -n)
905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
911 | --oldin | --oldi | --old | --ol | --o)
912 ac_prev=oldincludedir ;;
913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
916 oldincludedir=$ac_optarg ;;
918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
923 -program-prefix | --program-prefix | --program-prefi | --program-pref \
924 | --program-pre | --program-pr | --program-p)
925 ac_prev=program_prefix ;;
926 -program-prefix=* | --program-prefix=* | --program-prefi=* \
927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
928 program_prefix=$ac_optarg ;;
930 -program-suffix | --program-suffix | --program-suffi | --program-suff \
931 | --program-suf | --program-su | --program-s)
932 ac_prev=program_suffix ;;
933 -program-suffix=* | --program-suffix=* | --program-suffi=* \
934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
935 program_suffix=$ac_optarg ;;
937 -program-transform-name | --program-transform-name \
938 | --program-transform-nam | --program-transform-na \
939 | --program-transform-n | --program-transform- \
940 | --program-transform | --program-transfor \
941 | --program-transfo | --program-transf \
942 | --program-trans | --program-tran \
943 | --progr-tra | --program-tr | --program-t)
944 ac_prev=program_transform_name ;;
945 -program-transform-name=* | --program-transform-name=* \
946 | --program-transform-nam=* | --program-transform-na=* \
947 | --program-transform-n=* | --program-transform-=* \
948 | --program-transform=* | --program-transfor=* \
949 | --program-transfo=* | --program-transf=* \
950 | --program-trans=* | --program-tran=* \
951 | --progr-tra=* | --program-tr=* | --program-t=*)
952 program_transform_name=$ac_optarg ;;
954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
959 -psdir | --psdir | --psdi | --psd | --ps)
961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
965 | -silent | --silent | --silen | --sile | --sil)
968 -runstatedir | --runstatedir | --runstatedi | --runstated \
969 | --runstate | --runstat | --runsta | --runst | --runs \
970 | --run | --ru | --r)
971 ac_prev=runstatedir ;;
972 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
973 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
974 | --run=* | --ru=* | --r=*)
975 runstatedir=$ac_optarg ;;
977 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 sbindir=$ac_optarg ;;
983 -sharedstatedir | --sharedstatedir | --sharedstatedi \
984 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985 | --sharedst | --shareds | --shared | --share | --shar \
987 ac_prev=sharedstatedir ;;
988 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 sharedstatedir=$ac_optarg ;;
994 -site | --site | --sit)
996 -site=* | --site=* | --sit=*)
999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002 srcdir=$ac_optarg ;;
1004 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005 | --syscon | --sysco | --sysc | --sys | --sy)
1006 ac_prev=sysconfdir ;;
1007 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009 sysconfdir=$ac_optarg ;;
1011 -target | --target | --targe | --targ | --tar | --ta | --t)
1012 ac_prev=target_alias ;;
1013 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014 target_alias=$ac_optarg ;;
1016 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1019 -version | --version | --versio | --versi | --vers | -V)
1020 ac_init_version=: ;;
1023 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: \`$ac_useropt'"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval with_$ac_useropt=\$ac_optarg ;;
1038 -without-* | --without-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: \`$ac_useropt'"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval with_$ac_useropt=no ;;
1055 # Obsolete; use --with-x.
1058 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059 | --x-incl | --x-inc | --x-in | --x-i)
1060 ac_prev=x_includes ;;
1061 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063 x_includes=$ac_optarg ;;
1065 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067 ac_prev=x_libraries ;;
1068 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070 x_libraries=$ac_optarg ;;
1072 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1073Try \`$0 --help' for more information"
1077 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 case $ac_envvar in #(
1080 '' | [0-9]* | *[!_$as_cr_alnum]* )
1081 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083 eval $ac_envvar=\$ac_optarg
1084 export $ac_envvar ;;
1087 # FIXME: should be removed in autoconf 3.0.
1088 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1091 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1097if test -n "$ac_prev"; then
1098 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099 as_fn_error $? "missing argument to $ac_option"
1102if test -n "$ac_unrecognized_opts"; then
1103 case $enable_option_checking in
1105 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1106 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1110# Check all directory arguments for consistency.
1111for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir runstatedir
1116 eval ac_val=\$$ac_var
1117 # Remove trailing slashes.
1120 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121 eval $ac_var=\$ac_val;;
1123 # Be sure to have absolute directory names.
1125 [\\/$]* | ?:[\\/]* ) continue;;
1126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1131# There might be people who depend on the old broken behavior: `$host'
1132# used to hold the argument of --host etc.
1133# FIXME: To remove some day.
1138# FIXME: To remove some day.
1139if test "x$host_alias" != x; then
1140 if test "x$build_alias" = x; then
1141 cross_compiling=maybe
1142 elif test "x$build_alias" != "x$host_alias"; then
1148test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150test "$silent" = yes && exec 6>/dev/null
1153ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154ac_ls_di=`ls -di .` &&
1155ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156 as_fn_error $? "working directory cannot be determined"
1157test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 as_fn_error $? "pwd does not report name of working directory"
1161# Find the source files, if location was not specified.
1162if test -z "$srcdir"; then
1163 ac_srcdir_defaulted=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir=`$as_dirname -- "$as_myself" ||
1166$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$as_myself" : 'X\(//\)[^/]' \| \
1168 X"$as_myself" : 'X\(//\)$' \| \
1169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170printf "%s\n" X"$as_myself" |
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1193 ac_srcdir_defaulted=no
1195if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1199ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1203# When building in place, set srcdir=.
1204if test "$ac_abs_confdir" = "$ac_pwd"; then
1207# Remove unnecessary trailing slashes from srcdir.
1208# Double slashes in file names in object file debugging info
1209# mess up M-x gdb in Emacs.
1211*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213for ac_var in $ac_precious_vars; do
1214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_${ac_var}_value=\$${ac_var}
1216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221# Report the --help message.
1223if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1227\`configure' configures streamly 0.10.0 to adapt to many kinds of systems.
1229Usage: $0 [OPTION]... [VAR=VALUE]...
1231To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232VAR=VALUE. See below for descriptions of some of the useful variables.
1234Defaults for the options are specified in brackets.
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking ...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253By default, \`make install' will install all the files in
1254\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256for instance \`--prefix=\$HOME'.
1258For better control, use the options below.
1260Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/streamly]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1287if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of streamly 0.10.0:";;
1294 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1295 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1307Use these variables to override the choices made by `configure' or to help
1308it to find libraries and programs with nonstandard names/locations.
1310Report bugs to <streamly@composewell.com>.
1311streamly home page: <https://streamly.composewell.com>.
1316if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" ||
1320 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335ac_abs_top_builddir=$ac_pwd
1336ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337# for backward compatibility:
1338ac_top_builddir=$ac_top_build_prefix
1341 .) # We are building in place.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for configure.gnu first; this name is used for a wrapper for
1358 # Metaconfig's "Configure" on case-insensitive file systems.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1364 $SHELL "$ac_srcdir/configure" --help=recursive
1366 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 cd "$ac_pwd" || { ac_status=$?; break; }
1372test -n "$ac_init_help" && exit $ac_status
1373if $ac_init_version; then
1375streamly configure 0.10.0
1376generated by GNU Autoconf 2.71
1378Copyright (C) 2021 Free Software Foundation, Inc.
1379This configure script is free software; the Free Software Foundation
1380gives unlimited permission to copy, distribute and modify it.
1385## ------------------------ ##
1386## Autoconf initialization. ##
1387## ------------------------ ##
1389# ac_fn_c_try_compile LINENO
1390# --------------------------
1391# Try to compile conftest.$ac_ext, and return whether this succeeded.
1392ac_fn_c_try_compile ()
1394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1395 rm -f conftest.$ac_objext conftest.beam
1396 if { { ac_try="$ac_compile"
1398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1399 *) ac_try_echo=$ac_try;;
1401eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1402printf "%s\n" "$ac_try_echo"; } >&5
1403 (eval "$ac_compile") 2>conftest.err
1405 if test -s conftest.err; then
1406 grep -v '^ *+' conftest.err >conftest.er1
1407 cat conftest.er1 >&5
1408 mv -f conftest.er1 conftest.err
1410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1411 test $ac_status = 0; } && {
1412 test -z "$ac_c_werror_flag" ||
1413 test ! -s conftest.err
1414 } && test -s conftest.$ac_objext
1418 printf "%s\n" "$as_me: failed program was:" >&5
1419sed 's/^/| /' conftest.$ac_ext >&5
1423 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1424 as_fn_set_status $ac_retval
1426} # ac_fn_c_try_compile
1428# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1429# ------------------------------------------------------------------
1430# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1431# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 as_decl_name=`echo $2|sed 's/ *(.*//'`
1436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1437printf %s "checking whether $as_decl_name is declared... " >&6; }
1438if eval test \${$3+y}
1440 printf %s "(cached) " >&6
1442 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1443 eval ac_save_FLAGS=\$$6
1444 as_fn_append $6 " $5"
1445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1446/* end confdefs.h. */
1451#ifndef $as_decl_name
1453 (void) $as_decl_use;
1455 (void) $as_decl_name;
1463if ac_fn_c_try_compile "$LINENO"
1469rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1470 eval $6=\$ac_save_FLAGS
1474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1475printf "%s\n" "$ac_res" >&6; }
1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479ac_configure_args_raw=
1484 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 as_fn_append ac_configure_args_raw " '$ac_arg'"
1489case $ac_configure_args_raw in
1493 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1494 ac_unsafe_a="$ac_unsafe_z#~"
1495 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1496 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1499cat >config.log <<_ACEOF
1500This file contains any messages produced by compilers while
1501running configure, to aid debugging if configure makes a mistake.
1503It was created by streamly $as_me 0.10.0, which was
1504generated by GNU Autoconf 2.71. Invocation command line was
1506 $ $0$ac_configure_args_raw
1516hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1517uname -m = `(uname -m) 2>/dev/null || echo unknown`
1518uname -r = `(uname -r) 2>/dev/null || echo unknown`
1519uname -s = `(uname -s) 2>/dev/null || echo unknown`
1520uname -v = `(uname -v) 2>/dev/null || echo unknown`
1522/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1523/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1525/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1526/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1527/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1528/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1529/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1530/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1531/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 case $as_dir in #(((
1542 *) as_dir=$as_dir/ ;;
1544 printf "%s\n" "PATH: $as_dir"
1560# Keep a trace of the command line.
1561# Strip out --no-create and --no-recursion so they do not pile up.
1562# Strip out --silent because we don't want to record it for future runs.
1563# Also quote any args containing shell meta-characters.
1564# Make two passes to allow for proper duplicate-argument suppression.
1568ac_must_keep_next=false
1574 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1579 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1584 as_fn_append ac_configure_args1 " '$ac_arg'"
1585 if test $ac_must_keep_next = true; then
1586 ac_must_keep_next=false # Got value, back to normal.
1589 *=* | --config-cache | -C | -disable-* | --disable-* \
1590 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1591 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1592 | -with-* | --with-* | -without-* | --without-* | --x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 -* ) ac_must_keep_next=true ;;
1600 as_fn_append ac_configure_args " '$ac_arg'"
1605{ ac_configure_args0=; unset ac_configure_args0;}
1606{ ac_configure_args1=; unset ac_configure_args1;}
1608# When interrupted or exit'd, cleanup temporary files, and complete
1609# config.log. We remove comments because anyway the quotes in there
1610# would cause problems or look ugly.
1611# WARNING: Use '\'' to represent an apostrophe within the trap.
1612# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 # Save into config.log some information that might help in debugging.
1620 printf "%s\n" "## ---------------- ##
1621## Cache variables. ##
1622## ---------------- ##"
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1631 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1632printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1635 _ | IFS | as_nl) ;; #(
1636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1637 *) { eval $ac_var=; unset $ac_var;} ;;
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 printf "%s\n" "## ----------------- ##
1657## Output variables. ##
1658## ----------------- ##"
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1664 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 printf "%s\n" "$ac_var='\''$ac_val'\''"
1670 if test -n "$ac_subst_files"; then
1671 printf "%s\n" "## ------------------- ##
1672## File substitutions. ##
1673## ------------------- ##"
1675 for ac_var in $ac_subst_files
1677 eval ac_val=\$$ac_var
1679 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 printf "%s\n" "$ac_var='\''$ac_val'\''"
1686 if test -s confdefs.h; then
1687 printf "%s\n" "## ----------- ##
1694 test "$ac_signal" != 0 &&
1695 printf "%s\n" "$as_me: caught signal $ac_signal"
1696 printf "%s\n" "$as_me: exit $exit_status"
1698 rm -f core *.core core.conftest.* &&
1699 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702for ac_signal in 1 2 13 15; do
1703 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1707# confdefs.h avoids OS command line length limits that DEFS can exceed.
1708rm -f -r conftest* confdefs.h
1710printf "%s\n" "/* confdefs.h */" > confdefs.h
1712# Predefined preprocessor variables.
1714printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1716printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1718printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1720printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1722printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1724printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1727# Let the site file select an alternate cache file if it wants to.
1728# Prefer an explicitly selected file to automatically selected ones.
1729if test -n "$CONFIG_SITE"; then
1730 ac_site_files="$CONFIG_SITE"
1731elif test "x$prefix" != xNONE; then
1732 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1734 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1737for ac_site_file in $ac_site_files
1739 case $ac_site_file in #(
1743 ac_site_file=./$ac_site_file ;;
1745 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1747printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1748 sed 's/^/| /' "$ac_site_file" >&5
1750 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1751printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1752as_fn_error $? "failed to load site script $ac_site_file
1753See \`config.log' for more details" "$LINENO" 5; }
1757if test -r "$cache_file"; then
1758 # Some versions of bash will fail to source /dev/null (special files
1759 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1760 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1762printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1764 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1765 *) . "./$cache_file";;
1769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1770printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1774# Test code for whether the C compiler supports C89 (global declarations)
1775ac_c_conftest_c89_globals='
1776/* Does the compiler advertise C89 conformance?
1777 Do not test the value of __STDC__, because some compilers set it to 0
1778 while being otherwise adequately conformant. */
1779#if !defined __STDC__
1780# error "Compiler does not advertise C89 conformance"
1786/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1787struct buf { int x; };
1788struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1789static char *e (p, i)
1795static char *f (char * (*g) (char **, int), char **p, ...)
1800 s = g (p, va_arg (v,int));
1805/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1806 function prototypes and stuff, but not \xHH hex character constants.
1807 These do not provoke an error unfortunately, instead are silently treated
1808 as an "x". The following induces an error, until -std is added to get
1809 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1810 array size at least. It is necessary to write \x00 == 0 to get something
1811 that is true only with -std. */
1812int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1814/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1815 inside strings and character constants. */
1816#define FOO(x) '\''x'\''
1817int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1819int test (int i, double x);
1820struct s1 {int (*f) (int a);};
1821struct s2 {int (*f) (double a);};
1822int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1825# Test code for whether the C compiler supports C89 (body of main).
1826ac_c_conftest_c89_main='
1827ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1830# Test code for whether the C compiler supports C99 (global declarations)
1831ac_c_conftest_c99_globals='
1832// Does the compiler advertise C99 conformance?
1833#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1834# error "Compiler does not advertise C99 conformance"
1838extern int puts (const char *);
1839extern int printf (const char *, ...);
1840extern int dprintf (int, const char *, ...);
1841extern void *malloc (size_t);
1843// Check varargs macros. These examples are taken from C99 6.10.3.5.
1844// dprintf is used instead of fprintf to avoid needing to declare
1846#define debug(...) dprintf (2, __VA_ARGS__)
1847#define showlist(...) puts (#__VA_ARGS__)
1848#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1850test_varargs_macros (void)
1855 debug ("X = %d\n", x);
1856 showlist (The first, second, and third items.);
1857 report (x>y, "x is %d but y is %d", x, y);
1860// Check long long types.
1861#define BIG64 18446744073709551615ull
1862#define BIG32 4294967295ul
1863#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1865 #error "your preprocessor is broken"
1869 #error "your preprocessor is broken"
1871static long long int bignum = -9223372036854775807LL;
1872static unsigned long long int ubignum = BIG64;
1874struct incomplete_array
1882 const wchar_t *name;
1886typedef const char *ccp;
1889test_restrict (ccp restrict text)
1891 // See if C++-style comments work.
1892 // Iterate through items via the restricted pointer.
1893 // Also check for declarations in for loops.
1894 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1899// Check varargs and va_copy.
1901test_varargs (const char *format, ...)
1904 va_start (args, format);
1906 va_copy (args_copy, args);
1908 const char *str = "";
1916 case '\''s'\'': // string
1917 str = va_arg (args_copy, const char *);
1919 case '\''d'\'': // int
1920 number = va_arg (args_copy, int);
1922 case '\''f'\'': // float
1923 fnumber = va_arg (args_copy, double);
1932 return *str && number && fnumber;
1936# Test code for whether the C compiler supports C99 (body of main).
1937ac_c_conftest_c99_main='
1939 _Bool success = false;
1940 success |= (argc != 0);
1943 if (test_restrict ("String literal") == 0)
1945 char *restrict newvar = "Another string";
1948 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1949 test_varargs_macros ();
1951 // Check flexible array members.
1952 struct incomplete_array *ia =
1953 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1955 for (int i = 0; i < ia->datasize; ++i)
1956 ia->data[i] = i * 1.234;
1958 // Check named initializers.
1959 struct named_init ni = {
1961 .name = L"Test wide string",
1962 .average = 543.34343,
1967 int dynamic_array[ni.number];
1968 dynamic_array[0] = argv[0][0];
1969 dynamic_array[ni.number - 1] = 543;
1971 // work around unused variable warnings
1972 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
1973 || dynamic_array[ni.number - 1] != 543);
1976# Test code for whether the C compiler supports C11 (global declarations)
1977ac_c_conftest_c11_globals='
1978// Does the compiler advertise C11 conformance?
1979#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
1980# error "Compiler does not advertise C11 conformance"
1984char _Alignas (double) aligned_as_double;
1985char _Alignas (0) no_special_alignment;
1986extern char aligned_as_int;
1987char _Alignas (0) _Alignas (int) aligned_as_int;
1992 int_alignment = _Alignof (int),
1993 int_array_alignment = _Alignof (int[100]),
1994 char_alignment = _Alignof (char)
1996_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
1999int _Noreturn does_not_return (void) { for (;;) continue; }
2001// Check _Static_assert.
2002struct test_static_assert
2005 _Static_assert (sizeof (int) <= sizeof (long int),
2006 "_Static_assert does not work in struct");
2010// Check UTF-8 literals.
2011#define u8 syntax error!
2012char const utf8_literal[] = u8"happens to be ASCII" "another string";
2014// Check duplicate typedefs.
2015typedef long *long_ptr;
2016typedef long int *long_ptr;
2017typedef long_ptr long_ptr;
2019// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2023 struct { int i; int j; };
2024 struct { int k; long int l; } w;
2030# Test code for whether the C compiler supports C11 (body of main).
2031ac_c_conftest_c11_main='
2032 _Static_assert ((offsetof (struct anonymous, i)
2033 == offsetof (struct anonymous, w.k)),
2034 "Anonymous union alignment botch");
2040# Test code for whether the C compiler supports C11 (complete).
2041ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2042${ac_c_conftest_c99_globals}
2043${ac_c_conftest_c11_globals}
2046main (int argc, char **argv)
2049 ${ac_c_conftest_c89_main}
2050 ${ac_c_conftest_c99_main}
2051 ${ac_c_conftest_c11_main}
2056# Test code for whether the C compiler supports C99 (complete).
2057ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2058${ac_c_conftest_c99_globals}
2061main (int argc, char **argv)
2064 ${ac_c_conftest_c89_main}
2065 ${ac_c_conftest_c99_main}
2070# Test code for whether the C compiler supports C89 (complete).
2071ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2074main (int argc, char **argv)
2077 ${ac_c_conftest_c89_main}
2082# Check that the precious variables saved in the cache have kept the same
2084ac_cache_corrupted=false
2085for ac_var in $ac_precious_vars; do
2086 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2087 eval ac_new_set=\$ac_env_${ac_var}_set
2088 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2089 eval ac_new_val=\$ac_env_${ac_var}_value
2090 case $ac_old_set,$ac_new_set in
2092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2093printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2094 ac_cache_corrupted=: ;;
2096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2097printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2098 ac_cache_corrupted=: ;;
2101 if test "x$ac_old_val" != "x$ac_new_val"; then
2102 # differences in whitespace do not lead to failure.
2103 ac_old_val_w=`echo x $ac_old_val`
2104 ac_new_val_w=`echo x $ac_new_val`
2105 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2107printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2108 ac_cache_corrupted=:
2110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2111printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2112 eval $ac_var=\$ac_old_val
2114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2115printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2117printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2120 # Pass precious variables to config.status.
2121 if test "$ac_new_set" = set; then
2123 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2124 *) ac_arg=$ac_var=$ac_new_val ;;
2126 case " $ac_configure_args " in
2127 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2128 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2132if $ac_cache_corrupted; then
2133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2134printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2136printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2137 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2138 and start over" "$LINENO" 5
2140## -------------------- ##
2141## Main body of script. ##
2142## -------------------- ##
2145ac_cpp='$CPP $CPPFLAGS'
2146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2148ac_compiler_gnu=$ac_cv_c_compiler_gnu
2152# To suppress "WARNING: unrecognized options: --with-compiler"
2154# Check whether --with-compiler was given.
2155if test ${with_compiler+y}
2157 withval=$with_compiler;
2161# XXX Do this only for linux
2172ac_cpp='$CPP $CPPFLAGS'
2173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2175ac_compiler_gnu=$ac_cv_c_compiler_gnu
2176if test -n "$ac_tool_prefix"; then
2177 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2178set dummy ${ac_tool_prefix}gcc; ac_word=$2
2179{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2180printf %s "checking for $ac_word... " >&6; }
2181if test ${ac_cv_prog_CC+y}
2183 printf %s "(cached) " >&6
2185 if test -n "$CC"; then
2186 ac_cv_prog_CC="$CC" # Let the user override the test.
2188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 case $as_dir in #(((
2195 *) as_dir=$as_dir/ ;;
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2210if test -n "$CC"; then
2211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2212printf "%s\n" "$CC" >&6; }
2214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2215printf "%s\n" "no" >&6; }
2220if test -z "$ac_cv_prog_CC"; then
2222 # Extract the first word of "gcc", so it can be a program name with args.
2223set dummy gcc; ac_word=$2
2224{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2225printf %s "checking for $ac_word... " >&6; }
2226if test ${ac_cv_prog_ac_ct_CC+y}
2228 printf %s "(cached) " >&6
2230 if test -n "$ac_ct_CC"; then
2231 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 case $as_dir in #(((
2240 *) as_dir=$as_dir/ ;;
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2244 ac_cv_prog_ac_ct_CC="gcc"
2245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2254ac_ct_CC=$ac_cv_prog_ac_ct_CC
2255if test -n "$ac_ct_CC"; then
2256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2257printf "%s\n" "$ac_ct_CC" >&6; }
2259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260printf "%s\n" "no" >&6; }
2263 if test "x$ac_ct_CC" = x; then
2266 case $cross_compiling:$ac_tool_warned in
2268{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2269printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2270ac_tool_warned=yes ;;
2278if test -z "$CC"; then
2279 if test -n "$ac_tool_prefix"; then
2280 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2281set dummy ${ac_tool_prefix}cc; ac_word=$2
2282{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283printf %s "checking for $ac_word... " >&6; }
2284if test ${ac_cv_prog_CC+y}
2286 printf %s "(cached) " >&6
2288 if test -n "$CC"; then
2289 ac_cv_prog_CC="$CC" # Let the user override the test.
2291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 case $as_dir in #(((
2298 *) as_dir=$as_dir/ ;;
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_CC="${ac_tool_prefix}cc"
2303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2313if test -n "$CC"; then
2314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2315printf "%s\n" "$CC" >&6; }
2317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318printf "%s\n" "no" >&6; }
2324if test -z "$CC"; then
2325 # Extract the first word of "cc", so it can be a program name with args.
2326set dummy cc; ac_word=$2
2327{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2328printf %s "checking for $ac_word... " >&6; }
2329if test ${ac_cv_prog_CC+y}
2331 printf %s "(cached) " >&6
2333 if test -n "$CC"; then
2334 ac_cv_prog_CC="$CC" # Let the user override the test.
2337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 case $as_dir in #(((
2344 *) as_dir=$as_dir/ ;;
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2348 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2349 ac_prog_rejected=yes
2353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2360if test $ac_prog_rejected = yes; then
2361 # We found a bogon in the path, so make sure we never use it.
2362 set dummy $ac_cv_prog_CC
2364 if test $# != 0; then
2365 # We chose a different compiler from the bogus one.
2366 # However, it has the same basename, so the bogon will be chosen
2367 # first if we set CC to just the basename; use the full file name.
2369 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2375if test -n "$CC"; then
2376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2377printf "%s\n" "$CC" >&6; }
2379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380printf "%s\n" "no" >&6; }
2385if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 for ac_prog in cl.exe
2389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2390set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392printf %s "checking for $ac_word... " >&6; }
2393if test ${ac_cv_prog_CC+y}
2395 printf %s "(cached) " >&6
2397 if test -n "$CC"; then
2398 ac_cv_prog_CC="$CC" # Let the user override the test.
2400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 case $as_dir in #(((
2407 *) as_dir=$as_dir/ ;;
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2422if test -n "$CC"; then
2423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2424printf "%s\n" "$CC" >&6; }
2426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427printf "%s\n" "no" >&6; }
2431 test -n "$CC" && break
2434if test -z "$CC"; then
2436 for ac_prog in cl.exe
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439set dummy $ac_prog; ac_word=$2
2440{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441printf %s "checking for $ac_word... " >&6; }
2442if test ${ac_cv_prog_ac_ct_CC+y}
2444 printf %s "(cached) " >&6
2446 if test -n "$ac_ct_CC"; then
2447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 case $as_dir in #(((
2456 *) as_dir=$as_dir/ ;;
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2460 ac_cv_prog_ac_ct_CC="$ac_prog"
2461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2470ac_ct_CC=$ac_cv_prog_ac_ct_CC
2471if test -n "$ac_ct_CC"; then
2472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2473printf "%s\n" "$ac_ct_CC" >&6; }
2475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476printf "%s\n" "no" >&6; }
2480 test -n "$ac_ct_CC" && break
2483 if test "x$ac_ct_CC" = x; then
2486 case $cross_compiling:$ac_tool_warned in
2488{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2489printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2490ac_tool_warned=yes ;;
2497if test -z "$CC"; then
2498 if test -n "$ac_tool_prefix"; then
2499 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2500set dummy ${ac_tool_prefix}clang; ac_word=$2
2501{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502printf %s "checking for $ac_word... " >&6; }
2503if test ${ac_cv_prog_CC+y}
2505 printf %s "(cached) " >&6
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 case $as_dir in #(((
2517 *) as_dir=$as_dir/ ;;
2519 for ac_exec_ext in '' $ac_executable_extensions; do
2520 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2521 ac_cv_prog_CC="${ac_tool_prefix}clang"
2522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2532if test -n "$CC"; then
2533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2534printf "%s\n" "$CC" >&6; }
2536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537printf "%s\n" "no" >&6; }
2542if test -z "$ac_cv_prog_CC"; then
2544 # Extract the first word of "clang", so it can be a program name with args.
2545set dummy clang; ac_word=$2
2546{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547printf %s "checking for $ac_word... " >&6; }
2548if test ${ac_cv_prog_ac_ct_CC+y}
2550 printf %s "(cached) " >&6
2552 if test -n "$ac_ct_CC"; then
2553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 case $as_dir in #(((
2562 *) as_dir=$as_dir/ ;;
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_CC="clang"
2567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2576ac_ct_CC=$ac_cv_prog_ac_ct_CC
2577if test -n "$ac_ct_CC"; then
2578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2579printf "%s\n" "$ac_ct_CC" >&6; }
2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582printf "%s\n" "no" >&6; }
2585 if test "x$ac_ct_CC" = x; then
2588 case $cross_compiling:$ac_tool_warned in
2590{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2591printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2592ac_tool_warned=yes ;;
2603test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2605as_fn_error $? "no acceptable C compiler found in \$PATH
2606See \`config.log' for more details" "$LINENO" 5; }
2608# Provide some information about the compiler.
2609printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2612for ac_option in --version -v -V -qversion -version; do
2613 { { ac_try="$ac_compiler $ac_option >&5"
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619printf "%s\n" "$ac_try_echo"; } >&5
2620 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2622 if test -s conftest.err; then
2624... rest of stderr output deleted ...
2625 10q' conftest.err >conftest.er1
2626 cat conftest.er1 >&5
2628 rm -f conftest.er1 conftest.err
2629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }
2633cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634/* end confdefs.h. */
2644ac_clean_files_save=$ac_clean_files
2645ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2646# Try to create an executable without -o first, disregard a.out.
2647# It will help us diagnose broken compilers, and finding out an intuition
2649{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2650printf %s "checking whether the C compiler works... " >&6; }
2651ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2653# The possible output files:
2654ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2657for ac_file in $ac_files
2660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2661 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2666if { { ac_try="$ac_link_default"
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2672printf "%s\n" "$ac_try_echo"; } >&5
2673 (eval "$ac_link_default") 2>&5
2675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; }
2678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2679# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2680# in a Makefile. We should not override ac_cv_exeext if it was cached,
2681# so that the user can short-circuit this test for compilers unknown to
2683for ac_file in $ac_files ''
2685 test -f "$ac_file" || continue
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2690 # We found the default executable, but exeext='' is most
2694 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2698 # We set ac_cv_exeext here because the later test for it is not
2699 # safe: cross compilers may not add the suffix if given an `-o'
2700 # argument, so we may need to know it at that point already.
2701 # Even if this section looks crufty: it has the advantage of
2708test "$ac_cv_exeext" = no && ac_cv_exeext=
2713if test -z "$ac_file"
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716printf "%s\n" "no" >&6; }
2717printf "%s\n" "$as_me: failed program was:" >&5
2718sed 's/^/| /' conftest.$ac_ext >&5
2720{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2722as_fn_error 77 "C compiler cannot create executables
2723See \`config.log' for more details" "$LINENO" 5; }
2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2726printf "%s\n" "yes" >&6; }
2728{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2729printf %s "checking for C compiler default output file name... " >&6; }
2730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2731printf "%s\n" "$ac_file" >&6; }
2732ac_exeext=$ac_cv_exeext
2734rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2735ac_clean_files=$ac_clean_files_save
2736{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2737printf %s "checking for suffix of executables... " >&6; }
2738if { { ac_try="$ac_link"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744printf "%s\n" "$ac_try_echo"; } >&5
2745 (eval "$ac_link") 2>&5
2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }
2750 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2751# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2752# work properly (i.e., refer to `conftest.exe'), while it won't with
2754for ac_file in conftest.exe conftest conftest.*; do
2755 test -f "$ac_file" || continue
2757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2758 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2764 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2765printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2766as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2767See \`config.log' for more details" "$LINENO" 5; }
2769rm -f conftest conftest$ac_cv_exeext
2770{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2771printf "%s\n" "$ac_cv_exeext" >&6; }
2773rm -f conftest.$ac_ext
2776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777/* end confdefs.h. */
2782FILE *f = fopen ("conftest.out", "w");
2783 return ferror (f) || fclose (f) != 0;
2789ac_clean_files="$ac_clean_files conftest.out"
2790# Check that the compiler produces executables we can run. If not, either
2791# the compiler is broken, or we cross compile.
2792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2793printf %s "checking whether we are cross compiling... " >&6; }
2794if test "$cross_compiling" != yes; then
2795 { { ac_try="$ac_link"
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801printf "%s\n" "$ac_try_echo"; } >&5
2802 (eval "$ac_link") 2>&5
2804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }
2806 if { ac_try='./conftest$ac_cv_exeext'
2807 { { case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812printf "%s\n" "$ac_try_echo"; } >&5
2813 (eval "$ac_try") 2>&5
2815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; }; }; then
2819 if test "$cross_compiling" = maybe; then
2822 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2824as_fn_error 77 "cannot run C compiled programs.
2825If you meant to cross compile, use \`--host'.
2826See \`config.log' for more details" "$LINENO" 5; }
2830{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2831printf "%s\n" "$cross_compiling" >&6; }
2833rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2834ac_clean_files=$ac_clean_files_save
2835{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2836printf %s "checking for suffix of object files... " >&6; }
2837if test ${ac_cv_objext+y}
2839 printf %s "(cached) " >&6
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842/* end confdefs.h. */
2852rm -f conftest.o conftest.obj
2853if { { ac_try="$ac_compile"
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859printf "%s\n" "$ac_try_echo"; } >&5
2860 (eval "$ac_compile") 2>&5
2862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; }
2865 for ac_file in conftest.o conftest.obj conftest.*; do
2866 test -f "$ac_file" || continue;
2868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2869 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2874 printf "%s\n" "$as_me: failed program was:" >&5
2875sed 's/^/| /' conftest.$ac_ext >&5
2877{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2878printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2879as_fn_error $? "cannot compute suffix of object files: cannot compile
2880See \`config.log' for more details" "$LINENO" 5; }
2882rm -f conftest.$ac_cv_objext conftest.$ac_ext
2884{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2885printf "%s\n" "$ac_cv_objext" >&6; }
2888{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2889printf %s "checking whether the compiler supports GNU C... " >&6; }
2890if test ${ac_cv_c_compiler_gnu+y}
2892 printf %s "(cached) " >&6
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895/* end confdefs.h. */
2908if ac_fn_c_try_compile "$LINENO"
2914rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2915ac_cv_c_compiler_gnu=$ac_compiler_gnu
2918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2919printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
2920ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922if test $ac_compiler_gnu = yes; then
2927ac_test_CFLAGS=${CFLAGS+y}
2928ac_save_CFLAGS=$CFLAGS
2929{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2930printf %s "checking whether $CC accepts -g... " >&6; }
2931if test ${ac_cv_prog_cc_g+y}
2933 printf %s "(cached) " >&6
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940/* end confdefs.h. */
2950if ac_fn_c_try_compile "$LINENO"
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956/* end confdefs.h. */
2966if ac_fn_c_try_compile "$LINENO"
2970 ac_c_werror_flag=$ac_save_c_werror_flag
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973/* end confdefs.h. */
2983if ac_fn_c_try_compile "$LINENO"
2987rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2989rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2991rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2992 ac_c_werror_flag=$ac_save_c_werror_flag
2994{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2995printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
2996if test $ac_test_CFLAGS; then
2997 CFLAGS=$ac_save_CFLAGS
2998elif test $ac_cv_prog_cc_g = yes; then
2999 if test "$GCC" = yes; then
3005 if test "$GCC" = yes; then
3012if test x$ac_prog_cc_stdc = xno
3014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3015printf %s "checking for $CC option to enable C11 features... " >&6; }
3016if test ${ac_cv_prog_cc_c11+y}
3018 printf %s "(cached) " >&6
3020 ac_cv_prog_cc_c11=no
3022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023/* end confdefs.h. */
3024$ac_c_conftest_c11_program
3026for ac_arg in '' -std=gnu11
3028 CC="$ac_save_CC $ac_arg"
3029 if ac_fn_c_try_compile "$LINENO"
3031 ac_cv_prog_cc_c11=$ac_arg
3033rm -f core conftest.err conftest.$ac_objext conftest.beam
3034 test "x$ac_cv_prog_cc_c11" != "xno" && break
3036rm -f conftest.$ac_ext
3040if test "x$ac_cv_prog_cc_c11" = xno
3042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3043printf "%s\n" "unsupported" >&6; }
3045 if test "x$ac_cv_prog_cc_c11" = x
3047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3048printf "%s\n" "none needed" >&6; }
3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3051printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3052 CC="$CC $ac_cv_prog_cc_c11"
3054 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3058if test x$ac_prog_cc_stdc = xno
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3061printf %s "checking for $CC option to enable C99 features... " >&6; }
3062if test ${ac_cv_prog_cc_c99+y}
3064 printf %s "(cached) " >&6
3066 ac_cv_prog_cc_c99=no
3068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069/* end confdefs.h. */
3070$ac_c_conftest_c99_program
3072for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3074 CC="$ac_save_CC $ac_arg"
3075 if ac_fn_c_try_compile "$LINENO"
3077 ac_cv_prog_cc_c99=$ac_arg
3079rm -f core conftest.err conftest.$ac_objext conftest.beam
3080 test "x$ac_cv_prog_cc_c99" != "xno" && break
3082rm -f conftest.$ac_ext
3086if test "x$ac_cv_prog_cc_c99" = xno
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3089printf "%s\n" "unsupported" >&6; }
3091 if test "x$ac_cv_prog_cc_c99" = x
3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3094printf "%s\n" "none needed" >&6; }
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3097printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3098 CC="$CC $ac_cv_prog_cc_c99"
3100 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3104if test x$ac_prog_cc_stdc = xno
3106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3107printf %s "checking for $CC option to enable C89 features... " >&6; }
3108if test ${ac_cv_prog_cc_c89+y}
3110 printf %s "(cached) " >&6
3112 ac_cv_prog_cc_c89=no
3114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115/* end confdefs.h. */
3116$ac_c_conftest_c89_program
3118for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3120 CC="$ac_save_CC $ac_arg"
3121 if ac_fn_c_try_compile "$LINENO"
3123 ac_cv_prog_cc_c89=$ac_arg
3125rm -f core conftest.err conftest.$ac_objext conftest.beam
3126 test "x$ac_cv_prog_cc_c89" != "xno" && break
3128rm -f conftest.$ac_ext
3132if test "x$ac_cv_prog_cc_c89" = xno
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3135printf "%s\n" "unsupported" >&6; }
3137 if test "x$ac_cv_prog_cc_c89" = x
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3140printf "%s\n" "none needed" >&6; }
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3143printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3144 CC="$CC $ac_cv_prog_cc_c89"
3146 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3152ac_cpp='$CPP $CPPFLAGS'
3153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3155ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
3159printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
3160if test ${ac_cv_c_undeclared_builtin_options+y}
3162 printf %s "(cached) " >&6
3164 ac_save_CFLAGS=$CFLAGS
3165 ac_cv_c_undeclared_builtin_options='cannot detect'
3166 for ac_arg in '' -fno-builtin; do
3167 CFLAGS="$ac_save_CFLAGS $ac_arg"
3168 # This test program should *not* compile successfully.
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170/* end confdefs.h. */
3180if ac_fn_c_try_compile "$LINENO"
3184 # This test program should compile successfully.
3185 # No library function is consistently available on
3186 # freestanding implementations, so test against a dummy
3187 # declaration. Include always-available headers on the
3188 # off chance that they somehow elicit warnings.
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190/* end confdefs.h. */
3195extern void ac_decl (int, char *);
3200(void) ac_decl (0, (char *) 0);
3207if ac_fn_c_try_compile "$LINENO"
3209 if test x"$ac_arg" = x
3211 ac_cv_c_undeclared_builtin_options='none needed'
3213 ac_cv_c_undeclared_builtin_options=$ac_arg
3217rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3219rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3221 CFLAGS=$ac_save_CFLAGS
3224{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
3225printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
3226 case $ac_cv_c_undeclared_builtin_options in #(
3228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3230as_fn_error $? "cannot make $CC report undeclared builtins
3231See \`config.log' for more details" "$LINENO" 5; } ;; #(
3233 ac_c_undeclared_builtin_options='' ;; #(
3235 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
3238ac_fn_check_decl "$LINENO" "IN_MASK_CREATE" "ac_cv_have_decl_IN_MASK_CREATE" "#include <sys/inotify.h>
3239" "$ac_c_undeclared_builtin_options" "CFLAGS"
3240if test "x$ac_cv_have_decl_IN_MASK_CREATE" = xyes
3246printf "%s\n" "#define HAVE_DECL_IN_MASK_CREATE $ac_have_decl" >>confdefs.h
3248ac_fn_check_decl "$LINENO" "IN_EXCL_UNLINK" "ac_cv_have_decl_IN_EXCL_UNLINK" "#include <sys/inotify.h>
3249" "$ac_c_undeclared_builtin_options" "CFLAGS"
3250if test "x$ac_cv_have_decl_IN_EXCL_UNLINK" = xyes
3256printf "%s\n" "#define HAVE_DECL_IN_EXCL_UNLINK $ac_have_decl" >>confdefs.h
3259# XXX Do this only for macOS
3260ac_fn_check_decl "$LINENO" "kFSEventStreamCreateFlagFileEvents" "ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" "#include <CoreServices/CoreServices.h>
3261" "$ac_c_undeclared_builtin_options" "CFLAGS"
3262if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" = xyes
3268printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS $ac_have_decl" >>confdefs.h
3270ac_fn_check_decl "$LINENO" "kFSEventStreamCreateFlagFullHistory" "ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" "#include <CoreServices/CoreServices.h>
3271" "$ac_c_undeclared_builtin_options" "CFLAGS"
3272if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" = xyes
3278printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFULLHISTORY $ac_have_decl" >>confdefs.h
3280ac_fn_check_decl "$LINENO" "kFSEventStreamEventFlagItemCloned" "ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" "#include <CoreServices/CoreServices.h>
3281" "$ac_c_undeclared_builtin_options" "CFLAGS"
3282if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" = xyes
3288printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMCLONED $ac_have_decl" >>confdefs.h
3290ac_fn_check_decl "$LINENO" "kFSEventStreamEventFlagItemIsHardlink" "ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" "#include <CoreServices/CoreServices.h>
3291" "$ac_c_undeclared_builtin_options" "CFLAGS"
3292if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" = xyes
3298printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMISHARDLINK $ac_have_decl" >>confdefs.h
3302ac_config_headers="$ac_config_headers src/config.h"
3304cat >confcache <<\_ACEOF
3305# This file is a shell script that caches the results of configure
3306# tests run on this system so they can be shared between configure
3307# scripts and configure runs, see configure's option --config-cache.
3308# It is not useful on other systems. If it contains results you don't
3309# want to keep, you may remove or edit it.
3311# config.status only pays attention to the cache file if you give it
3312# the --recheck option to rerun configure.
3314# `ac_cv_env_foo' variables (set or unset) will be overridden when
3315# loading this file, other *unset* `ac_cv_foo' will be assigned the
3320# The following way of writing the cache mishandles newlines in values,
3321# but we know of no workaround that is simple, portable, and efficient.
3322# So, we kill variables containing newlines.
3323# Ultrix sh set writes to stderr and can't be redirected directly,
3324# and sets the high bit in the cache file unless we assign to the vars.
3326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3327 eval ac_val=\$$ac_var
3331 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3332printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3335 _ | IFS | as_nl) ;; #(
3336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3337 *) { eval $ac_var=; unset $ac_var;} ;;
3343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3344 *${as_nl}ac_space=\ *)
3345 # `set' does not quote correctly, so add quotes: double-quote
3346 # substitution turns \\\\ into \\, and sed turns \\ into \.
3349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3352 # `set' quotes correctly as required by POSIX, so do not add quotes.
3353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3362 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3366if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3367 if test -w "$cache_file"; then
3368 if test "x$cache_file" != "x/dev/null"; then
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3370printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3371 if test ! -f "$cache_file" || test -h "$cache_file"; then
3372 cat confcache >"$cache_file"
3374 case $cache_file in #(
3376 mv -f confcache "$cache_file"$$ &&
3377 mv -f "$cache_file"$$ "$cache_file" ;; #(
3379 mv -f confcache "$cache_file" ;;
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3385printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3390test "x$prefix" = xNONE && prefix=$ac_default_prefix
3391# Let make expand exec_prefix.
3392test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3399for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3400 # 1. Remove the extension, and $U if already installed.
3401 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3402 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3403 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3404 # will be set to the directory where LIBOBJS objects are built.
3405 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3406 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3410LTLIBOBJS=$ac_ltlibobjs
3414: "${CONFIG_STATUS=./config.status}"
3416ac_clean_files_save=$ac_clean_files
3417ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3418{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3419printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3421cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3423# Generated by $as_me.
3424# Run this file to recreate the current configuration.
3425# Compiler output produced by configure, useful for debugging
3426# configure, is in config.log if it exists.
3432SHELL=\${CONFIG_SHELL-$SHELL}
3435cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3436## -------------------- ##
3437## M4sh Initialization. ##
3438## -------------------- ##
3440# Be more Bourne compatible
3441DUALCASE=1; export DUALCASE # for MKS sh
3443if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3447 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3448 # is contrary to our usage. Disable this feature.
3449 alias -g '${1+"$@"}'='"$@"'
3450 setopt NO_GLOB_SUBST
3452 case `(set -o) 2>/dev/null` in #(
3462# Reset variables that may have inherited troublesome values from
3465# IFS needs to be set, to space, tab, and newline, in precisely that order.
3466# (If _AS_PATH_WALK were called with IFS unset, it would have the
3467# side effect of setting IFS to empty, thus disabling word splitting.)
3468# Quoting is to prevent editors from complaining about space-tab.
3478# Ensure predictable behavior from utilities with locale-dependent output.
3484# We cannot yet rely on "unset" to work, but we need these variables
3485# to be unset--not just set to an empty or harmless value--now, to
3486# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3487# also avoids known problems related to "unset" and subshell syntax
3488# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3489for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3490do eval test \${$as_var+y} \
3491 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3494# Ensure that fds 0, 1, and 2 are open.
3495if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3496if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3497if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3499# The user is always right.
3500if ${PATH_SEPARATOR+false} :; then
3502 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3503 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3509# Find who we are. Look in the path if we contain no directory separator.
3512 *[\\/]* ) as_myself=$0 ;;
3513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 case $as_dir in #(((
3520 *) as_dir=$as_dir/ ;;
3522 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3528# We did not find ourselves, most probably we were run as `sh COMMAND'
3529# in which case we are not to be found in the path.
3530if test "x$as_myself" = x; then
3533if test ! -f "$as_myself"; then
3534 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3540# as_fn_error STATUS ERROR [LINENO LOG_FD]
3541# ----------------------------------------
3542# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3543# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3544# script with STATUS, using 1 if that was 0.
3547 as_status=$1; test $as_status -eq 0 && as_status=1
3549 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3552 printf "%s\n" "$as_me: error: $2" >&2
3553 as_fn_exit $as_status
3558# as_fn_set_status STATUS
3559# -----------------------
3560# Set $? to STATUS, without forking.
3568# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3578# Portably unset VAR.
3581 { eval $1=; unset $1;}
3585# as_fn_append VAR VALUE
3586# ----------------------
3587# Append the text in VALUE to the end of the definition contained in VAR. Take
3588# advantage of any shell optimizations that allow amortized linear growth over
3589# repeated appends, instead of the typical quadratic growth present in naive
3591if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3593 eval 'as_fn_append ()
3606# Perform arithmetic evaluation on the ARGs, and store the result in the
3607# global $as_val. Take advantage of shells that can avoid forks. The arguments
3608# must be portable across $(()) and expr.
3609if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3611 eval 'as_fn_arith ()
3618 as_val=`expr "$@" || test $? -eq 1`
3623if expr a : '\(a\)' >/dev/null 2>&1 &&
3624 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3630if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3631 as_basename=basename
3636if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3642as_me=`$as_basename -- "$0" ||
3643$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3644 X"$0" : 'X\(//\)$' \| \
3645 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3646printf "%s\n" X/"$0" |
3647 sed '/^.*\/\([^/][^/]*\)\/*$/{
3661# Avoid depending upon Character Ranges.
3662as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3663as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3664as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3665as_cr_digits='0123456789'
3666as_cr_alnum=$as_cr_Letters$as_cr_digits
3669# Determine whether it's possible to make 'echo' print without a newline.
3670# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3671# for compatibility with existing Makefiles.
3672ECHO_C= ECHO_N= ECHO_T=
3673case `echo -n x` in #(((((
3675 case `echo 'xy\c'` in
3676 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3678 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3685# For backward compatibility with old third-party macros, we provide
3686# the shell variables $as_echo and $as_echo_n. New code should use
3687# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3688as_echo='printf %s\n'
3689as_echo_n='printf %s'
3691rm -f conf$$ conf$$.exe conf$$.file
3692if test -d conf$$.dir; then
3693 rm -f conf$$.dir/conf$$.file
3696 mkdir conf$$.dir 2>/dev/null
3698if (echo >conf$$.file) 2>/dev/null; then
3699 if ln -s conf$$.file conf$$ 2>/dev/null; then
3701 # ... but there are two gotchas:
3702 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3703 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3704 # In both cases, we have to default to `cp -pR'.
3705 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3707 elif ln conf$$.file conf$$ 2>/dev/null; then
3715rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3716rmdir conf$$.dir 2>/dev/null
3721# Create "$as_dir" as a directory, including parents if necessary.
3726 -*) as_dir=./$as_dir;;
3728 test -d "$as_dir" || eval $as_mkdir_p || {
3732 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3733 *) as_qdir=$as_dir;;
3735 as_dirs="'$as_qdir' $as_dirs"
3736 as_dir=`$as_dirname -- "$as_dir" ||
3737$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3738 X"$as_dir" : 'X\(//\)[^/]' \| \
3739 X"$as_dir" : 'X\(//\)$' \| \
3740 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3741printf "%s\n" X"$as_dir" |
3742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3759 test -d "$as_dir" && break
3761 test -z "$as_dirs" || eval "mkdir $as_dirs"
3762 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3766if mkdir -p . 2>/dev/null; then
3767 as_mkdir_p='mkdir -p "$as_dir"'
3769 test -d ./-p && rmdir ./-p
3774# as_fn_executable_p FILE
3775# -----------------------
3776# Test if FILE is an executable regular file.
3777as_fn_executable_p ()
3779 test -f "$1" && test -x "$1"
3780} # as_fn_executable_p
3782as_executable_p=as_fn_executable_p
3784# Sed expression to map a string onto a valid CPP name.
3785as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3787# Sed expression to map a string onto a valid variable name.
3788as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3792## ----------------------------------- ##
3793## Main body of $CONFIG_STATUS script. ##
3794## ----------------------------------- ##
3796test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3799# Save the log message, to keep $0 and so on meaningful, and to
3800# report actual input values of CONFIG_FILES etc. instead of their
3801# values after options handling.
3803This file was extended by streamly $as_me 0.10.0, which was
3804generated by GNU Autoconf 2.71. Invocation command line was
3806 CONFIG_FILES = $CONFIG_FILES
3807 CONFIG_HEADERS = $CONFIG_HEADERS
3808 CONFIG_LINKS = $CONFIG_LINKS
3809 CONFIG_COMMANDS = $CONFIG_COMMANDS
3812on `(hostname || uname -n) 2>/dev/null | sed 1q`
3818case $ac_config_headers in *"
3819"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3823cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3824# Files that config.status was made for.
3825config_headers="$ac_config_headers"
3829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3831\`$as_me' instantiates files and other configuration actions
3832from templates according to the current configuration. Unless the files
3833and actions are specified as TAGs, all are instantiated by default.
3835Usage: $0 [OPTION]... [TAG]...
3837 -h, --help print this help, then exit
3838 -V, --version print version number and configuration settings, then exit
3839 --config print configuration, then exit
3840 -q, --quiet, --silent
3841 do not print progress messages
3842 -d, --debug don't remove temporary files
3843 --recheck update $as_me by reconfiguring in the same conditions
3844 --header=FILE[:TEMPLATE]
3845 instantiate the configuration header FILE
3847Configuration headers:
3850Report bugs to <streamly@composewell.com>.
3851streamly home page: <https://streamly.composewell.com>."
3854ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3855ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3857ac_cs_config='$ac_cs_config_escaped'
3859streamly config.status 0.10.0
3860configured by $0, generated by GNU Autoconf 2.71,
3861 with options \\"\$ac_cs_config\\"
3863Copyright (C) 2021 Free Software Foundation, Inc.
3864This config.status script is free software; the Free Software Foundation
3865gives unlimited permission to copy, distribute and modify it."
3869test -n "\$AWK" || AWK=awk
3872cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3873# The default lists apply if the user does not specify any file.
3879 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3880 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3884 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3896 # Handling of the options.
3897 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3899 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3900 printf "%s\n" "$ac_cs_version"; exit ;;
3901 --config | --confi | --conf | --con | --co | --c )
3902 printf "%s\n" "$ac_cs_config"; exit ;;
3903 --debug | --debu | --deb | --de | --d | -d )
3905 --header | --heade | --head | --hea )
3908 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3910 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3911 ac_need_defaults=false;;
3913 # Conflict between --help and --header
3914 as_fn_error $? "ambiguous option: \`$1'
3915Try \`$0 --help' for more information.";;
3916 --help | --hel | -h )
3917 printf "%s\n" "$ac_cs_usage"; exit ;;
3918 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3919 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3923 -*) as_fn_error $? "unrecognized option: \`$1'
3924Try \`$0 --help' for more information." ;;
3926 *) as_fn_append ac_config_targets " $1"
3927 ac_need_defaults=false ;;
3933ac_configure_extra_args=
3935if $ac_cs_silent; then
3937 ac_configure_extra_args="$ac_configure_extra_args --silent"
3941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3942if \$ac_cs_recheck; then
3943 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3945 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3946 CONFIG_SHELL='$SHELL'
3952cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3956 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3957## Running $as_me. ##
3959 printf "%s\n" "$ac_log"
3963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3966cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3968# Handling of arguments.
3969for ac_config_target in $ac_config_targets
3971 case $ac_config_target in
3972 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
3974 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3979# If the user did not use the arguments to specify the items to instantiate,
3980# then the envvar interface is used. Set only those that are not.
3981# We use the long form for the default assignment because of an extremely
3982# bizarre bug on SunOS 4.1.3.
3983if $ac_need_defaults; then
3984 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3987# Have a temporary directory for convenience. Make it in the build tree
3988# simply because there is no reason against having it here, and in addition,
3989# creating and moving files from /tmp can sometimes cause problems.
3990# Hook for its removal unless debugging.
3991# Note that there is a small window in which the directory will not be cleaned:
3992# after its creation but before its name has been assigned to `$tmp'.
3996 trap 'exit_status=$?
3998 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4000 trap 'as_fn_exit 1' 1 2 13 15
4002# Create a (secure) tmp directory for tmp files.
4005 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4009 tmp=./conf$$-$RANDOM
4010 (umask 077 && mkdir "$tmp")
4011} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4014# Set up the scripts for CONFIG_HEADERS section.
4015# No need to generate them if there are no CONFIG_HEADERS.
4016# This happens for instance with `./config.status Makefile'.
4017if test -n "$CONFIG_HEADERS"; then
4018cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4022# Transform confdefs.h into an awk script `defines.awk', embedded as
4023# here-document in config.status, that substitutes the proper values into
4024# config.h.in to produce config.h.
4026# Create a delimiter string that does not exist in confdefs.h, to ease
4027# handling of long lines.
4029for ac_last_try in false false :; do
4030 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4031 if test -z "$ac_tt"; then
4033 elif $ac_last_try; then
4034 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4040# For the awk script, D is an array of macro values keyed by name,
4041# likewise P contains macro parameters if any. Preserve backslash
4044ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4046s/.\{148\}/&'"$ac_delim"'/g
4049s/^[ ]*#[ ]*define[ ][ ]*/ /
4056s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4058s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4062s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4063D["\1"]=" \3\\\\\\n"\\/p
4065s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4070s/.\{148\}/&'"$ac_delim"'/g
4075s/["\\]/\\&/g; s/^/"/; s/$/"/p
4078s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4080' <confdefs.h | sed '
4082"/g' >>$CONFIG_STATUS || ac_write_fail=1
4084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4085 for (key in D) D_is_set[key] = 1
4088/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4090 split(line, arg, " ")
4091 if (arg[1] == "#") {
4095 defundef = substr(arg[1], 2)
4098 split(mac1, mac2, "(") #)
4100 prefix = substr(line, 1, index(line, defundef) - 1)
4101 if (D_is_set[macro]) {
4102 # Preserve the white space surrounding the "#".
4103 print prefix "define", macro P[macro] D[macro]
4106 # Replace #undef with comments. This is necessary, for example,
4107 # in the case of _POSIX_SOURCE, which is predefined and required
4108 # on some systems where configure will not decide to define it.
4109 if (defundef == "undef") {
4110 print "/*", prefix defundef, macro, "*/"
4118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4119 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4120fi # test -n "$CONFIG_HEADERS"
4123eval set X " :H $CONFIG_HEADERS "
4128 :[FHLC]) ac_mode=$ac_tag; continue;;
4130 case $ac_mode$ac_tag in
4132 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4133 :[FH]-) ac_tag=-:-;;
4134 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4151 -) ac_f="$ac_tmp/stdin";;
4152 *) # Look for the file first in the build tree, then in the source tree
4153 # (if the path is not absolute). The absolute path cannot be DOS-style,
4154 # because $ac_f cannot contain `:'.
4158 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4160 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4162 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4163 as_fn_append ac_file_inputs " '$ac_f'"
4166 # Let's still pretend it is `configure' which instantiates (i.e., don't
4167 # use $as_me), people would be surprised to read:
4168 # /* config.h. Generated by config.status. */
4169 configure_input='Generated from '`
4170 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4172 if test x"$ac_file" != x-; then
4173 configure_input="$ac_file. $configure_input"
4174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4175printf "%s\n" "$as_me: creating $ac_file" >&6;}
4177 # Neutralize special characters interpreted by sed in replacement strings.
4178 case $configure_input in #(
4179 *\&* | *\|* | *\\* )
4180 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4181 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4182 *) ac_sed_conf_input=$configure_input;;
4186 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4192 ac_dir=`$as_dirname -- "$ac_file" ||
4193$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4194 X"$ac_file" : 'X\(//\)[^/]' \| \
4195 X"$ac_file" : 'X\(//\)$' \| \
4196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4197printf "%s\n" X"$ac_file" |
4198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4215 as_dir="$ac_dir"; as_fn_mkdir_p
4219.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4221 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4222 # A ".." for each directory in $ac_dir_suffix.
4223 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4224 case $ac_top_builddir_sub in
4225 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4226 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4229ac_abs_top_builddir=$ac_pwd
4230ac_abs_builddir=$ac_pwd$ac_dir_suffix
4231# for backward compatibility:
4232ac_top_builddir=$ac_top_build_prefix
4235 .) # We are building in place.
4237 ac_top_srcdir=$ac_top_builddir_sub
4238 ac_abs_top_srcdir=$ac_pwd ;;
4239 [\\/]* | ?:[\\/]* ) # Absolute name.
4240 ac_srcdir=$srcdir$ac_dir_suffix;
4241 ac_top_srcdir=$srcdir
4242 ac_abs_top_srcdir=$srcdir ;;
4244 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4245 ac_top_srcdir=$ac_top_build_prefix$srcdir
4246 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4248ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4257 if test x"$ac_file" != x-; then
4259 printf "%s\n" "/* $configure_input */" >&1 \
4260 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4261 } >"$ac_tmp/config.h" \
4262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4263 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4265printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4268 mv "$ac_tmp/config.h" "$ac_file" \
4269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4272 printf "%s\n" "/* $configure_input */" >&1 \
4273 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4274 || as_fn_error $? "could not create -" "$LINENO" 5
4286ac_clean_files=$ac_clean_files_save
4288test $ac_write_fail = 0 ||
4289 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4292# configure is writing to config.log, and then calls config.status.
4293# config.status does its own redirection, appending to config.log.
4294# Unfortunately, on DOS this fails, as config.log is still kept open
4295# by configure, so config.status won't be able to write to it; its
4296# output is simply discarded. So we exec the FD to /dev/null,
4297# effectively closing config.log, so it can be properly (re)opened and
4298# appended to by config.status. When coming back to configure, we
4299# need to make the FD available again.
4300if test "$no_create" != yes; then
4302 ac_config_status_args=
4303 test "$silent" = yes &&
4304 ac_config_status_args="$ac_config_status_args --quiet"
4306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4309 # would make configure fail if this is the last instruction.
4310 $ac_cs_success || as_fn_exit 1
4312if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4314printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list