@@ -0,0 +1,4349 @@
1+#! /bin/sh
2+# Guess values for system-dependent variables and create Makefiles.
3+# Generated by GNU Autoconf 2.71 for streamly-core 0.8.2.
4+#
5+# Report bugs to <streamly@composewell.com>.
6+#
7+#
8+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9+# Inc.
10+#
11+#
12+# This configure script is free software; the Free Software Foundation
13+# gives unlimited permission to copy, distribute and modify it.
14+## -------------------- ##
15+## M4sh Initialization. ##
16+## -------------------- ##
17+
18+# Be more Bourne compatible
19+DUALCASE=1; export DUALCASE # for MKS sh
20+as_nop=:
21+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22+then :
23+ emulate sh
24+ NULLCMD=:
25+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26+ # is contrary to our usage. Disable this feature.
27+ alias -g '${1+"$@"}'='"$@"'
28+ setopt NO_GLOB_SUBST
29+else $as_nop
30+ case `(set -o) 2>/dev/null` in #(
31+ *posix*) :
32+ set -o posix ;; #(
33+ *) :
34+ ;;
35+esac
36+fi
37+
38+
39+
40+# Reset variables that may have inherited troublesome values from
41+# the environment.
42+
43+# IFS needs to be set, to space, tab, and newline, in precisely that order.
44+# (If _AS_PATH_WALK were called with IFS unset, it would have the
45+# side effect of setting IFS to empty, thus disabling word splitting.)
46+# Quoting is to prevent editors from complaining about space-tab.
47+as_nl='
48+'
49+export as_nl
50+IFS=" "" $as_nl"
51+
52+PS1='$ '
53+PS2='> '
54+PS4='+ '
55+
56+# Ensure predictable behavior from utilities with locale-dependent output.
57+LC_ALL=C
58+export LC_ALL
59+LANGUAGE=C
60+export LANGUAGE
61+
62+# We cannot yet rely on "unset" to work, but we need these variables
63+# to be unset--not just set to an empty or harmless value--now, to
64+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65+# also avoids known problems related to "unset" and subshell syntax
66+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68+do eval test \${$as_var+y} \
69+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70+done
71+
72+# Ensure that fds 0, 1, and 2 are open.
73+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76+
77+# The user is always right.
78+if ${PATH_SEPARATOR+false} :; then
79+ PATH_SEPARATOR=:
80+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82+ PATH_SEPARATOR=';'
83+ }
84+fi
85+
86+
87+# Find who we are. Look in the path if we contain no directory separator.
88+as_myself=
89+case $0 in #((
90+ *[\\/]* ) as_myself=$0 ;;
91+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92+for as_dir in $PATH
93+do
94+ IFS=$as_save_IFS
95+ case $as_dir in #(((
96+ '') as_dir=./ ;;
97+ */) ;;
98+ *) as_dir=$as_dir/ ;;
99+ esac
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+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113+ exit 1
114+fi
115+
116+
117+# Use a proper internal environment variable to ensure we don't fall
118+ # into an infinite loop, continuously re-executing ourselves.
119+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120+ _as_can_reexec=no; export _as_can_reexec;
121+ # We cannot yet assume a decent shell, so we have to provide a
122+# neutralization value for shells without unset; and this also
123+# works around shells that cannot unset nonexistent variables.
124+# Preserve -v and -x to the replacement shell.
125+BASH_ENV=/dev/null
126+ENV=/dev/null
127+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128+case $- in # ((((
129+ *v*x* | *x*v* ) as_opts=-vx ;;
130+ *v* ) as_opts=-v ;;
131+ *x* ) as_opts=-x ;;
132+ * ) as_opts= ;;
133+esac
134+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135+# Admittedly, this is quite paranoid, since all the known shells bail
136+# out after a failed `exec'.
137+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138+exit 255
139+ fi
140+ # We don't want this to propagate to other subprocesses.
141+ { _as_can_reexec=; unset _as_can_reexec;}
142+if test "x$CONFIG_SHELL" = x; then
143+ as_bourne_compatible="as_nop=:
144+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145+then :
146+ emulate sh
147+ NULLCMD=:
148+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149+ # is contrary to our usage. Disable this feature.
150+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
151+ setopt NO_GLOB_SUBST
152+else \$as_nop
153+ case \`(set -o) 2>/dev/null\` in #(
154+ *posix*) :
155+ set -o posix ;; #(
156+ *) :
157+ ;;
158+esac
159+fi
160+"
161+ as_required="as_fn_return () { (exit \$1); }
162+as_fn_success () { as_fn_return 0; }
163+as_fn_failure () { as_fn_return 1; }
164+as_fn_ret_success () { return 0; }
165+as_fn_ret_failure () { return 1; }
166+
167+exitcode=0
168+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173+then :
174+
175+else \$as_nop
176+ exitcode=1; echo positional parameters were not saved.
177+fi
178+test x\$exitcode = x0 || exit 1
179+blah=\$(echo \$(echo blah))
180+test x\"\$blah\" = xblah || exit 1
181+test -x / || exit 1"
182+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186+ if (eval "$as_required") 2>/dev/null
187+then :
188+ as_have_required=yes
189+else $as_nop
190+ as_have_required=no
191+fi
192+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193+then :
194+
195+else $as_nop
196+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197+as_found=false
198+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199+do
200+ IFS=$as_save_IFS
201+ case $as_dir in #(((
202+ '') as_dir=./ ;;
203+ */) ;;
204+ *) as_dir=$as_dir/ ;;
205+ esac
206+ as_found=:
207+ case $as_dir in #(
208+ /*)
209+ for as_base in sh bash ksh sh5; do
210+ # Try only shells that exist, to save several forks.
211+ as_shell=$as_dir$as_base
212+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213+ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214+then :
215+ CONFIG_SHELL=$as_shell as_have_required=yes
216+ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217+then :
218+ break 2
219+fi
220+fi
221+ done;;
222+ esac
223+ as_found=false
224+done
225+IFS=$as_save_IFS
226+if $as_found
227+then :
228+
229+else $as_nop
230+ if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232+then :
233+ CONFIG_SHELL=$SHELL as_have_required=yes
234+fi
235+fi
236+
237+
238+ if test "x$CONFIG_SHELL" != x
239+then :
240+ export CONFIG_SHELL
241+ # We cannot yet assume a decent shell, so we have to provide a
242+# neutralization value for shells without unset; and this also
243+# works around shells that cannot unset nonexistent variables.
244+# Preserve -v and -x to the replacement shell.
245+BASH_ENV=/dev/null
246+ENV=/dev/null
247+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248+case $- in # ((((
249+ *v*x* | *x*v* ) as_opts=-vx ;;
250+ *v* ) as_opts=-v ;;
251+ *x* ) as_opts=-x ;;
252+ * ) as_opts= ;;
253+esac
254+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255+# Admittedly, this is quite paranoid, since all the known shells bail
256+# out after a failed `exec'.
257+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258+exit 255
259+fi
260+
261+ if test x$as_have_required = xno
262+then :
263+ printf "%s\n" "$0: This script requires a shell more modern than all"
264+ printf "%s\n" "$0: the shells that I found on your system."
265+ if test ${ZSH_VERSION+y} ; then
266+ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267+ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268+ else
269+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270+$0: streamly@composewell.com about your system, including
271+$0: any error possibly output before this message. Then
272+$0: install a modern shell, or manually run the script
273+$0: under such a shell if you do have one."
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+
298+# as_fn_set_status STATUS
299+# -----------------------
300+# Set $? to STATUS, without forking.
301+as_fn_set_status ()
302+{
303+ return $1
304+} # as_fn_set_status
305+
306+# as_fn_exit STATUS
307+# -----------------
308+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309+as_fn_exit ()
310+{
311+ set +e
312+ as_fn_set_status $1
313+ exit $1
314+} # as_fn_exit
315+# as_fn_nop
316+# ---------
317+# Do nothing but, unlike ":", preserve the value of $?.
318+as_fn_nop ()
319+{
320+ return $?
321+}
322+as_nop=as_fn_nop
323+
324+# as_fn_mkdir_p
325+# -------------
326+# Create "$as_dir" as a directory, including parents if necessary.
327+as_fn_mkdir_p ()
328+{
329+
330+ case $as_dir in #(
331+ -*) as_dir=./$as_dir;;
332+ esac
333+ test -d "$as_dir" || eval $as_mkdir_p || {
334+ as_dirs=
335+ while :; do
336+ case $as_dir in #(
337+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338+ *) as_qdir=$as_dir;;
339+ esac
340+ as_dirs="'$as_qdir' $as_dirs"
341+ as_dir=`$as_dirname -- "$as_dir" ||
342+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343+ X"$as_dir" : 'X\(//\)[^/]' \| \
344+ X"$as_dir" : 'X\(//\)$' \| \
345+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346+printf "%s\n" X"$as_dir" |
347+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348+ s//\1/
349+ q
350+ }
351+ /^X\(\/\/\)[^/].*/{
352+ s//\1/
353+ q
354+ }
355+ /^X\(\/\/\)$/{
356+ s//\1/
357+ q
358+ }
359+ /^X\(\/\).*/{
360+ s//\1/
361+ q
362+ }
363+ s/.*/./; q'`
364+ test -d "$as_dir" && break
365+ done
366+ test -z "$as_dirs" || eval "mkdir $as_dirs"
367+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368+
369+
370+} # as_fn_mkdir_p
371+
372+# as_fn_executable_p FILE
373+# -----------------------
374+# Test if FILE is an executable regular file.
375+as_fn_executable_p ()
376+{
377+ test -f "$1" && test -x "$1"
378+} # as_fn_executable_p
379+# as_fn_append VAR VALUE
380+# ----------------------
381+# Append the text in VALUE to the end of the definition contained in VAR. Take
382+# advantage of any shell optimizations that allow amortized linear growth over
383+# repeated appends, instead of the typical quadratic growth present in naive
384+# implementations.
385+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386+then :
387+ eval 'as_fn_append ()
388+ {
389+ eval $1+=\$2
390+ }'
391+else $as_nop
392+ as_fn_append ()
393+ {
394+ eval $1=\$$1\$2
395+ }
396+fi # as_fn_append
397+
398+# as_fn_arith ARG...
399+# ------------------
400+# Perform arithmetic evaluation on the ARGs, and store the result in the
401+# global $as_val. Take advantage of shells that can avoid forks. The arguments
402+# must be portable across $(()) and expr.
403+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404+then :
405+ eval 'as_fn_arith ()
406+ {
407+ as_val=$(( $* ))
408+ }'
409+else $as_nop
410+ as_fn_arith ()
411+ {
412+ as_val=`expr "$@" || test $? -eq 1`
413+ }
414+fi # as_fn_arith
415+
416+# as_fn_nop
417+# ---------
418+# Do nothing but, unlike ":", preserve the value of $?.
419+as_fn_nop ()
420+{
421+ return $?
422+}
423+as_nop=as_fn_nop
424+
425+# as_fn_error STATUS ERROR [LINENO LOG_FD]
426+# ----------------------------------------
427+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429+# script with STATUS, using 1 if that was 0.
430+as_fn_error ()
431+{
432+ as_status=$1; test $as_status -eq 0 && as_status=1
433+ if test "$4"; then
434+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
436+ fi
437+ printf "%s\n" "$as_me: error: $2" >&2
438+ as_fn_exit $as_status
439+} # as_fn_error
440+
441+if expr a : '\(a\)' >/dev/null 2>&1 &&
442+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
443+ as_expr=expr
444+else
445+ as_expr=false
446+fi
447+
448+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449+ as_basename=basename
450+else
451+ as_basename=false
452+fi
453+
454+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455+ as_dirname=dirname
456+else
457+ as_dirname=false
458+fi
459+
460+as_me=`$as_basename -- "$0" ||
461+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462+ X"$0" : 'X\(//\)$' \| \
463+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464+printf "%s\n" X/"$0" |
465+ sed '/^.*\/\([^/][^/]*\)\/*$/{
466+ s//\1/
467+ q
468+ }
469+ /^X\/\(\/\/\)$/{
470+ s//\1/
471+ q
472+ }
473+ /^X\/\(\/\).*/{
474+ s//\1/
475+ q
476+ }
477+ s/.*/./; q'`
478+
479+# Avoid depending upon Character Ranges.
480+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483+as_cr_digits='0123456789'
484+as_cr_alnum=$as_cr_Letters$as_cr_digits
485+
486+
487+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
488+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
489+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492+ sed -n '
493+ p
494+ /[$]LINENO/=
495+ ' <$as_myself |
496+ sed '
497+ s/[$]LINENO.*/&-/
498+ t lineno
499+ b
500+ :lineno
501+ N
502+ :loop
503+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504+ t loop
505+ s/-\n.*//
506+ ' >$as_me.lineno &&
507+ chmod +x "$as_me.lineno" ||
508+ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
509+
510+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511+ # already done that, so ensure we don't try to do so again and fall
512+ # in an infinite loop. This has already happened in practice.
513+ _as_can_reexec=no; export _as_can_reexec
514+ # Don't try to exec as it changes $[0], causing all sort of problems
515+ # (the dirname of $[0] is not the place where we might find the
516+ # original and so on. Autoconf is especially sensitive to this).
517+ . "./$as_me.lineno"
518+ # Exit status is that of the last command.
519+ exit
520+}
521+
522+
523+# Determine whether it's possible to make 'echo' print without a newline.
524+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525+# for compatibility with existing Makefiles.
526+ECHO_C= ECHO_N= ECHO_T=
527+case `echo -n x` in #(((((
528+-n*)
529+ case `echo 'xy\c'` in
530+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531+ xy) ECHO_C='\c';;
532+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
533+ ECHO_T=' ';;
534+ esac;;
535+*)
536+ ECHO_N='-n';;
537+esac
538+
539+# For backward compatibility with old third-party macros, we provide
540+# the shell variables $as_echo and $as_echo_n. New code should use
541+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542+as_echo='printf %s\n'
543+as_echo_n='printf %s'
544+
545+
546+rm -f conf$$ conf$$.exe conf$$.file
547+if test -d conf$$.dir; then
548+ rm -f conf$$.dir/conf$$.file
549+else
550+ rm -f conf$$.dir
551+ mkdir conf$$.dir 2>/dev/null
552+fi
553+if (echo >conf$$.file) 2>/dev/null; then
554+ if ln -s conf$$.file conf$$ 2>/dev/null; then
555+ as_ln_s='ln -s'
556+ # ... but there are two gotchas:
557+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559+ # In both cases, we have to default to `cp -pR'.
560+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561+ as_ln_s='cp -pR'
562+ elif ln conf$$.file conf$$ 2>/dev/null; then
563+ as_ln_s=ln
564+ else
565+ as_ln_s='cp -pR'
566+ fi
567+else
568+ as_ln_s='cp -pR'
569+fi
570+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571+rmdir conf$$.dir 2>/dev/null
572+
573+if mkdir -p . 2>/dev/null; then
574+ as_mkdir_p='mkdir -p "$as_dir"'
575+else
576+ test -d ./-p && rmdir ./-p
577+ as_mkdir_p=false
578+fi
579+
580+as_test_x='test -x'
581+as_executable_p=as_fn_executable_p
582+
583+# Sed expression to map a string onto a valid CPP name.
584+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
585+
586+# Sed expression to map a string onto a valid variable name.
587+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
588+
589+
590+test -n "$DJDIR" || exec 7<&0 </dev/null
591+exec 6>&1
592+
593+# Name of the host.
594+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595+# so uname gets run too.
596+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
597+
598+#
599+# Initializations.
600+#
601+ac_default_prefix=/usr/local
602+ac_clean_files=
603+ac_config_libobj_dir=.
604+LIBOBJS=
605+cross_compiling=no
606+subdirs=
607+MFLAGS=
608+MAKEFLAGS=
609+
610+# Identity of this package.
611+PACKAGE_NAME='streamly-core'
612+PACKAGE_TARNAME='streamly-core'
613+PACKAGE_VERSION='0.8.2'
614+PACKAGE_STRING='streamly-core 0.8.2'
615+PACKAGE_BUGREPORT='streamly@composewell.com'
616+PACKAGE_URL='https://streamly.composewell.com'
617+
618+# Factoring default headers for most tests.
619+ac_includes_default="\
620+#include <stddef.h>
621+#ifdef HAVE_STDIO_H
622+# include <stdio.h>
623+#endif
624+#ifdef HAVE_STDLIB_H
625+# include <stdlib.h>
626+#endif
627+#ifdef HAVE_STRING_H
628+# include <string.h>
629+#endif
630+#ifdef HAVE_INTTYPES_H
631+# include <inttypes.h>
632+#endif
633+#ifdef HAVE_STDINT_H
634+# include <stdint.h>
635+#endif
636+#ifdef HAVE_STRINGS_H
637+# include <strings.h>
638+#endif
639+#ifdef HAVE_SYS_TYPES_H
640+# include <sys/types.h>
641+#endif
642+#ifdef HAVE_SYS_STAT_H
643+# include <sys/stat.h>
644+#endif
645+#ifdef HAVE_UNISTD_H
646+# include <unistd.h>
647+#endif"
648+
649+ac_header_c_list=
650+ac_subst_vars='LTLIBOBJS
651+LIBOBJS
652+OBJEXT
653+EXEEXT
654+ac_ct_CC
655+CPPFLAGS
656+LDFLAGS
657+CFLAGS
658+CC
659+target_alias
660+host_alias
661+build_alias
662+LIBS
663+ECHO_T
664+ECHO_N
665+ECHO_C
666+DEFS
667+mandir
668+localedir
669+libdir
670+psdir
671+pdfdir
672+dvidir
673+htmldir
674+infodir
675+docdir
676+oldincludedir
677+includedir
678+runstatedir
679+localstatedir
680+sharedstatedir
681+sysconfdir
682+datadir
683+datarootdir
684+libexecdir
685+sbindir
686+bindir
687+program_transform_name
688+prefix
689+exec_prefix
690+PACKAGE_URL
691+PACKAGE_BUGREPORT
692+PACKAGE_STRING
693+PACKAGE_VERSION
694+PACKAGE_TARNAME
695+PACKAGE_NAME
696+PATH_SEPARATOR
697+SHELL'
698+ac_subst_files=''
699+ac_user_opts='
700+enable_option_checking
701+with_compiler
702+'
703+ ac_precious_vars='build_alias
704+host_alias
705+target_alias
706+CC
707+CFLAGS
708+LDFLAGS
709+LIBS
710+CPPFLAGS'
711+
712+
713+# Initialize some variables set by options.
714+ac_init_help=
715+ac_init_version=false
716+ac_unrecognized_opts=
717+ac_unrecognized_sep=
718+# The variables have the same names as the options, with
719+# dashes changed to underlines.
720+cache_file=/dev/null
721+exec_prefix=NONE
722+no_create=
723+no_recursion=
724+prefix=NONE
725+program_prefix=NONE
726+program_suffix=NONE
727+program_transform_name=s,x,x,
728+silent=
729+site=
730+srcdir=
731+verbose=
732+x_includes=NONE
733+x_libraries=NONE
734+
735+# Installation directory options.
736+# These are left unexpanded so users can "make install exec_prefix=/foo"
737+# and all the variables that are supposed to be based on exec_prefix
738+# by default will actually change.
739+# Use braces instead of parens because sh, perl, etc. also accept them.
740+# (The list follows the same order as the GNU Coding Standards.)
741+bindir='${exec_prefix}/bin'
742+sbindir='${exec_prefix}/sbin'
743+libexecdir='${exec_prefix}/libexec'
744+datarootdir='${prefix}/share'
745+datadir='${datarootdir}'
746+sysconfdir='${prefix}/etc'
747+sharedstatedir='${prefix}/com'
748+localstatedir='${prefix}/var'
749+runstatedir='${localstatedir}/run'
750+includedir='${prefix}/include'
751+oldincludedir='/usr/include'
752+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
753+infodir='${datarootdir}/info'
754+htmldir='${docdir}'
755+dvidir='${docdir}'
756+pdfdir='${docdir}'
757+psdir='${docdir}'
758+libdir='${exec_prefix}/lib'
759+localedir='${datarootdir}/locale'
760+mandir='${datarootdir}/man'
761+
762+ac_prev=
763+ac_dashdash=
764+for ac_option
765+do
766+ # If the previous option needs an argument, assign it.
767+ if test -n "$ac_prev"; then
768+ eval $ac_prev=\$ac_option
769+ ac_prev=
770+ continue
771+ fi
772+
773+ case $ac_option in
774+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775+ *=) ac_optarg= ;;
776+ *) ac_optarg=yes ;;
777+ esac
778+
779+ case $ac_dashdash$ac_option in
780+ --)
781+ ac_dashdash=yes ;;
782+
783+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
784+ ac_prev=bindir ;;
785+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
786+ bindir=$ac_optarg ;;
787+
788+ -build | --build | --buil | --bui | --bu)
789+ ac_prev=build_alias ;;
790+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791+ build_alias=$ac_optarg ;;
792+
793+ -cache-file | --cache-file | --cache-fil | --cache-fi \
794+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795+ ac_prev=cache_file ;;
796+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798+ cache_file=$ac_optarg ;;
799+
800+ --config-cache | -C)
801+ cache_file=config.cache ;;
802+
803+ -datadir | --datadir | --datadi | --datad)
804+ ac_prev=datadir ;;
805+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
806+ datadir=$ac_optarg ;;
807+
808+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809+ | --dataroo | --dataro | --datar)
810+ ac_prev=datarootdir ;;
811+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813+ datarootdir=$ac_optarg ;;
814+
815+ -disable-* | --disable-*)
816+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817+ # Reject names that are not valid shell variable names.
818+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
820+ ac_useropt_orig=$ac_useropt
821+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
822+ case $ac_user_opts in
823+ *"
824+"enable_$ac_useropt"
825+"*) ;;
826+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827+ ac_unrecognized_sep=', ';;
828+ esac
829+ eval enable_$ac_useropt=no ;;
830+
831+ -docdir | --docdir | --docdi | --doc | --do)
832+ ac_prev=docdir ;;
833+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
834+ docdir=$ac_optarg ;;
835+
836+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837+ ac_prev=dvidir ;;
838+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
839+ dvidir=$ac_optarg ;;
840+
841+ -enable-* | --enable-*)
842+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843+ # Reject names that are not valid shell variable names.
844+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
846+ ac_useropt_orig=$ac_useropt
847+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
848+ case $ac_user_opts in
849+ *"
850+"enable_$ac_useropt"
851+"*) ;;
852+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853+ ac_unrecognized_sep=', ';;
854+ esac
855+ eval enable_$ac_useropt=\$ac_optarg ;;
856+
857+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859+ | --exec | --exe | --ex)
860+ ac_prev=exec_prefix ;;
861+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863+ | --exec=* | --exe=* | --ex=*)
864+ exec_prefix=$ac_optarg ;;
865+
866+ -gas | --gas | --ga | --g)
867+ # Obsolete; use --with-gas.
868+ with_gas=yes ;;
869+
870+ -help | --help | --hel | --he | -h)
871+ ac_init_help=long ;;
872+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873+ ac_init_help=recursive ;;
874+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875+ ac_init_help=short ;;
876+
877+ -host | --host | --hos | --ho)
878+ ac_prev=host_alias ;;
879+ -host=* | --host=* | --hos=* | --ho=*)
880+ host_alias=$ac_optarg ;;
881+
882+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883+ ac_prev=htmldir ;;
884+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885+ | --ht=*)
886+ htmldir=$ac_optarg ;;
887+
888+ -includedir | --includedir | --includedi | --included | --include \
889+ | --includ | --inclu | --incl | --inc)
890+ ac_prev=includedir ;;
891+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892+ | --includ=* | --inclu=* | --incl=* | --inc=*)
893+ includedir=$ac_optarg ;;
894+
895+ -infodir | --infodir | --infodi | --infod | --info | --inf)
896+ ac_prev=infodir ;;
897+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898+ infodir=$ac_optarg ;;
899+
900+ -libdir | --libdir | --libdi | --libd)
901+ ac_prev=libdir ;;
902+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
903+ libdir=$ac_optarg ;;
904+
905+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906+ | --libexe | --libex | --libe)
907+ ac_prev=libexecdir ;;
908+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909+ | --libexe=* | --libex=* | --libe=*)
910+ libexecdir=$ac_optarg ;;
911+
912+ -localedir | --localedir | --localedi | --localed | --locale)
913+ ac_prev=localedir ;;
914+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915+ localedir=$ac_optarg ;;
916+
917+ -localstatedir | --localstatedir | --localstatedi | --localstated \
918+ | --localstate | --localstat | --localsta | --localst | --locals)
919+ ac_prev=localstatedir ;;
920+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922+ localstatedir=$ac_optarg ;;
923+
924+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925+ ac_prev=mandir ;;
926+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927+ mandir=$ac_optarg ;;
928+
929+ -nfp | --nfp | --nf)
930+ # Obsolete; use --without-fp.
931+ with_fp=no ;;
932+
933+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934+ | --no-cr | --no-c | -n)
935+ no_create=yes ;;
936+
937+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939+ no_recursion=yes ;;
940+
941+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943+ | --oldin | --oldi | --old | --ol | --o)
944+ ac_prev=oldincludedir ;;
945+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948+ oldincludedir=$ac_optarg ;;
949+
950+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951+ ac_prev=prefix ;;
952+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953+ prefix=$ac_optarg ;;
954+
955+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
956+ | --program-pre | --program-pr | --program-p)
957+ ac_prev=program_prefix ;;
958+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
959+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960+ program_prefix=$ac_optarg ;;
961+
962+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
963+ | --program-suf | --program-su | --program-s)
964+ ac_prev=program_suffix ;;
965+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
966+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967+ program_suffix=$ac_optarg ;;
968+
969+ -program-transform-name | --program-transform-name \
970+ | --program-transform-nam | --program-transform-na \
971+ | --program-transform-n | --program-transform- \
972+ | --program-transform | --program-transfor \
973+ | --program-transfo | --program-transf \
974+ | --program-trans | --program-tran \
975+ | --progr-tra | --program-tr | --program-t)
976+ ac_prev=program_transform_name ;;
977+ -program-transform-name=* | --program-transform-name=* \
978+ | --program-transform-nam=* | --program-transform-na=* \
979+ | --program-transform-n=* | --program-transform-=* \
980+ | --program-transform=* | --program-transfor=* \
981+ | --program-transfo=* | --program-transf=* \
982+ | --program-trans=* | --program-tran=* \
983+ | --progr-tra=* | --program-tr=* | --program-t=*)
984+ program_transform_name=$ac_optarg ;;
985+
986+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987+ ac_prev=pdfdir ;;
988+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989+ pdfdir=$ac_optarg ;;
990+
991+ -psdir | --psdir | --psdi | --psd | --ps)
992+ ac_prev=psdir ;;
993+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994+ psdir=$ac_optarg ;;
995+
996+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997+ | -silent | --silent | --silen | --sile | --sil)
998+ silent=yes ;;
999+
1000+ -runstatedir | --runstatedir | --runstatedi | --runstated \
1001+ | --runstate | --runstat | --runsta | --runst | --runs \
1002+ | --run | --ru | --r)
1003+ ac_prev=runstatedir ;;
1004+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1005+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1006+ | --run=* | --ru=* | --r=*)
1007+ runstatedir=$ac_optarg ;;
1008+
1009+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010+ ac_prev=sbindir ;;
1011+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012+ | --sbi=* | --sb=*)
1013+ sbindir=$ac_optarg ;;
1014+
1015+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017+ | --sharedst | --shareds | --shared | --share | --shar \
1018+ | --sha | --sh)
1019+ ac_prev=sharedstatedir ;;
1020+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023+ | --sha=* | --sh=*)
1024+ sharedstatedir=$ac_optarg ;;
1025+
1026+ -site | --site | --sit)
1027+ ac_prev=site ;;
1028+ -site=* | --site=* | --sit=*)
1029+ site=$ac_optarg ;;
1030+
1031+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032+ ac_prev=srcdir ;;
1033+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034+ srcdir=$ac_optarg ;;
1035+
1036+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037+ | --syscon | --sysco | --sysc | --sys | --sy)
1038+ ac_prev=sysconfdir ;;
1039+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041+ sysconfdir=$ac_optarg ;;
1042+
1043+ -target | --target | --targe | --targ | --tar | --ta | --t)
1044+ ac_prev=target_alias ;;
1045+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046+ target_alias=$ac_optarg ;;
1047+
1048+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049+ verbose=yes ;;
1050+
1051+ -version | --version | --versio | --versi | --vers | -V)
1052+ ac_init_version=: ;;
1053+
1054+ -with-* | --with-*)
1055+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056+ # Reject names that are not valid shell variable names.
1057+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1059+ ac_useropt_orig=$ac_useropt
1060+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1061+ case $ac_user_opts in
1062+ *"
1063+"with_$ac_useropt"
1064+"*) ;;
1065+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066+ ac_unrecognized_sep=', ';;
1067+ esac
1068+ eval with_$ac_useropt=\$ac_optarg ;;
1069+
1070+ -without-* | --without-*)
1071+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072+ # Reject names that are not valid shell variable names.
1073+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1075+ ac_useropt_orig=$ac_useropt
1076+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1077+ case $ac_user_opts in
1078+ *"
1079+"with_$ac_useropt"
1080+"*) ;;
1081+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082+ ac_unrecognized_sep=', ';;
1083+ esac
1084+ eval with_$ac_useropt=no ;;
1085+
1086+ --x)
1087+ # Obsolete; use --with-x.
1088+ with_x=yes ;;
1089+
1090+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1091+ | --x-incl | --x-inc | --x-in | --x-i)
1092+ ac_prev=x_includes ;;
1093+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1094+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1095+ x_includes=$ac_optarg ;;
1096+
1097+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1098+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1099+ ac_prev=x_libraries ;;
1100+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1101+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1102+ x_libraries=$ac_optarg ;;
1103+
1104+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1105+Try \`$0 --help' for more information"
1106+ ;;
1107+
1108+ *=*)
1109+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1110+ # Reject names that are not valid shell variable names.
1111+ case $ac_envvar in #(
1112+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1113+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1114+ esac
1115+ eval $ac_envvar=\$ac_optarg
1116+ export $ac_envvar ;;
1117+
1118+ *)
1119+ # FIXME: should be removed in autoconf 3.0.
1120+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1121+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1123+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1124+ ;;
1125+
1126+ esac
1127+done
1128+
1129+if test -n "$ac_prev"; then
1130+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1131+ as_fn_error $? "missing argument to $ac_option"
1132+fi
1133+
1134+if test -n "$ac_unrecognized_opts"; then
1135+ case $enable_option_checking in
1136+ no) ;;
1137+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1138+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139+ esac
1140+fi
1141+
1142+# Check all directory arguments for consistency.
1143+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144+ datadir sysconfdir sharedstatedir localstatedir includedir \
1145+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146+ libdir localedir mandir runstatedir
1147+do
1148+ eval ac_val=\$$ac_var
1149+ # Remove trailing slashes.
1150+ case $ac_val in
1151+ */ )
1152+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153+ eval $ac_var=\$ac_val;;
1154+ esac
1155+ # Be sure to have absolute directory names.
1156+ case $ac_val in
1157+ [\\/$]* | ?:[\\/]* ) continue;;
1158+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1159+ esac
1160+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161+done
1162+
1163+# There might be people who depend on the old broken behavior: `$host'
1164+# used to hold the argument of --host etc.
1165+# FIXME: To remove some day.
1166+build=$build_alias
1167+host=$host_alias
1168+target=$target_alias
1169+
1170+# FIXME: To remove some day.
1171+if test "x$host_alias" != x; then
1172+ if test "x$build_alias" = x; then
1173+ cross_compiling=maybe
1174+ elif test "x$build_alias" != "x$host_alias"; then
1175+ cross_compiling=yes
1176+ fi
1177+fi
1178+
1179+ac_tool_prefix=
1180+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181+
1182+test "$silent" = yes && exec 6>/dev/null
1183+
1184+
1185+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186+ac_ls_di=`ls -di .` &&
1187+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188+ as_fn_error $? "working directory cannot be determined"
1189+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190+ as_fn_error $? "pwd does not report name of working directory"
1191+
1192+
1193+# Find the source files, if location was not specified.
1194+if test -z "$srcdir"; then
1195+ ac_srcdir_defaulted=yes
1196+ # Try the directory containing this script, then the parent directory.
1197+ ac_confdir=`$as_dirname -- "$as_myself" ||
1198+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199+ X"$as_myself" : 'X\(//\)[^/]' \| \
1200+ X"$as_myself" : 'X\(//\)$' \| \
1201+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202+printf "%s\n" X"$as_myself" |
1203+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204+ s//\1/
1205+ q
1206+ }
1207+ /^X\(\/\/\)[^/].*/{
1208+ s//\1/
1209+ q
1210+ }
1211+ /^X\(\/\/\)$/{
1212+ s//\1/
1213+ q
1214+ }
1215+ /^X\(\/\).*/{
1216+ s//\1/
1217+ q
1218+ }
1219+ s/.*/./; q'`
1220+ srcdir=$ac_confdir
1221+ if test ! -r "$srcdir/$ac_unique_file"; then
1222+ srcdir=..
1223+ fi
1224+else
1225+ ac_srcdir_defaulted=no
1226+fi
1227+if test ! -r "$srcdir/$ac_unique_file"; then
1228+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1230+fi
1231+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232+ac_abs_confdir=`(
1233+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234+ pwd)`
1235+# When building in place, set srcdir=.
1236+if test "$ac_abs_confdir" = "$ac_pwd"; then
1237+ srcdir=.
1238+fi
1239+# Remove unnecessary trailing slashes from srcdir.
1240+# Double slashes in file names in object file debugging info
1241+# mess up M-x gdb in Emacs.
1242+case $srcdir in
1243+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244+esac
1245+for ac_var in $ac_precious_vars; do
1246+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247+ eval ac_env_${ac_var}_value=\$${ac_var}
1248+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250+done
1251+
1252+#
1253+# Report the --help message.
1254+#
1255+if test "$ac_init_help" = "long"; then
1256+ # Omit some internal or obsolete options to make the list less imposing.
1257+ # This message is too long to be a string in the A/UX 3.1 sh.
1258+ cat <<_ACEOF
1259+\`configure' configures streamly-core 0.8.2 to adapt to many kinds of systems.
1260+
1261+Usage: $0 [OPTION]... [VAR=VALUE]...
1262+
1263+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264+VAR=VALUE. See below for descriptions of some of the useful variables.
1265+
1266+Defaults for the options are specified in brackets.
1267+
1268+Configuration:
1269+ -h, --help display this help and exit
1270+ --help=short display options specific to this package
1271+ --help=recursive display the short help of all the included packages
1272+ -V, --version display version information and exit
1273+ -q, --quiet, --silent do not print \`checking ...' messages
1274+ --cache-file=FILE cache test results in FILE [disabled]
1275+ -C, --config-cache alias for \`--cache-file=config.cache'
1276+ -n, --no-create do not create output files
1277+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278+
1279+Installation directories:
1280+ --prefix=PREFIX install architecture-independent files in PREFIX
1281+ [$ac_default_prefix]
1282+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283+ [PREFIX]
1284+
1285+By default, \`make install' will install all the files in
1286+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288+for instance \`--prefix=\$HOME'.
1289+
1290+For better control, use the options below.
1291+
1292+Fine tuning of the installation directories:
1293+ --bindir=DIR user executables [EPREFIX/bin]
1294+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1295+ --libexecdir=DIR program executables [EPREFIX/libexec]
1296+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1300+ --libdir=DIR object code libraries [EPREFIX/lib]
1301+ --includedir=DIR C header files [PREFIX/include]
1302+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305+ --infodir=DIR info documentation [DATAROOTDIR/info]
1306+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307+ --mandir=DIR man documentation [DATAROOTDIR/man]
1308+ --docdir=DIR documentation root [DATAROOTDIR/doc/streamly-core]
1309+ --htmldir=DIR html documentation [DOCDIR]
1310+ --dvidir=DIR dvi documentation [DOCDIR]
1311+ --pdfdir=DIR pdf documentation [DOCDIR]
1312+ --psdir=DIR ps documentation [DOCDIR]
1313+_ACEOF
1314+
1315+ cat <<\_ACEOF
1316+_ACEOF
1317+fi
1318+
1319+if test -n "$ac_init_help"; then
1320+ case $ac_init_help in
1321+ short | recursive ) echo "Configuration of streamly-core 0.8.2:";;
1322+ esac
1323+ cat <<\_ACEOF
1324+
1325+Optional Packages:
1326+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1327+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1328+GHC
1329+
1330+Some influential environment variables:
1331+ CC C compiler command
1332+ CFLAGS C compiler flags
1333+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1334+ nonstandard directory <lib dir>
1335+ LIBS libraries to pass to the linker, e.g. -l<library>
1336+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337+ you have headers in a nonstandard directory <include dir>
1338+
1339+Use these variables to override the choices made by `configure' or to help
1340+it to find libraries and programs with nonstandard names/locations.
1341+
1342+Report bugs to <streamly@composewell.com>.
1343+streamly-core home page: <https://streamly.composewell.com>.
1344+_ACEOF
1345+ac_status=$?
1346+fi
1347+
1348+if test "$ac_init_help" = "recursive"; then
1349+ # If there are subdirs, report their specific --help.
1350+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351+ test -d "$ac_dir" ||
1352+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353+ continue
1354+ ac_builddir=.
1355+
1356+case "$ac_dir" in
1357+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358+*)
1359+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1360+ # A ".." for each directory in $ac_dir_suffix.
1361+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362+ case $ac_top_builddir_sub in
1363+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365+ esac ;;
1366+esac
1367+ac_abs_top_builddir=$ac_pwd
1368+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369+# for backward compatibility:
1370+ac_top_builddir=$ac_top_build_prefix
1371+
1372+case $srcdir in
1373+ .) # We are building in place.
1374+ ac_srcdir=.
1375+ ac_top_srcdir=$ac_top_builddir_sub
1376+ ac_abs_top_srcdir=$ac_pwd ;;
1377+ [\\/]* | ?:[\\/]* ) # Absolute name.
1378+ ac_srcdir=$srcdir$ac_dir_suffix;
1379+ ac_top_srcdir=$srcdir
1380+ ac_abs_top_srcdir=$srcdir ;;
1381+ *) # Relative name.
1382+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1384+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385+esac
1386+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387+
1388+ cd "$ac_dir" || { ac_status=$?; continue; }
1389+ # Check for configure.gnu first; this name is used for a wrapper for
1390+ # Metaconfig's "Configure" on case-insensitive file systems.
1391+ if test -f "$ac_srcdir/configure.gnu"; then
1392+ echo &&
1393+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394+ elif test -f "$ac_srcdir/configure"; then
1395+ echo &&
1396+ $SHELL "$ac_srcdir/configure" --help=recursive
1397+ else
1398+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399+ fi || ac_status=$?
1400+ cd "$ac_pwd" || { ac_status=$?; break; }
1401+ done
1402+fi
1403+
1404+test -n "$ac_init_help" && exit $ac_status
1405+if $ac_init_version; then
1406+ cat <<\_ACEOF
1407+streamly-core configure 0.8.2
1408+generated by GNU Autoconf 2.71
1409+
1410+Copyright (C) 2021 Free Software Foundation, Inc.
1411+This configure script is free software; the Free Software Foundation
1412+gives unlimited permission to copy, distribute and modify it.
1413+_ACEOF
1414+ exit
1415+fi
1416+
1417+## ------------------------ ##
1418+## Autoconf initialization. ##
1419+## ------------------------ ##
1420+
1421+# ac_fn_c_try_compile LINENO
1422+# --------------------------
1423+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1424+ac_fn_c_try_compile ()
1425+{
1426+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427+ rm -f conftest.$ac_objext conftest.beam
1428+ if { { ac_try="$ac_compile"
1429+case "(($ac_try" in
1430+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431+ *) ac_try_echo=$ac_try;;
1432+esac
1433+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434+printf "%s\n" "$ac_try_echo"; } >&5
1435+ (eval "$ac_compile") 2>conftest.err
1436+ ac_status=$?
1437+ if test -s conftest.err; then
1438+ grep -v '^ *+' conftest.err >conftest.er1
1439+ cat conftest.er1 >&5
1440+ mv -f conftest.er1 conftest.err
1441+ fi
1442+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443+ test $ac_status = 0; } && {
1444+ test -z "$ac_c_werror_flag" ||
1445+ test ! -s conftest.err
1446+ } && test -s conftest.$ac_objext
1447+then :
1448+ ac_retval=0
1449+else $as_nop
1450+ printf "%s\n" "$as_me: failed program was:" >&5
1451+sed 's/^/| /' conftest.$ac_ext >&5
1452+
1453+ ac_retval=1
1454+fi
1455+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456+ as_fn_set_status $ac_retval
1457+
1458+} # ac_fn_c_try_compile
1459+
1460+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1461+# -------------------------------------------------------
1462+# Tests whether HEADER exists and can be compiled using the include files in
1463+# INCLUDES, setting the cache variable VAR accordingly.
1464+ac_fn_c_check_header_compile ()
1465+{
1466+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1468+printf %s "checking for $2... " >&6; }
1469+if eval test \${$3+y}
1470+then :
1471+ printf %s "(cached) " >&6
1472+else $as_nop
1473+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1474+/* end confdefs.h. */
1475+$4
1476+#include <$2>
1477+_ACEOF
1478+if ac_fn_c_try_compile "$LINENO"
1479+then :
1480+ eval "$3=yes"
1481+else $as_nop
1482+ eval "$3=no"
1483+fi
1484+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1485+fi
1486+eval ac_res=\$$3
1487+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1488+printf "%s\n" "$ac_res" >&6; }
1489+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1490+
1491+} # ac_fn_c_check_header_compile
1492+
1493+# ac_fn_c_try_link LINENO
1494+# -----------------------
1495+# Try to link conftest.$ac_ext, and return whether this succeeded.
1496+ac_fn_c_try_link ()
1497+{
1498+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499+ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1500+ if { { ac_try="$ac_link"
1501+case "(($ac_try" in
1502+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503+ *) ac_try_echo=$ac_try;;
1504+esac
1505+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506+printf "%s\n" "$ac_try_echo"; } >&5
1507+ (eval "$ac_link") 2>conftest.err
1508+ ac_status=$?
1509+ if test -s conftest.err; then
1510+ grep -v '^ *+' conftest.err >conftest.er1
1511+ cat conftest.er1 >&5
1512+ mv -f conftest.er1 conftest.err
1513+ fi
1514+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515+ test $ac_status = 0; } && {
1516+ test -z "$ac_c_werror_flag" ||
1517+ test ! -s conftest.err
1518+ } && test -s conftest$ac_exeext && {
1519+ test "$cross_compiling" = yes ||
1520+ test -x conftest$ac_exeext
1521+ }
1522+then :
1523+ ac_retval=0
1524+else $as_nop
1525+ printf "%s\n" "$as_me: failed program was:" >&5
1526+sed 's/^/| /' conftest.$ac_ext >&5
1527+
1528+ ac_retval=1
1529+fi
1530+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1531+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1532+ # interfere with the next link command; also delete a directory that is
1533+ # left behind by Apple's compiler. We do this before executing the actions.
1534+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1535+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536+ as_fn_set_status $ac_retval
1537+
1538+} # ac_fn_c_try_link
1539+
1540+# ac_fn_c_check_func LINENO FUNC VAR
1541+# ----------------------------------
1542+# Tests whether FUNC exists, setting the cache variable VAR accordingly
1543+ac_fn_c_check_func ()
1544+{
1545+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1547+printf %s "checking for $2... " >&6; }
1548+if eval test \${$3+y}
1549+then :
1550+ printf %s "(cached) " >&6
1551+else $as_nop
1552+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553+/* end confdefs.h. */
1554+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1555+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
1556+#define $2 innocuous_$2
1557+
1558+/* System header to define __stub macros and hopefully few prototypes,
1559+ which can conflict with char $2 (); below. */
1560+
1561+#include <limits.h>
1562+#undef $2
1563+
1564+/* Override any GCC internal prototype to avoid an error.
1565+ Use char because int might match the return type of a GCC
1566+ builtin and then its argument prototype would still apply. */
1567+#ifdef __cplusplus
1568+extern "C"
1569+#endif
1570+char $2 ();
1571+/* The GNU C library defines this for functions which it implements
1572+ to always fail with ENOSYS. Some functions are actually named
1573+ something starting with __ and the normal name is an alias. */
1574+#if defined __stub_$2 || defined __stub___$2
1575+choke me
1576+#endif
1577+
1578+int
1579+main (void)
1580+{
1581+return $2 ();
1582+ ;
1583+ return 0;
1584+}
1585+_ACEOF
1586+if ac_fn_c_try_link "$LINENO"
1587+then :
1588+ eval "$3=yes"
1589+else $as_nop
1590+ eval "$3=no"
1591+fi
1592+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1593+ conftest$ac_exeext conftest.$ac_ext
1594+fi
1595+eval ac_res=\$$3
1596+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597+printf "%s\n" "$ac_res" >&6; }
1598+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599+
1600+} # ac_fn_c_check_func
1601+ac_configure_args_raw=
1602+for ac_arg
1603+do
1604+ case $ac_arg in
1605+ *\'*)
1606+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1607+ esac
1608+ as_fn_append ac_configure_args_raw " '$ac_arg'"
1609+done
1610+
1611+case $ac_configure_args_raw in
1612+ *$as_nl*)
1613+ ac_safe_unquote= ;;
1614+ *)
1615+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1616+ ac_unsafe_a="$ac_unsafe_z#~"
1617+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1618+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1619+esac
1620+
1621+cat >config.log <<_ACEOF
1622+This file contains any messages produced by compilers while
1623+running configure, to aid debugging if configure makes a mistake.
1624+
1625+It was created by streamly-core $as_me 0.8.2, which was
1626+generated by GNU Autoconf 2.71. Invocation command line was
1627+
1628+ $ $0$ac_configure_args_raw
1629+
1630+_ACEOF
1631+exec 5>>config.log
1632+{
1633+cat <<_ASUNAME
1634+## --------- ##
1635+## Platform. ##
1636+## --------- ##
1637+
1638+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1639+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1640+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1641+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1642+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1643+
1644+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1645+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1646+
1647+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1648+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1649+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1650+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1651+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1652+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1653+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1654+
1655+_ASUNAME
1656+
1657+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658+for as_dir in $PATH
1659+do
1660+ IFS=$as_save_IFS
1661+ case $as_dir in #(((
1662+ '') as_dir=./ ;;
1663+ */) ;;
1664+ *) as_dir=$as_dir/ ;;
1665+ esac
1666+ printf "%s\n" "PATH: $as_dir"
1667+ done
1668+IFS=$as_save_IFS
1669+
1670+} >&5
1671+
1672+cat >&5 <<_ACEOF
1673+
1674+
1675+## ----------- ##
1676+## Core tests. ##
1677+## ----------- ##
1678+
1679+_ACEOF
1680+
1681+
1682+# Keep a trace of the command line.
1683+# Strip out --no-create and --no-recursion so they do not pile up.
1684+# Strip out --silent because we don't want to record it for future runs.
1685+# Also quote any args containing shell meta-characters.
1686+# Make two passes to allow for proper duplicate-argument suppression.
1687+ac_configure_args=
1688+ac_configure_args0=
1689+ac_configure_args1=
1690+ac_must_keep_next=false
1691+for ac_pass in 1 2
1692+do
1693+ for ac_arg
1694+ do
1695+ case $ac_arg in
1696+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1697+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1698+ | -silent | --silent | --silen | --sile | --sil)
1699+ continue ;;
1700+ *\'*)
1701+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1702+ esac
1703+ case $ac_pass in
1704+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1705+ 2)
1706+ as_fn_append ac_configure_args1 " '$ac_arg'"
1707+ if test $ac_must_keep_next = true; then
1708+ ac_must_keep_next=false # Got value, back to normal.
1709+ else
1710+ case $ac_arg in
1711+ *=* | --config-cache | -C | -disable-* | --disable-* \
1712+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1713+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1714+ | -with-* | --with-* | -without-* | --without-* | --x)
1715+ case "$ac_configure_args0 " in
1716+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1717+ esac
1718+ ;;
1719+ -* ) ac_must_keep_next=true ;;
1720+ esac
1721+ fi
1722+ as_fn_append ac_configure_args " '$ac_arg'"
1723+ ;;
1724+ esac
1725+ done
1726+done
1727+{ ac_configure_args0=; unset ac_configure_args0;}
1728+{ ac_configure_args1=; unset ac_configure_args1;}
1729+
1730+# When interrupted or exit'd, cleanup temporary files, and complete
1731+# config.log. We remove comments because anyway the quotes in there
1732+# would cause problems or look ugly.
1733+# WARNING: Use '\'' to represent an apostrophe within the trap.
1734+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1735+trap 'exit_status=$?
1736+ # Sanitize IFS.
1737+ IFS=" "" $as_nl"
1738+ # Save into config.log some information that might help in debugging.
1739+ {
1740+ echo
1741+
1742+ printf "%s\n" "## ---------------- ##
1743+## Cache variables. ##
1744+## ---------------- ##"
1745+ echo
1746+ # The following way of writing the cache mishandles newlines in values,
1747+(
1748+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1749+ eval ac_val=\$$ac_var
1750+ case $ac_val in #(
1751+ *${as_nl}*)
1752+ case $ac_var in #(
1753+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1754+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1755+ esac
1756+ case $ac_var in #(
1757+ _ | IFS | as_nl) ;; #(
1758+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1759+ *) { eval $ac_var=; unset $ac_var;} ;;
1760+ esac ;;
1761+ esac
1762+ done
1763+ (set) 2>&1 |
1764+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1765+ *${as_nl}ac_space=\ *)
1766+ sed -n \
1767+ "s/'\''/'\''\\\\'\'''\''/g;
1768+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1769+ ;; #(
1770+ *)
1771+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1772+ ;;
1773+ esac |
1774+ sort
1775+)
1776+ echo
1777+
1778+ printf "%s\n" "## ----------------- ##
1779+## Output variables. ##
1780+## ----------------- ##"
1781+ echo
1782+ for ac_var in $ac_subst_vars
1783+ do
1784+ eval ac_val=\$$ac_var
1785+ case $ac_val in
1786+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787+ esac
1788+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1789+ done | sort
1790+ echo
1791+
1792+ if test -n "$ac_subst_files"; then
1793+ printf "%s\n" "## ------------------- ##
1794+## File substitutions. ##
1795+## ------------------- ##"
1796+ echo
1797+ for ac_var in $ac_subst_files
1798+ do
1799+ eval ac_val=\$$ac_var
1800+ case $ac_val in
1801+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802+ esac
1803+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1804+ done | sort
1805+ echo
1806+ fi
1807+
1808+ if test -s confdefs.h; then
1809+ printf "%s\n" "## ----------- ##
1810+## confdefs.h. ##
1811+## ----------- ##"
1812+ echo
1813+ cat confdefs.h
1814+ echo
1815+ fi
1816+ test "$ac_signal" != 0 &&
1817+ printf "%s\n" "$as_me: caught signal $ac_signal"
1818+ printf "%s\n" "$as_me: exit $exit_status"
1819+ } >&5
1820+ rm -f core *.core core.conftest.* &&
1821+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1822+ exit $exit_status
1823+' 0
1824+for ac_signal in 1 2 13 15; do
1825+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1826+done
1827+ac_signal=0
1828+
1829+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1830+rm -f -r conftest* confdefs.h
1831+
1832+printf "%s\n" "/* confdefs.h */" > confdefs.h
1833+
1834+# Predefined preprocessor variables.
1835+
1836+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1837+
1838+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1839+
1840+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1841+
1842+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1843+
1844+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1845+
1846+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1847+
1848+
1849+# Let the site file select an alternate cache file if it wants to.
1850+# Prefer an explicitly selected file to automatically selected ones.
1851+if test -n "$CONFIG_SITE"; then
1852+ ac_site_files="$CONFIG_SITE"
1853+elif test "x$prefix" != xNONE; then
1854+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1855+else
1856+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1857+fi
1858+
1859+for ac_site_file in $ac_site_files
1860+do
1861+ case $ac_site_file in #(
1862+ */*) :
1863+ ;; #(
1864+ *) :
1865+ ac_site_file=./$ac_site_file ;;
1866+esac
1867+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1868+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1869+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1870+ sed 's/^/| /' "$ac_site_file" >&5
1871+ . "$ac_site_file" \
1872+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1873+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1874+as_fn_error $? "failed to load site script $ac_site_file
1875+See \`config.log' for more details" "$LINENO" 5; }
1876+ fi
1877+done
1878+
1879+if test -r "$cache_file"; then
1880+ # Some versions of bash will fail to source /dev/null (special files
1881+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1882+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1883+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1884+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1885+ case $cache_file in
1886+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887+ *) . "./$cache_file";;
1888+ esac
1889+ fi
1890+else
1891+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1892+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1893+ >$cache_file
1894+fi
1895+
1896+# Test code for whether the C compiler supports C89 (global declarations)
1897+ac_c_conftest_c89_globals='
1898+/* Does the compiler advertise C89 conformance?
1899+ Do not test the value of __STDC__, because some compilers set it to 0
1900+ while being otherwise adequately conformant. */
1901+#if !defined __STDC__
1902+# error "Compiler does not advertise C89 conformance"
1903+#endif
1904+
1905+#include <stddef.h>
1906+#include <stdarg.h>
1907+struct stat;
1908+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1909+struct buf { int x; };
1910+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1911+static char *e (p, i)
1912+ char **p;
1913+ int i;
1914+{
1915+ return p[i];
1916+}
1917+static char *f (char * (*g) (char **, int), char **p, ...)
1918+{
1919+ char *s;
1920+ va_list v;
1921+ va_start (v,p);
1922+ s = g (p, va_arg (v,int));
1923+ va_end (v);
1924+ return s;
1925+}
1926+
1927+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1928+ function prototypes and stuff, but not \xHH hex character constants.
1929+ These do not provoke an error unfortunately, instead are silently treated
1930+ as an "x". The following induces an error, until -std is added to get
1931+ proper ANSI mode. Curiously \x00 != x always comes out true, for an
1932+ array size at least. It is necessary to write \x00 == 0 to get something
1933+ that is true only with -std. */
1934+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1935+
1936+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1937+ inside strings and character constants. */
1938+#define FOO(x) '\''x'\''
1939+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1940+
1941+int test (int i, double x);
1942+struct s1 {int (*f) (int a);};
1943+struct s2 {int (*f) (double a);};
1944+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1945+ int, int);'
1946+
1947+# Test code for whether the C compiler supports C89 (body of main).
1948+ac_c_conftest_c89_main='
1949+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1950+'
1951+
1952+# Test code for whether the C compiler supports C99 (global declarations)
1953+ac_c_conftest_c99_globals='
1954+// Does the compiler advertise C99 conformance?
1955+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1956+# error "Compiler does not advertise C99 conformance"
1957+#endif
1958+
1959+#include <stdbool.h>
1960+extern int puts (const char *);
1961+extern int printf (const char *, ...);
1962+extern int dprintf (int, const char *, ...);
1963+extern void *malloc (size_t);
1964+
1965+// Check varargs macros. These examples are taken from C99 6.10.3.5.
1966+// dprintf is used instead of fprintf to avoid needing to declare
1967+// FILE and stderr.
1968+#define debug(...) dprintf (2, __VA_ARGS__)
1969+#define showlist(...) puts (#__VA_ARGS__)
1970+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1971+static void
1972+test_varargs_macros (void)
1973+{
1974+ int x = 1234;
1975+ int y = 5678;
1976+ debug ("Flag");
1977+ debug ("X = %d\n", x);
1978+ showlist (The first, second, and third items.);
1979+ report (x>y, "x is %d but y is %d", x, y);
1980+}
1981+
1982+// Check long long types.
1983+#define BIG64 18446744073709551615ull
1984+#define BIG32 4294967295ul
1985+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1986+#if !BIG_OK
1987+ #error "your preprocessor is broken"
1988+#endif
1989+#if BIG_OK
1990+#else
1991+ #error "your preprocessor is broken"
1992+#endif
1993+static long long int bignum = -9223372036854775807LL;
1994+static unsigned long long int ubignum = BIG64;
1995+
1996+struct incomplete_array
1997+{
1998+ int datasize;
1999+ double data[];
2000+};
2001+
2002+struct named_init {
2003+ int number;
2004+ const wchar_t *name;
2005+ double average;
2006+};
2007+
2008+typedef const char *ccp;
2009+
2010+static inline int
2011+test_restrict (ccp restrict text)
2012+{
2013+ // See if C++-style comments work.
2014+ // Iterate through items via the restricted pointer.
2015+ // Also check for declarations in for loops.
2016+ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2017+ continue;
2018+ return 0;
2019+}
2020+
2021+// Check varargs and va_copy.
2022+static bool
2023+test_varargs (const char *format, ...)
2024+{
2025+ va_list args;
2026+ va_start (args, format);
2027+ va_list args_copy;
2028+ va_copy (args_copy, args);
2029+
2030+ const char *str = "";
2031+ int number = 0;
2032+ float fnumber = 0;
2033+
2034+ while (*format)
2035+ {
2036+ switch (*format++)
2037+ {
2038+ case '\''s'\'': // string
2039+ str = va_arg (args_copy, const char *);
2040+ break;
2041+ case '\''d'\'': // int
2042+ number = va_arg (args_copy, int);
2043+ break;
2044+ case '\''f'\'': // float
2045+ fnumber = va_arg (args_copy, double);
2046+ break;
2047+ default:
2048+ break;
2049+ }
2050+ }
2051+ va_end (args_copy);
2052+ va_end (args);
2053+
2054+ return *str && number && fnumber;
2055+}
2056+'
2057+
2058+# Test code for whether the C compiler supports C99 (body of main).
2059+ac_c_conftest_c99_main='
2060+ // Check bool.
2061+ _Bool success = false;
2062+ success |= (argc != 0);
2063+
2064+ // Check restrict.
2065+ if (test_restrict ("String literal") == 0)
2066+ success = true;
2067+ char *restrict newvar = "Another string";
2068+
2069+ // Check varargs.
2070+ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2071+ test_varargs_macros ();
2072+
2073+ // Check flexible array members.
2074+ struct incomplete_array *ia =
2075+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2076+ ia->datasize = 10;
2077+ for (int i = 0; i < ia->datasize; ++i)
2078+ ia->data[i] = i * 1.234;
2079+
2080+ // Check named initializers.
2081+ struct named_init ni = {
2082+ .number = 34,
2083+ .name = L"Test wide string",
2084+ .average = 543.34343,
2085+ };
2086+
2087+ ni.number = 58;
2088+
2089+ int dynamic_array[ni.number];
2090+ dynamic_array[0] = argv[0][0];
2091+ dynamic_array[ni.number - 1] = 543;
2092+
2093+ // work around unused variable warnings
2094+ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2095+ || dynamic_array[ni.number - 1] != 543);
2096+'
2097+
2098+# Test code for whether the C compiler supports C11 (global declarations)
2099+ac_c_conftest_c11_globals='
2100+// Does the compiler advertise C11 conformance?
2101+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2102+# error "Compiler does not advertise C11 conformance"
2103+#endif
2104+
2105+// Check _Alignas.
2106+char _Alignas (double) aligned_as_double;
2107+char _Alignas (0) no_special_alignment;
2108+extern char aligned_as_int;
2109+char _Alignas (0) _Alignas (int) aligned_as_int;
2110+
2111+// Check _Alignof.
2112+enum
2113+{
2114+ int_alignment = _Alignof (int),
2115+ int_array_alignment = _Alignof (int[100]),
2116+ char_alignment = _Alignof (char)
2117+};
2118+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2119+
2120+// Check _Noreturn.
2121+int _Noreturn does_not_return (void) { for (;;) continue; }
2122+
2123+// Check _Static_assert.
2124+struct test_static_assert
2125+{
2126+ int x;
2127+ _Static_assert (sizeof (int) <= sizeof (long int),
2128+ "_Static_assert does not work in struct");
2129+ long int y;
2130+};
2131+
2132+// Check UTF-8 literals.
2133+#define u8 syntax error!
2134+char const utf8_literal[] = u8"happens to be ASCII" "another string";
2135+
2136+// Check duplicate typedefs.
2137+typedef long *long_ptr;
2138+typedef long int *long_ptr;
2139+typedef long_ptr long_ptr;
2140+
2141+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2142+struct anonymous
2143+{
2144+ union {
2145+ struct { int i; int j; };
2146+ struct { int k; long int l; } w;
2147+ };
2148+ int m;
2149+} v1;
2150+'
2151+
2152+# Test code for whether the C compiler supports C11 (body of main).
2153+ac_c_conftest_c11_main='
2154+ _Static_assert ((offsetof (struct anonymous, i)
2155+ == offsetof (struct anonymous, w.k)),
2156+ "Anonymous union alignment botch");
2157+ v1.i = 2;
2158+ v1.w.k = 5;
2159+ ok |= v1.i != 5;
2160+'
2161+
2162+# Test code for whether the C compiler supports C11 (complete).
2163+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2164+${ac_c_conftest_c99_globals}
2165+${ac_c_conftest_c11_globals}
2166+
2167+int
2168+main (int argc, char **argv)
2169+{
2170+ int ok = 0;
2171+ ${ac_c_conftest_c89_main}
2172+ ${ac_c_conftest_c99_main}
2173+ ${ac_c_conftest_c11_main}
2174+ return ok;
2175+}
2176+"
2177+
2178+# Test code for whether the C compiler supports C99 (complete).
2179+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2180+${ac_c_conftest_c99_globals}
2181+
2182+int
2183+main (int argc, char **argv)
2184+{
2185+ int ok = 0;
2186+ ${ac_c_conftest_c89_main}
2187+ ${ac_c_conftest_c99_main}
2188+ return ok;
2189+}
2190+"
2191+
2192+# Test code for whether the C compiler supports C89 (complete).
2193+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2194+
2195+int
2196+main (int argc, char **argv)
2197+{
2198+ int ok = 0;
2199+ ${ac_c_conftest_c89_main}
2200+ return ok;
2201+}
2202+"
2203+
2204+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2205+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2206+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2207+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2208+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2209+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2210+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2211+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2212+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2213+# Check that the precious variables saved in the cache have kept the same
2214+# value.
2215+ac_cache_corrupted=false
2216+for ac_var in $ac_precious_vars; do
2217+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218+ eval ac_new_set=\$ac_env_${ac_var}_set
2219+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220+ eval ac_new_val=\$ac_env_${ac_var}_value
2221+ case $ac_old_set,$ac_new_set in
2222+ set,)
2223+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225+ ac_cache_corrupted=: ;;
2226+ ,set)
2227+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229+ ac_cache_corrupted=: ;;
2230+ ,);;
2231+ *)
2232+ if test "x$ac_old_val" != "x$ac_new_val"; then
2233+ # differences in whitespace do not lead to failure.
2234+ ac_old_val_w=`echo x $ac_old_val`
2235+ ac_new_val_w=`echo x $ac_new_val`
2236+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239+ ac_cache_corrupted=:
2240+ else
2241+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243+ eval $ac_var=\$ac_old_val
2244+ fi
2245+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2247+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2249+ fi;;
2250+ esac
2251+ # Pass precious variables to config.status.
2252+ if test "$ac_new_set" = set; then
2253+ case $ac_new_val in
2254+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255+ *) ac_arg=$ac_var=$ac_new_val ;;
2256+ esac
2257+ case " $ac_configure_args " in
2258+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2260+ esac
2261+ fi
2262+done
2263+if $ac_cache_corrupted; then
2264+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2266+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2268+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2269+ and start over" "$LINENO" 5
2270+fi
2271+## -------------------- ##
2272+## Main body of script. ##
2273+## -------------------- ##
2274+
2275+ac_ext=c
2276+ac_cpp='$CPP $CPPFLAGS'
2277+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2280+
2281+
2282+
2283+# To suppress "WARNING: unrecognized options: --with-compiler"
2284+
2285+# Check whether --with-compiler was given.
2286+if test ${with_compiler+y}
2287+then :
2288+ withval=$with_compiler;
2289+fi
2290+
2291+
2292+# Check headers and functions required
2293+
2294+
2295+
2296+
2297+
2298+
2299+
2300+
2301+
2302+ac_ext=c
2303+ac_cpp='$CPP $CPPFLAGS'
2304+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307+if test -n "$ac_tool_prefix"; then
2308+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2309+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2310+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311+printf %s "checking for $ac_word... " >&6; }
2312+if test ${ac_cv_prog_CC+y}
2313+then :
2314+ printf %s "(cached) " >&6
2315+else $as_nop
2316+ if test -n "$CC"; then
2317+ ac_cv_prog_CC="$CC" # Let the user override the test.
2318+else
2319+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320+for as_dir in $PATH
2321+do
2322+ IFS=$as_save_IFS
2323+ case $as_dir in #(((
2324+ '') as_dir=./ ;;
2325+ */) ;;
2326+ *) as_dir=$as_dir/ ;;
2327+ esac
2328+ for ac_exec_ext in '' $ac_executable_extensions; do
2329+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2330+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
2331+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2332+ break 2
2333+ fi
2334+done
2335+ done
2336+IFS=$as_save_IFS
2337+
2338+fi
2339+fi
2340+CC=$ac_cv_prog_CC
2341+if test -n "$CC"; then
2342+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2343+printf "%s\n" "$CC" >&6; }
2344+else
2345+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2346+printf "%s\n" "no" >&6; }
2347+fi
2348+
2349+
2350+fi
2351+if test -z "$ac_cv_prog_CC"; then
2352+ ac_ct_CC=$CC
2353+ # Extract the first word of "gcc", so it can be a program name with args.
2354+set dummy gcc; ac_word=$2
2355+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356+printf %s "checking for $ac_word... " >&6; }
2357+if test ${ac_cv_prog_ac_ct_CC+y}
2358+then :
2359+ printf %s "(cached) " >&6
2360+else $as_nop
2361+ if test -n "$ac_ct_CC"; then
2362+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2363+else
2364+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365+for as_dir in $PATH
2366+do
2367+ IFS=$as_save_IFS
2368+ case $as_dir in #(((
2369+ '') as_dir=./ ;;
2370+ */) ;;
2371+ *) as_dir=$as_dir/ ;;
2372+ esac
2373+ for ac_exec_ext in '' $ac_executable_extensions; do
2374+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2375+ ac_cv_prog_ac_ct_CC="gcc"
2376+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2377+ break 2
2378+ fi
2379+done
2380+ done
2381+IFS=$as_save_IFS
2382+
2383+fi
2384+fi
2385+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2386+if test -n "$ac_ct_CC"; then
2387+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2388+printf "%s\n" "$ac_ct_CC" >&6; }
2389+else
2390+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391+printf "%s\n" "no" >&6; }
2392+fi
2393+
2394+ if test "x$ac_ct_CC" = x; then
2395+ CC=""
2396+ else
2397+ case $cross_compiling:$ac_tool_warned in
2398+yes:)
2399+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2400+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2401+ac_tool_warned=yes ;;
2402+esac
2403+ CC=$ac_ct_CC
2404+ fi
2405+else
2406+ CC="$ac_cv_prog_CC"
2407+fi
2408+
2409+if test -z "$CC"; then
2410+ if test -n "$ac_tool_prefix"; then
2411+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2412+set dummy ${ac_tool_prefix}cc; ac_word=$2
2413+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414+printf %s "checking for $ac_word... " >&6; }
2415+if test ${ac_cv_prog_CC+y}
2416+then :
2417+ printf %s "(cached) " >&6
2418+else $as_nop
2419+ if test -n "$CC"; then
2420+ ac_cv_prog_CC="$CC" # Let the user override the test.
2421+else
2422+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423+for as_dir in $PATH
2424+do
2425+ IFS=$as_save_IFS
2426+ case $as_dir in #(((
2427+ '') as_dir=./ ;;
2428+ */) ;;
2429+ *) as_dir=$as_dir/ ;;
2430+ esac
2431+ for ac_exec_ext in '' $ac_executable_extensions; do
2432+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2433+ ac_cv_prog_CC="${ac_tool_prefix}cc"
2434+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2435+ break 2
2436+ fi
2437+done
2438+ done
2439+IFS=$as_save_IFS
2440+
2441+fi
2442+fi
2443+CC=$ac_cv_prog_CC
2444+if test -n "$CC"; then
2445+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2446+printf "%s\n" "$CC" >&6; }
2447+else
2448+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449+printf "%s\n" "no" >&6; }
2450+fi
2451+
2452+
2453+ fi
2454+fi
2455+if test -z "$CC"; then
2456+ # Extract the first word of "cc", so it can be a program name with args.
2457+set dummy cc; ac_word=$2
2458+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459+printf %s "checking for $ac_word... " >&6; }
2460+if test ${ac_cv_prog_CC+y}
2461+then :
2462+ printf %s "(cached) " >&6
2463+else $as_nop
2464+ if test -n "$CC"; then
2465+ ac_cv_prog_CC="$CC" # Let the user override the test.
2466+else
2467+ ac_prog_rejected=no
2468+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469+for as_dir in $PATH
2470+do
2471+ IFS=$as_save_IFS
2472+ case $as_dir in #(((
2473+ '') as_dir=./ ;;
2474+ */) ;;
2475+ *) as_dir=$as_dir/ ;;
2476+ esac
2477+ for ac_exec_ext in '' $ac_executable_extensions; do
2478+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2479+ if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2480+ ac_prog_rejected=yes
2481+ continue
2482+ fi
2483+ ac_cv_prog_CC="cc"
2484+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2485+ break 2
2486+ fi
2487+done
2488+ done
2489+IFS=$as_save_IFS
2490+
2491+if test $ac_prog_rejected = yes; then
2492+ # We found a bogon in the path, so make sure we never use it.
2493+ set dummy $ac_cv_prog_CC
2494+ shift
2495+ if test $# != 0; then
2496+ # We chose a different compiler from the bogus one.
2497+ # However, it has the same basename, so the bogon will be chosen
2498+ # first if we set CC to just the basename; use the full file name.
2499+ shift
2500+ ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2501+ fi
2502+fi
2503+fi
2504+fi
2505+CC=$ac_cv_prog_CC
2506+if test -n "$CC"; then
2507+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2508+printf "%s\n" "$CC" >&6; }
2509+else
2510+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511+printf "%s\n" "no" >&6; }
2512+fi
2513+
2514+
2515+fi
2516+if test -z "$CC"; then
2517+ if test -n "$ac_tool_prefix"; then
2518+ for ac_prog in cl.exe
2519+ do
2520+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2521+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2522+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523+printf %s "checking for $ac_word... " >&6; }
2524+if test ${ac_cv_prog_CC+y}
2525+then :
2526+ printf %s "(cached) " >&6
2527+else $as_nop
2528+ if test -n "$CC"; then
2529+ ac_cv_prog_CC="$CC" # Let the user override the test.
2530+else
2531+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532+for as_dir in $PATH
2533+do
2534+ IFS=$as_save_IFS
2535+ case $as_dir in #(((
2536+ '') as_dir=./ ;;
2537+ */) ;;
2538+ *) as_dir=$as_dir/ ;;
2539+ esac
2540+ for ac_exec_ext in '' $ac_executable_extensions; do
2541+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2542+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2543+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2544+ break 2
2545+ fi
2546+done
2547+ done
2548+IFS=$as_save_IFS
2549+
2550+fi
2551+fi
2552+CC=$ac_cv_prog_CC
2553+if test -n "$CC"; then
2554+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555+printf "%s\n" "$CC" >&6; }
2556+else
2557+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558+printf "%s\n" "no" >&6; }
2559+fi
2560+
2561+
2562+ test -n "$CC" && break
2563+ done
2564+fi
2565+if test -z "$CC"; then
2566+ ac_ct_CC=$CC
2567+ for ac_prog in cl.exe
2568+do
2569+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2570+set dummy $ac_prog; ac_word=$2
2571+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572+printf %s "checking for $ac_word... " >&6; }
2573+if test ${ac_cv_prog_ac_ct_CC+y}
2574+then :
2575+ printf %s "(cached) " >&6
2576+else $as_nop
2577+ if test -n "$ac_ct_CC"; then
2578+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2579+else
2580+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581+for as_dir in $PATH
2582+do
2583+ IFS=$as_save_IFS
2584+ case $as_dir in #(((
2585+ '') as_dir=./ ;;
2586+ */) ;;
2587+ *) as_dir=$as_dir/ ;;
2588+ esac
2589+ for ac_exec_ext in '' $ac_executable_extensions; do
2590+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2591+ ac_cv_prog_ac_ct_CC="$ac_prog"
2592+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2593+ break 2
2594+ fi
2595+done
2596+ done
2597+IFS=$as_save_IFS
2598+
2599+fi
2600+fi
2601+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2602+if test -n "$ac_ct_CC"; then
2603+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2604+printf "%s\n" "$ac_ct_CC" >&6; }
2605+else
2606+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607+printf "%s\n" "no" >&6; }
2608+fi
2609+
2610+
2611+ test -n "$ac_ct_CC" && break
2612+done
2613+
2614+ if test "x$ac_ct_CC" = x; then
2615+ CC=""
2616+ else
2617+ case $cross_compiling:$ac_tool_warned in
2618+yes:)
2619+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621+ac_tool_warned=yes ;;
2622+esac
2623+ CC=$ac_ct_CC
2624+ fi
2625+fi
2626+
2627+fi
2628+if test -z "$CC"; then
2629+ if test -n "$ac_tool_prefix"; then
2630+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2631+set dummy ${ac_tool_prefix}clang; ac_word=$2
2632+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633+printf %s "checking for $ac_word... " >&6; }
2634+if test ${ac_cv_prog_CC+y}
2635+then :
2636+ printf %s "(cached) " >&6
2637+else $as_nop
2638+ if test -n "$CC"; then
2639+ ac_cv_prog_CC="$CC" # Let the user override the test.
2640+else
2641+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642+for as_dir in $PATH
2643+do
2644+ IFS=$as_save_IFS
2645+ case $as_dir in #(((
2646+ '') as_dir=./ ;;
2647+ */) ;;
2648+ *) as_dir=$as_dir/ ;;
2649+ esac
2650+ for ac_exec_ext in '' $ac_executable_extensions; do
2651+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2652+ ac_cv_prog_CC="${ac_tool_prefix}clang"
2653+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2654+ break 2
2655+ fi
2656+done
2657+ done
2658+IFS=$as_save_IFS
2659+
2660+fi
2661+fi
2662+CC=$ac_cv_prog_CC
2663+if test -n "$CC"; then
2664+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665+printf "%s\n" "$CC" >&6; }
2666+else
2667+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668+printf "%s\n" "no" >&6; }
2669+fi
2670+
2671+
2672+fi
2673+if test -z "$ac_cv_prog_CC"; then
2674+ ac_ct_CC=$CC
2675+ # Extract the first word of "clang", so it can be a program name with args.
2676+set dummy clang; ac_word=$2
2677+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678+printf %s "checking for $ac_word... " >&6; }
2679+if test ${ac_cv_prog_ac_ct_CC+y}
2680+then :
2681+ printf %s "(cached) " >&6
2682+else $as_nop
2683+ if test -n "$ac_ct_CC"; then
2684+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2685+else
2686+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687+for as_dir in $PATH
2688+do
2689+ IFS=$as_save_IFS
2690+ case $as_dir in #(((
2691+ '') as_dir=./ ;;
2692+ */) ;;
2693+ *) as_dir=$as_dir/ ;;
2694+ esac
2695+ for ac_exec_ext in '' $ac_executable_extensions; do
2696+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2697+ ac_cv_prog_ac_ct_CC="clang"
2698+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2699+ break 2
2700+ fi
2701+done
2702+ done
2703+IFS=$as_save_IFS
2704+
2705+fi
2706+fi
2707+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2708+if test -n "$ac_ct_CC"; then
2709+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2710+printf "%s\n" "$ac_ct_CC" >&6; }
2711+else
2712+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713+printf "%s\n" "no" >&6; }
2714+fi
2715+
2716+ if test "x$ac_ct_CC" = x; then
2717+ CC=""
2718+ else
2719+ case $cross_compiling:$ac_tool_warned in
2720+yes:)
2721+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2722+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2723+ac_tool_warned=yes ;;
2724+esac
2725+ CC=$ac_ct_CC
2726+ fi
2727+else
2728+ CC="$ac_cv_prog_CC"
2729+fi
2730+
2731+fi
2732+
2733+
2734+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2736+as_fn_error $? "no acceptable C compiler found in \$PATH
2737+See \`config.log' for more details" "$LINENO" 5; }
2738+
2739+# Provide some information about the compiler.
2740+printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2741+set X $ac_compile
2742+ac_compiler=$2
2743+for ac_option in --version -v -V -qversion -version; do
2744+ { { ac_try="$ac_compiler $ac_option >&5"
2745+case "(($ac_try" in
2746+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747+ *) ac_try_echo=$ac_try;;
2748+esac
2749+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750+printf "%s\n" "$ac_try_echo"; } >&5
2751+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2752+ ac_status=$?
2753+ if test -s conftest.err; then
2754+ sed '10a\
2755+... rest of stderr output deleted ...
2756+ 10q' conftest.err >conftest.er1
2757+ cat conftest.er1 >&5
2758+ fi
2759+ rm -f conftest.er1 conftest.err
2760+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761+ test $ac_status = 0; }
2762+done
2763+
2764+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765+/* end confdefs.h. */
2766+
2767+int
2768+main (void)
2769+{
2770+
2771+ ;
2772+ return 0;
2773+}
2774+_ACEOF
2775+ac_clean_files_save=$ac_clean_files
2776+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2777+# Try to create an executable without -o first, disregard a.out.
2778+# It will help us diagnose broken compilers, and finding out an intuition
2779+# of exeext.
2780+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2781+printf %s "checking whether the C compiler works... " >&6; }
2782+ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2783+
2784+# The possible output files:
2785+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2786+
2787+ac_rmfiles=
2788+for ac_file in $ac_files
2789+do
2790+ case $ac_file in
2791+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2792+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2793+ esac
2794+done
2795+rm -f $ac_rmfiles
2796+
2797+if { { ac_try="$ac_link_default"
2798+case "(($ac_try" in
2799+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800+ *) ac_try_echo=$ac_try;;
2801+esac
2802+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803+printf "%s\n" "$ac_try_echo"; } >&5
2804+ (eval "$ac_link_default") 2>&5
2805+ ac_status=$?
2806+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807+ test $ac_status = 0; }
2808+then :
2809+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2810+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2811+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2812+# so that the user can short-circuit this test for compilers unknown to
2813+# Autoconf.
2814+for ac_file in $ac_files ''
2815+do
2816+ test -f "$ac_file" || continue
2817+ case $ac_file in
2818+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2819+ ;;
2820+ [ab].out )
2821+ # We found the default executable, but exeext='' is most
2822+ # certainly right.
2823+ break;;
2824+ *.* )
2825+ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2826+ then :; else
2827+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2828+ fi
2829+ # We set ac_cv_exeext here because the later test for it is not
2830+ # safe: cross compilers may not add the suffix if given an `-o'
2831+ # argument, so we may need to know it at that point already.
2832+ # Even if this section looks crufty: it has the advantage of
2833+ # actually working.
2834+ break;;
2835+ * )
2836+ break;;
2837+ esac
2838+done
2839+test "$ac_cv_exeext" = no && ac_cv_exeext=
2840+
2841+else $as_nop
2842+ ac_file=''
2843+fi
2844+if test -z "$ac_file"
2845+then :
2846+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847+printf "%s\n" "no" >&6; }
2848+printf "%s\n" "$as_me: failed program was:" >&5
2849+sed 's/^/| /' conftest.$ac_ext >&5
2850+
2851+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2852+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2853+as_fn_error 77 "C compiler cannot create executables
2854+See \`config.log' for more details" "$LINENO" 5; }
2855+else $as_nop
2856+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2857+printf "%s\n" "yes" >&6; }
2858+fi
2859+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2860+printf %s "checking for C compiler default output file name... " >&6; }
2861+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2862+printf "%s\n" "$ac_file" >&6; }
2863+ac_exeext=$ac_cv_exeext
2864+
2865+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2866+ac_clean_files=$ac_clean_files_save
2867+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2868+printf %s "checking for suffix of executables... " >&6; }
2869+if { { ac_try="$ac_link"
2870+case "(($ac_try" in
2871+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872+ *) ac_try_echo=$ac_try;;
2873+esac
2874+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875+printf "%s\n" "$ac_try_echo"; } >&5
2876+ (eval "$ac_link") 2>&5
2877+ ac_status=$?
2878+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879+ test $ac_status = 0; }
2880+then :
2881+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2882+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2883+# work properly (i.e., refer to `conftest.exe'), while it won't with
2884+# `rm'.
2885+for ac_file in conftest.exe conftest conftest.*; do
2886+ test -f "$ac_file" || continue
2887+ case $ac_file in
2888+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2889+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2890+ break;;
2891+ * ) break;;
2892+ esac
2893+done
2894+else $as_nop
2895+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2896+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2897+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2898+See \`config.log' for more details" "$LINENO" 5; }
2899+fi
2900+rm -f conftest conftest$ac_cv_exeext
2901+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2902+printf "%s\n" "$ac_cv_exeext" >&6; }
2903+
2904+rm -f conftest.$ac_ext
2905+EXEEXT=$ac_cv_exeext
2906+ac_exeext=$EXEEXT
2907+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908+/* end confdefs.h. */
2909+#include <stdio.h>
2910+int
2911+main (void)
2912+{
2913+FILE *f = fopen ("conftest.out", "w");
2914+ return ferror (f) || fclose (f) != 0;
2915+
2916+ ;
2917+ return 0;
2918+}
2919+_ACEOF
2920+ac_clean_files="$ac_clean_files conftest.out"
2921+# Check that the compiler produces executables we can run. If not, either
2922+# the compiler is broken, or we cross compile.
2923+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2924+printf %s "checking whether we are cross compiling... " >&6; }
2925+if test "$cross_compiling" != yes; then
2926+ { { ac_try="$ac_link"
2927+case "(($ac_try" in
2928+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929+ *) ac_try_echo=$ac_try;;
2930+esac
2931+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932+printf "%s\n" "$ac_try_echo"; } >&5
2933+ (eval "$ac_link") 2>&5
2934+ ac_status=$?
2935+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936+ test $ac_status = 0; }
2937+ if { ac_try='./conftest$ac_cv_exeext'
2938+ { { case "(($ac_try" in
2939+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940+ *) ac_try_echo=$ac_try;;
2941+esac
2942+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943+printf "%s\n" "$ac_try_echo"; } >&5
2944+ (eval "$ac_try") 2>&5
2945+ ac_status=$?
2946+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947+ test $ac_status = 0; }; }; then
2948+ cross_compiling=no
2949+ else
2950+ if test "$cross_compiling" = maybe; then
2951+ cross_compiling=yes
2952+ else
2953+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2954+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2955+as_fn_error 77 "cannot run C compiled programs.
2956+If you meant to cross compile, use \`--host'.
2957+See \`config.log' for more details" "$LINENO" 5; }
2958+ fi
2959+ fi
2960+fi
2961+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2962+printf "%s\n" "$cross_compiling" >&6; }
2963+
2964+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2965+ac_clean_files=$ac_clean_files_save
2966+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2967+printf %s "checking for suffix of object files... " >&6; }
2968+if test ${ac_cv_objext+y}
2969+then :
2970+ printf %s "(cached) " >&6
2971+else $as_nop
2972+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973+/* end confdefs.h. */
2974+
2975+int
2976+main (void)
2977+{
2978+
2979+ ;
2980+ return 0;
2981+}
2982+_ACEOF
2983+rm -f conftest.o conftest.obj
2984+if { { ac_try="$ac_compile"
2985+case "(($ac_try" in
2986+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987+ *) ac_try_echo=$ac_try;;
2988+esac
2989+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990+printf "%s\n" "$ac_try_echo"; } >&5
2991+ (eval "$ac_compile") 2>&5
2992+ ac_status=$?
2993+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994+ test $ac_status = 0; }
2995+then :
2996+ for ac_file in conftest.o conftest.obj conftest.*; do
2997+ test -f "$ac_file" || continue;
2998+ case $ac_file in
2999+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3000+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3001+ break;;
3002+ esac
3003+done
3004+else $as_nop
3005+ printf "%s\n" "$as_me: failed program was:" >&5
3006+sed 's/^/| /' conftest.$ac_ext >&5
3007+
3008+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3010+as_fn_error $? "cannot compute suffix of object files: cannot compile
3011+See \`config.log' for more details" "$LINENO" 5; }
3012+fi
3013+rm -f conftest.$ac_cv_objext conftest.$ac_ext
3014+fi
3015+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3016+printf "%s\n" "$ac_cv_objext" >&6; }
3017+OBJEXT=$ac_cv_objext
3018+ac_objext=$OBJEXT
3019+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3020+printf %s "checking whether the compiler supports GNU C... " >&6; }
3021+if test ${ac_cv_c_compiler_gnu+y}
3022+then :
3023+ printf %s "(cached) " >&6
3024+else $as_nop
3025+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026+/* end confdefs.h. */
3027+
3028+int
3029+main (void)
3030+{
3031+#ifndef __GNUC__
3032+ choke me
3033+#endif
3034+
3035+ ;
3036+ return 0;
3037+}
3038+_ACEOF
3039+if ac_fn_c_try_compile "$LINENO"
3040+then :
3041+ ac_compiler_gnu=yes
3042+else $as_nop
3043+ ac_compiler_gnu=no
3044+fi
3045+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3046+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3047+
3048+fi
3049+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3050+printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3051+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052+
3053+if test $ac_compiler_gnu = yes; then
3054+ GCC=yes
3055+else
3056+ GCC=
3057+fi
3058+ac_test_CFLAGS=${CFLAGS+y}
3059+ac_save_CFLAGS=$CFLAGS
3060+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3061+printf %s "checking whether $CC accepts -g... " >&6; }
3062+if test ${ac_cv_prog_cc_g+y}
3063+then :
3064+ printf %s "(cached) " >&6
3065+else $as_nop
3066+ ac_save_c_werror_flag=$ac_c_werror_flag
3067+ ac_c_werror_flag=yes
3068+ ac_cv_prog_cc_g=no
3069+ CFLAGS="-g"
3070+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071+/* end confdefs.h. */
3072+
3073+int
3074+main (void)
3075+{
3076+
3077+ ;
3078+ return 0;
3079+}
3080+_ACEOF
3081+if ac_fn_c_try_compile "$LINENO"
3082+then :
3083+ ac_cv_prog_cc_g=yes
3084+else $as_nop
3085+ CFLAGS=""
3086+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087+/* end confdefs.h. */
3088+
3089+int
3090+main (void)
3091+{
3092+
3093+ ;
3094+ return 0;
3095+}
3096+_ACEOF
3097+if ac_fn_c_try_compile "$LINENO"
3098+then :
3099+
3100+else $as_nop
3101+ ac_c_werror_flag=$ac_save_c_werror_flag
3102+ CFLAGS="-g"
3103+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104+/* end confdefs.h. */
3105+
3106+int
3107+main (void)
3108+{
3109+
3110+ ;
3111+ return 0;
3112+}
3113+_ACEOF
3114+if ac_fn_c_try_compile "$LINENO"
3115+then :
3116+ ac_cv_prog_cc_g=yes
3117+fi
3118+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3119+fi
3120+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121+fi
3122+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123+ ac_c_werror_flag=$ac_save_c_werror_flag
3124+fi
3125+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3126+printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3127+if test $ac_test_CFLAGS; then
3128+ CFLAGS=$ac_save_CFLAGS
3129+elif test $ac_cv_prog_cc_g = yes; then
3130+ if test "$GCC" = yes; then
3131+ CFLAGS="-g -O2"
3132+ else
3133+ CFLAGS="-g"
3134+ fi
3135+else
3136+ if test "$GCC" = yes; then
3137+ CFLAGS="-O2"
3138+ else
3139+ CFLAGS=
3140+ fi
3141+fi
3142+ac_prog_cc_stdc=no
3143+if test x$ac_prog_cc_stdc = xno
3144+then :
3145+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3146+printf %s "checking for $CC option to enable C11 features... " >&6; }
3147+if test ${ac_cv_prog_cc_c11+y}
3148+then :
3149+ printf %s "(cached) " >&6
3150+else $as_nop
3151+ ac_cv_prog_cc_c11=no
3152+ac_save_CC=$CC
3153+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154+/* end confdefs.h. */
3155+$ac_c_conftest_c11_program
3156+_ACEOF
3157+for ac_arg in '' -std=gnu11
3158+do
3159+ CC="$ac_save_CC $ac_arg"
3160+ if ac_fn_c_try_compile "$LINENO"
3161+then :
3162+ ac_cv_prog_cc_c11=$ac_arg
3163+fi
3164+rm -f core conftest.err conftest.$ac_objext conftest.beam
3165+ test "x$ac_cv_prog_cc_c11" != "xno" && break
3166+done
3167+rm -f conftest.$ac_ext
3168+CC=$ac_save_CC
3169+fi
3170+
3171+if test "x$ac_cv_prog_cc_c11" = xno
3172+then :
3173+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3174+printf "%s\n" "unsupported" >&6; }
3175+else $as_nop
3176+ if test "x$ac_cv_prog_cc_c11" = x
3177+then :
3178+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3179+printf "%s\n" "none needed" >&6; }
3180+else $as_nop
3181+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3182+printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3183+ CC="$CC $ac_cv_prog_cc_c11"
3184+fi
3185+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3186+ ac_prog_cc_stdc=c11
3187+fi
3188+fi
3189+if test x$ac_prog_cc_stdc = xno
3190+then :
3191+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3192+printf %s "checking for $CC option to enable C99 features... " >&6; }
3193+if test ${ac_cv_prog_cc_c99+y}
3194+then :
3195+ printf %s "(cached) " >&6
3196+else $as_nop
3197+ ac_cv_prog_cc_c99=no
3198+ac_save_CC=$CC
3199+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200+/* end confdefs.h. */
3201+$ac_c_conftest_c99_program
3202+_ACEOF
3203+for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3204+do
3205+ CC="$ac_save_CC $ac_arg"
3206+ if ac_fn_c_try_compile "$LINENO"
3207+then :
3208+ ac_cv_prog_cc_c99=$ac_arg
3209+fi
3210+rm -f core conftest.err conftest.$ac_objext conftest.beam
3211+ test "x$ac_cv_prog_cc_c99" != "xno" && break
3212+done
3213+rm -f conftest.$ac_ext
3214+CC=$ac_save_CC
3215+fi
3216+
3217+if test "x$ac_cv_prog_cc_c99" = xno
3218+then :
3219+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3220+printf "%s\n" "unsupported" >&6; }
3221+else $as_nop
3222+ if test "x$ac_cv_prog_cc_c99" = x
3223+then :
3224+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3225+printf "%s\n" "none needed" >&6; }
3226+else $as_nop
3227+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3228+printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3229+ CC="$CC $ac_cv_prog_cc_c99"
3230+fi
3231+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3232+ ac_prog_cc_stdc=c99
3233+fi
3234+fi
3235+if test x$ac_prog_cc_stdc = xno
3236+then :
3237+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3238+printf %s "checking for $CC option to enable C89 features... " >&6; }
3239+if test ${ac_cv_prog_cc_c89+y}
3240+then :
3241+ printf %s "(cached) " >&6
3242+else $as_nop
3243+ ac_cv_prog_cc_c89=no
3244+ac_save_CC=$CC
3245+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246+/* end confdefs.h. */
3247+$ac_c_conftest_c89_program
3248+_ACEOF
3249+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250+do
3251+ CC="$ac_save_CC $ac_arg"
3252+ if ac_fn_c_try_compile "$LINENO"
3253+then :
3254+ ac_cv_prog_cc_c89=$ac_arg
3255+fi
3256+rm -f core conftest.err conftest.$ac_objext conftest.beam
3257+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3258+done
3259+rm -f conftest.$ac_ext
3260+CC=$ac_save_CC
3261+fi
3262+
3263+if test "x$ac_cv_prog_cc_c89" = xno
3264+then :
3265+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3266+printf "%s\n" "unsupported" >&6; }
3267+else $as_nop
3268+ if test "x$ac_cv_prog_cc_c89" = x
3269+then :
3270+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3271+printf "%s\n" "none needed" >&6; }
3272+else $as_nop
3273+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3274+printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3275+ CC="$CC $ac_cv_prog_cc_c89"
3276+fi
3277+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3278+ ac_prog_cc_stdc=c89
3279+fi
3280+fi
3281+
3282+ac_ext=c
3283+ac_cpp='$CPP $CPPFLAGS'
3284+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3285+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3287+
3288+
3289+ac_header= ac_cache=
3290+for ac_item in $ac_header_c_list
3291+do
3292+ if test $ac_cache; then
3293+ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3294+ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3295+ printf "%s\n" "#define $ac_item 1" >> confdefs.h
3296+ fi
3297+ ac_header= ac_cache=
3298+ elif test $ac_header; then
3299+ ac_cache=$ac_item
3300+ else
3301+ ac_header=$ac_item
3302+ fi
3303+done
3304+
3305+
3306+
3307+
3308+
3309+
3310+
3311+
3312+if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3313+then :
3314+
3315+printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3316+
3317+fi
3318+ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3319+if test "x$ac_cv_header_time_h" = xyes
3320+then :
3321+ printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
3322+
3323+fi
3324+
3325+ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3326+if test "x$ac_cv_func_clock_gettime" = xyes
3327+then :
3328+ printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
3329+
3330+fi
3331+
3332+
3333+# Output
3334+ac_config_headers="$ac_config_headers src/config.h"
3335+
3336+cat >confcache <<\_ACEOF
3337+# This file is a shell script that caches the results of configure
3338+# tests run on this system so they can be shared between configure
3339+# scripts and configure runs, see configure's option --config-cache.
3340+# It is not useful on other systems. If it contains results you don't
3341+# want to keep, you may remove or edit it.
3342+#
3343+# config.status only pays attention to the cache file if you give it
3344+# the --recheck option to rerun configure.
3345+#
3346+# `ac_cv_env_foo' variables (set or unset) will be overridden when
3347+# loading this file, other *unset* `ac_cv_foo' will be assigned the
3348+# following values.
3349+
3350+_ACEOF
3351+
3352+# The following way of writing the cache mishandles newlines in values,
3353+# but we know of no workaround that is simple, portable, and efficient.
3354+# So, we kill variables containing newlines.
3355+# Ultrix sh set writes to stderr and can't be redirected directly,
3356+# and sets the high bit in the cache file unless we assign to the vars.
3357+(
3358+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3359+ eval ac_val=\$$ac_var
3360+ case $ac_val in #(
3361+ *${as_nl}*)
3362+ case $ac_var in #(
3363+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3364+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3365+ esac
3366+ case $ac_var in #(
3367+ _ | IFS | as_nl) ;; #(
3368+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3369+ *) { eval $ac_var=; unset $ac_var;} ;;
3370+ esac ;;
3371+ esac
3372+ done
3373+
3374+ (set) 2>&1 |
3375+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
3376+ *${as_nl}ac_space=\ *)
3377+ # `set' does not quote correctly, so add quotes: double-quote
3378+ # substitution turns \\\\ into \\, and sed turns \\ into \.
3379+ sed -n \
3380+ "s/'/'\\\\''/g;
3381+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3382+ ;; #(
3383+ *)
3384+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3385+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3386+ ;;
3387+ esac |
3388+ sort
3389+) |
3390+ sed '
3391+ /^ac_cv_env_/b end
3392+ t clear
3393+ :clear
3394+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3395+ t end
3396+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3397+ :end' >>confcache
3398+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3399+ if test -w "$cache_file"; then
3400+ if test "x$cache_file" != "x/dev/null"; then
3401+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3402+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3403+ if test ! -f "$cache_file" || test -h "$cache_file"; then
3404+ cat confcache >"$cache_file"
3405+ else
3406+ case $cache_file in #(
3407+ */* | ?:*)
3408+ mv -f confcache "$cache_file"$$ &&
3409+ mv -f "$cache_file"$$ "$cache_file" ;; #(
3410+ *)
3411+ mv -f confcache "$cache_file" ;;
3412+ esac
3413+ fi
3414+ fi
3415+ else
3416+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3417+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3418+ fi
3419+fi
3420+rm -f confcache
3421+
3422+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3423+# Let make expand exec_prefix.
3424+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3425+
3426+DEFS=-DHAVE_CONFIG_H
3427+
3428+ac_libobjs=
3429+ac_ltlibobjs=
3430+U=
3431+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3432+ # 1. Remove the extension, and $U if already installed.
3433+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3434+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3435+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3436+ # will be set to the directory where LIBOBJS objects are built.
3437+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3438+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3439+done
3440+LIBOBJS=$ac_libobjs
3441+
3442+LTLIBOBJS=$ac_ltlibobjs
3443+
3444+
3445+
3446+: "${CONFIG_STATUS=./config.status}"
3447+ac_write_fail=0
3448+ac_clean_files_save=$ac_clean_files
3449+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3450+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3451+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3452+as_write_fail=0
3453+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3454+#! $SHELL
3455+# Generated by $as_me.
3456+# Run this file to recreate the current configuration.
3457+# Compiler output produced by configure, useful for debugging
3458+# configure, is in config.log if it exists.
3459+
3460+debug=false
3461+ac_cs_recheck=false
3462+ac_cs_silent=false
3463+
3464+SHELL=\${CONFIG_SHELL-$SHELL}
3465+export SHELL
3466+_ASEOF
3467+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3468+## -------------------- ##
3469+## M4sh Initialization. ##
3470+## -------------------- ##
3471+
3472+# Be more Bourne compatible
3473+DUALCASE=1; export DUALCASE # for MKS sh
3474+as_nop=:
3475+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3476+then :
3477+ emulate sh
3478+ NULLCMD=:
3479+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3480+ # is contrary to our usage. Disable this feature.
3481+ alias -g '${1+"$@"}'='"$@"'
3482+ setopt NO_GLOB_SUBST
3483+else $as_nop
3484+ case `(set -o) 2>/dev/null` in #(
3485+ *posix*) :
3486+ set -o posix ;; #(
3487+ *) :
3488+ ;;
3489+esac
3490+fi
3491+
3492+
3493+
3494+# Reset variables that may have inherited troublesome values from
3495+# the environment.
3496+
3497+# IFS needs to be set, to space, tab, and newline, in precisely that order.
3498+# (If _AS_PATH_WALK were called with IFS unset, it would have the
3499+# side effect of setting IFS to empty, thus disabling word splitting.)
3500+# Quoting is to prevent editors from complaining about space-tab.
3501+as_nl='
3502+'
3503+export as_nl
3504+IFS=" "" $as_nl"
3505+
3506+PS1='$ '
3507+PS2='> '
3508+PS4='+ '
3509+
3510+# Ensure predictable behavior from utilities with locale-dependent output.
3511+LC_ALL=C
3512+export LC_ALL
3513+LANGUAGE=C
3514+export LANGUAGE
3515+
3516+# We cannot yet rely on "unset" to work, but we need these variables
3517+# to be unset--not just set to an empty or harmless value--now, to
3518+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3519+# also avoids known problems related to "unset" and subshell syntax
3520+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3521+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3522+do eval test \${$as_var+y} \
3523+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3524+done
3525+
3526+# Ensure that fds 0, 1, and 2 are open.
3527+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3528+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3529+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3530+
3531+# The user is always right.
3532+if ${PATH_SEPARATOR+false} :; then
3533+ PATH_SEPARATOR=:
3534+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3535+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3536+ PATH_SEPARATOR=';'
3537+ }
3538+fi
3539+
3540+
3541+# Find who we are. Look in the path if we contain no directory separator.
3542+as_myself=
3543+case $0 in #((
3544+ *[\\/]* ) as_myself=$0 ;;
3545+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546+for as_dir in $PATH
3547+do
3548+ IFS=$as_save_IFS
3549+ case $as_dir in #(((
3550+ '') as_dir=./ ;;
3551+ */) ;;
3552+ *) as_dir=$as_dir/ ;;
3553+ esac
3554+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3555+ done
3556+IFS=$as_save_IFS
3557+
3558+ ;;
3559+esac
3560+# We did not find ourselves, most probably we were run as `sh COMMAND'
3561+# in which case we are not to be found in the path.
3562+if test "x$as_myself" = x; then
3563+ as_myself=$0
3564+fi
3565+if test ! -f "$as_myself"; then
3566+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3567+ exit 1
3568+fi
3569+
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+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3583+ fi
3584+ printf "%s\n" "$as_me: error: $2" >&2
3585+ as_fn_exit $as_status
3586+} # as_fn_error
3587+
3588+
3589+
3590+# as_fn_set_status STATUS
3591+# -----------------------
3592+# Set $? to STATUS, without forking.
3593+as_fn_set_status ()
3594+{
3595+ return $1
3596+} # as_fn_set_status
3597+
3598+# as_fn_exit STATUS
3599+# -----------------
3600+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3601+as_fn_exit ()
3602+{
3603+ set +e
3604+ as_fn_set_status $1
3605+ exit $1
3606+} # as_fn_exit
3607+
3608+# as_fn_unset VAR
3609+# ---------------
3610+# Portably unset VAR.
3611+as_fn_unset ()
3612+{
3613+ { eval $1=; unset $1;}
3614+}
3615+as_unset=as_fn_unset
3616+
3617+# as_fn_append VAR VALUE
3618+# ----------------------
3619+# Append the text in VALUE to the end of the definition contained in VAR. Take
3620+# advantage of any shell optimizations that allow amortized linear growth over
3621+# repeated appends, instead of the typical quadratic growth present in naive
3622+# implementations.
3623+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3624+then :
3625+ eval 'as_fn_append ()
3626+ {
3627+ eval $1+=\$2
3628+ }'
3629+else $as_nop
3630+ as_fn_append ()
3631+ {
3632+ eval $1=\$$1\$2
3633+ }
3634+fi # as_fn_append
3635+
3636+# as_fn_arith ARG...
3637+# ------------------
3638+# Perform arithmetic evaluation on the ARGs, and store the result in the
3639+# global $as_val. Take advantage of shells that can avoid forks. The arguments
3640+# must be portable across $(()) and expr.
3641+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3642+then :
3643+ eval 'as_fn_arith ()
3644+ {
3645+ as_val=$(( $* ))
3646+ }'
3647+else $as_nop
3648+ as_fn_arith ()
3649+ {
3650+ as_val=`expr "$@" || test $? -eq 1`
3651+ }
3652+fi # as_fn_arith
3653+
3654+
3655+if expr a : '\(a\)' >/dev/null 2>&1 &&
3656+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3657+ as_expr=expr
3658+else
3659+ as_expr=false
3660+fi
3661+
3662+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3663+ as_basename=basename
3664+else
3665+ as_basename=false
3666+fi
3667+
3668+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3669+ as_dirname=dirname
3670+else
3671+ as_dirname=false
3672+fi
3673+
3674+as_me=`$as_basename -- "$0" ||
3675+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3676+ X"$0" : 'X\(//\)$' \| \
3677+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3678+printf "%s\n" X/"$0" |
3679+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3680+ s//\1/
3681+ q
3682+ }
3683+ /^X\/\(\/\/\)$/{
3684+ s//\1/
3685+ q
3686+ }
3687+ /^X\/\(\/\).*/{
3688+ s//\1/
3689+ q
3690+ }
3691+ s/.*/./; q'`
3692+
3693+# Avoid depending upon Character Ranges.
3694+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3695+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3696+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3697+as_cr_digits='0123456789'
3698+as_cr_alnum=$as_cr_Letters$as_cr_digits
3699+
3700+
3701+# Determine whether it's possible to make 'echo' print without a newline.
3702+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3703+# for compatibility with existing Makefiles.
3704+ECHO_C= ECHO_N= ECHO_T=
3705+case `echo -n x` in #(((((
3706+-n*)
3707+ case `echo 'xy\c'` in
3708+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3709+ xy) ECHO_C='\c';;
3710+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3711+ ECHO_T=' ';;
3712+ esac;;
3713+*)
3714+ ECHO_N='-n';;
3715+esac
3716+
3717+# For backward compatibility with old third-party macros, we provide
3718+# the shell variables $as_echo and $as_echo_n. New code should use
3719+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3720+as_echo='printf %s\n'
3721+as_echo_n='printf %s'
3722+
3723+rm -f conf$$ conf$$.exe conf$$.file
3724+if test -d conf$$.dir; then
3725+ rm -f conf$$.dir/conf$$.file
3726+else
3727+ rm -f conf$$.dir
3728+ mkdir conf$$.dir 2>/dev/null
3729+fi
3730+if (echo >conf$$.file) 2>/dev/null; then
3731+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3732+ as_ln_s='ln -s'
3733+ # ... but there are two gotchas:
3734+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3735+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3736+ # In both cases, we have to default to `cp -pR'.
3737+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3738+ as_ln_s='cp -pR'
3739+ elif ln conf$$.file conf$$ 2>/dev/null; then
3740+ as_ln_s=ln
3741+ else
3742+ as_ln_s='cp -pR'
3743+ fi
3744+else
3745+ as_ln_s='cp -pR'
3746+fi
3747+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3748+rmdir conf$$.dir 2>/dev/null
3749+
3750+
3751+# as_fn_mkdir_p
3752+# -------------
3753+# Create "$as_dir" as a directory, including parents if necessary.
3754+as_fn_mkdir_p ()
3755+{
3756+
3757+ case $as_dir in #(
3758+ -*) as_dir=./$as_dir;;
3759+ esac
3760+ test -d "$as_dir" || eval $as_mkdir_p || {
3761+ as_dirs=
3762+ while :; do
3763+ case $as_dir in #(
3764+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3765+ *) as_qdir=$as_dir;;
3766+ esac
3767+ as_dirs="'$as_qdir' $as_dirs"
3768+ as_dir=`$as_dirname -- "$as_dir" ||
3769+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3770+ X"$as_dir" : 'X\(//\)[^/]' \| \
3771+ X"$as_dir" : 'X\(//\)$' \| \
3772+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3773+printf "%s\n" X"$as_dir" |
3774+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3775+ s//\1/
3776+ q
3777+ }
3778+ /^X\(\/\/\)[^/].*/{
3779+ s//\1/
3780+ q
3781+ }
3782+ /^X\(\/\/\)$/{
3783+ s//\1/
3784+ q
3785+ }
3786+ /^X\(\/\).*/{
3787+ s//\1/
3788+ q
3789+ }
3790+ s/.*/./; q'`
3791+ test -d "$as_dir" && break
3792+ done
3793+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3794+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3795+
3796+
3797+} # as_fn_mkdir_p
3798+if mkdir -p . 2>/dev/null; then
3799+ as_mkdir_p='mkdir -p "$as_dir"'
3800+else
3801+ test -d ./-p && rmdir ./-p
3802+ as_mkdir_p=false
3803+fi
3804+
3805+
3806+# as_fn_executable_p FILE
3807+# -----------------------
3808+# Test if FILE is an executable regular file.
3809+as_fn_executable_p ()
3810+{
3811+ test -f "$1" && test -x "$1"
3812+} # as_fn_executable_p
3813+as_test_x='test -x'
3814+as_executable_p=as_fn_executable_p
3815+
3816+# Sed expression to map a string onto a valid CPP name.
3817+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3818+
3819+# Sed expression to map a string onto a valid variable name.
3820+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3821+
3822+
3823+exec 6>&1
3824+## ----------------------------------- ##
3825+## Main body of $CONFIG_STATUS script. ##
3826+## ----------------------------------- ##
3827+_ASEOF
3828+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3829+
3830+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3831+# Save the log message, to keep $0 and so on meaningful, and to
3832+# report actual input values of CONFIG_FILES etc. instead of their
3833+# values after options handling.
3834+ac_log="
3835+This file was extended by streamly-core $as_me 0.8.2, which was
3836+generated by GNU Autoconf 2.71. Invocation command line was
3837+
3838+ CONFIG_FILES = $CONFIG_FILES
3839+ CONFIG_HEADERS = $CONFIG_HEADERS
3840+ CONFIG_LINKS = $CONFIG_LINKS
3841+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3842+ $ $0 $@
3843+
3844+on `(hostname || uname -n) 2>/dev/null | sed 1q`
3845+"
3846+
3847+_ACEOF
3848+
3849+
3850+case $ac_config_headers in *"
3851+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3852+esac
3853+
3854+
3855+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3856+# Files that config.status was made for.
3857+config_headers="$ac_config_headers"
3858+
3859+_ACEOF
3860+
3861+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3862+ac_cs_usage="\
3863+\`$as_me' instantiates files and other configuration actions
3864+from templates according to the current configuration. Unless the files
3865+and actions are specified as TAGs, all are instantiated by default.
3866+
3867+Usage: $0 [OPTION]... [TAG]...
3868+
3869+ -h, --help print this help, then exit
3870+ -V, --version print version number and configuration settings, then exit
3871+ --config print configuration, then exit
3872+ -q, --quiet, --silent
3873+ do not print progress messages
3874+ -d, --debug don't remove temporary files
3875+ --recheck update $as_me by reconfiguring in the same conditions
3876+ --header=FILE[:TEMPLATE]
3877+ instantiate the configuration header FILE
3878+
3879+Configuration headers:
3880+$config_headers
3881+
3882+Report bugs to <streamly@composewell.com>.
3883+streamly-core home page: <https://streamly.composewell.com>."
3884+
3885+_ACEOF
3886+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3887+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3888+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3889+ac_cs_config='$ac_cs_config_escaped'
3890+ac_cs_version="\\
3891+streamly-core config.status 0.8.2
3892+configured by $0, generated by GNU Autoconf 2.71,
3893+ with options \\"\$ac_cs_config\\"
3894+
3895+Copyright (C) 2021 Free Software Foundation, Inc.
3896+This config.status script is free software; the Free Software Foundation
3897+gives unlimited permission to copy, distribute and modify it."
3898+
3899+ac_pwd='$ac_pwd'
3900+srcdir='$srcdir'
3901+test -n "\$AWK" || AWK=awk
3902+_ACEOF
3903+
3904+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3905+# The default lists apply if the user does not specify any file.
3906+ac_need_defaults=:
3907+while test $# != 0
3908+do
3909+ case $1 in
3910+ --*=?*)
3911+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3912+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3913+ ac_shift=:
3914+ ;;
3915+ --*=)
3916+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3917+ ac_optarg=
3918+ ac_shift=:
3919+ ;;
3920+ *)
3921+ ac_option=$1
3922+ ac_optarg=$2
3923+ ac_shift=shift
3924+ ;;
3925+ esac
3926+
3927+ case $ac_option in
3928+ # Handling of the options.
3929+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3930+ ac_cs_recheck=: ;;
3931+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3932+ printf "%s\n" "$ac_cs_version"; exit ;;
3933+ --config | --confi | --conf | --con | --co | --c )
3934+ printf "%s\n" "$ac_cs_config"; exit ;;
3935+ --debug | --debu | --deb | --de | --d | -d )
3936+ debug=: ;;
3937+ --header | --heade | --head | --hea )
3938+ $ac_shift
3939+ case $ac_optarg in
3940+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3941+ esac
3942+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3943+ ac_need_defaults=false;;
3944+ --he | --h)
3945+ # Conflict between --help and --header
3946+ as_fn_error $? "ambiguous option: \`$1'
3947+Try \`$0 --help' for more information.";;
3948+ --help | --hel | -h )
3949+ printf "%s\n" "$ac_cs_usage"; exit ;;
3950+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3951+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
3952+ ac_cs_silent=: ;;
3953+
3954+ # This is an error.
3955+ -*) as_fn_error $? "unrecognized option: \`$1'
3956+Try \`$0 --help' for more information." ;;
3957+
3958+ *) as_fn_append ac_config_targets " $1"
3959+ ac_need_defaults=false ;;
3960+
3961+ esac
3962+ shift
3963+done
3964+
3965+ac_configure_extra_args=
3966+
3967+if $ac_cs_silent; then
3968+ exec 6>/dev/null
3969+ ac_configure_extra_args="$ac_configure_extra_args --silent"
3970+fi
3971+
3972+_ACEOF
3973+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3974+if \$ac_cs_recheck; then
3975+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3976+ shift
3977+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3978+ CONFIG_SHELL='$SHELL'
3979+ export CONFIG_SHELL
3980+ exec "\$@"
3981+fi
3982+
3983+_ACEOF
3984+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3985+exec 5>>config.log
3986+{
3987+ echo
3988+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3989+## Running $as_me. ##
3990+_ASBOX
3991+ printf "%s\n" "$ac_log"
3992+} >&5
3993+
3994+_ACEOF
3995+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3996+_ACEOF
3997+
3998+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3999+
4000+# Handling of arguments.
4001+for ac_config_target in $ac_config_targets
4002+do
4003+ case $ac_config_target in
4004+ "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4005+
4006+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4007+ esac
4008+done
4009+
4010+
4011+# If the user did not use the arguments to specify the items to instantiate,
4012+# then the envvar interface is used. Set only those that are not.
4013+# We use the long form for the default assignment because of an extremely
4014+# bizarre bug on SunOS 4.1.3.
4015+if $ac_need_defaults; then
4016+ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4017+fi
4018+
4019+# Have a temporary directory for convenience. Make it in the build tree
4020+# simply because there is no reason against having it here, and in addition,
4021+# creating and moving files from /tmp can sometimes cause problems.
4022+# Hook for its removal unless debugging.
4023+# Note that there is a small window in which the directory will not be cleaned:
4024+# after its creation but before its name has been assigned to `$tmp'.
4025+$debug ||
4026+{
4027+ tmp= ac_tmp=
4028+ trap 'exit_status=$?
4029+ : "${ac_tmp:=$tmp}"
4030+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4031+' 0
4032+ trap 'as_fn_exit 1' 1 2 13 15
4033+}
4034+# Create a (secure) tmp directory for tmp files.
4035+
4036+{
4037+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4038+ test -d "$tmp"
4039+} ||
4040+{
4041+ tmp=./conf$$-$RANDOM
4042+ (umask 077 && mkdir "$tmp")
4043+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4044+ac_tmp=$tmp
4045+
4046+# Set up the scripts for CONFIG_HEADERS section.
4047+# No need to generate them if there are no CONFIG_HEADERS.
4048+# This happens for instance with `./config.status Makefile'.
4049+if test -n "$CONFIG_HEADERS"; then
4050+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4051+BEGIN {
4052+_ACEOF
4053+
4054+# Transform confdefs.h into an awk script `defines.awk', embedded as
4055+# here-document in config.status, that substitutes the proper values into
4056+# config.h.in to produce config.h.
4057+
4058+# Create a delimiter string that does not exist in confdefs.h, to ease
4059+# handling of long lines.
4060+ac_delim='%!_!# '
4061+for ac_last_try in false false :; do
4062+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4063+ if test -z "$ac_tt"; then
4064+ break
4065+ elif $ac_last_try; then
4066+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4067+ else
4068+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4069+ fi
4070+done
4071+
4072+# For the awk script, D is an array of macro values keyed by name,
4073+# likewise P contains macro parameters if any. Preserve backslash
4074+# newline sequences.
4075+
4076+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4077+sed -n '
4078+s/.\{148\}/&'"$ac_delim"'/g
4079+t rset
4080+:rset
4081+s/^[ ]*#[ ]*define[ ][ ]*/ /
4082+t def
4083+d
4084+:def
4085+s/\\$//
4086+t bsnl
4087+s/["\\]/\\&/g
4088+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4089+D["\1"]=" \3"/p
4090+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4091+d
4092+:bsnl
4093+s/["\\]/\\&/g
4094+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4095+D["\1"]=" \3\\\\\\n"\\/p
4096+t cont
4097+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4098+t cont
4099+d
4100+:cont
4101+n
4102+s/.\{148\}/&'"$ac_delim"'/g
4103+t clear
4104+:clear
4105+s/\\$//
4106+t bsnlc
4107+s/["\\]/\\&/g; s/^/"/; s/$/"/p
4108+d
4109+:bsnlc
4110+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4111+b cont
4112+' <confdefs.h | sed '
4113+s/'"$ac_delim"'/"\\\
4114+"/g' >>$CONFIG_STATUS || ac_write_fail=1
4115+
4116+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4117+ for (key in D) D_is_set[key] = 1
4118+ FS = ""
4119+}
4120+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4121+ line = \$ 0
4122+ split(line, arg, " ")
4123+ if (arg[1] == "#") {
4124+ defundef = arg[2]
4125+ mac1 = arg[3]
4126+ } else {
4127+ defundef = substr(arg[1], 2)
4128+ mac1 = arg[2]
4129+ }
4130+ split(mac1, mac2, "(") #)
4131+ macro = mac2[1]
4132+ prefix = substr(line, 1, index(line, defundef) - 1)
4133+ if (D_is_set[macro]) {
4134+ # Preserve the white space surrounding the "#".
4135+ print prefix "define", macro P[macro] D[macro]
4136+ next
4137+ } else {
4138+ # Replace #undef with comments. This is necessary, for example,
4139+ # in the case of _POSIX_SOURCE, which is predefined and required
4140+ # on some systems where configure will not decide to define it.
4141+ if (defundef == "undef") {
4142+ print "/*", prefix defundef, macro, "*/"
4143+ next
4144+ }
4145+ }
4146+}
4147+{ print }
4148+_ACAWK
4149+_ACEOF
4150+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4151+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4152+fi # test -n "$CONFIG_HEADERS"
4153+
4154+
4155+eval set X " :H $CONFIG_HEADERS "
4156+shift
4157+for ac_tag
4158+do
4159+ case $ac_tag in
4160+ :[FHLC]) ac_mode=$ac_tag; continue;;
4161+ esac
4162+ case $ac_mode$ac_tag in
4163+ :[FHL]*:*);;
4164+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4165+ :[FH]-) ac_tag=-:-;;
4166+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4167+ esac
4168+ ac_save_IFS=$IFS
4169+ IFS=:
4170+ set x $ac_tag
4171+ IFS=$ac_save_IFS
4172+ shift
4173+ ac_file=$1
4174+ shift
4175+
4176+ case $ac_mode in
4177+ :L) ac_source=$1;;
4178+ :[FH])
4179+ ac_file_inputs=
4180+ for ac_f
4181+ do
4182+ case $ac_f in
4183+ -) ac_f="$ac_tmp/stdin";;
4184+ *) # Look for the file first in the build tree, then in the source tree
4185+ # (if the path is not absolute). The absolute path cannot be DOS-style,
4186+ # because $ac_f cannot contain `:'.
4187+ test -f "$ac_f" ||
4188+ case $ac_f in
4189+ [\\/$]*) false;;
4190+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4191+ esac ||
4192+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4193+ esac
4194+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4195+ as_fn_append ac_file_inputs " '$ac_f'"
4196+ done
4197+
4198+ # Let's still pretend it is `configure' which instantiates (i.e., don't
4199+ # use $as_me), people would be surprised to read:
4200+ # /* config.h. Generated by config.status. */
4201+ configure_input='Generated from '`
4202+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4203+ `' by configure.'
4204+ if test x"$ac_file" != x-; then
4205+ configure_input="$ac_file. $configure_input"
4206+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4207+printf "%s\n" "$as_me: creating $ac_file" >&6;}
4208+ fi
4209+ # Neutralize special characters interpreted by sed in replacement strings.
4210+ case $configure_input in #(
4211+ *\&* | *\|* | *\\* )
4212+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4213+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
4214+ *) ac_sed_conf_input=$configure_input;;
4215+ esac
4216+
4217+ case $ac_tag in
4218+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
4219+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4220+ esac
4221+ ;;
4222+ esac
4223+
4224+ ac_dir=`$as_dirname -- "$ac_file" ||
4225+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4226+ X"$ac_file" : 'X\(//\)[^/]' \| \
4227+ X"$ac_file" : 'X\(//\)$' \| \
4228+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4229+printf "%s\n" X"$ac_file" |
4230+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4231+ s//\1/
4232+ q
4233+ }
4234+ /^X\(\/\/\)[^/].*/{
4235+ s//\1/
4236+ q
4237+ }
4238+ /^X\(\/\/\)$/{
4239+ s//\1/
4240+ q
4241+ }
4242+ /^X\(\/\).*/{
4243+ s//\1/
4244+ q
4245+ }
4246+ s/.*/./; q'`
4247+ as_dir="$ac_dir"; as_fn_mkdir_p
4248+ ac_builddir=.
4249+
4250+case "$ac_dir" in
4251+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4252+*)
4253+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4254+ # A ".." for each directory in $ac_dir_suffix.
4255+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4256+ case $ac_top_builddir_sub in
4257+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4258+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4259+ esac ;;
4260+esac
4261+ac_abs_top_builddir=$ac_pwd
4262+ac_abs_builddir=$ac_pwd$ac_dir_suffix
4263+# for backward compatibility:
4264+ac_top_builddir=$ac_top_build_prefix
4265+
4266+case $srcdir in
4267+ .) # We are building in place.
4268+ ac_srcdir=.
4269+ ac_top_srcdir=$ac_top_builddir_sub
4270+ ac_abs_top_srcdir=$ac_pwd ;;
4271+ [\\/]* | ?:[\\/]* ) # Absolute name.
4272+ ac_srcdir=$srcdir$ac_dir_suffix;
4273+ ac_top_srcdir=$srcdir
4274+ ac_abs_top_srcdir=$srcdir ;;
4275+ *) # Relative name.
4276+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4277+ ac_top_srcdir=$ac_top_build_prefix$srcdir
4278+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4279+esac
4280+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4281+
4282+
4283+ case $ac_mode in
4284+
4285+ :H)
4286+ #
4287+ # CONFIG_HEADER
4288+ #
4289+ if test x"$ac_file" != x-; then
4290+ {
4291+ printf "%s\n" "/* $configure_input */" >&1 \
4292+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4293+ } >"$ac_tmp/config.h" \
4294+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4295+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4296+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4297+printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4298+ else
4299+ rm -f "$ac_file"
4300+ mv "$ac_tmp/config.h" "$ac_file" \
4301+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4302+ fi
4303+ else
4304+ printf "%s\n" "/* $configure_input */" >&1 \
4305+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4306+ || as_fn_error $? "could not create -" "$LINENO" 5
4307+ fi
4308+ ;;
4309+
4310+
4311+ esac
4312+
4313+done # for ac_tag
4314+
4315+
4316+as_fn_exit 0
4317+_ACEOF
4318+ac_clean_files=$ac_clean_files_save
4319+
4320+test $ac_write_fail = 0 ||
4321+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4322+
4323+
4324+# configure is writing to config.log, and then calls config.status.
4325+# config.status does its own redirection, appending to config.log.
4326+# Unfortunately, on DOS this fails, as config.log is still kept open
4327+# by configure, so config.status won't be able to write to it; its
4328+# output is simply discarded. So we exec the FD to /dev/null,
4329+# effectively closing config.log, so it can be properly (re)opened and
4330+# appended to by config.status. When coming back to configure, we
4331+# need to make the FD available again.
4332+if test "$no_create" != yes; then
4333+ ac_cs_success=:
4334+ ac_config_status_args=
4335+ test "$silent" = yes &&
4336+ ac_config_status_args="$ac_config_status_args --quiet"
4337+ exec 5>/dev/null
4338+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4339+ exec 5>>config.log
4340+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4341+ # would make configure fail if this is the last instruction.
4342+ $ac_cs_success || as_fn_exit 1
4343+fi
4344+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4345+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4346+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4347+fi
4348+
4349+