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