2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for streamly 0.6.0.
5# Report bugs to <streamly@composewell.com>.
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
91# Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$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;}
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317# Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
368 test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
543if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551as_executable_p=as_fn_executable_p
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560test -n "$DJDIR" || exec 7<&0 </dev/null
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571ac_default_prefix=/usr/local
573ac_config_libobj_dir=.
580# Identity of this package.
581PACKAGE_NAME='streamly'
582PACKAGE_TARNAME='streamly'
583PACKAGE_VERSION='0.6.0'
584PACKAGE_STRING='streamly 0.6.0'
585PACKAGE_BUGREPORT='streamly@composewell.com'
588# Factoring default headers for most tests.
589ac_includes_default="\
591#ifdef HAVE_SYS_TYPES_H
592# include <sys/types.h>
594#ifdef HAVE_SYS_STAT_H
595# include <sys/stat.h>
606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
624ac_subst_vars='LTLIBOBJS
663program_transform_name
676enable_option_checking
679 ac_precious_vars='build_alias
690# Initialize some variables set by options.
695# The variables have the same names as the options, with
696# dashes changed to underlines.
704program_transform_name=s,x,x,
712# Installation directory options.
713# These are left unexpanded so users can "make install exec_prefix=/foo"
714# and all the variables that are supposed to be based on exec_prefix
715# by default will actually change.
716# Use braces instead of parens because sh, perl, etc. also accept them.
717# (The list follows the same order as the GNU Coding Standards.)
718bindir='${exec_prefix}/bin'
719sbindir='${exec_prefix}/sbin'
720libexecdir='${exec_prefix}/libexec'
721datarootdir='${prefix}/share'
722datadir='${datarootdir}'
723sysconfdir='${prefix}/etc'
724sharedstatedir='${prefix}/com'
725localstatedir='${prefix}/var'
726includedir='${prefix}/include'
727oldincludedir='/usr/include'
728docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729infodir='${datarootdir}/info'
734libdir='${exec_prefix}/lib'
735localedir='${datarootdir}/locale'
736mandir='${datarootdir}/man'
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\$ac_option
750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
807 eval enable_$ac_useropt=no ;;
809 -docdir | --docdir | --docdi | --doc | --do)
811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819 -enable-* | --enable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
833 eval enable_$ac_useropt=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
848 -help | --help | --hel | --he | -h)
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908 # Obsolete; use --without-fp.
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 -psdir | --psdir | --psdi | --psd | --ps)
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
997 -site=* | --site=* | --sit=*)
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1037 eval with_$ac_useropt=\$ac_optarg ;;
1039 -without-* | --without-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval with_$ac_useropt=no ;;
1056 # Obsolete; use --with-x.
1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060 | --x-incl | --x-inc | --x-in | --x-i)
1061 ac_prev=x_includes ;;
1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064 x_includes=$ac_optarg ;;
1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;;
1073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074Try \`$0 --help' for more information"
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1084 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;;
1088 # FIXME: should be removed in autoconf 3.0.
1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1098if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $? "missing argument to $ac_option"
1103if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111# Check all directory arguments for consistency.
1112for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1124 # Be sure to have absolute directory names.
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1132# There might be people who depend on the old broken behavior: `$host'
1133# used to hold the argument of --host etc.
1134# FIXME: To remove some day.
1139# FIXME: To remove some day.
1140if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1149test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151test "$silent" = yes && exec 6>/dev/null
1154ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155ac_ls_di=`ls -di .` &&
1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $? "working directory cannot be determined"
1158test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $? "pwd does not report name of working directory"
1162# Find the source files, if location was not specified.
1163if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171$as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1194 ac_srcdir_defaulted=no
1196if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204# When building in place, set srcdir=.
1205if test "$ac_abs_confdir" = "$ac_pwd"; then
1208# Remove unnecessary trailing slashes from srcdir.
1209# Double slashes in file names in object file debugging info
1210# mess up M-x gdb in Emacs.
1212*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222# Report the --help message.
1224if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1228\`configure' configures streamly 0.6.0 to adapt to many kinds of systems.
1230Usage: $0 [OPTION]... [VAR=VALUE]...
1232To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233VAR=VALUE. See below for descriptions of some of the useful variables.
1235Defaults for the options are specified in brackets.
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254By default, \`make install' will install all the files in
1255\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257for instance \`--prefix=\$HOME'.
1259For better control, use the options below.
1261Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/streamly]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1287if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of streamly 0.6.0:";;
1294 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1295 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1308Use these variables to override the choices made by `configure' or to help
1309it to find libraries and programs with nonstandard names/locations.
1311Report bugs to <streamly@composewell.com>.
1316if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" ||
1320 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335ac_abs_top_builddir=$ac_pwd
1336ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337# for backward compatibility:
1338ac_top_builddir=$ac_top_build_prefix
1341 .) # We are building in place.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for guested configure.
1358 if test -f "$ac_srcdir/configure.gnu"; then
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361 elif test -f "$ac_srcdir/configure"; then
1363 $SHELL "$ac_srcdir/configure" --help=recursive
1365 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 cd "$ac_pwd" || { ac_status=$?; break; }
1371test -n "$ac_init_help" && exit $ac_status
1372if $ac_init_version; then
1374streamly configure 0.6.0
1375generated by GNU Autoconf 2.69
1377Copyright (C) 2012 Free Software Foundation, Inc.
1378This configure script is free software; the Free Software Foundation
1379gives unlimited permission to copy, distribute and modify it.
1384## ------------------------ ##
1385## Autoconf initialization. ##
1386## ------------------------ ##
1388# ac_fn_c_try_compile LINENO
1389# --------------------------
1390# Try to compile conftest.$ac_ext, and return whether this succeeded.
1391ac_fn_c_try_compile ()
1393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1394 rm -f conftest.$ac_objext
1395 if { { ac_try="$ac_compile"
1397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1398 *) ac_try_echo=$ac_try;;
1400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1401$as_echo "$ac_try_echo"; } >&5
1402 (eval "$ac_compile") 2>conftest.err
1404 if test -s conftest.err; then
1405 grep -v '^ *+' conftest.err >conftest.er1
1406 cat conftest.er1 >&5
1407 mv -f conftest.er1 conftest.err
1409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1410 test $ac_status = 0; } && {
1411 test -z "$ac_c_werror_flag" ||
1412 test ! -s conftest.err
1413 } && test -s conftest.$ac_objext; then :
1416 $as_echo "$as_me: failed program was:" >&5
1417sed 's/^/| /' conftest.$ac_ext >&5
1421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1422 as_fn_set_status $ac_retval
1424} # ac_fn_c_try_compile
1426# ac_fn_c_try_cpp LINENO
1427# ----------------------
1428# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1432 if { { ac_try="$ac_cpp conftest.$ac_ext"
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438$as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } > conftest.i && {
1448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1453 $as_echo "$as_me: failed program was:" >&5
1454sed 's/^/| /' conftest.$ac_ext >&5
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1463# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1464# -------------------------------------------------------
1465# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1466# the include files in INCLUDES and setting the cache variable VAR
1468ac_fn_c_check_header_mongrel ()
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 if eval \${$3+:} false; then :
1472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1473$as_echo_n "checking for $2... " >&6; }
1474if eval \${$3+:} false; then :
1475 $as_echo_n "(cached) " >&6
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479$as_echo "$ac_res" >&6; }
1481 # Is the header compilable?
1482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1483$as_echo_n "checking $2 usability... " >&6; }
1484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1485/* end confdefs.h. */
1489if ac_fn_c_try_compile "$LINENO"; then :
1490 ac_header_compiler=yes
1492 ac_header_compiler=no
1494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1496$as_echo "$ac_header_compiler" >&6; }
1498# Is the header present?
1499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1500$as_echo_n "checking $2 presence... " >&6; }
1501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502/* end confdefs.h. */
1505if ac_fn_c_try_cpp "$LINENO"; then :
1506 ac_header_preproc=yes
1508 ac_header_preproc=no
1510rm -f conftest.err conftest.i conftest.$ac_ext
1511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1512$as_echo "$ac_header_preproc" >&6; }
1514# So? What about this header?
1515case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1518$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1520$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1524$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1526$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1528$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1530$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1532$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1533( $as_echo "## --------------------------------------- ##
1534## Report this to streamly@composewell.com ##
1535## --------------------------------------- ##"
1536 ) | sed "s/^/$as_me: WARNING: /" >&2
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1540$as_echo_n "checking for $2... " >&6; }
1541if eval \${$3+:} false; then :
1542 $as_echo_n "(cached) " >&6
1544 eval "$3=\$ac_header_compiler"
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548$as_echo "$ac_res" >&6; }
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552} # ac_fn_c_check_header_mongrel
1554# ac_fn_c_try_run LINENO
1555# ----------------------
1556# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1557# that executables *can* be run.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_link"
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567$as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>&5
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1572 { { case "(($ac_try" in
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577$as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_try") 2>&5
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; }; }; then :
1584 $as_echo "$as_me: program exited with status $ac_status" >&5
1585 $as_echo "$as_me: failed program was:" >&5
1586sed 's/^/| /' conftest.$ac_ext >&5
1588 ac_retval=$ac_status
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1596# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597# -------------------------------------------------------
1598# Tests whether HEADER exists and can be compiled using the include files in
1599# INCLUDES, setting the cache variable VAR accordingly.
1600ac_fn_c_check_header_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604$as_echo_n "checking for $2... " >&6; }
1605if eval \${$3+:} false; then :
1606 $as_echo_n "(cached) " >&6
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609/* end confdefs.h. */
1613if ac_fn_c_try_compile "$LINENO"; then :
1618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622$as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625} # ac_fn_c_check_header_compile
1627# ac_fn_c_try_link LINENO
1628# -----------------------
1629# Try to link conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 rm -f conftest.$ac_objext conftest$ac_exeext
1634 if { { ac_try="$ac_link"
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640$as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && {
1650 test -z "$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1652 } && test -s conftest$ac_exeext && {
1653 test "$cross_compiling" = yes ||
1654 test -x conftest$ac_exeext
1658 $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1663 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1664 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1665 # interfere with the next link command; also delete a directory that is
1666 # left behind by Apple's compiler. We do this before executing the actions.
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1673# ac_fn_c_check_func LINENO FUNC VAR
1674# ----------------------------------
1675# Tests whether FUNC exists, setting the cache variable VAR accordingly
1676ac_fn_c_check_func ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680$as_echo_n "checking for $2... " >&6; }
1681if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685/* end confdefs.h. */
1686/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1688#define $2 innocuous_$2
1690/* System header to define __stub macros and hopefully few prototypes,
1691 which can conflict with char $2 (); below.
1692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1693 <limits.h> exists even on freestanding compilers. */
1703/* Override any GCC internal prototype to avoid an error.
1704 Use char because int might match the return type of a GCC
1705 builtin and then its argument prototype would still apply. */
1710/* The GNU C library defines this for functions which it implements
1711 to always fail with ENOSYS. Some functions are actually named
1712 something starting with __ and the normal name is an alias. */
1713#if defined __stub_$2 || defined __stub___$2
1725if ac_fn_c_try_link "$LINENO"; then :
1730rm -f core conftest.err conftest.$ac_objext \
1731 conftest$ac_exeext conftest.$ac_ext
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735$as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738} # ac_fn_c_check_func
1739cat >config.log <<_ACEOF
1740This file contains any messages produced by compilers while
1741running configure, to aid debugging if configure makes a mistake.
1743It was created by streamly $as_me 0.6.0, which was
1744generated by GNU Autoconf 2.69. Invocation command line was
1756hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1757uname -m = `(uname -m) 2>/dev/null || echo unknown`
1758uname -r = `(uname -r) 2>/dev/null || echo unknown`
1759uname -s = `(uname -s) 2>/dev/null || echo unknown`
1760uname -v = `(uname -v) 2>/dev/null || echo unknown`
1762/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1763/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1765/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1766/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1767/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1768/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1769/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1770/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1771/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 $as_echo "PATH: $as_dir"
1796# Keep a trace of the command line.
1797# Strip out --no-create and --no-recursion so they do not pile up.
1798# Strip out --silent because we don't want to record it for future runs.
1799# Also quote any args containing shell meta-characters.
1800# Make two passes to allow for proper duplicate-argument suppression.
1804ac_must_keep_next=false
1810 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1812 | -silent | --silent | --silen | --sile | --sil)
1815 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1818 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1820 as_fn_append ac_configure_args1 " '$ac_arg'"
1821 if test $ac_must_keep_next = true; then
1822 ac_must_keep_next=false # Got value, back to normal.
1825 *=* | --config-cache | -C | -disable-* | --disable-* \
1826 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1827 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1828 | -with-* | --with-* | -without-* | --without-* | --x)
1829 case "$ac_configure_args0 " in
1830 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1833 -* ) ac_must_keep_next=true ;;
1836 as_fn_append ac_configure_args " '$ac_arg'"
1841{ ac_configure_args0=; unset ac_configure_args0;}
1842{ ac_configure_args1=; unset ac_configure_args1;}
1844# When interrupted or exit'd, cleanup temporary files, and complete
1845# config.log. We remove comments because anyway the quotes in there
1846# would cause problems or look ugly.
1847# WARNING: Use '\'' to represent an apostrophe within the trap.
1848# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 # Save into config.log some information that might help in debugging.
1854 $as_echo "## ---------------- ##
1855## Cache variables. ##
1856## ---------------- ##"
1858 # The following way of writing the cache mishandles newlines in values,
1860 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1861 eval ac_val=\$$ac_var
1865 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1866$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1869 _ | IFS | as_nl) ;; #(
1870 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1871 *) { eval $ac_var=; unset $ac_var;} ;;
1876 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1877 *${as_nl}ac_space=\ *)
1879 "s/'\''/'\''\\\\'\'''\''/g;
1880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1883 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1890 $as_echo "## ----------------- ##
1891## Output variables. ##
1892## ----------------- ##"
1894 for ac_var in $ac_subst_vars
1896 eval ac_val=\$$ac_var
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900 $as_echo "$ac_var='\''$ac_val'\''"
1904 if test -n "$ac_subst_files"; then
1905 $as_echo "## ------------------- ##
1906## File substitutions. ##
1907## ------------------- ##"
1909 for ac_var in $ac_subst_files
1911 eval ac_val=\$$ac_var
1913 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915 $as_echo "$ac_var='\''$ac_val'\''"
1920 if test -s confdefs.h; then
1921 $as_echo "## ----------- ##
1928 test "$ac_signal" != 0 &&
1929 $as_echo "$as_me: caught signal $ac_signal"
1930 $as_echo "$as_me: exit $exit_status"
1932 rm -f core *.core core.conftest.* &&
1933 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1936for ac_signal in 1 2 13 15; do
1937 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1941# confdefs.h avoids OS command line length limits that DEFS can exceed.
1942rm -f -r conftest* confdefs.h
1944$as_echo "/* confdefs.h */" > confdefs.h
1946# Predefined preprocessor variables.
1948cat >>confdefs.h <<_ACEOF
1949#define PACKAGE_NAME "$PACKAGE_NAME"
1952cat >>confdefs.h <<_ACEOF
1953#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1956cat >>confdefs.h <<_ACEOF
1957#define PACKAGE_VERSION "$PACKAGE_VERSION"
1960cat >>confdefs.h <<_ACEOF
1961#define PACKAGE_STRING "$PACKAGE_STRING"
1964cat >>confdefs.h <<_ACEOF
1965#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1968cat >>confdefs.h <<_ACEOF
1969#define PACKAGE_URL "$PACKAGE_URL"
1973# Let the site file select an alternate cache file if it wants to.
1974# Prefer an explicitly selected file to automatically selected ones.
1977if test -n "$CONFIG_SITE"; then
1978 # We do not want a PATH search for config.site.
1979 case $CONFIG_SITE in #((
1980 -*) ac_site_file1=./$CONFIG_SITE;;
1981 */*) ac_site_file1=$CONFIG_SITE;;
1982 *) ac_site_file1=./$CONFIG_SITE;;
1984elif test "x$prefix" != xNONE; then
1985 ac_site_file1=$prefix/share/config.site
1986 ac_site_file2=$prefix/etc/config.site
1988 ac_site_file1=$ac_default_prefix/share/config.site
1989 ac_site_file2=$ac_default_prefix/etc/config.site
1991for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993 test "x$ac_site_file" = xNONE && continue
1994 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1996$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997 sed 's/^/| /' "$ac_site_file" >&5
1999 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001as_fn_error $? "failed to load site script $ac_site_file
2002See \`config.log' for more details" "$LINENO" 5; }
2006if test -r "$cache_file"; then
2007 # Some versions of bash will fail to source /dev/null (special files
2008 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2009 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011$as_echo "$as_me: loading cache $cache_file" >&6;}
2013 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014 *) . "./$cache_file";;
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019$as_echo "$as_me: creating cache $cache_file" >&6;}
2023# Check that the precious variables saved in the cache have kept the same
2025ac_cache_corrupted=false
2026for ac_var in $ac_precious_vars; do
2027 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2028 eval ac_new_set=\$ac_env_${ac_var}_set
2029 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2030 eval ac_new_val=\$ac_env_${ac_var}_value
2031 case $ac_old_set,$ac_new_set in
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2034$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2035 ac_cache_corrupted=: ;;
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2038$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2039 ac_cache_corrupted=: ;;
2042 if test "x$ac_old_val" != "x$ac_new_val"; then
2043 # differences in whitespace do not lead to failure.
2044 ac_old_val_w=`echo x $ac_old_val`
2045 ac_new_val_w=`echo x $ac_new_val`
2046 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2048$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2049 ac_cache_corrupted=:
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2052$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2053 eval $ac_var=\$ac_old_val
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2056$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2058$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2061 # Pass precious variables to config.status.
2062 if test "$ac_new_set" = set; then
2064 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2065 *) ac_arg=$ac_var=$ac_new_val ;;
2067 case " $ac_configure_args " in
2068 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2069 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2073if $ac_cache_corrupted; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2077$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2078 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080## -------------------- ##
2081## Main body of script. ##
2082## -------------------- ##
2085ac_cpp='$CPP $CPPFLAGS'
2086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092# To suppress "WARNING: unrecognized options: --with-compiler"
2094# Check whether --with-compiler was given.
2095if test "${with_compiler+set}" = set; then :
2096 withval=$with_compiler;
2100# Check headers and functions required
2102ac_cpp='$CPP $CPPFLAGS'
2103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106if test -n "$ac_tool_prefix"; then
2107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2108set dummy ${ac_tool_prefix}gcc; ac_word=$2
2109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110$as_echo_n "checking for $ac_word... " >&6; }
2111if ${ac_cv_prog_CC+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135if test -n "$CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137$as_echo "$CC" >&6; }
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145if test -z "$ac_cv_prog_CC"; then
2147 # Extract the first word of "gcc", so it can be a program name with args.
2148set dummy gcc; ac_word=$2
2149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2150$as_echo_n "checking for $ac_word... " >&6; }
2151if ${ac_cv_prog_ac_ct_CC+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 if test -n "$ac_ct_CC"; then
2155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2164 ac_cv_prog_ac_ct_CC="gcc"
2165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2174ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175if test -n "$ac_ct_CC"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2177$as_echo "$ac_ct_CC" >&6; }
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2183 if test "x$ac_ct_CC" = x; then
2186 case $cross_compiling:$ac_tool_warned in
2188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2190ac_tool_warned=yes ;;
2198if test -z "$CC"; then
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2201set dummy ${ac_tool_prefix}cc; ac_word=$2
2202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2203$as_echo_n "checking for $ac_word... " >&6; }
2204if ${ac_cv_prog_CC+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_CC="${ac_tool_prefix}cc"
2218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2228if test -n "$CC"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2230$as_echo "$CC" >&6; }
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239if test -z "$CC"; then
2240 # Extract the first word of "cc", so it can be a program name with args.
2241set dummy cc; ac_word=$2
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243$as_echo_n "checking for $ac_word... " >&6; }
2244if ${ac_cv_prog_CC+:} false; then :
2245 $as_echo_n "(cached) " >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2259 ac_prog_rejected=yes
2263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2270if test $ac_prog_rejected = yes; then
2271 # We found a bogon in the path, so make sure we never use it.
2272 set dummy $ac_cv_prog_CC
2274 if test $# != 0; then
2275 # We chose a different compiler from the bogus one.
2276 # However, it has the same basename, so the bogon will be chosen
2277 # first if we set CC to just the basename; use the full file name.
2279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2285if test -n "$CC"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287$as_echo "$CC" >&6; }
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2295if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 for ac_prog in cl.exe
2299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2300set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302$as_echo_n "checking for $ac_word... " >&6; }
2303if ${ac_cv_prog_CC+:} false; then :
2304 $as_echo_n "(cached) " >&6
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2327if test -n "$CC"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329$as_echo "$CC" >&6; }
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2336 test -n "$CC" && break
2339if test -z "$CC"; then
2341 for ac_prog in cl.exe
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344set dummy $ac_prog; ac_word=$2
2345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2346$as_echo_n "checking for $ac_word... " >&6; }
2347if ${ac_cv_prog_ac_ct_CC+:} false; then :
2348 $as_echo_n "(cached) " >&6
2350 if test -n "$ac_ct_CC"; then
2351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_prog_ac_ct_CC="$ac_prog"
2361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2370ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371if test -n "$ac_ct_CC"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2373$as_echo "$ac_ct_CC" >&6; }
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 test -n "$ac_ct_CC" && break
2383 if test "x$ac_ct_CC" = x; then
2386 case $cross_compiling:$ac_tool_warned in
2388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2390ac_tool_warned=yes ;;
2399test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401as_fn_error $? "no acceptable C compiler found in \$PATH
2402See \`config.log' for more details" "$LINENO" 5; }
2404# Provide some information about the compiler.
2405$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2408for ac_option in --version -v -V -qversion; do
2409 { { ac_try="$ac_compiler $ac_option >&5"
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415$as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2418 if test -s conftest.err; then
2420... rest of stderr output deleted ...
2421 10q' conftest.err >conftest.er1
2422 cat conftest.er1 >&5
2424 rm -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; }
2429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430/* end confdefs.h. */
2440ac_clean_files_save=$ac_clean_files
2441ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2442# Try to create an executable without -o first, disregard a.out.
2443# It will help us diagnose broken compilers, and finding out an intuition
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2446$as_echo_n "checking whether the C compiler works... " >&6; }
2447ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2449# The possible output files:
2450ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2453for ac_file in $ac_files
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2457 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2462if { { ac_try="$ac_link_default"
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468$as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link_default") 2>&5
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; }; then :
2473 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2474# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2475# in a Makefile. We should not override ac_cv_exeext if it was cached,
2476# so that the user can short-circuit this test for compilers unknown to
2478for ac_file in $ac_files ''
2480 test -f "$ac_file" || continue
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2485 # We found the default executable, but exeext='' is most
2489 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2491 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2493 # We set ac_cv_exeext here because the later test for it is not
2494 # safe: cross compilers may not add the suffix if given an `-o'
2495 # argument, so we may need to know it at that point already.
2496 # Even if this section looks crufty: it has the advantage of
2503test "$ac_cv_exeext" = no && ac_cv_exeext=
2508if test -z "$ac_file"; then :
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511$as_echo "$as_me: failed program was:" >&5
2512sed 's/^/| /' conftest.$ac_ext >&5
2514{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516as_fn_error 77 "C compiler cannot create executables
2517See \`config.log' for more details" "$LINENO" 5; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520$as_echo "yes" >&6; }
2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2523$as_echo_n "checking for C compiler default output file name... " >&6; }
2524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2525$as_echo "$ac_file" >&6; }
2526ac_exeext=$ac_cv_exeext
2528rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2529ac_clean_files=$ac_clean_files_save
2530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2531$as_echo_n "checking for suffix of executables... " >&6; }
2532if { { ac_try="$ac_link"
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538$as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_link") 2>&5
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; then :
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545# work properly (i.e., refer to `conftest.exe'), while it won't with
2547for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2560See \`config.log' for more details" "$LINENO" 5; }
2562rm -f conftest conftest$ac_cv_exeext
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2564$as_echo "$ac_cv_exeext" >&6; }
2566rm -f conftest.$ac_ext
2569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570/* end confdefs.h. */
2575FILE *f = fopen ("conftest.out", "w");
2576 return ferror (f) || fclose (f) != 0;
2582ac_clean_files="$ac_clean_files conftest.out"
2583# Check that the compiler produces executables we can run. If not, either
2584# the compiler is broken, or we cross compile.
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2586$as_echo_n "checking whether we are cross compiling... " >&6; }
2587if test "$cross_compiling" != yes; then
2588 { { ac_try="$ac_link"
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594$as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_link") 2>&5
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; }
2599 if { ac_try='./conftest$ac_cv_exeext'
2600 { { case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605$as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_try") 2>&5
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; }; }; then
2612 if test "$cross_compiling" = maybe; then
2615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617as_fn_error $? "cannot run C compiled programs.
2618If you meant to cross compile, use \`--host'.
2619See \`config.log' for more details" "$LINENO" 5; }
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2624$as_echo "$cross_compiling" >&6; }
2626rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2627ac_clean_files=$ac_clean_files_save
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2629$as_echo_n "checking for suffix of object files... " >&6; }
2630if ${ac_cv_objext+:} false; then :
2631 $as_echo_n "(cached) " >&6
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634/* end confdefs.h. */
2644rm -f conftest.o conftest.obj
2645if { { ac_try="$ac_compile"
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651$as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_compile") 2>&5
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; }; then :
2656 for ac_file in conftest.o conftest.obj conftest.*; do
2657 test -f "$ac_file" || continue;
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2660 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2665 $as_echo "$as_me: failed program was:" >&5
2666sed 's/^/| /' conftest.$ac_ext >&5
2668{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670as_fn_error $? "cannot compute suffix of object files: cannot compile
2671See \`config.log' for more details" "$LINENO" 5; }
2673rm -f conftest.$ac_cv_objext conftest.$ac_ext
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2676$as_echo "$ac_cv_objext" >&6; }
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2680$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2681if ${ac_cv_c_compiler_gnu+:} false; then :
2682 $as_echo_n "(cached) " >&6
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685/* end confdefs.h. */
2698if ac_fn_c_try_compile "$LINENO"; then :
2703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704ac_cv_c_compiler_gnu=$ac_compiler_gnu
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2708$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2709if test $ac_compiler_gnu = yes; then
2714ac_test_CFLAGS=${CFLAGS+set}
2715ac_save_CFLAGS=$CFLAGS
2716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2717$as_echo_n "checking whether $CC accepts -g... " >&6; }
2718if ${ac_cv_prog_cc_g+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 ac_save_c_werror_flag=$ac_c_werror_flag
2722 ac_c_werror_flag=yes
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726/* end confdefs.h. */
2736if ac_fn_c_try_compile "$LINENO"; then :
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741/* end confdefs.h. */
2751if ac_fn_c_try_compile "$LINENO"; then :
2754 ac_c_werror_flag=$ac_save_c_werror_flag
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757/* end confdefs.h. */
2767if ac_fn_c_try_compile "$LINENO"; then :
2770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 ac_c_werror_flag=$ac_save_c_werror_flag
2777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2778$as_echo "$ac_cv_prog_cc_g" >&6; }
2779if test "$ac_test_CFLAGS" = set; then
2780 CFLAGS=$ac_save_CFLAGS
2781elif test $ac_cv_prog_cc_g = yes; then
2782 if test "$GCC" = yes; then
2788 if test "$GCC" = yes; then
2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2795$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2796if ${ac_cv_prog_cc_c89+:} false; then :
2797 $as_echo_n "(cached) " >&6
2799 ac_cv_prog_cc_c89=no
2801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802/* end confdefs.h. */
2806/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2807struct buf { int x; };
2808FILE * (*rcsopen) (struct buf *, struct stat *, int);
2809static char *e (p, i)
2815static char *f (char * (*g) (char **, int), char **p, ...)
2820 s = g (p, va_arg (v,int));
2825/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2826 function prototypes and stuff, but not '\xHH' hex character constants.
2827 These don't provoke an error unfortunately, instead are silently treated
2828 as 'x'. The following induces an error, until -std is added to get
2829 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2830 array size at least. It's necessary to write '\x00'==0 to get something
2831 that's true only with -std. */
2832int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2834/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2835 inside strings and character constants. */
2837int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2839int test (int i, double x);
2840struct s1 {int (*f) (int a);};
2841struct s2 {int (*f) (double a);};
2842int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2848return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2853for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2854 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2856 CC="$ac_save_CC $ac_arg"
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 ac_cv_prog_cc_c89=$ac_arg
2860rm -f core conftest.err conftest.$ac_objext
2861 test "x$ac_cv_prog_cc_c89" != "xno" && break
2863rm -f conftest.$ac_ext
2868case "x$ac_cv_prog_cc_c89" in
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2871$as_echo "none needed" >&6; } ;;
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2874$as_echo "unsupported" >&6; } ;;
2876 CC="$CC $ac_cv_prog_cc_c89"
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2878$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2880if test "x$ac_cv_prog_cc_c89" != xno; then :
2885ac_cpp='$CPP $CPPFLAGS'
2886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892ac_cpp='$CPP $CPPFLAGS'
2893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895ac_compiler_gnu=$ac_cv_c_compiler_gnu
2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2897$as_echo_n "checking how to run the C preprocessor... " >&6; }
2898# On Suns, sometimes $CPP names a directory.
2899if test -n "$CPP" && test -d "$CPP"; then
2902if test -z "$CPP"; then
2903 if ${ac_cv_prog_CPP+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 # Double quotes because CPP needs to be expanded
2907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2910for ac_c_preproc_warn_flag in '' yes
2912 # Use a header file that comes with gcc, so configuring glibc
2913 # with a fresh cross-compiler works.
2914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2915 # <limits.h> exists even on freestanding compilers.
2916 # On the NeXT, cc -E runs the code through the compiler's parser,
2917 # not just through cpp. "Syntax error" is here to catch this case.
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919/* end confdefs.h. */
2927if ac_fn_c_try_cpp "$LINENO"; then :
2930 # Broken: fails on valid input.
2933rm -f conftest.err conftest.i conftest.$ac_ext
2935 # OK, works on sane cases. Now check whether nonexistent headers
2936 # can be detected and how.
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938/* end confdefs.h. */
2939#include <ac_nonexistent.h>
2941if ac_fn_c_try_cpp "$LINENO"; then :
2942 # Broken: success on invalid input.
2945 # Passes both tests.
2949rm -f conftest.err conftest.i conftest.$ac_ext
2952# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2953rm -f conftest.i conftest.err conftest.$ac_ext
2954if $ac_preproc_ok; then :
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2967$as_echo "$CPP" >&6; }
2969for ac_c_preproc_warn_flag in '' yes
2971 # Use a header file that comes with gcc, so configuring glibc
2972 # with a fresh cross-compiler works.
2973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2974 # <limits.h> exists even on freestanding compilers.
2975 # On the NeXT, cc -E runs the code through the compiler's parser,
2976 # not just through cpp. "Syntax error" is here to catch this case.
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978/* end confdefs.h. */
2986if ac_fn_c_try_cpp "$LINENO"; then :
2989 # Broken: fails on valid input.
2992rm -f conftest.err conftest.i conftest.$ac_ext
2994 # OK, works on sane cases. Now check whether nonexistent headers
2995 # can be detected and how.
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997/* end confdefs.h. */
2998#include <ac_nonexistent.h>
3000if ac_fn_c_try_cpp "$LINENO"; then :
3001 # Broken: success on invalid input.
3004 # Passes both tests.
3008rm -f conftest.err conftest.i conftest.$ac_ext
3011# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3012rm -f conftest.i conftest.err conftest.$ac_ext
3013if $ac_preproc_ok; then :
3016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3019See \`config.log' for more details" "$LINENO" 5; }
3023ac_cpp='$CPP $CPPFLAGS'
3024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3030$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3031if ${ac_cv_path_GREP+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -z "$GREP"; then
3035 ac_path_GREP_found=false
3036 # Loop through the user's path and test for each of PROGNAME-LIST
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3041 test -z "$as_dir" && as_dir=.
3042 for ac_prog in grep ggrep; do
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3045 as_fn_executable_p "$ac_path_GREP" || continue
3046# Check for GNU ac_path_GREP and select it if it is found.
3047 # Check for GNU $ac_path_GREP
3048case `"$ac_path_GREP" --version 2>&1` in
3050 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3053 $as_echo_n 0123456789 >"conftest.in"
3056 cat "conftest.in" "conftest.in" >"conftest.tmp"
3057 mv "conftest.tmp" "conftest.in"
3058 cp "conftest.in" "conftest.nl"
3059 $as_echo 'GREP' >> "conftest.nl"
3060 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3061 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3062 as_fn_arith $ac_count + 1 && ac_count=$as_val
3063 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3064 # Best one so far, save it but keep looking for a better one
3065 ac_cv_path_GREP="$ac_path_GREP"
3066 ac_path_GREP_max=$ac_count
3068 # 10*(2^10) chars as input seems more than enough
3069 test $ac_count -gt 10 && break
3071 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3074 $ac_path_GREP_found && break 3
3079 if test -z "$ac_cv_path_GREP"; then
3080 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3083 ac_cv_path_GREP=$GREP
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3088$as_echo "$ac_cv_path_GREP" >&6; }
3089 GREP="$ac_cv_path_GREP"
3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3093$as_echo_n "checking for egrep... " >&6; }
3094if ${ac_cv_path_EGREP+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3098 then ac_cv_path_EGREP="$GREP -E"
3100 if test -z "$EGREP"; then
3101 ac_path_EGREP_found=false
3102 # Loop through the user's path and test for each of PROGNAME-LIST
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3107 test -z "$as_dir" && as_dir=.
3108 for ac_prog in egrep; do
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3111 as_fn_executable_p "$ac_path_EGREP" || continue
3112# Check for GNU ac_path_EGREP and select it if it is found.
3113 # Check for GNU $ac_path_EGREP
3114case `"$ac_path_EGREP" --version 2>&1` in
3116 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3119 $as_echo_n 0123456789 >"conftest.in"
3122 cat "conftest.in" "conftest.in" >"conftest.tmp"
3123 mv "conftest.tmp" "conftest.in"
3124 cp "conftest.in" "conftest.nl"
3125 $as_echo 'EGREP' >> "conftest.nl"
3126 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3128 as_fn_arith $ac_count + 1 && ac_count=$as_val
3129 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3130 # Best one so far, save it but keep looking for a better one
3131 ac_cv_path_EGREP="$ac_path_EGREP"
3132 ac_path_EGREP_max=$ac_count
3134 # 10*(2^10) chars as input seems more than enough
3135 test $ac_count -gt 10 && break
3137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3140 $ac_path_EGREP_found && break 3
3145 if test -z "$ac_cv_path_EGREP"; then
3146 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3149 ac_cv_path_EGREP=$EGREP
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3155$as_echo "$ac_cv_path_EGREP" >&6; }
3156 EGREP="$ac_cv_path_EGREP"
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3160$as_echo_n "checking for ANSI C header files... " >&6; }
3161if ${ac_cv_header_stdc+:} false; then :
3162 $as_echo_n "(cached) " >&6
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165/* end confdefs.h. */
3179if ac_fn_c_try_compile "$LINENO"; then :
3180 ac_cv_header_stdc=yes
3182 ac_cv_header_stdc=no
3184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186if test $ac_cv_header_stdc = yes; then
3187 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189/* end confdefs.h. */
3193if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3194 $EGREP "memchr" >/dev/null 2>&1; then :
3197 ac_cv_header_stdc=no
3203if test $ac_cv_header_stdc = yes; then
3204 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206/* end confdefs.h. */
3210if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3211 $EGREP "free" >/dev/null 2>&1; then :
3214 ac_cv_header_stdc=no
3220if test $ac_cv_header_stdc = yes; then
3221 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3222 if test "$cross_compiling" = yes; then :
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226/* end confdefs.h. */
3229#if ((' ' & 0x0FF) == 0x020)
3230# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3231# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3233# define ISLOWER(c) \
3234 (('a' <= (c) && (c) <= 'i') \
3235 || ('j' <= (c) && (c) <= 'r') \
3236 || ('s' <= (c) && (c) <= 'z'))
3237# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3240#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3245 for (i = 0; i < 256; i++)
3246 if (XOR (islower (i), ISLOWER (i))
3247 || toupper (i) != TOUPPER (i))
3252if ac_fn_c_try_run "$LINENO"; then :
3255 ac_cv_header_stdc=no
3257rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3258 conftest.$ac_objext conftest.beam conftest.$ac_ext
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3264$as_echo "$ac_cv_header_stdc" >&6; }
3265if test $ac_cv_header_stdc = yes; then
3267$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3271# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3272for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3273 inttypes.h stdint.h unistd.h
3275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3276ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3278if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3279 cat >>confdefs.h <<_ACEOF
3280#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3288for ac_header in time.h
3290 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3291if test "x$ac_cv_header_time_h" = xyes; then :
3292 cat >>confdefs.h <<_ACEOF
3293#define HAVE_TIME_H 1
3300for ac_func in clock_gettime
3302 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3303if test "x$ac_cv_func_clock_gettime" = xyes; then :
3304 cat >>confdefs.h <<_ACEOF
3305#define HAVE_CLOCK_GETTIME 1
3313ac_config_headers="$ac_config_headers src/Streamly/Internal/Data/Time/config.h"
3315cat >confcache <<\_ACEOF
3316# This file is a shell script that caches the results of configure
3317# tests run on this system so they can be shared between configure
3318# scripts and configure runs, see configure's option --config-cache.
3319# It is not useful on other systems. If it contains results you don't
3320# want to keep, you may remove or edit it.
3322# config.status only pays attention to the cache file if you give it
3323# the --recheck option to rerun configure.
3325# `ac_cv_env_foo' variables (set or unset) will be overridden when
3326# loading this file, other *unset* `ac_cv_foo' will be assigned the
3331# The following way of writing the cache mishandles newlines in values,
3332# but we know of no workaround that is simple, portable, and efficient.
3333# So, we kill variables containing newlines.
3334# Ultrix sh set writes to stderr and can't be redirected directly,
3335# and sets the high bit in the cache file unless we assign to the vars.
3337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3338 eval ac_val=\$$ac_var
3342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3343$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3346 _ | IFS | as_nl) ;; #(
3347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3348 *) { eval $ac_var=; unset $ac_var;} ;;
3354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3355 *${as_nl}ac_space=\ *)
3356 # `set' does not quote correctly, so add quotes: double-quote
3357 # substitution turns \\\\ into \\, and sed turns \\ into \.
3360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3363 # `set' quotes correctly as required by POSIX, so do not add quotes.
3364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3377if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3378 if test -w "$cache_file"; then
3379 if test "x$cache_file" != "x/dev/null"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3381$as_echo "$as_me: updating cache $cache_file" >&6;}
3382 if test ! -f "$cache_file" || test -h "$cache_file"; then
3383 cat confcache >"$cache_file"
3385 case $cache_file in #(
3387 mv -f confcache "$cache_file"$$ &&
3388 mv -f "$cache_file"$$ "$cache_file" ;; #(
3390 mv -f confcache "$cache_file" ;;
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3396$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3401test "x$prefix" = xNONE && prefix=$ac_default_prefix
3402# Let make expand exec_prefix.
3403test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3410for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3411 # 1. Remove the extension, and $U if already installed.
3412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3415 # will be set to the directory where LIBOBJS objects are built.
3416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3421LTLIBOBJS=$ac_ltlibobjs
3425: "${CONFIG_STATUS=./config.status}"
3427ac_clean_files_save=$ac_clean_files
3428ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3430$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3432cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3434# Generated by $as_me.
3435# Run this file to recreate the current configuration.
3436# Compiler output produced by configure, useful for debugging
3437# configure, is in config.log if it exists.
3443SHELL=\${CONFIG_SHELL-$SHELL}
3446cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3447## -------------------- ##
3448## M4sh Initialization. ##
3449## -------------------- ##
3451# Be more Bourne compatible
3452DUALCASE=1; export DUALCASE # for MKS sh
3453if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3457 # is contrary to our usage. Disable this feature.
3458 alias -g '${1+"$@"}'='"$@"'
3459 setopt NO_GLOB_SUBST
3461 case `(set -o) 2>/dev/null` in #(
3473# Printing a long string crashes Solaris 7 /usr/bin/printf.
3474as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3475as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3476as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3477# Prefer a ksh shell builtin over an external printf program on Solaris,
3478# but without wasting forks for bash or zsh.
3479if test -z "$BASH_VERSION$ZSH_VERSION" \
3480 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3481 as_echo='print -r --'
3482 as_echo_n='print -rn --'
3483elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3484 as_echo='printf %s\n'
3485 as_echo_n='printf %s'
3487 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3489 as_echo_n='/usr/ucb/echo -n'
3491 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3492 as_echo_n_body='eval
3496 expr "X$arg" : "X\\(.*\\)$as_nl";
3497 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3499 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3501 export as_echo_n_body
3502 as_echo_n='sh -c $as_echo_n_body as_echo'
3505 as_echo='sh -c $as_echo_body as_echo'
3508# The user is always right.
3509if test "${PATH_SEPARATOR+set}" != set; then
3511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3519# We need space, tab and new line, in precisely that order. Quoting is
3520# there to prevent editors from complaining about space-tab.
3521# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3522# splitting by setting IFS to empty value.)
3525# Find who we are. Look in the path if we contain no directory separator.
3528 *[\\/]* ) as_myself=$0 ;;
3529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir=.
3534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3540# We did not find ourselves, most probably we were run as `sh COMMAND'
3541# in which case we are not to be found in the path.
3542if test "x$as_myself" = x; then
3545if test ! -f "$as_myself"; then
3546 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3550# Unset variables that we do not need and which cause bugs (e.g. in
3551# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3552# suppresses any "Segmentation fault" message there. '((' could
3553# trigger a bug in pdksh 5.2.14.
3554for as_var in BASH_ENV ENV MAIL MAILPATH
3555do eval test x\${$as_var+set} = xset \
3556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3584 $as_echo "$as_me: error: $2" >&2
3585 as_fn_exit $as_status
3589# as_fn_set_status STATUS
3590# -----------------------
3591# Set $? to STATUS, without forking.
3599# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3609# Portably unset VAR.
3612 { eval $1=; unset $1;}
3615# as_fn_append VAR VALUE
3616# ----------------------
3617# Append the text in VALUE to the end of the definition contained in VAR. Take
3618# advantage of any shell optimizations that allow amortized linear growth over
3619# repeated appends, instead of the typical quadratic growth present in naive
3621if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3622 eval 'as_fn_append ()
3635# Perform arithmetic evaluation on the ARGs, and store the result in the
3636# global $as_val. Take advantage of shells that can avoid forks. The arguments
3637# must be portable across $(()) and expr.
3638if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3639 eval 'as_fn_arith ()
3646 as_val=`expr "$@" || test $? -eq 1`
3651if expr a : '\(a\)' >/dev/null 2>&1 &&
3652 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3658if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3659 as_basename=basename
3664if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3670as_me=`$as_basename -- "$0" ||
3671$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3672 X"$0" : 'X\(//\)$' \| \
3673 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3675 sed '/^.*\/\([^/][^/]*\)\/*$/{
3689# Avoid depending upon Character Ranges.
3690as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3691as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3692as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3693as_cr_digits='0123456789'
3694as_cr_alnum=$as_cr_Letters$as_cr_digits
3696ECHO_C= ECHO_N= ECHO_T=
3697case `echo -n x` in #(((((
3699 case `echo 'xy\c'` in
3700 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3702 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3709rm -f conf$$ conf$$.exe conf$$.file
3710if test -d conf$$.dir; then
3711 rm -f conf$$.dir/conf$$.file
3714 mkdir conf$$.dir 2>/dev/null
3716if (echo >conf$$.file) 2>/dev/null; then
3717 if ln -s conf$$.file conf$$ 2>/dev/null; then
3719 # ... but there are two gotchas:
3720 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3721 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3722 # In both cases, we have to default to `cp -pR'.
3723 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3725 elif ln conf$$.file conf$$ 2>/dev/null; then
3733rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3734rmdir conf$$.dir 2>/dev/null
3739# Create "$as_dir" as a directory, including parents if necessary.
3744 -*) as_dir=./$as_dir;;
3746 test -d "$as_dir" || eval $as_mkdir_p || {
3750 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3751 *) as_qdir=$as_dir;;
3753 as_dirs="'$as_qdir' $as_dirs"
3754 as_dir=`$as_dirname -- "$as_dir" ||
3755$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3756 X"$as_dir" : 'X\(//\)[^/]' \| \
3757 X"$as_dir" : 'X\(//\)$' \| \
3758 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3759$as_echo X"$as_dir" |
3760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3777 test -d "$as_dir" && break
3779 test -z "$as_dirs" || eval "mkdir $as_dirs"
3780 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3784if mkdir -p . 2>/dev/null; then
3785 as_mkdir_p='mkdir -p "$as_dir"'
3787 test -d ./-p && rmdir ./-p
3792# as_fn_executable_p FILE
3793# -----------------------
3794# Test if FILE is an executable regular file.
3795as_fn_executable_p ()
3797 test -f "$1" && test -x "$1"
3798} # as_fn_executable_p
3800as_executable_p=as_fn_executable_p
3802# Sed expression to map a string onto a valid CPP name.
3803as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3805# Sed expression to map a string onto a valid variable name.
3806as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3810## ----------------------------------- ##
3811## Main body of $CONFIG_STATUS script. ##
3812## ----------------------------------- ##
3814test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3817# Save the log message, to keep $0 and so on meaningful, and to
3818# report actual input values of CONFIG_FILES etc. instead of their
3819# values after options handling.
3821This file was extended by streamly $as_me 0.6.0, which was
3822generated by GNU Autoconf 2.69. Invocation command line was
3824 CONFIG_FILES = $CONFIG_FILES
3825 CONFIG_HEADERS = $CONFIG_HEADERS
3826 CONFIG_LINKS = $CONFIG_LINKS
3827 CONFIG_COMMANDS = $CONFIG_COMMANDS
3830on `(hostname || uname -n) 2>/dev/null | sed 1q`
3836case $ac_config_headers in *"
3837"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3841cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842# Files that config.status was made for.
3843config_headers="$ac_config_headers"
3847cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3849\`$as_me' instantiates files and other configuration actions
3850from templates according to the current configuration. Unless the files
3851and actions are specified as TAGs, all are instantiated by default.
3853Usage: $0 [OPTION]... [TAG]...
3855 -h, --help print this help, then exit
3856 -V, --version print version number and configuration settings, then exit
3857 --config print configuration, then exit
3858 -q, --quiet, --silent
3859 do not print progress messages
3860 -d, --debug don't remove temporary files
3861 --recheck update $as_me by reconfiguring in the same conditions
3862 --header=FILE[:TEMPLATE]
3863 instantiate the configuration header FILE
3865Configuration headers:
3868Report bugs to <streamly@composewell.com>."
3871cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3872ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3874streamly config.status 0.6.0
3875configured by $0, generated by GNU Autoconf 2.69,
3876 with options \\"\$ac_cs_config\\"
3878Copyright (C) 2012 Free Software Foundation, Inc.
3879This config.status script is free software; the Free Software Foundation
3880gives unlimited permission to copy, distribute and modify it."
3884test -n "\$AWK" || AWK=awk
3887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3888# The default lists apply if the user does not specify any file.
3894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3911 # Handling of the options.
3912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3915 $as_echo "$ac_cs_version"; exit ;;
3916 --config | --confi | --conf | --con | --co | --c )
3917 $as_echo "$ac_cs_config"; exit ;;
3918 --debug | --debu | --deb | --de | --d | -d )
3920 --header | --heade | --head | --hea )
3923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3925 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3926 ac_need_defaults=false;;
3928 # Conflict between --help and --header
3929 as_fn_error $? "ambiguous option: \`$1'
3930Try \`$0 --help' for more information.";;
3931 --help | --hel | -h )
3932 $as_echo "$ac_cs_usage"; exit ;;
3933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3938 -*) as_fn_error $? "unrecognized option: \`$1'
3939Try \`$0 --help' for more information." ;;
3941 *) as_fn_append ac_config_targets " $1"
3942 ac_need_defaults=false ;;
3948ac_configure_extra_args=
3950if $ac_cs_silent; then
3952 ac_configure_extra_args="$ac_configure_extra_args --silent"
3956cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3957if \$ac_cs_recheck; then
3958 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3961 CONFIG_SHELL='$SHELL'
3967cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3972## Running $as_me. ##
3978cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3983# Handling of arguments.
3984for ac_config_target in $ac_config_targets
3986 case $ac_config_target in
3987 "src/Streamly/Internal/Data/Time/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/Streamly/Internal/Data/Time/config.h" ;;
3989 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3994# If the user did not use the arguments to specify the items to instantiate,
3995# then the envvar interface is used. Set only those that are not.
3996# We use the long form for the default assignment because of an extremely
3997# bizarre bug on SunOS 4.1.3.
3998if $ac_need_defaults; then
3999 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4002# Have a temporary directory for convenience. Make it in the build tree
4003# simply because there is no reason against having it here, and in addition,
4004# creating and moving files from /tmp can sometimes cause problems.
4005# Hook for its removal unless debugging.
4006# Note that there is a small window in which the directory will not be cleaned:
4007# after its creation but before its name has been assigned to `$tmp'.
4011 trap 'exit_status=$?
4013 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4015 trap 'as_fn_exit 1' 1 2 13 15
4017# Create a (secure) tmp directory for tmp files.
4020 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4024 tmp=./conf$$-$RANDOM
4025 (umask 077 && mkdir "$tmp")
4026} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4029# Set up the scripts for CONFIG_HEADERS section.
4030# No need to generate them if there are no CONFIG_HEADERS.
4031# This happens for instance with `./config.status Makefile'.
4032if test -n "$CONFIG_HEADERS"; then
4033cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4037# Transform confdefs.h into an awk script `defines.awk', embedded as
4038# here-document in config.status, that substitutes the proper values into
4039# config.h.in to produce config.h.
4041# Create a delimiter string that does not exist in confdefs.h, to ease
4042# handling of long lines.
4044for ac_last_try in false false :; do
4045 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4046 if test -z "$ac_tt"; then
4048 elif $ac_last_try; then
4049 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4051 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4055# For the awk script, D is an array of macro values keyed by name,
4056# likewise P contains macro parameters if any. Preserve backslash
4059ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4061s/.\{148\}/&'"$ac_delim"'/g
4064s/^[ ]*#[ ]*define[ ][ ]*/ /
4071s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4073s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4077s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4078D["\1"]=" \3\\\\\\n"\\/p
4080s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4085s/.\{148\}/&'"$ac_delim"'/g
4090s/["\\]/\\&/g; s/^/"/; s/$/"/p
4093s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4095' <confdefs.h | sed '
4097"/g' >>$CONFIG_STATUS || ac_write_fail=1
4099cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4100 for (key in D) D_is_set[key] = 1
4103/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4105 split(line, arg, " ")
4106 if (arg[1] == "#") {
4110 defundef = substr(arg[1], 2)
4113 split(mac1, mac2, "(") #)
4115 prefix = substr(line, 1, index(line, defundef) - 1)
4116 if (D_is_set[macro]) {
4117 # Preserve the white space surrounding the "#".
4118 print prefix "define", macro P[macro] D[macro]
4121 # Replace #undef with comments. This is necessary, for example,
4122 # in the case of _POSIX_SOURCE, which is predefined and required
4123 # on some systems where configure will not decide to define it.
4124 if (defundef == "undef") {
4125 print "/*", prefix defundef, macro, "*/"
4133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4134 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4135fi # test -n "$CONFIG_HEADERS"
4138eval set X " :H $CONFIG_HEADERS "
4143 :[FHLC]) ac_mode=$ac_tag; continue;;
4145 case $ac_mode$ac_tag in
4147 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4148 :[FH]-) ac_tag=-:-;;
4149 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4166 -) ac_f="$ac_tmp/stdin";;
4167 *) # Look for the file first in the build tree, then in the source tree
4168 # (if the path is not absolute). The absolute path cannot be DOS-style,
4169 # because $ac_f cannot contain `:'.
4173 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4175 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4177 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4178 as_fn_append ac_file_inputs " '$ac_f'"
4181 # Let's still pretend it is `configure' which instantiates (i.e., don't
4182 # use $as_me), people would be surprised to read:
4183 # /* config.h. Generated by config.status. */
4184 configure_input='Generated from '`
4185 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4187 if test x"$ac_file" != x-; then
4188 configure_input="$ac_file. $configure_input"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4190$as_echo "$as_me: creating $ac_file" >&6;}
4192 # Neutralize special characters interpreted by sed in replacement strings.
4193 case $configure_input in #(
4194 *\&* | *\|* | *\\* )
4195 ac_sed_conf_input=`$as_echo "$configure_input" |
4196 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4197 *) ac_sed_conf_input=$configure_input;;
4201 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4207 ac_dir=`$as_dirname -- "$ac_file" ||
4208$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4209 X"$ac_file" : 'X\(//\)[^/]' \| \
4210 X"$ac_file" : 'X\(//\)$' \| \
4211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4212$as_echo X"$ac_file" |
4213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4230 as_dir="$ac_dir"; as_fn_mkdir_p
4234.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4237 # A ".." for each directory in $ac_dir_suffix.
4238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4239 case $ac_top_builddir_sub in
4240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4244ac_abs_top_builddir=$ac_pwd
4245ac_abs_builddir=$ac_pwd$ac_dir_suffix
4246# for backward compatibility:
4247ac_top_builddir=$ac_top_build_prefix
4250 .) # We are building in place.
4252 ac_top_srcdir=$ac_top_builddir_sub
4253 ac_abs_top_srcdir=$ac_pwd ;;
4254 [\\/]* | ?:[\\/]* ) # Absolute name.
4255 ac_srcdir=$srcdir$ac_dir_suffix;
4256 ac_top_srcdir=$srcdir
4257 ac_abs_top_srcdir=$srcdir ;;
4259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4260 ac_top_srcdir=$ac_top_build_prefix$srcdir
4261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4263ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4272 if test x"$ac_file" != x-; then
4274 $as_echo "/* $configure_input */" \
4275 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4276 } >"$ac_tmp/config.h" \
4277 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4278 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4280$as_echo "$as_me: $ac_file is unchanged" >&6;}
4283 mv "$ac_tmp/config.h" "$ac_file" \
4284 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4287 $as_echo "/* $configure_input */" \
4288 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4289 || as_fn_error $? "could not create -" "$LINENO" 5
4301ac_clean_files=$ac_clean_files_save
4303test $ac_write_fail = 0 ||
4304 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4307# configure is writing to config.log, and then calls config.status.
4308# config.status does its own redirection, appending to config.log.
4309# Unfortunately, on DOS this fails, as config.log is still kept open
4310# by configure, so config.status won't be able to write to it; its
4311# output is simply discarded. So we exec the FD to /dev/null,
4312# effectively closing config.log, so it can be properly (re)opened and
4313# appended to by config.status. When coming back to configure, we
4314# need to make the FD available again.
4315if test "$no_create" != yes; then
4317 ac_config_status_args=
4318 test "$silent" = yes &&
4319 ac_config_status_args="$ac_config_status_args --quiet"
4321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4324 # would make configure fail if this is the last instruction.
4325 $ac_cs_success || as_fn_exit 1
4327if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4329$as_echo "$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