@@ -0,0 +1,4331 @@
1+#! /bin/sh
2+# Guess values for system-dependent variables and create Makefiles.
3+# Generated by GNU Autoconf 2.69 for streamly 0.6.0.
4+#
5+# Report bugs to <harendra.kumar@gmail.com>.
6+#
7+#
8+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9+#
10+#
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+## -------------------- ##
16+
17+# Be more Bourne compatible
18+DUALCASE=1; export DUALCASE # for MKS sh
19+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20+ emulate sh
21+ NULLCMD=:
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+"$@"}'='"$@"'
25+ setopt NO_GLOB_SUBST
26+else
27+ case `(set -o) 2>/dev/null` in #(
28+ *posix*) :
29+ set -o posix ;; #(
30+ *) :
31+ ;;
32+esac
33+fi
34+
35+
36+as_nl='
37+'
38+export as_nl
39+# Printing a long string crashes Solaris 7 /usr/bin/printf.
40+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42+as_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.
45+if test -z "$BASH_VERSION$ZSH_VERSION" \
46+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47+ as_echo='print -r --'
48+ as_echo_n='print -rn --'
49+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50+ as_echo='printf %s\n'
51+ as_echo_n='printf %s'
52+else
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'
56+ else
57+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58+ as_echo_n_body='eval
59+ arg=$1;
60+ case $arg in #(
61+ *"$as_nl"*)
62+ expr "X$arg" : "X\\(.*\\)$as_nl";
63+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64+ esac;
65+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66+ '
67+ export as_echo_n_body
68+ as_echo_n='sh -c $as_echo_n_body as_echo'
69+ fi
70+ export as_echo_body
71+ as_echo='sh -c $as_echo_body as_echo'
72+fi
73+
74+# The user is always right.
75+if test "${PATH_SEPARATOR+set}" != set; then
76+ PATH_SEPARATOR=:
77+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79+ PATH_SEPARATOR=';'
80+ }
81+fi
82+
83+
84+# IFS
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.)
89+IFS=" "" $as_nl"
90+
91+# Find who we are. Look in the path if we contain no directory separator.
92+as_myself=
93+case $0 in #((
94+ *[\\/]* ) as_myself=$0 ;;
95+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96+for as_dir in $PATH
97+do
98+ IFS=$as_save_IFS
99+ test -z "$as_dir" && as_dir=.
100+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101+ done
102+IFS=$as_save_IFS
103+
104+ ;;
105+esac
106+# We did not find ourselves, most probably we were run as `sh COMMAND'
107+# in which case we are not to be found in the path.
108+if test "x$as_myself" = x; then
109+ as_myself=$0
110+fi
111+if test ! -f "$as_myself"; then
112+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113+ exit 1
114+fi
115+
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.
120+for as_var in BASH_ENV ENV MAIL MAILPATH
121+do eval test x\${$as_var+set} = xset \
122+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123+done
124+PS1='$ '
125+PS2='> '
126+PS4='+ '
127+
128+# NLS nuisances.
129+LC_ALL=C
130+export LC_ALL
131+LANGUAGE=C
132+export LANGUAGE
133+
134+# CDPATH.
135+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136+
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.
145+BASH_ENV=/dev/null
146+ENV=/dev/null
147+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148+case $- in # ((((
149+ *v*x* | *x*v* ) as_opts=-vx ;;
150+ *v* ) as_opts=-v ;;
151+ *x* ) as_opts=-x ;;
152+ * ) as_opts= ;;
153+esac
154+exec $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
158+as_fn_exit 255
159+ fi
160+ # We don't want this to propagate to other subprocesses.
161+ { _as_can_reexec=; unset _as_can_reexec;}
162+if test "x$CONFIG_SHELL" = x; then
163+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164+ emulate sh
165+ NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169+ setopt NO_GLOB_SUBST
170+else
171+ case \`(set -o) 2>/dev/null\` in #(
172+ *posix*) :
173+ set -o posix ;; #(
174+ *) :
175+ ;;
176+esac
177+fi
178+"
179+ as_required="as_fn_return () { (exit \$1); }
180+as_fn_success () { as_fn_return 0; }
181+as_fn_failure () { as_fn_return 1; }
182+as_fn_ret_success () { return 0; }
183+as_fn_ret_failure () { return 1; }
184+
185+exitcode=0
186+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191+
192+else
193+ exitcode=1; echo positional parameters were not saved.
194+fi
195+test x\$exitcode = x0 || exit 1
196+test -x / || 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
201+test \$(( 1 + 1 )) = 2 || exit 1"
202+ if (eval "$as_required") 2>/dev/null; then :
203+ as_have_required=yes
204+else
205+ as_have_required=no
206+fi
207+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208+
209+else
210+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211+as_found=false
212+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213+do
214+ IFS=$as_save_IFS
215+ test -z "$as_dir" && as_dir=.
216+ as_found=:
217+ case $as_dir in #(
218+ /*)
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 :
226+ break 2
227+fi
228+fi
229+ done;;
230+ esac
231+ as_found=false
232+done
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
236+fi; }
237+IFS=$as_save_IFS
238+
239+
240+ if test "x$CONFIG_SHELL" != x; then :
241+ export CONFIG_SHELL
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.
246+BASH_ENV=/dev/null
247+ENV=/dev/null
248+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249+case $- in # ((((
250+ *v*x* | *x*v* ) as_opts=-vx ;;
251+ *v* ) as_opts=-v ;;
252+ *x* ) as_opts=-x ;;
253+ * ) as_opts= ;;
254+esac
255+exec $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
259+exit 255
260+fi
261+
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."
268+ else
269+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
270+$0: harendra.kumar@gmail.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."
274+ fi
275+ exit 1
276+fi
277+fi
278+fi
279+SHELL=${CONFIG_SHELL-/bin/sh}
280+export SHELL
281+# Unset more variables known to interfere with behavior of common tools.
282+CLICOLOR_FORCE= GREP_OPTIONS=
283+unset CLICOLOR_FORCE GREP_OPTIONS
284+
285+## --------------------- ##
286+## M4sh Shell Functions. ##
287+## --------------------- ##
288+# as_fn_unset VAR
289+# ---------------
290+# Portably unset VAR.
291+as_fn_unset ()
292+{
293+ { eval $1=; unset $1;}
294+}
295+as_unset=as_fn_unset
296+
297+# as_fn_set_status STATUS
298+# -----------------------
299+# Set $? to STATUS, without forking.
300+as_fn_set_status ()
301+{
302+ return $1
303+} # as_fn_set_status
304+
305+# as_fn_exit STATUS
306+# -----------------
307+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308+as_fn_exit ()
309+{
310+ set +e
311+ as_fn_set_status $1
312+ exit $1
313+} # as_fn_exit
314+
315+# as_fn_mkdir_p
316+# -------------
317+# Create "$as_dir" as a directory, including parents if necessary.
318+as_fn_mkdir_p ()
319+{
320+
321+ case $as_dir in #(
322+ -*) as_dir=./$as_dir;;
323+ esac
324+ test -d "$as_dir" || eval $as_mkdir_p || {
325+ as_dirs=
326+ while :; do
327+ case $as_dir in #(
328+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329+ *) as_qdir=$as_dir;;
330+ esac
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 ||
337+$as_echo X"$as_dir" |
338+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339+ s//\1/
340+ q
341+ }
342+ /^X\(\/\/\)[^/].*/{
343+ s//\1/
344+ q
345+ }
346+ /^X\(\/\/\)$/{
347+ s//\1/
348+ q
349+ }
350+ /^X\(\/\).*/{
351+ s//\1/
352+ q
353+ }
354+ s/.*/./; q'`
355+ test -d "$as_dir" && break
356+ done
357+ test -z "$as_dirs" || eval "mkdir $as_dirs"
358+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359+
360+
361+} # as_fn_mkdir_p
362+
363+# as_fn_executable_p FILE
364+# -----------------------
365+# Test if FILE is an executable regular file.
366+as_fn_executable_p ()
367+{
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
375+# implementations.
376+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377+ eval 'as_fn_append ()
378+ {
379+ eval $1+=\$2
380+ }'
381+else
382+ as_fn_append ()
383+ {
384+ eval $1=\$$1\$2
385+ }
386+fi # as_fn_append
387+
388+# as_fn_arith ARG...
389+# ------------------
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.
393+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394+ eval 'as_fn_arith ()
395+ {
396+ as_val=$(( $* ))
397+ }'
398+else
399+ as_fn_arith ()
400+ {
401+ as_val=`expr "$@" || test $? -eq 1`
402+ }
403+fi # as_fn_arith
404+
405+
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.
411+as_fn_error ()
412+{
413+ as_status=$1; test $as_status -eq 0 && as_status=1
414+ if test "$4"; then
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
417+ fi
418+ $as_echo "$as_me: error: $2" >&2
419+ as_fn_exit $as_status
420+} # as_fn_error
421+
422+if expr a : '\(a\)' >/dev/null 2>&1 &&
423+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
424+ as_expr=expr
425+else
426+ as_expr=false
427+fi
428+
429+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430+ as_basename=basename
431+else
432+ as_basename=false
433+fi
434+
435+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436+ as_dirname=dirname
437+else
438+ as_dirname=false
439+fi
440+
441+as_me=`$as_basename -- "$0" ||
442+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443+ X"$0" : 'X\(//\)$' \| \
444+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445+$as_echo X/"$0" |
446+ sed '/^.*\/\([^/][^/]*\)\/*$/{
447+ s//\1/
448+ q
449+ }
450+ /^X\/\(\/\/\)$/{
451+ s//\1/
452+ q
453+ }
454+ /^X\/\(\/\).*/{
455+ s//\1/
456+ q
457+ }
458+ s/.*/./; q'`
459+
460+# Avoid depending upon Character Ranges.
461+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464+as_cr_digits='0123456789'
465+as_cr_alnum=$as_cr_Letters$as_cr_digits
466+
467+
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. :-)
473+ sed -n '
474+ p
475+ /[$]LINENO/=
476+ ' <$as_myself |
477+ sed '
478+ s/[$]LINENO.*/&-/
479+ t lineno
480+ b
481+ :lineno
482+ N
483+ :loop
484+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485+ t loop
486+ s/-\n.*//
487+ ' >$as_me.lineno &&
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; }
490+
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).
498+ . "./$as_me.lineno"
499+ # Exit status is that of the last command.
500+ exit
501+}
502+
503+ECHO_C= ECHO_N= ECHO_T=
504+case `echo -n x` in #(((((
505+-n*)
506+ case `echo 'xy\c'` in
507+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508+ xy) ECHO_C='\c';;
509+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510+ ECHO_T=' ';;
511+ esac;;
512+*)
513+ ECHO_N='-n';;
514+esac
515+
516+rm -f conf$$ conf$$.exe conf$$.file
517+if test -d conf$$.dir; then
518+ rm -f conf$$.dir/conf$$.file
519+else
520+ rm -f conf$$.dir
521+ mkdir conf$$.dir 2>/dev/null
522+fi
523+if (echo >conf$$.file) 2>/dev/null; then
524+ if ln -s conf$$.file conf$$ 2>/dev/null; then
525+ as_ln_s='ln -s'
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 ||
531+ as_ln_s='cp -pR'
532+ elif ln conf$$.file conf$$ 2>/dev/null; then
533+ as_ln_s=ln
534+ else
535+ as_ln_s='cp -pR'
536+ fi
537+else
538+ as_ln_s='cp -pR'
539+fi
540+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541+rmdir conf$$.dir 2>/dev/null
542+
543+if mkdir -p . 2>/dev/null; then
544+ as_mkdir_p='mkdir -p "$as_dir"'
545+else
546+ test -d ./-p && rmdir ./-p
547+ as_mkdir_p=false
548+fi
549+
550+as_test_x='test -x'
551+as_executable_p=as_fn_executable_p
552+
553+# Sed expression to map a string onto a valid CPP name.
554+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555+
556+# Sed expression to map a string onto a valid variable name.
557+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558+
559+
560+test -n "$DJDIR" || exec 7<&0 </dev/null
561+exec 6>&1
562+
563+# Name of the host.
564+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565+# so uname gets run too.
566+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567+
568+#
569+# Initializations.
570+#
571+ac_default_prefix=/usr/local
572+ac_clean_files=
573+ac_config_libobj_dir=.
574+LIBOBJS=
575+cross_compiling=no
576+subdirs=
577+MFLAGS=
578+MAKEFLAGS=
579+
580+# Identity of this package.
581+PACKAGE_NAME='streamly'
582+PACKAGE_TARNAME='streamly'
583+PACKAGE_VERSION='0.6.0'
584+PACKAGE_STRING='streamly 0.6.0'
585+PACKAGE_BUGREPORT='harendra.kumar@gmail.com'
586+PACKAGE_URL=''
587+
588+# Factoring default headers for most tests.
589+ac_includes_default="\
590+#include <stdio.h>
591+#ifdef HAVE_SYS_TYPES_H
592+# include <sys/types.h>
593+#endif
594+#ifdef HAVE_SYS_STAT_H
595+# include <sys/stat.h>
596+#endif
597+#ifdef STDC_HEADERS
598+# include <stdlib.h>
599+# include <stddef.h>
600+#else
601+# ifdef HAVE_STDLIB_H
602+# include <stdlib.h>
603+# endif
604+#endif
605+#ifdef HAVE_STRING_H
606+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607+# include <memory.h>
608+# endif
609+# include <string.h>
610+#endif
611+#ifdef HAVE_STRINGS_H
612+# include <strings.h>
613+#endif
614+#ifdef HAVE_INTTYPES_H
615+# include <inttypes.h>
616+#endif
617+#ifdef HAVE_STDINT_H
618+# include <stdint.h>
619+#endif
620+#ifdef HAVE_UNISTD_H
621+# include <unistd.h>
622+#endif"
623+
624+ac_subst_vars='LTLIBOBJS
625+LIBOBJS
626+EGREP
627+GREP
628+CPP
629+OBJEXT
630+EXEEXT
631+ac_ct_CC
632+CPPFLAGS
633+LDFLAGS
634+CFLAGS
635+CC
636+target_alias
637+host_alias
638+build_alias
639+LIBS
640+ECHO_T
641+ECHO_N
642+ECHO_C
643+DEFS
644+mandir
645+localedir
646+libdir
647+psdir
648+pdfdir
649+dvidir
650+htmldir
651+infodir
652+docdir
653+oldincludedir
654+includedir
655+localstatedir
656+sharedstatedir
657+sysconfdir
658+datadir
659+datarootdir
660+libexecdir
661+sbindir
662+bindir
663+program_transform_name
664+prefix
665+exec_prefix
666+PACKAGE_URL
667+PACKAGE_BUGREPORT
668+PACKAGE_STRING
669+PACKAGE_VERSION
670+PACKAGE_TARNAME
671+PACKAGE_NAME
672+PATH_SEPARATOR
673+SHELL'
674+ac_subst_files=''
675+ac_user_opts='
676+enable_option_checking
677+with_compiler
678+'
679+ ac_precious_vars='build_alias
680+host_alias
681+target_alias
682+CC
683+CFLAGS
684+LDFLAGS
685+LIBS
686+CPPFLAGS
687+CPP'
688+
689+
690+# Initialize some variables set by options.
691+ac_init_help=
692+ac_init_version=false
693+ac_unrecognized_opts=
694+ac_unrecognized_sep=
695+# The variables have the same names as the options, with
696+# dashes changed to underlines.
697+cache_file=/dev/null
698+exec_prefix=NONE
699+no_create=
700+no_recursion=
701+prefix=NONE
702+program_prefix=NONE
703+program_suffix=NONE
704+program_transform_name=s,x,x,
705+silent=
706+site=
707+srcdir=
708+verbose=
709+x_includes=NONE
710+x_libraries=NONE
711+
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.)
718+bindir='${exec_prefix}/bin'
719+sbindir='${exec_prefix}/sbin'
720+libexecdir='${exec_prefix}/libexec'
721+datarootdir='${prefix}/share'
722+datadir='${datarootdir}'
723+sysconfdir='${prefix}/etc'
724+sharedstatedir='${prefix}/com'
725+localstatedir='${prefix}/var'
726+includedir='${prefix}/include'
727+oldincludedir='/usr/include'
728+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729+infodir='${datarootdir}/info'
730+htmldir='${docdir}'
731+dvidir='${docdir}'
732+pdfdir='${docdir}'
733+psdir='${docdir}'
734+libdir='${exec_prefix}/lib'
735+localedir='${datarootdir}/locale'
736+mandir='${datarootdir}/man'
737+
738+ac_prev=
739+ac_dashdash=
740+for ac_option
741+do
742+ # If the previous option needs an argument, assign it.
743+ if test -n "$ac_prev"; then
744+ eval $ac_prev=\$ac_option
745+ ac_prev=
746+ continue
747+ fi
748+
749+ case $ac_option in
750+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751+ *=) ac_optarg= ;;
752+ *) ac_optarg=yes ;;
753+ esac
754+
755+ # Accept the important Cygnus configure options, so we can diagnose typos.
756+
757+ case $ac_dashdash$ac_option in
758+ --)
759+ ac_dashdash=yes ;;
760+
761+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
762+ ac_prev=bindir ;;
763+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764+ bindir=$ac_optarg ;;
765+
766+ -build | --build | --buil | --bui | --bu)
767+ ac_prev=build_alias ;;
768+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769+ build_alias=$ac_optarg ;;
770+
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 ;;
777+
778+ --config-cache | -C)
779+ cache_file=config.cache ;;
780+
781+ -datadir | --datadir | --datadi | --datad)
782+ ac_prev=datadir ;;
783+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
784+ datadir=$ac_optarg ;;
785+
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 ;;
792+
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
801+ *"
802+"enable_$ac_useropt"
803+"*) ;;
804+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805+ ac_unrecognized_sep=', ';;
806+ esac
807+ eval enable_$ac_useropt=no ;;
808+
809+ -docdir | --docdir | --docdi | --doc | --do)
810+ ac_prev=docdir ;;
811+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812+ docdir=$ac_optarg ;;
813+
814+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815+ ac_prev=dvidir ;;
816+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817+ dvidir=$ac_optarg ;;
818+
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
827+ *"
828+"enable_$ac_useropt"
829+"*) ;;
830+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831+ ac_unrecognized_sep=', ';;
832+ esac
833+ eval enable_$ac_useropt=\$ac_optarg ;;
834+
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 ;;
843+
844+ -gas | --gas | --ga | --g)
845+ # Obsolete; use --with-gas.
846+ with_gas=yes ;;
847+
848+ -help | --help | --hel | --he | -h)
849+ ac_init_help=long ;;
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 ;;
854+
855+ -host | --host | --hos | --ho)
856+ ac_prev=host_alias ;;
857+ -host=* | --host=* | --hos=* | --ho=*)
858+ host_alias=$ac_optarg ;;
859+
860+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861+ ac_prev=htmldir ;;
862+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863+ | --ht=*)
864+ htmldir=$ac_optarg ;;
865+
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 ;;
872+
873+ -infodir | --infodir | --infodi | --infod | --info | --inf)
874+ ac_prev=infodir ;;
875+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876+ infodir=$ac_optarg ;;
877+
878+ -libdir | --libdir | --libdi | --libd)
879+ ac_prev=libdir ;;
880+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
881+ libdir=$ac_optarg ;;
882+
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 ;;
889+
890+ -localedir | --localedir | --localedi | --localed | --locale)
891+ ac_prev=localedir ;;
892+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893+ localedir=$ac_optarg ;;
894+
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 ;;
901+
902+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903+ ac_prev=mandir ;;
904+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905+ mandir=$ac_optarg ;;
906+
907+ -nfp | --nfp | --nf)
908+ # Obsolete; use --without-fp.
909+ with_fp=no ;;
910+
911+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912+ | --no-cr | --no-c | -n)
913+ no_create=yes ;;
914+
915+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917+ no_recursion=yes ;;
918+
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 ;;
927+
928+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929+ ac_prev=prefix ;;
930+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931+ prefix=$ac_optarg ;;
932+
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 ;;
939+
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 ;;
946+
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 ;;
963+
964+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965+ ac_prev=pdfdir ;;
966+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967+ pdfdir=$ac_optarg ;;
968+
969+ -psdir | --psdir | --psdi | --psd | --ps)
970+ ac_prev=psdir ;;
971+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972+ psdir=$ac_optarg ;;
973+
974+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975+ | -silent | --silent | --silen | --sile | --sil)
976+ silent=yes ;;
977+
978+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979+ ac_prev=sbindir ;;
980+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981+ | --sbi=* | --sb=*)
982+ sbindir=$ac_optarg ;;
983+
984+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
985+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986+ | --sharedst | --shareds | --shared | --share | --shar \
987+ | --sha | --sh)
988+ ac_prev=sharedstatedir ;;
989+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992+ | --sha=* | --sh=*)
993+ sharedstatedir=$ac_optarg ;;
994+
995+ -site | --site | --sit)
996+ ac_prev=site ;;
997+ -site=* | --site=* | --sit=*)
998+ site=$ac_optarg ;;
999+
1000+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001+ ac_prev=srcdir ;;
1002+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003+ srcdir=$ac_optarg ;;
1004+
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 ;;
1011+
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 ;;
1016+
1017+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018+ verbose=yes ;;
1019+
1020+ -version | --version | --versio | --versi | --vers | -V)
1021+ ac_init_version=: ;;
1022+
1023+ -with-* | --with-*)
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
1031+ *"
1032+"with_$ac_useropt"
1033+"*) ;;
1034+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035+ ac_unrecognized_sep=', ';;
1036+ esac
1037+ eval with_$ac_useropt=\$ac_optarg ;;
1038+
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
1047+ *"
1048+"with_$ac_useropt"
1049+"*) ;;
1050+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051+ ac_unrecognized_sep=', ';;
1052+ esac
1053+ eval with_$ac_useropt=no ;;
1054+
1055+ --x)
1056+ # Obsolete; use --with-x.
1057+ with_x=yes ;;
1058+
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 ;;
1065+
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 ;;
1072+
1073+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074+Try \`$0 --help' for more information"
1075+ ;;
1076+
1077+ *=*)
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'" ;;
1083+ esac
1084+ eval $ac_envvar=\$ac_optarg
1085+ export $ac_envvar ;;
1086+
1087+ *)
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}"
1093+ ;;
1094+
1095+ esac
1096+done
1097+
1098+if test -n "$ac_prev"; then
1099+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100+ as_fn_error $? "missing argument to $ac_option"
1101+fi
1102+
1103+if test -n "$ac_unrecognized_opts"; then
1104+ case $enable_option_checking in
1105+ no) ;;
1106+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108+ esac
1109+fi
1110+
1111+# Check all directory arguments for consistency.
1112+for 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
1116+do
1117+ eval ac_val=\$$ac_var
1118+ # Remove trailing slashes.
1119+ case $ac_val in
1120+ */ )
1121+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122+ eval $ac_var=\$ac_val;;
1123+ esac
1124+ # Be sure to have absolute directory names.
1125+ case $ac_val in
1126+ [\\/$]* | ?:[\\/]* ) continue;;
1127+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128+ esac
1129+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1130+done
1131+
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.
1135+build=$build_alias
1136+host=$host_alias
1137+target=$target_alias
1138+
1139+# FIXME: To remove some day.
1140+if 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
1144+ cross_compiling=yes
1145+ fi
1146+fi
1147+
1148+ac_tool_prefix=
1149+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150+
1151+test "$silent" = yes && exec 6>/dev/null
1152+
1153+
1154+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155+ac_ls_di=`ls -di .` &&
1156+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157+ as_fn_error $? "working directory cannot be determined"
1158+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159+ as_fn_error $? "pwd does not report name of working directory"
1160+
1161+
1162+# Find the source files, if location was not specified.
1163+if 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173+ s//\1/
1174+ q
1175+ }
1176+ /^X\(\/\/\)[^/].*/{
1177+ s//\1/
1178+ q
1179+ }
1180+ /^X\(\/\/\)$/{
1181+ s//\1/
1182+ q
1183+ }
1184+ /^X\(\/\).*/{
1185+ s//\1/
1186+ q
1187+ }
1188+ s/.*/./; q'`
1189+ srcdir=$ac_confdir
1190+ if test ! -r "$srcdir/$ac_unique_file"; then
1191+ srcdir=..
1192+ fi
1193+else
1194+ ac_srcdir_defaulted=no
1195+fi
1196+if 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"
1199+fi
1200+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201+ac_abs_confdir=`(
1202+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1203+ pwd)`
1204+# When building in place, set srcdir=.
1205+if test "$ac_abs_confdir" = "$ac_pwd"; then
1206+ srcdir=.
1207+fi
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.
1211+case $srcdir in
1212+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213+esac
1214+for 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}
1219+done
1220+
1221+#
1222+# Report the --help message.
1223+#
1224+if 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.
1227+ cat <<_ACEOF
1228+\`configure' configures streamly 0.6.0 to adapt to many kinds of systems.
1229+
1230+Usage: $0 [OPTION]... [VAR=VALUE]...
1231+
1232+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233+VAR=VALUE. See below for descriptions of some of the useful variables.
1234+
1235+Defaults for the options are specified in brackets.
1236+
1237+Configuration:
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 \`..']
1247+
1248+Installation directories:
1249+ --prefix=PREFIX install architecture-independent files in PREFIX
1250+ [$ac_default_prefix]
1251+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252+ [PREFIX]
1253+
1254+By default, \`make install' will install all the files in
1255+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257+for instance \`--prefix=\$HOME'.
1258+
1259+For better control, use the options below.
1260+
1261+Fine 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]
1281+_ACEOF
1282+
1283+ cat <<\_ACEOF
1284+_ACEOF
1285+fi
1286+
1287+if test -n "$ac_init_help"; then
1288+ case $ac_init_help in
1289+ short | recursive ) echo "Configuration of streamly 0.6.0:";;
1290+ esac
1291+ cat <<\_ACEOF
1292+
1293+Optional Packages:
1294+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1295+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1296+GHC
1297+
1298+Some 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>
1306+ CPP C preprocessor
1307+
1308+Use these variables to override the choices made by `configure' or to help
1309+it to find libraries and programs with nonstandard names/locations.
1310+
1311+Report bugs to <harendra.kumar@gmail.com>.
1312+_ACEOF
1313+ac_status=$?
1314+fi
1315+
1316+if 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"; } ||
1321+ continue
1322+ ac_builddir=.
1323+
1324+case "$ac_dir" in
1325+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326+*)
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/ ;;
1333+ esac ;;
1334+esac
1335+ac_abs_top_builddir=$ac_pwd
1336+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337+# for backward compatibility:
1338+ac_top_builddir=$ac_top_build_prefix
1339+
1340+case $srcdir in
1341+ .) # We are building in place.
1342+ ac_srcdir=.
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 ;;
1349+ *) # Relative name.
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 ;;
1353+esac
1354+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355+
1356+ cd "$ac_dir" || { ac_status=$?; continue; }
1357+ # Check for guested configure.
1358+ if test -f "$ac_srcdir/configure.gnu"; then
1359+ echo &&
1360+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361+ elif test -f "$ac_srcdir/configure"; then
1362+ echo &&
1363+ $SHELL "$ac_srcdir/configure" --help=recursive
1364+ else
1365+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366+ fi || ac_status=$?
1367+ cd "$ac_pwd" || { ac_status=$?; break; }
1368+ done
1369+fi
1370+
1371+test -n "$ac_init_help" && exit $ac_status
1372+if $ac_init_version; then
1373+ cat <<\_ACEOF
1374+streamly configure 0.6.0
1375+generated by GNU Autoconf 2.69
1376+
1377+Copyright (C) 2012 Free Software Foundation, Inc.
1378+This configure script is free software; the Free Software Foundation
1379+gives unlimited permission to copy, distribute and modify it.
1380+_ACEOF
1381+ exit
1382+fi
1383+
1384+## ------------------------ ##
1385+## Autoconf initialization. ##
1386+## ------------------------ ##
1387+
1388+# ac_fn_c_try_compile LINENO
1389+# --------------------------
1390+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1391+ac_fn_c_try_compile ()
1392+{
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"
1396+case "(($ac_try" in
1397+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1398+ *) ac_try_echo=$ac_try;;
1399+esac
1400+eval 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
1403+ ac_status=$?
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
1408+ fi
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 :
1414+ ac_retval=0
1415+else
1416+ $as_echo "$as_me: failed program was:" >&5
1417+sed 's/^/| /' conftest.$ac_ext >&5
1418+
1419+ ac_retval=1
1420+fi
1421+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1422+ as_fn_set_status $ac_retval
1423+
1424+} # ac_fn_c_try_compile
1425+
1426+# ac_fn_c_try_cpp LINENO
1427+# ----------------------
1428+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1429+ac_fn_c_try_cpp ()
1430+{
1431+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1432+ if { { ac_try="$ac_cpp conftest.$ac_ext"
1433+case "(($ac_try" in
1434+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435+ *) ac_try_echo=$ac_try;;
1436+esac
1437+eval 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
1440+ ac_status=$?
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
1445+ fi
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
1450+ }; then :
1451+ ac_retval=0
1452+else
1453+ $as_echo "$as_me: failed program was:" >&5
1454+sed 's/^/| /' conftest.$ac_ext >&5
1455+
1456+ ac_retval=1
1457+fi
1458+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459+ as_fn_set_status $ac_retval
1460+
1461+} # ac_fn_c_try_cpp
1462+
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
1467+# accordingly.
1468+ac_fn_c_check_header_mongrel ()
1469+{
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; }
1474+if eval \${$3+:} false; then :
1475+ $as_echo_n "(cached) " >&6
1476+fi
1477+eval ac_res=\$$3
1478+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479+$as_echo "$ac_res" >&6; }
1480+else
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; }
1484+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1485+/* end confdefs.h. */
1486+$4
1487+#include <$2>
1488+_ACEOF
1489+if ac_fn_c_try_compile "$LINENO"; then :
1490+ ac_header_compiler=yes
1491+else
1492+ ac_header_compiler=no
1493+fi
1494+rm -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; }
1497+
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; }
1501+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502+/* end confdefs.h. */
1503+#include <$2>
1504+_ACEOF
1505+if ac_fn_c_try_cpp "$LINENO"; then :
1506+ ac_header_preproc=yes
1507+else
1508+ ac_header_preproc=no
1509+fi
1510+rm -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; }
1513+
1514+# So? What about this header?
1515+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1516+ yes:no: )
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;}
1521+ ;;
1522+ no:yes:* )
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 harendra.kumar@gmail.com ##
1535+## --------------------------------------- ##"
1536+ ) | sed "s/^/$as_me: WARNING: /" >&2
1537+ ;;
1538+esac
1539+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1540+$as_echo_n "checking for $2... " >&6; }
1541+if eval \${$3+:} false; then :
1542+ $as_echo_n "(cached) " >&6
1543+else
1544+ eval "$3=\$ac_header_compiler"
1545+fi
1546+eval ac_res=\$$3
1547+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548+$as_echo "$ac_res" >&6; }
1549+fi
1550+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551+
1552+} # ac_fn_c_check_header_mongrel
1553+
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.
1558+ac_fn_c_try_run ()
1559+{
1560+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561+ if { { ac_try="$ac_link"
1562+case "(($ac_try" in
1563+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564+ *) ac_try_echo=$ac_try;;
1565+esac
1566+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567+$as_echo "$ac_try_echo"; } >&5
1568+ (eval "$ac_link") 2>&5
1569+ ac_status=$?
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;;
1575+esac
1576+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577+$as_echo "$ac_try_echo"; } >&5
1578+ (eval "$ac_try") 2>&5
1579+ ac_status=$?
1580+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581+ test $ac_status = 0; }; }; then :
1582+ ac_retval=0
1583+else
1584+ $as_echo "$as_me: program exited with status $ac_status" >&5
1585+ $as_echo "$as_me: failed program was:" >&5
1586+sed 's/^/| /' conftest.$ac_ext >&5
1587+
1588+ ac_retval=$ac_status
1589+fi
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
1593+
1594+} # ac_fn_c_try_run
1595+
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.
1600+ac_fn_c_check_header_compile ()
1601+{
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; }
1605+if eval \${$3+:} false; then :
1606+ $as_echo_n "(cached) " >&6
1607+else
1608+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609+/* end confdefs.h. */
1610+$4
1611+#include <$2>
1612+_ACEOF
1613+if ac_fn_c_try_compile "$LINENO"; then :
1614+ eval "$3=yes"
1615+else
1616+ eval "$3=no"
1617+fi
1618+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1619+fi
1620+eval ac_res=\$$3
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
1624+
1625+} # ac_fn_c_check_header_compile
1626+
1627+# ac_fn_c_try_link LINENO
1628+# -----------------------
1629+# Try to link conftest.$ac_ext, and return whether this succeeded.
1630+ac_fn_c_try_link ()
1631+{
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"
1635+case "(($ac_try" in
1636+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637+ *) ac_try_echo=$ac_try;;
1638+esac
1639+eval 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
1642+ ac_status=$?
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
1647+ fi
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
1655+ }; then :
1656+ ac_retval=0
1657+else
1658+ $as_echo "$as_me: failed program was:" >&5
1659+sed 's/^/| /' conftest.$ac_ext >&5
1660+
1661+ ac_retval=1
1662+fi
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
1670+
1671+} # ac_fn_c_try_link
1672+
1673+# ac_fn_c_check_func LINENO FUNC VAR
1674+# ----------------------------------
1675+# Tests whether FUNC exists, setting the cache variable VAR accordingly
1676+ac_fn_c_check_func ()
1677+{
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; }
1681+if eval \${$3+:} false; then :
1682+ $as_echo_n "(cached) " >&6
1683+else
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
1689+
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. */
1694+
1695+#ifdef __STDC__
1696+# include <limits.h>
1697+#else
1698+# include <assert.h>
1699+#endif
1700+
1701+#undef $2
1702+
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. */
1706+#ifdef __cplusplus
1707+extern "C"
1708+#endif
1709+char $2 ();
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
1714+choke me
1715+#endif
1716+
1717+int
1718+main ()
1719+{
1720+return $2 ();
1721+ ;
1722+ return 0;
1723+}
1724+_ACEOF
1725+if ac_fn_c_try_link "$LINENO"; then :
1726+ eval "$3=yes"
1727+else
1728+ eval "$3=no"
1729+fi
1730+rm -f core conftest.err conftest.$ac_objext \
1731+ conftest$ac_exeext conftest.$ac_ext
1732+fi
1733+eval ac_res=\$$3
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
1737+
1738+} # ac_fn_c_check_func
1739+cat >config.log <<_ACEOF
1740+This file contains any messages produced by compilers while
1741+running configure, to aid debugging if configure makes a mistake.
1742+
1743+It was created by streamly $as_me 0.6.0, which was
1744+generated by GNU Autoconf 2.69. Invocation command line was
1745+
1746+ $ $0 $@
1747+
1748+_ACEOF
1749+exec 5>>config.log
1750+{
1751+cat <<_ASUNAME
1752+## --------- ##
1753+## Platform. ##
1754+## --------- ##
1755+
1756+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1757+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1758+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1759+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1760+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1761+
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`
1764+
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`
1772+
1773+_ASUNAME
1774+
1775+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776+for as_dir in $PATH
1777+do
1778+ IFS=$as_save_IFS
1779+ test -z "$as_dir" && as_dir=.
1780+ $as_echo "PATH: $as_dir"
1781+ done
1782+IFS=$as_save_IFS
1783+
1784+} >&5
1785+
1786+cat >&5 <<_ACEOF
1787+
1788+
1789+## ----------- ##
1790+## Core tests. ##
1791+## ----------- ##
1792+
1793+_ACEOF
1794+
1795+
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.
1801+ac_configure_args=
1802+ac_configure_args0=
1803+ac_configure_args1=
1804+ac_must_keep_next=false
1805+for ac_pass in 1 2
1806+do
1807+ for ac_arg
1808+ do
1809+ case $ac_arg in
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)
1813+ continue ;;
1814+ *\'*)
1815+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1816+ esac
1817+ case $ac_pass in
1818+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1819+ 2)
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.
1823+ else
1824+ case $ac_arg in
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 ;;
1831+ esac
1832+ ;;
1833+ -* ) ac_must_keep_next=true ;;
1834+ esac
1835+ fi
1836+ as_fn_append ac_configure_args " '$ac_arg'"
1837+ ;;
1838+ esac
1839+ done
1840+done
1841+{ ac_configure_args0=; unset ac_configure_args0;}
1842+{ ac_configure_args1=; unset ac_configure_args1;}
1843+
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.
1849+trap 'exit_status=$?
1850+ # Save into config.log some information that might help in debugging.
1851+ {
1852+ echo
1853+
1854+ $as_echo "## ---------------- ##
1855+## Cache variables. ##
1856+## ---------------- ##"
1857+ echo
1858+ # The following way of writing the cache mishandles newlines in values,
1859+(
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
1862+ case $ac_val in #(
1863+ *${as_nl}*)
1864+ case $ac_var in #(
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;} ;;
1867+ esac
1868+ case $ac_var in #(
1869+ _ | IFS | as_nl) ;; #(
1870+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1871+ *) { eval $ac_var=; unset $ac_var;} ;;
1872+ esac ;;
1873+ esac
1874+ done
1875+ (set) 2>&1 |
1876+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1877+ *${as_nl}ac_space=\ *)
1878+ sed -n \
1879+ "s/'\''/'\''\\\\'\'''\''/g;
1880+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1881+ ;; #(
1882+ *)
1883+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884+ ;;
1885+ esac |
1886+ sort
1887+)
1888+ echo
1889+
1890+ $as_echo "## ----------------- ##
1891+## Output variables. ##
1892+## ----------------- ##"
1893+ echo
1894+ for ac_var in $ac_subst_vars
1895+ do
1896+ eval ac_val=\$$ac_var
1897+ case $ac_val in
1898+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899+ esac
1900+ $as_echo "$ac_var='\''$ac_val'\''"
1901+ done | sort
1902+ echo
1903+
1904+ if test -n "$ac_subst_files"; then
1905+ $as_echo "## ------------------- ##
1906+## File substitutions. ##
1907+## ------------------- ##"
1908+ echo
1909+ for ac_var in $ac_subst_files
1910+ do
1911+ eval ac_val=\$$ac_var
1912+ case $ac_val in
1913+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914+ esac
1915+ $as_echo "$ac_var='\''$ac_val'\''"
1916+ done | sort
1917+ echo
1918+ fi
1919+
1920+ if test -s confdefs.h; then
1921+ $as_echo "## ----------- ##
1922+## confdefs.h. ##
1923+## ----------- ##"
1924+ echo
1925+ cat confdefs.h
1926+ echo
1927+ fi
1928+ test "$ac_signal" != 0 &&
1929+ $as_echo "$as_me: caught signal $ac_signal"
1930+ $as_echo "$as_me: exit $exit_status"
1931+ } >&5
1932+ rm -f core *.core core.conftest.* &&
1933+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1934+ exit $exit_status
1935+' 0
1936+for ac_signal in 1 2 13 15; do
1937+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938+done
1939+ac_signal=0
1940+
1941+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1942+rm -f -r conftest* confdefs.h
1943+
1944+$as_echo "/* confdefs.h */" > confdefs.h
1945+
1946+# Predefined preprocessor variables.
1947+
1948+cat >>confdefs.h <<_ACEOF
1949+#define PACKAGE_NAME "$PACKAGE_NAME"
1950+_ACEOF
1951+
1952+cat >>confdefs.h <<_ACEOF
1953+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1954+_ACEOF
1955+
1956+cat >>confdefs.h <<_ACEOF
1957+#define PACKAGE_VERSION "$PACKAGE_VERSION"
1958+_ACEOF
1959+
1960+cat >>confdefs.h <<_ACEOF
1961+#define PACKAGE_STRING "$PACKAGE_STRING"
1962+_ACEOF
1963+
1964+cat >>confdefs.h <<_ACEOF
1965+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1966+_ACEOF
1967+
1968+cat >>confdefs.h <<_ACEOF
1969+#define PACKAGE_URL "$PACKAGE_URL"
1970+_ACEOF
1971+
1972+
1973+# Let the site file select an alternate cache file if it wants to.
1974+# Prefer an explicitly selected file to automatically selected ones.
1975+ac_site_file1=NONE
1976+ac_site_file2=NONE
1977+if 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;;
1983+ esac
1984+elif test "x$prefix" != xNONE; then
1985+ ac_site_file1=$prefix/share/config.site
1986+ ac_site_file2=$prefix/etc/config.site
1987+else
1988+ ac_site_file1=$ac_default_prefix/share/config.site
1989+ ac_site_file2=$ac_default_prefix/etc/config.site
1990+fi
1991+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1992+do
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
1998+ . "$ac_site_file" \
1999+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2000+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001+as_fn_error $? "failed to load site script $ac_site_file
2002+See \`config.log' for more details" "$LINENO" 5; }
2003+ fi
2004+done
2005+
2006+if 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;}
2012+ case $cache_file in
2013+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014+ *) . "./$cache_file";;
2015+ esac
2016+ fi
2017+else
2018+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019+$as_echo "$as_me: creating cache $cache_file" >&6;}
2020+ >$cache_file
2021+fi
2022+
2023+# Check that the precious variables saved in the cache have kept the same
2024+# value.
2025+ac_cache_corrupted=false
2026+for 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
2032+ set,)
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=: ;;
2036+ ,set)
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=: ;;
2040+ ,);;
2041+ *)
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=:
2050+ else
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
2054+ fi
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;}
2059+ fi;;
2060+ esac
2061+ # Pass precious variables to config.status.
2062+ if test "$ac_new_set" = set; then
2063+ case $ac_new_val in
2064+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2065+ *) ac_arg=$ac_var=$ac_new_val ;;
2066+ esac
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'" ;;
2070+ esac
2071+ fi
2072+done
2073+if $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
2079+fi
2080+## -------------------- ##
2081+## Main body of script. ##
2082+## -------------------- ##
2083+
2084+ac_ext=c
2085+ac_cpp='$CPP $CPPFLAGS'
2086+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2089+
2090+
2091+
2092+# To suppress "WARNING: unrecognized options: --with-compiler"
2093+
2094+# Check whether --with-compiler was given.
2095+if test "${with_compiler+set}" = set; then :
2096+ withval=$with_compiler;
2097+fi
2098+
2099+
2100+# Check headers and functions required
2101+ac_ext=c
2102+ac_cpp='$CPP $CPPFLAGS'
2103+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106+if 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.
2108+set 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; }
2111+if ${ac_cv_prog_CC+:} false; then :
2112+ $as_echo_n "(cached) " >&6
2113+else
2114+ if test -n "$CC"; then
2115+ ac_cv_prog_CC="$CC" # Let the user override the test.
2116+else
2117+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118+for as_dir in $PATH
2119+do
2120+ IFS=$as_save_IFS
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
2126+ break 2
2127+ fi
2128+done
2129+ done
2130+IFS=$as_save_IFS
2131+
2132+fi
2133+fi
2134+CC=$ac_cv_prog_CC
2135+if test -n "$CC"; then
2136+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137+$as_echo "$CC" >&6; }
2138+else
2139+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140+$as_echo "no" >&6; }
2141+fi
2142+
2143+
2144+fi
2145+if test -z "$ac_cv_prog_CC"; then
2146+ ac_ct_CC=$CC
2147+ # Extract the first word of "gcc", so it can be a program name with args.
2148+set 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; }
2151+if ${ac_cv_prog_ac_ct_CC+:} false; then :
2152+ $as_echo_n "(cached) " >&6
2153+else
2154+ if test -n "$ac_ct_CC"; then
2155+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2156+else
2157+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158+for as_dir in $PATH
2159+do
2160+ IFS=$as_save_IFS
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
2166+ break 2
2167+ fi
2168+done
2169+ done
2170+IFS=$as_save_IFS
2171+
2172+fi
2173+fi
2174+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175+if 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; }
2178+else
2179+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2180+$as_echo "no" >&6; }
2181+fi
2182+
2183+ if test "x$ac_ct_CC" = x; then
2184+ CC=""
2185+ else
2186+ case $cross_compiling:$ac_tool_warned in
2187+yes:)
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;}
2190+ac_tool_warned=yes ;;
2191+esac
2192+ CC=$ac_ct_CC
2193+ fi
2194+else
2195+ CC="$ac_cv_prog_CC"
2196+fi
2197+
2198+if 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.
2201+set 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; }
2204+if ${ac_cv_prog_CC+:} false; then :
2205+ $as_echo_n "(cached) " >&6
2206+else
2207+ if test -n "$CC"; then
2208+ ac_cv_prog_CC="$CC" # Let the user override the test.
2209+else
2210+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211+for as_dir in $PATH
2212+do
2213+ IFS=$as_save_IFS
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
2219+ break 2
2220+ fi
2221+done
2222+ done
2223+IFS=$as_save_IFS
2224+
2225+fi
2226+fi
2227+CC=$ac_cv_prog_CC
2228+if test -n "$CC"; then
2229+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2230+$as_echo "$CC" >&6; }
2231+else
2232+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233+$as_echo "no" >&6; }
2234+fi
2235+
2236+
2237+ fi
2238+fi
2239+if test -z "$CC"; then
2240+ # Extract the first word of "cc", so it can be a program name with args.
2241+set 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; }
2244+if ${ac_cv_prog_CC+:} false; then :
2245+ $as_echo_n "(cached) " >&6
2246+else
2247+ if test -n "$CC"; then
2248+ ac_cv_prog_CC="$CC" # Let the user override the test.
2249+else
2250+ ac_prog_rejected=no
2251+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252+for as_dir in $PATH
2253+do
2254+ IFS=$as_save_IFS
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
2260+ continue
2261+ fi
2262+ ac_cv_prog_CC="cc"
2263+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264+ break 2
2265+ fi
2266+done
2267+ done
2268+IFS=$as_save_IFS
2269+
2270+if 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
2273+ shift
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.
2278+ shift
2279+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2280+ fi
2281+fi
2282+fi
2283+fi
2284+CC=$ac_cv_prog_CC
2285+if test -n "$CC"; then
2286+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287+$as_echo "$CC" >&6; }
2288+else
2289+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290+$as_echo "no" >&6; }
2291+fi
2292+
2293+
2294+fi
2295+if test -z "$CC"; then
2296+ if test -n "$ac_tool_prefix"; then
2297+ for ac_prog in cl.exe
2298+ do
2299+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2300+set 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; }
2303+if ${ac_cv_prog_CC+:} false; then :
2304+ $as_echo_n "(cached) " >&6
2305+else
2306+ if test -n "$CC"; then
2307+ ac_cv_prog_CC="$CC" # Let the user override the test.
2308+else
2309+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310+for as_dir in $PATH
2311+do
2312+ IFS=$as_save_IFS
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
2318+ break 2
2319+ fi
2320+done
2321+ done
2322+IFS=$as_save_IFS
2323+
2324+fi
2325+fi
2326+CC=$ac_cv_prog_CC
2327+if test -n "$CC"; then
2328+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329+$as_echo "$CC" >&6; }
2330+else
2331+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332+$as_echo "no" >&6; }
2333+fi
2334+
2335+
2336+ test -n "$CC" && break
2337+ done
2338+fi
2339+if test -z "$CC"; then
2340+ ac_ct_CC=$CC
2341+ for ac_prog in cl.exe
2342+do
2343+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2344+set 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; }
2347+if ${ac_cv_prog_ac_ct_CC+:} false; then :
2348+ $as_echo_n "(cached) " >&6
2349+else
2350+ if test -n "$ac_ct_CC"; then
2351+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352+else
2353+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354+for as_dir in $PATH
2355+do
2356+ IFS=$as_save_IFS
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
2362+ break 2
2363+ fi
2364+done
2365+ done
2366+IFS=$as_save_IFS
2367+
2368+fi
2369+fi
2370+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371+if 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; }
2374+else
2375+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2376+$as_echo "no" >&6; }
2377+fi
2378+
2379+
2380+ test -n "$ac_ct_CC" && break
2381+done
2382+
2383+ if test "x$ac_ct_CC" = x; then
2384+ CC=""
2385+ else
2386+ case $cross_compiling:$ac_tool_warned in
2387+yes:)
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;}
2390+ac_tool_warned=yes ;;
2391+esac
2392+ CC=$ac_ct_CC
2393+ fi
2394+fi
2395+
2396+fi
2397+
2398+
2399+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401+as_fn_error $? "no acceptable C compiler found in \$PATH
2402+See \`config.log' for more details" "$LINENO" 5; }
2403+
2404+# Provide some information about the compiler.
2405+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2406+set X $ac_compile
2407+ac_compiler=$2
2408+for ac_option in --version -v -V -qversion; do
2409+ { { ac_try="$ac_compiler $ac_option >&5"
2410+case "(($ac_try" in
2411+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412+ *) ac_try_echo=$ac_try;;
2413+esac
2414+eval 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
2417+ ac_status=$?
2418+ if test -s conftest.err; then
2419+ sed '10a\
2420+... rest of stderr output deleted ...
2421+ 10q' conftest.err >conftest.er1
2422+ cat conftest.er1 >&5
2423+ fi
2424+ rm -f conftest.er1 conftest.err
2425+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426+ test $ac_status = 0; }
2427+done
2428+
2429+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430+/* end confdefs.h. */
2431+
2432+int
2433+main ()
2434+{
2435+
2436+ ;
2437+ return 0;
2438+}
2439+_ACEOF
2440+ac_clean_files_save=$ac_clean_files
2441+ac_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
2444+# of exeext.
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; }
2447+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2448+
2449+# The possible output files:
2450+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2451+
2452+ac_rmfiles=
2453+for ac_file in $ac_files
2454+do
2455+ case $ac_file in
2456+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2457+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2458+ esac
2459+done
2460+rm -f $ac_rmfiles
2461+
2462+if { { ac_try="$ac_link_default"
2463+case "(($ac_try" in
2464+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465+ *) ac_try_echo=$ac_try;;
2466+esac
2467+eval 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
2470+ ac_status=$?
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
2477+# Autoconf.
2478+for ac_file in $ac_files ''
2479+do
2480+ test -f "$ac_file" || continue
2481+ case $ac_file in
2482+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2483+ ;;
2484+ [ab].out )
2485+ # We found the default executable, but exeext='' is most
2486+ # certainly right.
2487+ break;;
2488+ *.* )
2489+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2490+ then :; else
2491+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492+ fi
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
2497+ # actually working.
2498+ break;;
2499+ * )
2500+ break;;
2501+ esac
2502+done
2503+test "$ac_cv_exeext" = no && ac_cv_exeext=
2504+
2505+else
2506+ ac_file=''
2507+fi
2508+if test -z "$ac_file"; then :
2509+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510+$as_echo "no" >&6; }
2511+$as_echo "$as_me: failed program was:" >&5
2512+sed 's/^/| /' conftest.$ac_ext >&5
2513+
2514+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516+as_fn_error 77 "C compiler cannot create executables
2517+See \`config.log' for more details" "$LINENO" 5; }
2518+else
2519+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520+$as_echo "yes" >&6; }
2521+fi
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; }
2526+ac_exeext=$ac_cv_exeext
2527+
2528+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2529+ac_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; }
2532+if { { ac_try="$ac_link"
2533+case "(($ac_try" in
2534+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535+ *) ac_try_echo=$ac_try;;
2536+esac
2537+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538+$as_echo "$ac_try_echo"; } >&5
2539+ (eval "$ac_link") 2>&5
2540+ ac_status=$?
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
2546+# `rm'.
2547+for ac_file in conftest.exe conftest conftest.*; do
2548+ test -f "$ac_file" || continue
2549+ case $ac_file in
2550+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2551+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552+ break;;
2553+ * ) break;;
2554+ esac
2555+done
2556+else
2557+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2560+See \`config.log' for more details" "$LINENO" 5; }
2561+fi
2562+rm -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; }
2565+
2566+rm -f conftest.$ac_ext
2567+EXEEXT=$ac_cv_exeext
2568+ac_exeext=$EXEEXT
2569+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570+/* end confdefs.h. */
2571+#include <stdio.h>
2572+int
2573+main ()
2574+{
2575+FILE *f = fopen ("conftest.out", "w");
2576+ return ferror (f) || fclose (f) != 0;
2577+
2578+ ;
2579+ return 0;
2580+}
2581+_ACEOF
2582+ac_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; }
2587+if test "$cross_compiling" != yes; then
2588+ { { ac_try="$ac_link"
2589+case "(($ac_try" in
2590+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591+ *) ac_try_echo=$ac_try;;
2592+esac
2593+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594+$as_echo "$ac_try_echo"; } >&5
2595+ (eval "$ac_link") 2>&5
2596+ ac_status=$?
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;;
2603+esac
2604+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605+$as_echo "$ac_try_echo"; } >&5
2606+ (eval "$ac_try") 2>&5
2607+ ac_status=$?
2608+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609+ test $ac_status = 0; }; }; then
2610+ cross_compiling=no
2611+ else
2612+ if test "$cross_compiling" = maybe; then
2613+ cross_compiling=yes
2614+ else
2615+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617+as_fn_error $? "cannot run C compiled programs.
2618+If you meant to cross compile, use \`--host'.
2619+See \`config.log' for more details" "$LINENO" 5; }
2620+ fi
2621+ fi
2622+fi
2623+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2624+$as_echo "$cross_compiling" >&6; }
2625+
2626+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2627+ac_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; }
2630+if ${ac_cv_objext+:} false; then :
2631+ $as_echo_n "(cached) " >&6
2632+else
2633+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634+/* end confdefs.h. */
2635+
2636+int
2637+main ()
2638+{
2639+
2640+ ;
2641+ return 0;
2642+}
2643+_ACEOF
2644+rm -f conftest.o conftest.obj
2645+if { { ac_try="$ac_compile"
2646+case "(($ac_try" in
2647+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648+ *) ac_try_echo=$ac_try;;
2649+esac
2650+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651+$as_echo "$ac_try_echo"; } >&5
2652+ (eval "$ac_compile") 2>&5
2653+ ac_status=$?
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;
2658+ case $ac_file in
2659+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2660+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2661+ break;;
2662+ esac
2663+done
2664+else
2665+ $as_echo "$as_me: failed program was:" >&5
2666+sed 's/^/| /' conftest.$ac_ext >&5
2667+
2668+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2669+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670+as_fn_error $? "cannot compute suffix of object files: cannot compile
2671+See \`config.log' for more details" "$LINENO" 5; }
2672+fi
2673+rm -f conftest.$ac_cv_objext conftest.$ac_ext
2674+fi
2675+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2676+$as_echo "$ac_cv_objext" >&6; }
2677+OBJEXT=$ac_cv_objext
2678+ac_objext=$OBJEXT
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; }
2681+if ${ac_cv_c_compiler_gnu+:} false; then :
2682+ $as_echo_n "(cached) " >&6
2683+else
2684+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685+/* end confdefs.h. */
2686+
2687+int
2688+main ()
2689+{
2690+#ifndef __GNUC__
2691+ choke me
2692+#endif
2693+
2694+ ;
2695+ return 0;
2696+}
2697+_ACEOF
2698+if ac_fn_c_try_compile "$LINENO"; then :
2699+ ac_compiler_gnu=yes
2700+else
2701+ ac_compiler_gnu=no
2702+fi
2703+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704+ac_cv_c_compiler_gnu=$ac_compiler_gnu
2705+
2706+fi
2707+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2708+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2709+if test $ac_compiler_gnu = yes; then
2710+ GCC=yes
2711+else
2712+ GCC=
2713+fi
2714+ac_test_CFLAGS=${CFLAGS+set}
2715+ac_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; }
2718+if ${ac_cv_prog_cc_g+:} false; then :
2719+ $as_echo_n "(cached) " >&6
2720+else
2721+ ac_save_c_werror_flag=$ac_c_werror_flag
2722+ ac_c_werror_flag=yes
2723+ ac_cv_prog_cc_g=no
2724+ CFLAGS="-g"
2725+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726+/* end confdefs.h. */
2727+
2728+int
2729+main ()
2730+{
2731+
2732+ ;
2733+ return 0;
2734+}
2735+_ACEOF
2736+if ac_fn_c_try_compile "$LINENO"; then :
2737+ ac_cv_prog_cc_g=yes
2738+else
2739+ CFLAGS=""
2740+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741+/* end confdefs.h. */
2742+
2743+int
2744+main ()
2745+{
2746+
2747+ ;
2748+ return 0;
2749+}
2750+_ACEOF
2751+if ac_fn_c_try_compile "$LINENO"; then :
2752+
2753+else
2754+ ac_c_werror_flag=$ac_save_c_werror_flag
2755+ CFLAGS="-g"
2756+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757+/* end confdefs.h. */
2758+
2759+int
2760+main ()
2761+{
2762+
2763+ ;
2764+ return 0;
2765+}
2766+_ACEOF
2767+if ac_fn_c_try_compile "$LINENO"; then :
2768+ ac_cv_prog_cc_g=yes
2769+fi
2770+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771+fi
2772+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2773+fi
2774+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775+ ac_c_werror_flag=$ac_save_c_werror_flag
2776+fi
2777+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2778+$as_echo "$ac_cv_prog_cc_g" >&6; }
2779+if test "$ac_test_CFLAGS" = set; then
2780+ CFLAGS=$ac_save_CFLAGS
2781+elif test $ac_cv_prog_cc_g = yes; then
2782+ if test "$GCC" = yes; then
2783+ CFLAGS="-g -O2"
2784+ else
2785+ CFLAGS="-g"
2786+ fi
2787+else
2788+ if test "$GCC" = yes; then
2789+ CFLAGS="-O2"
2790+ else
2791+ CFLAGS=
2792+ fi
2793+fi
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; }
2796+if ${ac_cv_prog_cc_c89+:} false; then :
2797+ $as_echo_n "(cached) " >&6
2798+else
2799+ ac_cv_prog_cc_c89=no
2800+ac_save_CC=$CC
2801+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802+/* end confdefs.h. */
2803+#include <stdarg.h>
2804+#include <stdio.h>
2805+struct stat;
2806+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2807+struct buf { int x; };
2808+FILE * (*rcsopen) (struct buf *, struct stat *, int);
2809+static char *e (p, i)
2810+ char **p;
2811+ int i;
2812+{
2813+ return p[i];
2814+}
2815+static char *f (char * (*g) (char **, int), char **p, ...)
2816+{
2817+ char *s;
2818+ va_list v;
2819+ va_start (v,p);
2820+ s = g (p, va_arg (v,int));
2821+ va_end (v);
2822+ return s;
2823+}
2824+
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. */
2832+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2833+
2834+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2835+ inside strings and character constants. */
2836+#define FOO(x) 'x'
2837+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2838+
2839+int test (int i, double x);
2840+struct s1 {int (*f) (int a);};
2841+struct s2 {int (*f) (double a);};
2842+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2843+int argc;
2844+char **argv;
2845+int
2846+main ()
2847+{
2848+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2849+ ;
2850+ return 0;
2851+}
2852+_ACEOF
2853+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2854+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2855+do
2856+ CC="$ac_save_CC $ac_arg"
2857+ if ac_fn_c_try_compile "$LINENO"; then :
2858+ ac_cv_prog_cc_c89=$ac_arg
2859+fi
2860+rm -f core conftest.err conftest.$ac_objext
2861+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2862+done
2863+rm -f conftest.$ac_ext
2864+CC=$ac_save_CC
2865+
2866+fi
2867+# AC_CACHE_VAL
2868+case "x$ac_cv_prog_cc_c89" in
2869+ x)
2870+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2871+$as_echo "none needed" >&6; } ;;
2872+ xno)
2873+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2874+$as_echo "unsupported" >&6; } ;;
2875+ *)
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; } ;;
2879+esac
2880+if test "x$ac_cv_prog_cc_c89" != xno; then :
2881+
2882+fi
2883+
2884+ac_ext=c
2885+ac_cpp='$CPP $CPPFLAGS'
2886+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2889+
2890+
2891+ac_ext=c
2892+ac_cpp='$CPP $CPPFLAGS'
2893+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895+ac_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.
2899+if test -n "$CPP" && test -d "$CPP"; then
2900+ CPP=
2901+fi
2902+if test -z "$CPP"; then
2903+ if ${ac_cv_prog_CPP+:} false; then :
2904+ $as_echo_n "(cached) " >&6
2905+else
2906+ # Double quotes because CPP needs to be expanded
2907+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2908+ do
2909+ ac_preproc_ok=false
2910+for ac_c_preproc_warn_flag in '' yes
2911+do
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. */
2920+#ifdef __STDC__
2921+# include <limits.h>
2922+#else
2923+# include <assert.h>
2924+#endif
2925+ Syntax error
2926+_ACEOF
2927+if ac_fn_c_try_cpp "$LINENO"; then :
2928+
2929+else
2930+ # Broken: fails on valid input.
2931+continue
2932+fi
2933+rm -f conftest.err conftest.i conftest.$ac_ext
2934+
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>
2940+_ACEOF
2941+if ac_fn_c_try_cpp "$LINENO"; then :
2942+ # Broken: success on invalid input.
2943+continue
2944+else
2945+ # Passes both tests.
2946+ac_preproc_ok=:
2947+break
2948+fi
2949+rm -f conftest.err conftest.i conftest.$ac_ext
2950+
2951+done
2952+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2953+rm -f conftest.i conftest.err conftest.$ac_ext
2954+if $ac_preproc_ok; then :
2955+ break
2956+fi
2957+
2958+ done
2959+ ac_cv_prog_CPP=$CPP
2960+
2961+fi
2962+ CPP=$ac_cv_prog_CPP
2963+else
2964+ ac_cv_prog_CPP=$CPP
2965+fi
2966+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2967+$as_echo "$CPP" >&6; }
2968+ac_preproc_ok=false
2969+for ac_c_preproc_warn_flag in '' yes
2970+do
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. */
2979+#ifdef __STDC__
2980+# include <limits.h>
2981+#else
2982+# include <assert.h>
2983+#endif
2984+ Syntax error
2985+_ACEOF
2986+if ac_fn_c_try_cpp "$LINENO"; then :
2987+
2988+else
2989+ # Broken: fails on valid input.
2990+continue
2991+fi
2992+rm -f conftest.err conftest.i conftest.$ac_ext
2993+
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>
2999+_ACEOF
3000+if ac_fn_c_try_cpp "$LINENO"; then :
3001+ # Broken: success on invalid input.
3002+continue
3003+else
3004+ # Passes both tests.
3005+ac_preproc_ok=:
3006+break
3007+fi
3008+rm -f conftest.err conftest.i conftest.$ac_ext
3009+
3010+done
3011+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3012+rm -f conftest.i conftest.err conftest.$ac_ext
3013+if $ac_preproc_ok; then :
3014+
3015+else
3016+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3019+See \`config.log' for more details" "$LINENO" 5; }
3020+fi
3021+
3022+ac_ext=c
3023+ac_cpp='$CPP $CPPFLAGS'
3024+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027+
3028+
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; }
3031+if ${ac_cv_path_GREP+:} false; then :
3032+ $as_echo_n "(cached) " >&6
3033+else
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
3038+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3039+do
3040+ IFS=$as_save_IFS
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
3048+case `"$ac_path_GREP" --version 2>&1` in
3049+*GNU*)
3050+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3051+*)
3052+ ac_count=0
3053+ $as_echo_n 0123456789 >"conftest.in"
3054+ while :
3055+ do
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
3067+ fi
3068+ # 10*(2^10) chars as input seems more than enough
3069+ test $ac_count -gt 10 && break
3070+ done
3071+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3072+esac
3073+
3074+ $ac_path_GREP_found && break 3
3075+ done
3076+ done
3077+ done
3078+IFS=$as_save_IFS
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
3081+ fi
3082+else
3083+ ac_cv_path_GREP=$GREP
3084+fi
3085+
3086+fi
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"
3090+
3091+
3092+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3093+$as_echo_n "checking for egrep... " >&6; }
3094+if ${ac_cv_path_EGREP+:} false; then :
3095+ $as_echo_n "(cached) " >&6
3096+else
3097+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3098+ then ac_cv_path_EGREP="$GREP -E"
3099+ else
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
3104+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3105+do
3106+ IFS=$as_save_IFS
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
3114+case `"$ac_path_EGREP" --version 2>&1` in
3115+*GNU*)
3116+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3117+*)
3118+ ac_count=0
3119+ $as_echo_n 0123456789 >"conftest.in"
3120+ while :
3121+ do
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
3133+ fi
3134+ # 10*(2^10) chars as input seems more than enough
3135+ test $ac_count -gt 10 && break
3136+ done
3137+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3138+esac
3139+
3140+ $ac_path_EGREP_found && break 3
3141+ done
3142+ done
3143+ done
3144+IFS=$as_save_IFS
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
3147+ fi
3148+else
3149+ ac_cv_path_EGREP=$EGREP
3150+fi
3151+
3152+ fi
3153+fi
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"
3157+
3158+
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; }
3161+if ${ac_cv_header_stdc+:} false; then :
3162+ $as_echo_n "(cached) " >&6
3163+else
3164+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165+/* end confdefs.h. */
3166+#include <stdlib.h>
3167+#include <stdarg.h>
3168+#include <string.h>
3169+#include <float.h>
3170+
3171+int
3172+main ()
3173+{
3174+
3175+ ;
3176+ return 0;
3177+}
3178+_ACEOF
3179+if ac_fn_c_try_compile "$LINENO"; then :
3180+ ac_cv_header_stdc=yes
3181+else
3182+ ac_cv_header_stdc=no
3183+fi
3184+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185+
3186+if 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. */
3190+#include <string.h>
3191+
3192+_ACEOF
3193+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3194+ $EGREP "memchr" >/dev/null 2>&1; then :
3195+
3196+else
3197+ ac_cv_header_stdc=no
3198+fi
3199+rm -f conftest*
3200+
3201+fi
3202+
3203+if 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. */
3207+#include <stdlib.h>
3208+
3209+_ACEOF
3210+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3211+ $EGREP "free" >/dev/null 2>&1; then :
3212+
3213+else
3214+ ac_cv_header_stdc=no
3215+fi
3216+rm -f conftest*
3217+
3218+fi
3219+
3220+if 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 :
3223+ :
3224+else
3225+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226+/* end confdefs.h. */
3227+#include <ctype.h>
3228+#include <stdlib.h>
3229+#if ((' ' & 0x0FF) == 0x020)
3230+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3231+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3232+#else
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))
3238+#endif
3239+
3240+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3241+int
3242+main ()
3243+{
3244+ int i;
3245+ for (i = 0; i < 256; i++)
3246+ if (XOR (islower (i), ISLOWER (i))
3247+ || toupper (i) != TOUPPER (i))
3248+ return 2;
3249+ return 0;
3250+}
3251+_ACEOF
3252+if ac_fn_c_try_run "$LINENO"; then :
3253+
3254+else
3255+ ac_cv_header_stdc=no
3256+fi
3257+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3258+ conftest.$ac_objext conftest.beam conftest.$ac_ext
3259+fi
3260+
3261+fi
3262+fi
3263+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3264+$as_echo "$ac_cv_header_stdc" >&6; }
3265+if test $ac_cv_header_stdc = yes; then
3266+
3267+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3268+
3269+fi
3270+
3271+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3272+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3273+ inttypes.h stdint.h unistd.h
3274+do :
3275+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3276+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3277+"
3278+if 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
3281+_ACEOF
3282+
3283+fi
3284+
3285+done
3286+
3287+
3288+for ac_header in time.h
3289+do :
3290+ ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3291+if test "x$ac_cv_header_time_h" = xyes; then :
3292+ cat >>confdefs.h <<_ACEOF
3293+#define HAVE_TIME_H 1
3294+_ACEOF
3295+
3296+fi
3297+
3298+done
3299+
3300+for ac_func in clock_gettime
3301+do :
3302+ ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3303+if test "x$ac_cv_func_clock_gettime" = xyes; then :
3304+ cat >>confdefs.h <<_ACEOF
3305+#define HAVE_CLOCK_GETTIME 1
3306+_ACEOF
3307+
3308+fi
3309+done
3310+
3311+
3312+# Output
3313+ac_config_headers="$ac_config_headers src/Streamly/Time/config.h"
3314+
3315+cat >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.
3321+#
3322+# config.status only pays attention to the cache file if you give it
3323+# the --recheck option to rerun configure.
3324+#
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
3327+# following values.
3328+
3329+_ACEOF
3330+
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.
3336+(
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
3339+ case $ac_val in #(
3340+ *${as_nl}*)
3341+ case $ac_var in #(
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;} ;;
3344+ esac
3345+ case $ac_var in #(
3346+ _ | IFS | as_nl) ;; #(
3347+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3348+ *) { eval $ac_var=; unset $ac_var;} ;;
3349+ esac ;;
3350+ esac
3351+ done
3352+
3353+ (set) 2>&1 |
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 \.
3358+ sed -n \
3359+ "s/'/'\\\\''/g;
3360+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3361+ ;; #(
3362+ *)
3363+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3364+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3365+ ;;
3366+ esac |
3367+ sort
3368+) |
3369+ sed '
3370+ /^ac_cv_env_/b end
3371+ t clear
3372+ :clear
3373+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3374+ t end
3375+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3376+ :end' >>confcache
3377+if 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"
3384+ else
3385+ case $cache_file in #(
3386+ */* | ?:*)
3387+ mv -f confcache "$cache_file"$$ &&
3388+ mv -f "$cache_file"$$ "$cache_file" ;; #(
3389+ *)
3390+ mv -f confcache "$cache_file" ;;
3391+ esac
3392+ fi
3393+ fi
3394+ else
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;}
3397+ fi
3398+fi
3399+rm -f confcache
3400+
3401+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3402+# Let make expand exec_prefix.
3403+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3404+
3405+DEFS=-DHAVE_CONFIG_H
3406+
3407+ac_libobjs=
3408+ac_ltlibobjs=
3409+U=
3410+for 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'
3418+done
3419+LIBOBJS=$ac_libobjs
3420+
3421+LTLIBOBJS=$ac_ltlibobjs
3422+
3423+
3424+
3425+: "${CONFIG_STATUS=./config.status}"
3426+ac_write_fail=0
3427+ac_clean_files_save=$ac_clean_files
3428+ac_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;}
3431+as_write_fail=0
3432+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3433+#! $SHELL
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.
3438+
3439+debug=false
3440+ac_cs_recheck=false
3441+ac_cs_silent=false
3442+
3443+SHELL=\${CONFIG_SHELL-$SHELL}
3444+export SHELL
3445+_ASEOF
3446+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3447+## -------------------- ##
3448+## M4sh Initialization. ##
3449+## -------------------- ##
3450+
3451+# Be more Bourne compatible
3452+DUALCASE=1; export DUALCASE # for MKS sh
3453+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3454+ emulate sh
3455+ NULLCMD=:
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
3460+else
3461+ case `(set -o) 2>/dev/null` in #(
3462+ *posix*) :
3463+ set -o posix ;; #(
3464+ *) :
3465+ ;;
3466+esac
3467+fi
3468+
3469+
3470+as_nl='
3471+'
3472+export as_nl
3473+# Printing a long string crashes Solaris 7 /usr/bin/printf.
3474+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3475+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3476+as_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.
3479+if 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 --'
3483+elif (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'
3486+else
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'
3490+ else
3491+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3492+ as_echo_n_body='eval
3493+ arg=$1;
3494+ case $arg in #(
3495+ *"$as_nl"*)
3496+ expr "X$arg" : "X\\(.*\\)$as_nl";
3497+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3498+ esac;
3499+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3500+ '
3501+ export as_echo_n_body
3502+ as_echo_n='sh -c $as_echo_n_body as_echo'
3503+ fi
3504+ export as_echo_body
3505+ as_echo='sh -c $as_echo_body as_echo'
3506+fi
3507+
3508+# The user is always right.
3509+if test "${PATH_SEPARATOR+set}" != set; then
3510+ PATH_SEPARATOR=:
3511+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3512+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3513+ PATH_SEPARATOR=';'
3514+ }
3515+fi
3516+
3517+
3518+# IFS
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.)
3523+IFS=" "" $as_nl"
3524+
3525+# Find who we are. Look in the path if we contain no directory separator.
3526+as_myself=
3527+case $0 in #((
3528+ *[\\/]* ) as_myself=$0 ;;
3529+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530+for as_dir in $PATH
3531+do
3532+ IFS=$as_save_IFS
3533+ test -z "$as_dir" && as_dir=.
3534+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3535+ done
3536+IFS=$as_save_IFS
3537+
3538+ ;;
3539+esac
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.
3542+if test "x$as_myself" = x; then
3543+ as_myself=$0
3544+fi
3545+if test ! -f "$as_myself"; then
3546+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3547+ exit 1
3548+fi
3549+
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.
3554+for as_var in BASH_ENV ENV MAIL MAILPATH
3555+do eval test x\${$as_var+set} = xset \
3556+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3557+done
3558+PS1='$ '
3559+PS2='> '
3560+PS4='+ '
3561+
3562+# NLS nuisances.
3563+LC_ALL=C
3564+export LC_ALL
3565+LANGUAGE=C
3566+export LANGUAGE
3567+
3568+# CDPATH.
3569+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3570+
3571+
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.
3577+as_fn_error ()
3578+{
3579+ as_status=$1; test $as_status -eq 0 && as_status=1
3580+ if test "$4"; then
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
3583+ fi
3584+ $as_echo "$as_me: error: $2" >&2
3585+ as_fn_exit $as_status
3586+} # as_fn_error
3587+
3588+
3589+# as_fn_set_status STATUS
3590+# -----------------------
3591+# Set $? to STATUS, without forking.
3592+as_fn_set_status ()
3593+{
3594+ return $1
3595+} # as_fn_set_status
3596+
3597+# as_fn_exit STATUS
3598+# -----------------
3599+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3600+as_fn_exit ()
3601+{
3602+ set +e
3603+ as_fn_set_status $1
3604+ exit $1
3605+} # as_fn_exit
3606+
3607+# as_fn_unset VAR
3608+# ---------------
3609+# Portably unset VAR.
3610+as_fn_unset ()
3611+{
3612+ { eval $1=; unset $1;}
3613+}
3614+as_unset=as_fn_unset
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
3620+# implementations.
3621+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3622+ eval 'as_fn_append ()
3623+ {
3624+ eval $1+=\$2
3625+ }'
3626+else
3627+ as_fn_append ()
3628+ {
3629+ eval $1=\$$1\$2
3630+ }
3631+fi # as_fn_append
3632+
3633+# as_fn_arith ARG...
3634+# ------------------
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.
3638+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3639+ eval 'as_fn_arith ()
3640+ {
3641+ as_val=$(( $* ))
3642+ }'
3643+else
3644+ as_fn_arith ()
3645+ {
3646+ as_val=`expr "$@" || test $? -eq 1`
3647+ }
3648+fi # as_fn_arith
3649+
3650+
3651+if expr a : '\(a\)' >/dev/null 2>&1 &&
3652+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3653+ as_expr=expr
3654+else
3655+ as_expr=false
3656+fi
3657+
3658+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3659+ as_basename=basename
3660+else
3661+ as_basename=false
3662+fi
3663+
3664+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3665+ as_dirname=dirname
3666+else
3667+ as_dirname=false
3668+fi
3669+
3670+as_me=`$as_basename -- "$0" ||
3671+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3672+ X"$0" : 'X\(//\)$' \| \
3673+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3674+$as_echo X/"$0" |
3675+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3676+ s//\1/
3677+ q
3678+ }
3679+ /^X\/\(\/\/\)$/{
3680+ s//\1/
3681+ q
3682+ }
3683+ /^X\/\(\/\).*/{
3684+ s//\1/
3685+ q
3686+ }
3687+ s/.*/./; q'`
3688+
3689+# Avoid depending upon Character Ranges.
3690+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3691+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3692+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3693+as_cr_digits='0123456789'
3694+as_cr_alnum=$as_cr_Letters$as_cr_digits
3695+
3696+ECHO_C= ECHO_N= ECHO_T=
3697+case `echo -n x` in #(((((
3698+-n*)
3699+ case `echo 'xy\c'` in
3700+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3701+ xy) ECHO_C='\c';;
3702+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3703+ ECHO_T=' ';;
3704+ esac;;
3705+*)
3706+ ECHO_N='-n';;
3707+esac
3708+
3709+rm -f conf$$ conf$$.exe conf$$.file
3710+if test -d conf$$.dir; then
3711+ rm -f conf$$.dir/conf$$.file
3712+else
3713+ rm -f conf$$.dir
3714+ mkdir conf$$.dir 2>/dev/null
3715+fi
3716+if (echo >conf$$.file) 2>/dev/null; then
3717+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3718+ as_ln_s='ln -s'
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 ||
3724+ as_ln_s='cp -pR'
3725+ elif ln conf$$.file conf$$ 2>/dev/null; then
3726+ as_ln_s=ln
3727+ else
3728+ as_ln_s='cp -pR'
3729+ fi
3730+else
3731+ as_ln_s='cp -pR'
3732+fi
3733+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3734+rmdir conf$$.dir 2>/dev/null
3735+
3736+
3737+# as_fn_mkdir_p
3738+# -------------
3739+# Create "$as_dir" as a directory, including parents if necessary.
3740+as_fn_mkdir_p ()
3741+{
3742+
3743+ case $as_dir in #(
3744+ -*) as_dir=./$as_dir;;
3745+ esac
3746+ test -d "$as_dir" || eval $as_mkdir_p || {
3747+ as_dirs=
3748+ while :; do
3749+ case $as_dir in #(
3750+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3751+ *) as_qdir=$as_dir;;
3752+ esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3761+ s//\1/
3762+ q
3763+ }
3764+ /^X\(\/\/\)[^/].*/{
3765+ s//\1/
3766+ q
3767+ }
3768+ /^X\(\/\/\)$/{
3769+ s//\1/
3770+ q
3771+ }
3772+ /^X\(\/\).*/{
3773+ s//\1/
3774+ q
3775+ }
3776+ s/.*/./; q'`
3777+ test -d "$as_dir" && break
3778+ done
3779+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3780+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3781+
3782+
3783+} # as_fn_mkdir_p
3784+if mkdir -p . 2>/dev/null; then
3785+ as_mkdir_p='mkdir -p "$as_dir"'
3786+else
3787+ test -d ./-p && rmdir ./-p
3788+ as_mkdir_p=false
3789+fi
3790+
3791+
3792+# as_fn_executable_p FILE
3793+# -----------------------
3794+# Test if FILE is an executable regular file.
3795+as_fn_executable_p ()
3796+{
3797+ test -f "$1" && test -x "$1"
3798+} # as_fn_executable_p
3799+as_test_x='test -x'
3800+as_executable_p=as_fn_executable_p
3801+
3802+# Sed expression to map a string onto a valid CPP name.
3803+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3804+
3805+# Sed expression to map a string onto a valid variable name.
3806+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3807+
3808+
3809+exec 6>&1
3810+## ----------------------------------- ##
3811+## Main body of $CONFIG_STATUS script. ##
3812+## ----------------------------------- ##
3813+_ASEOF
3814+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3815+
3816+cat >>$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.
3820+ac_log="
3821+This file was extended by streamly $as_me 0.6.0, which was
3822+generated by GNU Autoconf 2.69. Invocation command line was
3823+
3824+ CONFIG_FILES = $CONFIG_FILES
3825+ CONFIG_HEADERS = $CONFIG_HEADERS
3826+ CONFIG_LINKS = $CONFIG_LINKS
3827+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3828+ $ $0 $@
3829+
3830+on `(hostname || uname -n) 2>/dev/null | sed 1q`
3831+"
3832+
3833+_ACEOF
3834+
3835+
3836+case $ac_config_headers in *"
3837+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3838+esac
3839+
3840+
3841+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842+# Files that config.status was made for.
3843+config_headers="$ac_config_headers"
3844+
3845+_ACEOF
3846+
3847+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3848+ac_cs_usage="\
3849+\`$as_me' instantiates files and other configuration actions
3850+from templates according to the current configuration. Unless the files
3851+and actions are specified as TAGs, all are instantiated by default.
3852+
3853+Usage: $0 [OPTION]... [TAG]...
3854+
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
3864+
3865+Configuration headers:
3866+$config_headers
3867+
3868+Report bugs to <harendra.kumar@gmail.com>."
3869+
3870+_ACEOF
3871+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3872+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3873+ac_cs_version="\\
3874+streamly config.status 0.6.0
3875+configured by $0, generated by GNU Autoconf 2.69,
3876+ with options \\"\$ac_cs_config\\"
3877+
3878+Copyright (C) 2012 Free Software Foundation, Inc.
3879+This config.status script is free software; the Free Software Foundation
3880+gives unlimited permission to copy, distribute and modify it."
3881+
3882+ac_pwd='$ac_pwd'
3883+srcdir='$srcdir'
3884+test -n "\$AWK" || AWK=awk
3885+_ACEOF
3886+
3887+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3888+# The default lists apply if the user does not specify any file.
3889+ac_need_defaults=:
3890+while test $# != 0
3891+do
3892+ case $1 in
3893+ --*=?*)
3894+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3895+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3896+ ac_shift=:
3897+ ;;
3898+ --*=)
3899+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3900+ ac_optarg=
3901+ ac_shift=:
3902+ ;;
3903+ *)
3904+ ac_option=$1
3905+ ac_optarg=$2
3906+ ac_shift=shift
3907+ ;;
3908+ esac
3909+
3910+ case $ac_option in
3911+ # Handling of the options.
3912+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3913+ ac_cs_recheck=: ;;
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 )
3919+ debug=: ;;
3920+ --header | --heade | --head | --hea )
3921+ $ac_shift
3922+ case $ac_optarg in
3923+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3924+ esac
3925+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3926+ ac_need_defaults=false;;
3927+ --he | --h)
3928+ # Conflict between --help and --header
3929+ as_fn_error $? "ambiguous option: \`$1'
3930+Try \`$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)
3935+ ac_cs_silent=: ;;
3936+
3937+ # This is an error.
3938+ -*) as_fn_error $? "unrecognized option: \`$1'
3939+Try \`$0 --help' for more information." ;;
3940+
3941+ *) as_fn_append ac_config_targets " $1"
3942+ ac_need_defaults=false ;;
3943+
3944+ esac
3945+ shift
3946+done
3947+
3948+ac_configure_extra_args=
3949+
3950+if $ac_cs_silent; then
3951+ exec 6>/dev/null
3952+ ac_configure_extra_args="$ac_configure_extra_args --silent"
3953+fi
3954+
3955+_ACEOF
3956+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3957+if \$ac_cs_recheck; then
3958+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3959+ shift
3960+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3961+ CONFIG_SHELL='$SHELL'
3962+ export CONFIG_SHELL
3963+ exec "\$@"
3964+fi
3965+
3966+_ACEOF
3967+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3968+exec 5>>config.log
3969+{
3970+ echo
3971+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3972+## Running $as_me. ##
3973+_ASBOX
3974+ $as_echo "$ac_log"
3975+} >&5
3976+
3977+_ACEOF
3978+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3979+_ACEOF
3980+
3981+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3982+
3983+# Handling of arguments.
3984+for ac_config_target in $ac_config_targets
3985+do
3986+ case $ac_config_target in
3987+ "src/Streamly/Time/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/Streamly/Time/config.h" ;;
3988+
3989+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3990+ esac
3991+done
3992+
3993+
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.
3998+if $ac_need_defaults; then
3999+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4000+fi
4001+
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'.
4008+$debug ||
4009+{
4010+ tmp= ac_tmp=
4011+ trap 'exit_status=$?
4012+ : "${ac_tmp:=$tmp}"
4013+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4014+' 0
4015+ trap 'as_fn_exit 1' 1 2 13 15
4016+}
4017+# Create a (secure) tmp directory for tmp files.
4018+
4019+{
4020+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4021+ test -d "$tmp"
4022+} ||
4023+{
4024+ tmp=./conf$$-$RANDOM
4025+ (umask 077 && mkdir "$tmp")
4026+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4027+ac_tmp=$tmp
4028+
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'.
4032+if test -n "$CONFIG_HEADERS"; then
4033+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4034+BEGIN {
4035+_ACEOF
4036+
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.
4040+
4041+# Create a delimiter string that does not exist in confdefs.h, to ease
4042+# handling of long lines.
4043+ac_delim='%!_!# '
4044+for ac_last_try in false false :; do
4045+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4046+ if test -z "$ac_tt"; then
4047+ break
4048+ elif $ac_last_try; then
4049+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4050+ else
4051+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4052+ fi
4053+done
4054+
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
4057+# newline sequences.
4058+
4059+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4060+sed -n '
4061+s/.\{148\}/&'"$ac_delim"'/g
4062+t rset
4063+:rset
4064+s/^[ ]*#[ ]*define[ ][ ]*/ /
4065+t def
4066+d
4067+:def
4068+s/\\$//
4069+t bsnl
4070+s/["\\]/\\&/g
4071+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4072+D["\1"]=" \3"/p
4073+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4074+d
4075+:bsnl
4076+s/["\\]/\\&/g
4077+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4078+D["\1"]=" \3\\\\\\n"\\/p
4079+t cont
4080+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4081+t cont
4082+d
4083+:cont
4084+n
4085+s/.\{148\}/&'"$ac_delim"'/g
4086+t clear
4087+:clear
4088+s/\\$//
4089+t bsnlc
4090+s/["\\]/\\&/g; s/^/"/; s/$/"/p
4091+d
4092+:bsnlc
4093+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4094+b cont
4095+' <confdefs.h | sed '
4096+s/'"$ac_delim"'/"\\\
4097+"/g' >>$CONFIG_STATUS || ac_write_fail=1
4098+
4099+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4100+ for (key in D) D_is_set[key] = 1
4101+ FS = ""
4102+}
4103+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4104+ line = \$ 0
4105+ split(line, arg, " ")
4106+ if (arg[1] == "#") {
4107+ defundef = arg[2]
4108+ mac1 = arg[3]
4109+ } else {
4110+ defundef = substr(arg[1], 2)
4111+ mac1 = arg[2]
4112+ }
4113+ split(mac1, mac2, "(") #)
4114+ macro = mac2[1]
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]
4119+ next
4120+ } else {
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, "*/"
4126+ next
4127+ }
4128+ }
4129+}
4130+{ print }
4131+_ACAWK
4132+_ACEOF
4133+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4134+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4135+fi # test -n "$CONFIG_HEADERS"
4136+
4137+
4138+eval set X " :H $CONFIG_HEADERS "
4139+shift
4140+for ac_tag
4141+do
4142+ case $ac_tag in
4143+ :[FHLC]) ac_mode=$ac_tag; continue;;
4144+ esac
4145+ case $ac_mode$ac_tag in
4146+ :[FHL]*:*);;
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;;
4150+ esac
4151+ ac_save_IFS=$IFS
4152+ IFS=:
4153+ set x $ac_tag
4154+ IFS=$ac_save_IFS
4155+ shift
4156+ ac_file=$1
4157+ shift
4158+
4159+ case $ac_mode in
4160+ :L) ac_source=$1;;
4161+ :[FH])
4162+ ac_file_inputs=
4163+ for ac_f
4164+ do
4165+ case $ac_f 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 `:'.
4170+ test -f "$ac_f" ||
4171+ case $ac_f in
4172+ [\\/$]*) false;;
4173+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4174+ esac ||
4175+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4176+ esac
4177+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4178+ as_fn_append ac_file_inputs " '$ac_f'"
4179+ done
4180+
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'
4186+ `' by configure.'
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;}
4191+ fi
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;;
4198+ esac
4199+
4200+ case $ac_tag in
4201+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
4202+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4203+ esac
4204+ ;;
4205+ esac
4206+
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4214+ s//\1/
4215+ q
4216+ }
4217+ /^X\(\/\/\)[^/].*/{
4218+ s//\1/
4219+ q
4220+ }
4221+ /^X\(\/\/\)$/{
4222+ s//\1/
4223+ q
4224+ }
4225+ /^X\(\/\).*/{
4226+ s//\1/
4227+ q
4228+ }
4229+ s/.*/./; q'`
4230+ as_dir="$ac_dir"; as_fn_mkdir_p
4231+ ac_builddir=.
4232+
4233+case "$ac_dir" in
4234+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4235+*)
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/ ;;
4242+ esac ;;
4243+esac
4244+ac_abs_top_builddir=$ac_pwd
4245+ac_abs_builddir=$ac_pwd$ac_dir_suffix
4246+# for backward compatibility:
4247+ac_top_builddir=$ac_top_build_prefix
4248+
4249+case $srcdir in
4250+ .) # We are building in place.
4251+ ac_srcdir=.
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 ;;
4258+ *) # Relative name.
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 ;;
4262+esac
4263+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4264+
4265+
4266+ case $ac_mode in
4267+
4268+ :H)
4269+ #
4270+ # CONFIG_HEADER
4271+ #
4272+ if test x"$ac_file" != x-; then
4273+ {
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;}
4281+ else
4282+ rm -f "$ac_file"
4283+ mv "$ac_tmp/config.h" "$ac_file" \
4284+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4285+ fi
4286+ else
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
4290+ fi
4291+ ;;
4292+
4293+
4294+ esac
4295+
4296+done # for ac_tag
4297+
4298+
4299+as_fn_exit 0
4300+_ACEOF
4301+ac_clean_files=$ac_clean_files_save
4302+
4303+test $ac_write_fail = 0 ||
4304+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4305+
4306+
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.
4315+if test "$no_create" != yes; then
4316+ ac_cs_success=:
4317+ ac_config_status_args=
4318+ test "$silent" = yes &&
4319+ ac_config_status_args="$ac_config_status_args --quiet"
4320+ exec 5>/dev/null
4321+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4322+ exec 5>>config.log
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
4326+fi
4327+if 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;}
4330+fi
4331+