@@ -1,11 +1,12 @@
2# Guess values for system-dependent variables and create Makefiles.
2# Guess values for system-dependent variables and create Makefiles.
3−# Generated by GNU Autoconf 2.69 for streamly 0.7.2.
3+# Generated by GNU Autoconf 2.71 for streamly 0.8.0.
5# Report bugs to <streamly@composewell.com>.
5# Report bugs to <streamly@composewell.com>.
8−# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
11# This configure script is free software; the Free Software Foundation
12# This configure script is free software; the Free Software Foundation
@@ -16,14 +17,16 @@
17# Be more Bourne compatible
18# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19DUALCASE=1; export DUALCASE # for MKS sh
19−if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 emulate sh
23 emulate sh
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
26 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
28 setopt NO_GLOB_SUBST
27 case `(set -o) 2>/dev/null` in #(
30 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
31 *posix*) :
29 set -o posix ;; #(
32 set -o posix ;; #(
@@ -33,46 +36,46 @@ esac
40+# Reset variables that may have inherited troublesome values from
43+# IFS needs to be set, to space, tab, and newline, in precisely that order.
44+# (If _AS_PATH_WALK were called with IFS unset, it would have the
45+# side effect of setting IFS to empty, thus disabling word splitting.)
46+# Quoting is to prevent editors from complaining about space-tab.
38export as_nl
49export as_nl
39−# Printing a long string crashes Solaris 7 /usr/bin/printf.
50+IFS=" "" $as_nl"
40−as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
51+
41−as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
52+PS1='$ '
42−as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
53+PS2='> '
43−# Prefer a ksh shell builtin over an external printf program on Solaris,
54+PS4='+ '
44−# but without wasting forks for bash or zsh.
55+
45−if test -z "$BASH_VERSION$ZSH_VERSION" \
56+# Ensure predictable behavior from utilities with locale-dependent output.
46− && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
57+LC_ALL=C
47− as_echo='print -r --'
58+export LC_ALL
48− as_echo_n='print -rn --'
59+LANGUAGE=C
49−elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
60+export LANGUAGE
50− as_echo='printf %s\n'
61+
51− as_echo_n='printf %s'
62+# We cannot yet rely on "unset" to work, but we need these variables
52−else
63+# to be unset--not just set to an empty or harmless value--now, to
53− if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
64+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
54− as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65+# also avoids known problems related to "unset" and subshell syntax
55− as_echo_n='/usr/ucb/echo -n'
66+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
56− else
67+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
57− as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
68+do eval test \${$as_var+y} \
58− as_echo_n_body='eval
69+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
61− *"$as_nl"*)
72+# Ensure that fds 0, 1, and 2 are open.
62− expr "X$arg" : "X\\(.*\\)$as_nl";
73+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
63− arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
74+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
64− esac;
75+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
65− expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67− export as_echo_n_body
68− as_echo_n='sh -c $as_echo_n_body as_echo'
71− as_echo='sh -c $as_echo_body as_echo'
74# The user is always right.
77# The user is always right.
75−if test "${PATH_SEPARATOR+set}" != set; then
78+if ${PATH_SEPARATOR+false} :; then
76 PATH_SEPARATOR=:
79 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
85−# We need space, tab and new line, in precisely that order. Quoting is
86−# there to prevent editors from complaining about space-tab.
87−# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88−# splitting by setting IFS to empty value.)
91# Find who we are. Look in the path if we contain no directory separator.
87# Find who we are. Look in the path if we contain no directory separator.
93case $0 in #((
89case $0 in #((
@@ -96,8 +92,12 @@ case $0 in #((
96for as_dir in $PATH
92for as_dir in $PATH
98 IFS=$as_save_IFS
94 IFS=$as_save_IFS
99− test -z "$as_dir" && as_dir=.
96+ '') as_dir=./ ;;
98+ *) as_dir=$as_dir/ ;;
100− test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
102IFS=$as_save_IFS
102IFS=$as_save_IFS
@@ -109,30 +109,10 @@ if test "x$as_myself" = x; then
109 as_myself=$0
109 as_myself=$0
111if test ! -f "$as_myself"; then
111if test ! -f "$as_myself"; then
112− $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116−# Unset variables that we do not need and which cause bugs (e.g. in
117−# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118−# suppresses any "Segmentation fault" message there. '((' could
119−# trigger a bug in pdksh 5.2.14.
120−for as_var in BASH_ENV ENV MAIL MAILPATH
121−do eval test x\${$as_var+set} = xset \
122− && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135−(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137# Use a proper internal environment variable to ensure we don't fall
117# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
118 # into an infinite loop, continuously re-executing ourselves.
@@ -154,20 +134,22 @@ esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
135# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
136# out after a failed `exec'.
157−$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
137+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
158−as_fn_exit 255
138+exit 255
160 # We don't want this to propagate to other subprocesses.
140 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
141 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
142if test "x$CONFIG_SHELL" = x; then
143+ as_bourne_compatible="as_nop=:
163− as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
164 emulate sh
146 emulate sh
165 NULLCMD=:
147 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
149 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
151 setopt NO_GLOB_SUBST
170−else
152+else \$as_nop
171 case \`(set -o) 2>/dev/null\` in #(
153 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
154 *posix*) :
173 set -o posix ;; #(
155 set -o posix ;; #(
@@ -187,42 +169,52 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190−if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
172+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
192−else
175+else \$as_nop
193 exitcode=1; echo positional parameters were not saved.
176 exitcode=1; echo positional parameters were not saved.
195test x\$exitcode = x0 || exit 1
178test x\$exitcode = x0 || exit 1
179+blah=\$(echo \$(echo blah))
180+test x\"\$blah\" = xblah || exit 1
196test -x / || exit 1"
181test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200− test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201−test \$(( 1 + 1 )) = 2 || exit 1"
202− if (eval "$as_required") 2>/dev/null; then :
186+ if (eval "$as_required") 2>/dev/null
203 as_have_required=yes
188 as_have_required=yes
205 as_have_required=no
190 as_have_required=no
207− if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
197as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
200 IFS=$as_save_IFS
201+ case $as_dir in #(((
215− test -z "$as_dir" && as_dir=.
202+ '') as_dir=./ ;;
204+ *) as_dir=$as_dir/ ;;
216 as_found=:
206 as_found=:
217 case $as_dir in #(
207 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
209 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
210 # Try only shells that exist, to save several forks.
221− as_shell=$as_dir/$as_base
211+ as_shell=$as_dir$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223− { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
213+ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
224 CONFIG_SHELL=$as_shell as_have_required=yes
215 CONFIG_SHELL=$as_shell as_have_required=yes
225− if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216+ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
@@ -230,14 +222,21 @@ fi
231 as_found=false
223 as_found=false
233−$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234− { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235− CONFIG_SHELL=$SHELL as_have_required=yes
237IFS=$as_save_IFS
225IFS=$as_save_IFS
230+ if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233+ CONFIG_SHELL=$SHELL as_have_required=yes
240− if test "x$CONFIG_SHELL" != x; then :
238+ if test "x$CONFIG_SHELL" != x
241 export CONFIG_SHELL
240 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
241 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
242# neutralization value for shells without unset; and this also
@@ -255,18 +254,19 @@ esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
255# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
256# out after a failed `exec'.
258−$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262− if test x$as_have_required = xno; then :
261+ if test x$as_have_required = xno
263− $as_echo "$0: This script requires a shell more modern than all"
263+ printf "%s\n" "$0: This script requires a shell more modern than all"
264− $as_echo "$0: the shells that I found on your system."
264+ printf "%s\n" "$0: the shells that I found on your system."
265− if test x${ZSH_VERSION+set} = xset ; then
265+ if test ${ZSH_VERSION+y} ; then
266− $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266+ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267− $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267+ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269− $as_echo "$0: Please tell bug-autoconf@gnu.org and
269+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270$0: streamly@composewell.com about your system, including
270$0: streamly@composewell.com about your system, including
271$0: any error possibly output before this message. Then
271$0: any error possibly output before this message. Then
272$0: install a modern shell, or manually run the script
272$0: install a modern shell, or manually run the script
@@ -294,6 +294,7 @@ as_fn_unset ()
295as_unset=as_fn_unset
295as_unset=as_fn_unset
297# as_fn_set_status STATUS
298# as_fn_set_status STATUS
298# -----------------------
299# -----------------------
299# Set $? to STATUS, without forking.
300# Set $? to STATUS, without forking.
@@ -311,6 +312,14 @@ as_fn_exit ()
311 as_fn_set_status $1
312 as_fn_set_status $1
313} # as_fn_exit
314} # as_fn_exit
317+# Do nothing but, unlike ":", preserve the value of $?.
315# as_fn_mkdir_p
324# as_fn_mkdir_p
316# -------------
325# -------------
@@ -325,7 +334,7 @@ as_fn_mkdir_p ()
326 while :; do
335 while :; do
327 case $as_dir in #(
336 case $as_dir in #(
328− *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
338 *) as_qdir=$as_dir;;
331 as_dirs="'$as_qdir' $as_dirs"
340 as_dirs="'$as_qdir' $as_dirs"
@@ -334,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337−$as_echo X"$as_dir" |
346+printf "%s\n" X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
@@ -373,12 +382,13 @@ as_fn_executable_p ()
373# advantage of any shell optimizations that allow amortized linear growth over
382# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
383# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
384# implementations.
376−if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
377 eval 'as_fn_append ()
387 eval 'as_fn_append ()
379 eval $1+=\$2
389 eval $1+=\$2
382 as_fn_append ()
392 as_fn_append ()
384 eval $1=\$$1\$2
394 eval $1=\$$1\$2
@@ -390,18 +400,27 @@ fi # as_fn_append
390# Perform arithmetic evaluation on the ARGs, and store the result in the
400# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
401# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
402# must be portable across $(()) and expr.
393−if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
394 eval 'as_fn_arith ()
405 eval 'as_fn_arith ()
396 as_val=$(( $* ))
407 as_val=$(( $* ))
399 as_fn_arith ()
410 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
412 as_val=`expr "$@" || test $? -eq 1`
403fi # as_fn_arith
414fi # as_fn_arith
418+# Do nothing but, unlike ":", preserve the value of $?.
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
425# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
426# ----------------------------------------
@@ -413,9 +432,9 @@ as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
432 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
433 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416− $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418− $as_echo "$as_me: error: $2" >&2
437+ printf "%s\n" "$as_me: error: $2" >&2
419 as_fn_exit $as_status
438 as_fn_exit $as_status
420} # as_fn_error
439} # as_fn_error
@@ -442,7 +461,7 @@ as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
461$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
462 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445−$as_echo X/"$0" |
464+printf "%s\n" X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
@@ -486,7 +505,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
486 s/-\n.*//
505 s/-\n.*//
487 ' >$as_me.lineno &&
506 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
507 chmod +x "$as_me.lineno" ||
489− { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
508+ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
511 # already done that, so ensure we don't try to do so again and fall
@@ -500,6 +519,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
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.
503ECHO_C= ECHO_N= ECHO_T=
526ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
527case `echo -n x` in #(((((
@@ -513,6 +536,13 @@ case `echo -n x` in #(((((
513 ECHO_N='-n';;
536 ECHO_N='-n';;
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'
516rm -f conf$$ conf$$.exe conf$$.file
546rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
547if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
548 rm -f conf$$.dir/conf$$.file
@@ -580,52 +610,45 @@ MAKEFLAGS=
580# Identity of this package.
610# Identity of this package.
581PACKAGE_NAME='streamly'
611PACKAGE_NAME='streamly'
582PACKAGE_TARNAME='streamly'
612PACKAGE_TARNAME='streamly'
583−PACKAGE_VERSION='0.7.2'
613+PACKAGE_VERSION='0.8.0'
584−PACKAGE_STRING='streamly 0.7.2'
614+PACKAGE_STRING='streamly 0.8.0'
585PACKAGE_BUGREPORT='streamly@composewell.com'
615PACKAGE_BUGREPORT='streamly@composewell.com'
586−PACKAGE_URL=''
616+PACKAGE_URL='https://streamly.composewell.com'
588# Factoring default headers for most tests.
618# Factoring default headers for most tests.
589ac_includes_default="\
619ac_includes_default="\
590−#include <stdio.h>
620+#include <stddef.h>
591−#ifdef HAVE_SYS_TYPES_H
621+#ifdef HAVE_STDIO_H
592−# include <sys/types.h>
622+# include <stdio.h>
594−#ifdef HAVE_SYS_STAT_H
595−# include <sys/stat.h>
597−#ifdef STDC_HEADERS
624+#ifdef HAVE_STDLIB_H
598# include <stdlib.h>
625# include <stdlib.h>
601−# ifdef HAVE_STDLIB_H
605#ifdef HAVE_STRING_H
627#ifdef HAVE_STRING_H
606−# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609# include <string.h>
628# include <string.h>
611−#ifdef HAVE_STRINGS_H
612−# include <strings.h>
614#ifdef HAVE_INTTYPES_H
630#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
631# include <inttypes.h>
617#ifdef HAVE_STDINT_H
633#ifdef HAVE_STDINT_H
618# include <stdint.h>
634# include <stdint.h>
636+#ifdef HAVE_STRINGS_H
637+# include <strings.h>
639+#ifdef HAVE_SYS_TYPES_H
640+# include <sys/types.h>
642+#ifdef HAVE_SYS_STAT_H
643+# include <sys/stat.h>
620#ifdef HAVE_UNISTD_H
645#ifdef HAVE_UNISTD_H
621# include <unistd.h>
646# include <unistd.h>
624ac_subst_vars='LTLIBOBJS
650ac_subst_vars='LTLIBOBJS
@@ -684,8 +707,7 @@ CC
687−CPPFLAGS
710+CPPFLAGS'
691# Initialize some variables set by options.
713# Initialize some variables set by options.
@@ -754,8 +776,6 @@ do
754 *) ac_optarg=yes ;;
776 *) ac_optarg=yes ;;
757− # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
779 case $ac_dashdash$ac_option in
761 ac_dashdash=yes ;;
781 ac_dashdash=yes ;;
@@ -796,9 +816,9 @@ do
796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
817 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
799− as_fn_error $? "invalid feature name: $ac_useropt"
819+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
800 ac_useropt_orig=$ac_useropt
820 ac_useropt_orig=$ac_useropt
801− ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
822 case $ac_user_opts in
804"enable_$ac_useropt"
824"enable_$ac_useropt"
@@ -822,9 +842,9 @@ do
822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
843 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825− as_fn_error $? "invalid feature name: $ac_useropt"
845+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
826 ac_useropt_orig=$ac_useropt
846 ac_useropt_orig=$ac_useropt
827− ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
848 case $ac_user_opts in
830"enable_$ac_useropt"
850"enable_$ac_useropt"
@@ -1035,9 +1055,9 @@ do
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1056 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038− as_fn_error $? "invalid package name: $ac_useropt"
1058+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1039 ac_useropt_orig=$ac_useropt
1059 ac_useropt_orig=$ac_useropt
1040− ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1061 case $ac_user_opts in
1043"with_$ac_useropt"
1063"with_$ac_useropt"
@@ -1051,9 +1071,9 @@ do
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1072 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054− as_fn_error $? "invalid package name: $ac_useropt"
1074+ as_fn_error $? "invalid package name: \`$ac_useropt'"
1055 ac_useropt_orig=$ac_useropt
1075 ac_useropt_orig=$ac_useropt
1056− ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1077 case $ac_user_opts in
1059"with_$ac_useropt"
1079"with_$ac_useropt"
@@ -1097,9 +1117,9 @@ Try \`$0 --help' for more information"
1099 # FIXME: should be removed in autoconf 3.0.
1119 # FIXME: should be removed in autoconf 3.0.
1100− $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1120+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102− $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1122+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
@@ -1115,7 +1135,7 @@ if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1135 case $enable_option_checking in
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118− *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1138+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
@@ -1179,7 +1199,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182−$as_echo X"$as_myself" |
1202+printf "%s\n" X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
@@ -1236,7 +1256,7 @@ if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1256 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1258 cat <<_ACEOF
1239−\`configure' configures streamly 0.7.2 to adapt to many kinds of systems.
1259+\`configure' configures streamly 0.8.0 to adapt to many kinds of systems.
1241Usage: $0 [OPTION]... [VAR=VALUE]...
1261Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1298,7 +1318,7 @@ fi
1299if test -n "$ac_init_help"; then
1319if test -n "$ac_init_help"; then
1300 case $ac_init_help in
1320 case $ac_init_help in
1301− short | recursive ) echo "Configuration of streamly 0.7.2:";;
1321+ short | recursive ) echo "Configuration of streamly 0.8.0:";;
1303 cat <<\_ACEOF
1323 cat <<\_ACEOF
@@ -1315,12 +1335,12 @@ Some influential environment variables:
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1335 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1336 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1337 you have headers in a nonstandard directory <include dir>
1320Use these variables to override the choices made by `configure' or to help
1339Use these variables to override the choices made by `configure' or to help
1321it to find libraries and programs with nonstandard names/locations.
1340it to find libraries and programs with nonstandard names/locations.
1323Report bugs to <streamly@composewell.com>.
1342Report bugs to <streamly@composewell.com>.
1343+streamly home page: <https://streamly.composewell.com>.
1325ac_status=$?
1345ac_status=$?
@@ -1336,9 +1356,9 @@ if test "$ac_init_help" = "recursive"; then
1336case "$ac_dir" in
1356case "$ac_dir" in
1337.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339− ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1359+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1340 # A ".." for each directory in $ac_dir_suffix.
1360 # A ".." for each directory in $ac_dir_suffix.
1341− ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1361+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342 case $ac_top_builddir_sub in
1362 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -1366,7 +1386,8 @@ esac
1366ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1369− # Check for guested configure.
1389+ # Check for configure.gnu first; this name is used for a wrapper for
1390+ # Metaconfig's "Configure" on case-insensitive file systems.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1391 if test -f "$ac_srcdir/configure.gnu"; then
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
@@ -1374,7 +1395,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1377− $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 fi || ac_status=$?
1399 fi || ac_status=$?
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1400 cd "$ac_pwd" || { ac_status=$?; break; }
@@ -1383,10 +1404,10 @@ fi
1383test -n "$ac_init_help" && exit $ac_status
1404test -n "$ac_init_help" && exit $ac_status
1384if $ac_init_version; then
1405if $ac_init_version; then
1385 cat <<\_ACEOF
1406 cat <<\_ACEOF
1386−streamly configure 0.7.2
1407+streamly configure 0.8.0
1387−generated by GNU Autoconf 2.69
1408+generated by GNU Autoconf 2.71
1389−Copyright (C) 2012 Free Software Foundation, Inc.
1410+Copyright (C) 2021 Free Software Foundation, Inc.
1390This configure script is free software; the Free Software Foundation
1411This configure script is free software; the Free Software Foundation
1391gives unlimited permission to copy, distribute and modify it.
1412gives unlimited permission to copy, distribute and modify it.
@@ -1403,14 +1424,14 @@ fi
1403ac_fn_c_try_compile ()
1424ac_fn_c_try_compile ()
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406− rm -f conftest.$ac_objext
1427+ rm -f conftest.$ac_objext conftest.beam
1407 if { { ac_try="$ac_compile"
1428 if { { ac_try="$ac_compile"
1408case "(($ac_try" in
1429case "(($ac_try" in
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1431 *) ac_try_echo=$ac_try;;
1412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413−$as_echo "$ac_try_echo"; } >&5
1434+printf "%s\n" "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1435 (eval "$ac_compile") 2>conftest.err
1415 ac_status=$?
1436 ac_status=$?
1416 if test -s conftest.err; then
1437 if test -s conftest.err; then
@@ -1418,14 +1439,15 @@ $as_echo "$ac_try_echo"; } >&5
1418 cat conftest.er1 >&5
1439 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1440 mv -f conftest.er1 conftest.err
1421− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1443 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1444 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1445 test ! -s conftest.err
1425− } && test -s conftest.$ac_objext; then :
1446+ } && test -s conftest.$ac_objext
1426 ac_retval=0
1448 ac_retval=0
1427−else
1449+else $as_nop
1428− $as_echo "$as_me: failed program was:" >&5
1450+ printf "%s\n" "$as_me: failed program was:" >&5
1429sed 's/^/| /' conftest.$ac_ext >&5
1451sed 's/^/| /' conftest.$ac_ext >&5
1431 ac_retval=1
1453 ac_retval=1
@@ -1435,25 +1457,28 @@ fi
1436} # ac_fn_c_try_compile
1458} # ac_fn_c_try_compile
1438−# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1460+# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1439−# ---------------------------------------------
1461+# ------------------------------------------------------------------
1440# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1462# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1441−# accordingly.
1463+# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1442−ac_fn_c_check_decl ()
1464+ac_fn_check_decl ()
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445 as_decl_name=`echo $2|sed 's/ *(.*//'`
1467 as_decl_name=`echo $2|sed 's/ *(.*//'`
1468+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1469+printf %s "checking whether $as_decl_name is declared... " >&6; }
1470+if eval test \${$3+y}
1472+ printf %s "(cached) " >&6
1446 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1474 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1447− { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1475+ eval ac_save_FLAGS=\$$6
1448−$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1476+ as_fn_append $6 " $5"
1449−if eval \${$3+:} false; then :
1450− $as_echo_n "(cached) " >&6
1452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1453/* end confdefs.h. */
1478/* end confdefs.h. */
1456−main ()
1481+main (void)
1458#ifndef $as_decl_name
1483#ifndef $as_decl_name
1459#ifdef __cplusplus
1484#ifdef __cplusplus
@@ -1467,189 +1492,22 @@ main ()
1467 return 0;
1492 return 0;
1470−if ac_fn_c_try_compile "$LINENO"; then :
1495+if ac_fn_c_try_compile "$LINENO"
1471 eval "$3=yes"
1497 eval "$3=yes"
1472−else
1498+else $as_nop
1473 eval "$3=no"
1499 eval "$3=no"
1475−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1501+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1476−fi
1502+ eval $6=\$ac_save_FLAGS
1478− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479−$as_echo "$ac_res" >&6; }
1480− eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1482−} # ac_fn_c_check_decl
1484−# ac_fn_c_try_cpp LINENO
1485−# ----------------------
1486−# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1489− as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490− if { { ac_try="$ac_cpp conftest.$ac_ext"
1492− *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493− *) ac_try_echo=$ac_try;;
1495−eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496−$as_echo "$ac_try_echo"; } >&5
1497− (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1499− if test -s conftest.err; then
1500− grep -v '^ *+' conftest.err >conftest.er1
1501− cat conftest.er1 >&5
1502− mv -f conftest.er1 conftest.err
1504− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505− test $ac_status = 0; } > conftest.i && {
1506− test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1507− test ! -s conftest.err
1511− $as_echo "$as_me: failed program was:" >&5
1512−sed 's/^/| /' conftest.$ac_ext >&5
1516− eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517− as_fn_set_status $ac_retval
1521−# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1522−# -------------------------------------------------------
1523−# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1524−# the include files in INCLUDES and setting the cache variable VAR
1526−ac_fn_c_check_header_mongrel ()
1528− as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529− if eval \${$3+:} false; then :
1530− { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1531−$as_echo_n "checking for $2... " >&6; }
1532−if eval \${$3+:} false; then :
1533− $as_echo_n "(cached) " >&6
1536− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1537−$as_echo "$ac_res" >&6; }
1539− # Is the header compilable?
1540−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1541−$as_echo_n "checking $2 usability... " >&6; }
1542−cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543−/* end confdefs.h. */
1547−if ac_fn_c_try_compile "$LINENO"; then :
1548− ac_header_compiler=yes
1550− ac_header_compiler=no
1552−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1553−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1554−$as_echo "$ac_header_compiler" >&6; }
1556−# Is the header present?
1557−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1558−$as_echo_n "checking $2 presence... " >&6; }
1559−cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1560−/* end confdefs.h. */
1563−if ac_fn_c_try_cpp "$LINENO"; then :
1564− ac_header_preproc=yes
1566− ac_header_preproc=no
1568−rm -f conftest.err conftest.i conftest.$ac_ext
1569−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1570−$as_echo "$ac_header_preproc" >&6; }
1572−# So? What about this header?
1573−case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1575− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1576−$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1577− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1578−$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1581− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1582−$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1583− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1584−$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1585− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1586−$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1587− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1588−$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1589− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1590−$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1591−( $as_echo "## --------------------------------------- ##
1592−## Report this to streamly@composewell.com ##
1593−## --------------------------------------- ##"
1594− ) | sed "s/^/$as_me: WARNING: /" >&2
1597− { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598−$as_echo_n "checking for $2... " >&6; }
1599−if eval \${$3+:} false; then :
1600− $as_echo_n "(cached) " >&6
1602− eval "$3=\$ac_header_compiler"
1604eval ac_res=\$$3
1505eval ac_res=\$$3
1605− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1506+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606−$as_echo "$ac_res" >&6; }
1507+printf "%s\n" "$ac_res" >&6; }
1608− eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610−} # ac_fn_c_check_header_mongrel
1612−# ac_fn_c_try_run LINENO
1613−# ----------------------
1614−# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615−# that executables *can* be run.
1618− as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619− if { { ac_try="$ac_link"
1621− *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622− *) ac_try_echo=$ac_try;;
1624−eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625−$as_echo "$ac_try_echo"; } >&5
1626− (eval "$ac_link") 2>&5
1628− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629− test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630− { { case "(($ac_try" in
1631− *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632− *) ac_try_echo=$ac_try;;
1634−eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635−$as_echo "$ac_try_echo"; } >&5
1636− (eval "$ac_try") 2>&5
1638− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639− test $ac_status = 0; }; }; then :
1642− $as_echo "$as_me: program exited with status $ac_status" >&5
1643− $as_echo "$as_me: failed program was:" >&5
1644−sed 's/^/| /' conftest.$ac_ext >&5
1646− ac_retval=$ac_status
1648− rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650− as_fn_set_status $ac_retval
1652−} # ac_fn_c_try_run
1510+} # ac_fn_check_decl
1654# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1512# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655# -------------------------------------------------------
1513# -------------------------------------------------------
@@ -1658,26 +1516,28 @@ fi
1658ac_fn_c_check_header_compile ()
1516ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661− { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1519+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662−$as_echo_n "checking for $2... " >&6; }
1520+printf %s "checking for $2... " >&6; }
1663−if eval \${$3+:} false; then :
1521+if eval test \${$3+y}
1664− $as_echo_n "(cached) " >&6
1523+ printf %s "(cached) " >&6
1665−else
1524+else $as_nop
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667/* end confdefs.h. */
1526/* end confdefs.h. */
1669#include <$2>
1528#include <$2>
1671−if ac_fn_c_try_compile "$LINENO"; then :
1530+if ac_fn_c_try_compile "$LINENO"
1672 eval "$3=yes"
1532 eval "$3=yes"
1673−else
1533+else $as_nop
1674 eval "$3=no"
1534 eval "$3=no"
1676−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1536+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1678eval ac_res=\$$3
1538eval ac_res=\$$3
1679− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1539+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680−$as_echo "$ac_res" >&6; }
1540+printf "%s\n" "$ac_res" >&6; }
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683} # ac_fn_c_check_header_compile
1543} # ac_fn_c_check_header_compile
@@ -1688,14 +1548,14 @@ $as_echo "$ac_res" >&6; }
1688ac_fn_c_try_link ()
1548ac_fn_c_try_link ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691− rm -f conftest.$ac_objext conftest$ac_exeext
1551+ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1692 if { { ac_try="$ac_link"
1552 if { { ac_try="$ac_link"
1693case "(($ac_try" in
1553case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698−$as_echo "$ac_try_echo"; } >&5
1558+printf "%s\n" "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1559 (eval "$ac_link") 2>conftest.err
1700 ac_status=$?
1560 ac_status=$?
1701 if test -s conftest.err; then
1561 if test -s conftest.err; then
@@ -1703,17 +1563,18 @@ $as_echo "$ac_try_echo"; } >&5
1703 cat conftest.er1 >&5
1563 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1564 mv -f conftest.er1 conftest.err
1706− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1567 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1568 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1569 test ! -s conftest.err
1710 } && test -s conftest$ac_exeext && {
1570 } && test -s conftest$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1571 test "$cross_compiling" = yes ||
1712 test -x conftest$ac_exeext
1572 test -x conftest$ac_exeext
1713− }; then :
1574+then :
1714 ac_retval=0
1575 ac_retval=0
1715−else
1576+else $as_nop
1716− $as_echo "$as_me: failed program was:" >&5
1577+ printf "%s\n" "$as_me: failed program was:" >&5
1717sed 's/^/| /' conftest.$ac_ext >&5
1578sed 's/^/| /' conftest.$ac_ext >&5
1719 ac_retval=1
1580 ac_retval=1
@@ -1734,11 +1595,12 @@ fi
1734ac_fn_c_check_func ()
1595ac_fn_c_check_func ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737− { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738−$as_echo_n "checking for $2... " >&6; }
1599+printf %s "checking for $2... " >&6; }
1739−if eval \${$3+:} false; then :
1600+if eval test \${$3+y}
1740− $as_echo_n "(cached) " >&6
1602+ printf %s "(cached) " >&6
1741−else
1603+else $as_nop
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743/* end confdefs.h. */
1605/* end confdefs.h. */
1744/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1606/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
@@ -1746,16 +1608,9 @@ else
1746#define $2 innocuous_$2
1608#define $2 innocuous_$2
1748/* System header to define __stub macros and hopefully few prototypes,
1610/* System header to define __stub macros and hopefully few prototypes,
1749− which can conflict with char $2 (); below.
1611+ which can conflict with char $2 (); below. */
1750− Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1751− <limits.h> exists even on freestanding compilers. */
1754−# include <limits.h>
1756−# include <assert.h>
1759#undef $2
1614#undef $2
1761/* Override any GCC internal prototype to avoid an error.
1616/* Override any GCC internal prototype to avoid an error.
@@ -1773,35 +1628,56 @@ choke me
1776−main ()
1631+main (void)
1778return $2 ();
1633return $2 ();
1780 return 0;
1635 return 0;
1783−if ac_fn_c_try_link "$LINENO"; then :
1638+if ac_fn_c_try_link "$LINENO"
1784 eval "$3=yes"
1640 eval "$3=yes"
1785−else
1641+else $as_nop
1786 eval "$3=no"
1642 eval "$3=no"
1788−rm -f core conftest.err conftest.$ac_objext \
1644+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1789 conftest$ac_exeext conftest.$ac_ext
1645 conftest$ac_exeext conftest.$ac_ext
1791eval ac_res=\$$3
1647eval ac_res=\$$3
1792− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793−$as_echo "$ac_res" >&6; }
1649+printf "%s\n" "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796} # ac_fn_c_check_func
1652} # ac_fn_c_check_func
1653+ac_configure_args_raw=
1658+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1660+ as_fn_append ac_configure_args_raw " '$ac_arg'"
1663+case $ac_configure_args_raw in
1665+ ac_safe_unquote= ;;
1667+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1668+ ac_unsafe_a="$ac_unsafe_z#~"
1669+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1670+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1797cat >config.log <<_ACEOF
1673cat >config.log <<_ACEOF
1798This file contains any messages produced by compilers while
1674This file contains any messages produced by compilers while
1799running configure, to aid debugging if configure makes a mistake.
1675running configure, to aid debugging if configure makes a mistake.
1801−It was created by streamly $as_me 0.7.2, which was
1677+It was created by streamly $as_me 0.8.0, which was
1802−generated by GNU Autoconf 2.69. Invocation command line was
1678+generated by GNU Autoconf 2.71. Invocation command line was
1804− $ $0 $@
1680+ $ $0$ac_configure_args_raw
1807exec 5>>config.log
1683exec 5>>config.log
@@ -1834,8 +1710,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834for as_dir in $PATH
1710for as_dir in $PATH
1836 IFS=$as_save_IFS
1712 IFS=$as_save_IFS
1713+ case $as_dir in #(((
1837− test -z "$as_dir" && as_dir=.
1714+ '') as_dir=./ ;;
1716+ *) as_dir=$as_dir/ ;;
1838− $as_echo "PATH: $as_dir"
1718+ printf "%s\n" "PATH: $as_dir"
1840IFS=$as_save_IFS
1720IFS=$as_save_IFS
@@ -1870,7 +1750,7 @@ do
1870 | -silent | --silent | --silen | --sile | --sil)
1750 | -silent | --silent | --silen | --sile | --sil)
1871 continue ;;
1751 continue ;;
1873− ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1753+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1875 case $ac_pass in
1755 case $ac_pass in
1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1756 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
@@ -1905,11 +1785,13 @@ done
1905# WARNING: Use '\'' to represent an apostrophe within the trap.
1785# WARNING: Use '\'' to represent an apostrophe within the trap.
1906# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1786# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907trap 'exit_status=$?
1787trap 'exit_status=$?
1908 # Save into config.log some information that might help in debugging.
1790 # Save into config.log some information that might help in debugging.
1912− $as_echo "## ---------------- ##
1794+ printf "%s\n" "## ---------------- ##
1913## Cache variables. ##
1795## Cache variables. ##
1914## ---------------- ##"
1796## ---------------- ##"
@@ -1920,8 +1802,8 @@ trap 'exit_status=$?
1920 case $ac_val in #(
1802 case $ac_val in #(
1921 *${as_nl}*)
1803 *${as_nl}*)
1922 case $ac_var in #(
1804 case $ac_var in #(
1923− *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1805+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924−$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1806+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1926 case $ac_var in #(
1808 case $ac_var in #(
1927 _ | IFS | as_nl) ;; #(
1809 _ | IFS | as_nl) ;; #(
@@ -1945,7 +1827,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1948− $as_echo "## ----------------- ##
1830+ printf "%s\n" "## ----------------- ##
1949## Output variables. ##
1831## Output variables. ##
1950## ----------------- ##"
1832## ----------------- ##"
@@ -1953,14 +1835,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1954 eval ac_val=\$$ac_var
1836 eval ac_val=\$$ac_var
1955 case $ac_val in
1837 case $ac_val in
1956− *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958− $as_echo "$ac_var='\''$ac_val'\''"
1840+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1959 done | sort
1841 done | sort
1962 if test -n "$ac_subst_files"; then
1844 if test -n "$ac_subst_files"; then
1963− $as_echo "## ------------------- ##
1845+ printf "%s\n" "## ------------------- ##
1964## File substitutions. ##
1846## File substitutions. ##
1965## ------------------- ##"
1847## ------------------- ##"
@@ -1968,15 +1850,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1969 eval ac_val=\$$ac_var
1851 eval ac_val=\$$ac_var
1970 case $ac_val in
1852 case $ac_val in
1971− *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1853+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1973− $as_echo "$ac_var='\''$ac_val'\''"
1855+ printf "%s\n" "$ac_var='\''$ac_val'\''"
1974 done | sort
1856 done | sort
1978 if test -s confdefs.h; then
1860 if test -s confdefs.h; then
1979− $as_echo "## ----------- ##
1861+ printf "%s\n" "## ----------- ##
1980## confdefs.h. ##
1862## confdefs.h. ##
1981## ----------- ##"
1863## ----------- ##"
@@ -1984,8 +1866,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986 test "$ac_signal" != 0 &&
1868 test "$ac_signal" != 0 &&
1987− $as_echo "$as_me: caught signal $ac_signal"
1869+ printf "%s\n" "$as_me: caught signal $ac_signal"
1988− $as_echo "$as_me: exit $exit_status"
1870+ printf "%s\n" "$as_me: exit $exit_status"
1990 rm -f core *.core core.conftest.* &&
1872 rm -f core *.core core.conftest.* &&
1991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1873 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
@@ -1999,63 +1881,48 @@ ac_signal=0
1999# confdefs.h avoids OS command line length limits that DEFS can exceed.
1881# confdefs.h avoids OS command line length limits that DEFS can exceed.
2000rm -f -r conftest* confdefs.h
1882rm -f -r conftest* confdefs.h
2002−$as_echo "/* confdefs.h */" > confdefs.h
1884+printf "%s\n" "/* confdefs.h */" > confdefs.h
2004# Predefined preprocessor variables.
1886# Predefined preprocessor variables.
2006−cat >>confdefs.h <<_ACEOF
1888+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2007−#define PACKAGE_NAME "$PACKAGE_NAME"
2010−cat >>confdefs.h <<_ACEOF
1890+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2011−#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2014−cat >>confdefs.h <<_ACEOF
1892+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2015−#define PACKAGE_VERSION "$PACKAGE_VERSION"
2018−cat >>confdefs.h <<_ACEOF
1894+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2019−#define PACKAGE_STRING "$PACKAGE_STRING"
2022−cat >>confdefs.h <<_ACEOF
1896+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2023−#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2026−cat >>confdefs.h <<_ACEOF
1898+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2027−#define PACKAGE_URL "$PACKAGE_URL"
2031# Let the site file select an alternate cache file if it wants to.
1901# Let the site file select an alternate cache file if it wants to.
2032# Prefer an explicitly selected file to automatically selected ones.
1902# Prefer an explicitly selected file to automatically selected ones.
2035if test -n "$CONFIG_SITE"; then
1903if test -n "$CONFIG_SITE"; then
2036− # We do not want a PATH search for config.site.
2037− case $CONFIG_SITE in #((
2038− -*) ac_site_file1=./$CONFIG_SITE;;
2039− */*) ac_site_file1=$CONFIG_SITE;;
2040− *) ac_site_file1=./$CONFIG_SITE;;
1904+ ac_site_files="$CONFIG_SITE"
2042elif test "x$prefix" != xNONE; then
1905elif test "x$prefix" != xNONE; then
2043− ac_site_file1=$prefix/share/config.site
1906+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2044− ac_site_file2=$prefix/etc/config.site
2046− ac_site_file1=$ac_default_prefix/share/config.site
1908+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2047− ac_site_file2=$ac_default_prefix/etc/config.site
2049−for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1911+for ac_site_file in $ac_site_files
2051− test "x$ac_site_file" = xNONE && continue
1913+ case $ac_site_file in #(
1917+ ac_site_file=./$ac_site_file ;;
2052− if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1919+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2053− { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1920+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054−$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1921+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
1922 sed 's/^/| /' "$ac_site_file" >&5
2056 . "$ac_site_file" \
1923 . "$ac_site_file" \
2057− || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1924+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2058−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1925+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2059as_fn_error $? "failed to load site script $ac_site_file
1926as_fn_error $? "failed to load site script $ac_site_file
2060See \`config.log' for more details" "$LINENO" 5; }
1927See \`config.log' for more details" "$LINENO" 5; }
@@ -2065,97 +1932,425 @@ if test -r "$cache_file"; then
2065 # Some versions of bash will fail to source /dev/null (special files
1932 # Some versions of bash will fail to source /dev/null (special files
2066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1933 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2067 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1934 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2068− { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1935+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2069−$as_echo "$as_me: loading cache $cache_file" >&6;}
1936+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2070 case $cache_file in
1937 case $cache_file in
2071 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1938 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072 *) . "./$cache_file";;
1939 *) . "./$cache_file";;
2076− { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1943+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077−$as_echo "$as_me: creating cache $cache_file" >&6;}
1944+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2078 >$cache_file
1945 >$cache_file
2081−# Check that the precious variables saved in the cache have kept the same
1948+# Test code for whether the C compiler supports C89 (global declarations)
2082−# value.
1949+ac_c_conftest_c89_globals='
2083−ac_cache_corrupted=false
1950+/* Does the compiler advertise C89 conformance?
2084−for ac_var in $ac_precious_vars; do
1951+ Do not test the value of __STDC__, because some compilers set it to 0
2085− eval ac_old_set=\$ac_cv_env_${ac_var}_set
1952+ while being otherwise adequately conformant. */
2086− eval ac_new_set=\$ac_env_${ac_var}_set
1953+#if !defined __STDC__
2087− eval ac_old_val=\$ac_cv_env_${ac_var}_value
1954+# error "Compiler does not advertise C89 conformance"
2088− eval ac_new_val=\$ac_env_${ac_var}_value
1955+#endif
2089− case $ac_old_set,$ac_new_set in
2091− { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2092−$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2093− ac_cache_corrupted=: ;;
2095− { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2096−$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2097− ac_cache_corrupted=: ;;
2100− if test "x$ac_old_val" != "x$ac_new_val"; then
2101− # differences in whitespace do not lead to failure.
2102− ac_old_val_w=`echo x $ac_old_val`
2103− ac_new_val_w=`echo x $ac_new_val`
2104− if test "$ac_old_val_w" != "$ac_new_val_w"; then
2105− { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2106−$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2107− ac_cache_corrupted=:
2109− { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2110−$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2111− eval $ac_var=\$ac_old_val
2113− { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2114−$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2115− { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2116−$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2119− # Pass precious variables to config.status.
2120− if test "$ac_new_set" = set; then
2121− case $ac_new_val in
2122− *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2123− *) ac_arg=$ac_var=$ac_new_val ;;
2125− case " $ac_configure_args " in
2126− *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2127− *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2131−if $ac_cache_corrupted; then
2132− { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134− { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2135−$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136− as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2138−## -------------------- ##
2139−## Main body of script. ##
2140−## -------------------- ##
1960+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1961+struct buf { int x; };
1962+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1963+static char *e (p, i)
1969+static char *f (char * (*g) (char **, int), char **p, ...)
1974+ s = g (p, va_arg (v,int));
1979+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1980+ function prototypes and stuff, but not \xHH hex character constants.
1981+ These do not provoke an error unfortunately, instead are silently treated
1982+ as an "x". The following induces an error, until -std is added to get
1983+ proper ANSI mode. Curiously \x00 != x always comes out true, for an
1984+ array size at least. It is necessary to write \x00 == 0 to get something
1985+ that is true only with -std. */
1986+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1988+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1989+ inside strings and character constants. */
1990+#define FOO(x) '\''x'\''
1991+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1993+int test (int i, double x);
1994+struct s1 {int (*f) (int a);};
1995+struct s2 {int (*f) (double a);};
1996+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1999+# Test code for whether the C compiler supports C89 (body of main).
2000+ac_c_conftest_c89_main='
2001+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2004+# Test code for whether the C compiler supports C99 (global declarations)
2005+ac_c_conftest_c99_globals='
2006+// Does the compiler advertise C99 conformance?
2007+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2008+# error "Compiler does not advertise C99 conformance"
2011+#include <stdbool.h>
2012+extern int puts (const char *);
2013+extern int printf (const char *, ...);
2014+extern int dprintf (int, const char *, ...);
2015+extern void *malloc (size_t);
2017+// Check varargs macros. These examples are taken from C99 6.10.3.5.
2018+// dprintf is used instead of fprintf to avoid needing to declare
2020+#define debug(...) dprintf (2, __VA_ARGS__)
2021+#define showlist(...) puts (#__VA_ARGS__)
2022+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2024+test_varargs_macros (void)
2029+ debug ("X = %d\n", x);
2030+ showlist (The first, second, and third items.);
2031+ report (x>y, "x is %d but y is %d", x, y);
2034+// Check long long types.
2035+#define BIG64 18446744073709551615ull
2036+#define BIG32 4294967295ul
2037+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2039+ #error "your preprocessor is broken"
2043+ #error "your preprocessor is broken"
2045+static long long int bignum = -9223372036854775807LL;
2046+static unsigned long long int ubignum = BIG64;
2048+struct incomplete_array
2056+ const wchar_t *name;
2060+typedef const char *ccp;
2063+test_restrict (ccp restrict text)
2065+ // See if C++-style comments work.
2066+ // Iterate through items via the restricted pointer.
2067+ // Also check for declarations in for loops.
2068+ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2073+// Check varargs and va_copy.
2075+test_varargs (const char *format, ...)
2078+ va_start (args, format);
2080+ va_copy (args_copy, args);
2082+ const char *str = "";
2090+ case '\''s'\'': // string
2091+ str = va_arg (args_copy, const char *);
2093+ case '\''d'\'': // int
2094+ number = va_arg (args_copy, int);
2096+ case '\''f'\'': // float
2097+ fnumber = va_arg (args_copy, double);
2103+ va_end (args_copy);
2106+ return *str && number && fnumber;
2110+# Test code for whether the C compiler supports C99 (body of main).
2111+ac_c_conftest_c99_main='
2113+ _Bool success = false;
2114+ success |= (argc != 0);
2117+ if (test_restrict ("String literal") == 0)
2119+ char *restrict newvar = "Another string";
2122+ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2123+ test_varargs_macros ();
2125+ // Check flexible array members.
2126+ struct incomplete_array *ia =
2127+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2129+ for (int i = 0; i < ia->datasize; ++i)
2130+ ia->data[i] = i * 1.234;
2132+ // Check named initializers.
2133+ struct named_init ni = {
2135+ .name = L"Test wide string",
2136+ .average = 543.34343,
2141+ int dynamic_array[ni.number];
2142+ dynamic_array[0] = argv[0][0];
2143+ dynamic_array[ni.number - 1] = 543;
2145+ // work around unused variable warnings
2146+ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2147+ || dynamic_array[ni.number - 1] != 543);
2150+# Test code for whether the C compiler supports C11 (global declarations)
2151+ac_c_conftest_c11_globals='
2152+// Does the compiler advertise C11 conformance?
2153+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2154+# error "Compiler does not advertise C11 conformance"
2158+char _Alignas (double) aligned_as_double;
2159+char _Alignas (0) no_special_alignment;
2160+extern char aligned_as_int;
2161+char _Alignas (0) _Alignas (int) aligned_as_int;
2166+ int_alignment = _Alignof (int),
2167+ int_array_alignment = _Alignof (int[100]),
2168+ char_alignment = _Alignof (char)
2170+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2173+int _Noreturn does_not_return (void) { for (;;) continue; }
2175+// Check _Static_assert.
2176+struct test_static_assert
2179+ _Static_assert (sizeof (int) <= sizeof (long int),
2180+ "_Static_assert does not work in struct");
2184+// Check UTF-8 literals.
2185+#define u8 syntax error!
2186+char const utf8_literal[] = u8"happens to be ASCII" "another string";
2188+// Check duplicate typedefs.
2189+typedef long *long_ptr;
2190+typedef long int *long_ptr;
2191+typedef long_ptr long_ptr;
2193+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2197+ struct { int i; int j; };
2198+ struct { int k; long int l; } w;
2204+# Test code for whether the C compiler supports C11 (body of main).
2205+ac_c_conftest_c11_main='
2206+ _Static_assert ((offsetof (struct anonymous, i)
2207+ == offsetof (struct anonymous, w.k)),
2208+ "Anonymous union alignment botch");
2214+# Test code for whether the C compiler supports C11 (complete).
2215+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2216+${ac_c_conftest_c99_globals}
2217+${ac_c_conftest_c11_globals}
2220+main (int argc, char **argv)
2223+ ${ac_c_conftest_c89_main}
2224+ ${ac_c_conftest_c99_main}
2225+ ${ac_c_conftest_c11_main}
2230+# Test code for whether the C compiler supports C99 (complete).
2231+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2232+${ac_c_conftest_c99_globals}
2235+main (int argc, char **argv)
2238+ ${ac_c_conftest_c89_main}
2239+ ${ac_c_conftest_c99_main}
2244+# Test code for whether the C compiler supports C89 (complete).
2245+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2248+main (int argc, char **argv)
2251+ ${ac_c_conftest_c89_main}
2256+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2257+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2258+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2259+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2260+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2261+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2262+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2263+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2264+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2265+# Check that the precious variables saved in the cache have kept the same
2267+ac_cache_corrupted=false
2268+for ac_var in $ac_precious_vars; do
2269+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
2270+ eval ac_new_set=\$ac_env_${ac_var}_set
2271+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2272+ eval ac_new_val=\$ac_env_${ac_var}_value
2273+ case $ac_old_set,$ac_new_set in
2275+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2276+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2277+ ac_cache_corrupted=: ;;
2279+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2280+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2281+ ac_cache_corrupted=: ;;
2284+ if test "x$ac_old_val" != "x$ac_new_val"; then
2285+ # differences in whitespace do not lead to failure.
2286+ ac_old_val_w=`echo x $ac_old_val`
2287+ ac_new_val_w=`echo x $ac_new_val`
2288+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
2289+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2290+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2291+ ac_cache_corrupted=:
2293+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2294+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2295+ eval $ac_var=\$ac_old_val
2297+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2298+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2299+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2300+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2303+ # Pass precious variables to config.status.
2304+ if test "$ac_new_set" = set; then
2305+ case $ac_new_val in
2306+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2307+ *) ac_arg=$ac_var=$ac_new_val ;;
2309+ case " $ac_configure_args " in
2310+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2311+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2315+if $ac_cache_corrupted; then
2316+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2318+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2319+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2320+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2321+ and start over" "$LINENO" 5
2323+## -------------------- ##
2324+## Main body of script. ##
2325+## -------------------- ##
2142−ac_ext=c
2327+ac_ext=c
2143−ac_cpp='$CPP $CPPFLAGS'
2328+ac_cpp='$CPP $CPPFLAGS'
2144−ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145−ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146−ac_compiler_gnu=$ac_cv_c_compiler_gnu
2331+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2150# To suppress "WARNING: unrecognized options: --with-compiler"
2335# To suppress "WARNING: unrecognized options: --with-compiler"
2152# Check whether --with-compiler was given.
2337# Check whether --with-compiler was given.
2153−if test "${with_compiler+set}" = set; then :
2338+if test ${with_compiler+y}
2154 withval=$with_compiler;
2340 withval=$with_compiler;
2158# XXX Do this only for linux
2344# XXX Do this only for linux
2160ac_cpp='$CPP $CPPFLAGS'
2355ac_cpp='$CPP $CPPFLAGS'
2161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -2164,11 +2359,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164if test -n "$ac_tool_prefix"; then
2359if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2166set dummy ${ac_tool_prefix}gcc; ac_word=$2
2361set dummy ${ac_tool_prefix}gcc; ac_word=$2
2167−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168−$as_echo_n "checking for $ac_word... " >&6; }
2363+printf %s "checking for $ac_word... " >&6; }
2169−if ${ac_cv_prog_CC+:} false; then :
2364+if test ${ac_cv_prog_CC+y}
2170− $as_echo_n "(cached) " >&6
2366+ printf %s "(cached) " >&6
2171−else
2367+else $as_nop
2172 if test -n "$CC"; then
2368 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2176,11 +2372,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176for as_dir in $PATH
2372for as_dir in $PATH
2178 IFS=$as_save_IFS
2374 IFS=$as_save_IFS
2375+ case $as_dir in #(((
2179− test -z "$as_dir" && as_dir=.
2376+ '') as_dir=./ ;;
2378+ *) as_dir=$as_dir/ ;;
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2181− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2381+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2382 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2183− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2383+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2191,11 +2391,11 @@ fi
2192CC=$ac_cv_prog_CC
2392CC=$ac_cv_prog_CC
2193if test -n "$CC"; then
2393if test -n "$CC"; then
2194− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2394+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195−$as_echo "$CC" >&6; }
2395+printf "%s\n" "$CC" >&6; }
2197− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2397+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198−$as_echo "no" >&6; }
2398+printf "%s\n" "no" >&6; }
@@ -2204,11 +2404,12 @@ if test -z "$ac_cv_prog_CC"; then
2204 ac_ct_CC=$CC
2404 ac_ct_CC=$CC
2205 # Extract the first word of "gcc", so it can be a program name with args.
2405 # Extract the first word of "gcc", so it can be a program name with args.
2206set dummy gcc; ac_word=$2
2406set dummy gcc; ac_word=$2
2207−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2208−$as_echo_n "checking for $ac_word... " >&6; }
2408+printf %s "checking for $ac_word... " >&6; }
2209−if ${ac_cv_prog_ac_ct_CC+:} false; then :
2409+if test ${ac_cv_prog_ac_ct_CC+y}
2210− $as_echo_n "(cached) " >&6
2411+ printf %s "(cached) " >&6
2211−else
2412+else $as_nop
2212 if test -n "$ac_ct_CC"; then
2413 if test -n "$ac_ct_CC"; then
2213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2216,11 +2417,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216for as_dir in $PATH
2417for as_dir in $PATH
2218 IFS=$as_save_IFS
2419 IFS=$as_save_IFS
2420+ case $as_dir in #(((
2219− test -z "$as_dir" && as_dir=.
2421+ '') as_dir=./ ;;
2423+ *) as_dir=$as_dir/ ;;
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2425 for ac_exec_ext in '' $ac_executable_extensions; do
2221− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2426+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2222 ac_cv_prog_ac_ct_CC="gcc"
2427 ac_cv_prog_ac_ct_CC="gcc"
2223− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2231,11 +2436,11 @@ fi
2232ac_ct_CC=$ac_cv_prog_ac_ct_CC
2437ac_ct_CC=$ac_cv_prog_ac_ct_CC
2233if test -n "$ac_ct_CC"; then
2438if test -n "$ac_ct_CC"; then
2234− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2439+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2235−$as_echo "$ac_ct_CC" >&6; }
2440+printf "%s\n" "$ac_ct_CC" >&6; }
2237− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2238−$as_echo "no" >&6; }
2443+printf "%s\n" "no" >&6; }
2241 if test "x$ac_ct_CC" = x; then
2446 if test "x$ac_ct_CC" = x; then
@@ -2243,8 +2448,8 @@ fi
2244 case $cross_compiling:$ac_tool_warned in
2449 case $cross_compiling:$ac_tool_warned in
2246−{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2451+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2247−$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2452+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2248ac_tool_warned=yes ;;
2453ac_tool_warned=yes ;;
2250 CC=$ac_ct_CC
2455 CC=$ac_ct_CC
@@ -2257,11 +2462,12 @@ if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2462 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2463 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2259set dummy ${ac_tool_prefix}cc; ac_word=$2
2464set dummy ${ac_tool_prefix}cc; ac_word=$2
2260−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261−$as_echo_n "checking for $ac_word... " >&6; }
2466+printf %s "checking for $ac_word... " >&6; }
2262−if ${ac_cv_prog_CC+:} false; then :
2467+if test ${ac_cv_prog_CC+y}
2263− $as_echo_n "(cached) " >&6
2469+ printf %s "(cached) " >&6
2264−else
2470+else $as_nop
2265 if test -n "$CC"; then
2471 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2472 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2269,11 +2475,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269for as_dir in $PATH
2475for as_dir in $PATH
2271 IFS=$as_save_IFS
2477 IFS=$as_save_IFS
2478+ case $as_dir in #(((
2272− test -z "$as_dir" && as_dir=.
2479+ '') as_dir=./ ;;
2481+ *) as_dir=$as_dir/ ;;
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2483 for ac_exec_ext in '' $ac_executable_extensions; do
2274− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2484+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_CC="${ac_tool_prefix}cc"
2485 ac_cv_prog_CC="${ac_tool_prefix}cc"
2276− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2284,11 +2494,11 @@ fi
2285CC=$ac_cv_prog_CC
2495CC=$ac_cv_prog_CC
2286if test -n "$CC"; then
2496if test -n "$CC"; then
2287− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2497+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2288−$as_echo "$CC" >&6; }
2498+printf "%s\n" "$CC" >&6; }
2290− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2500+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2291−$as_echo "no" >&6; }
2501+printf "%s\n" "no" >&6; }
@@ -2297,11 +2507,12 @@ fi
2297if test -z "$CC"; then
2507if test -z "$CC"; then
2298 # Extract the first word of "cc", so it can be a program name with args.
2508 # Extract the first word of "cc", so it can be a program name with args.
2299set dummy cc; ac_word=$2
2509set dummy cc; ac_word=$2
2300−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2301−$as_echo_n "checking for $ac_word... " >&6; }
2511+printf %s "checking for $ac_word... " >&6; }
2302−if ${ac_cv_prog_CC+:} false; then :
2512+if test ${ac_cv_prog_CC+y}
2303− $as_echo_n "(cached) " >&6
2514+ printf %s "(cached) " >&6
2304−else
2515+else $as_nop
2305 if test -n "$CC"; then
2516 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2517 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2310,15 +2521,19 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH
2521for as_dir in $PATH
2312 IFS=$as_save_IFS
2523 IFS=$as_save_IFS
2524+ case $as_dir in #(((
2313− test -z "$as_dir" && as_dir=.
2525+ '') as_dir=./ ;;
2527+ *) as_dir=$as_dir/ ;;
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2315− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2316− if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2531+ if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2317 ac_prog_rejected=yes
2532 ac_prog_rejected=yes
2318 continue
2533 continue
2320 ac_cv_prog_CC="cc"
2535 ac_cv_prog_CC="cc"
2321− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2334,18 +2549,18 @@ if test $ac_prog_rejected = yes; then
2334 # However, it has the same basename, so the bogon will be chosen
2549 # However, it has the same basename, so the bogon will be chosen
2335 # first if we set CC to just the basename; use the full file name.
2550 # first if we set CC to just the basename; use the full file name.
2337− ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2552+ ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2342CC=$ac_cv_prog_CC
2557CC=$ac_cv_prog_CC
2343if test -n "$CC"; then
2558if test -n "$CC"; then
2344− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2559+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2345−$as_echo "$CC" >&6; }
2560+printf "%s\n" "$CC" >&6; }
2347− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2348−$as_echo "no" >&6; }
2563+printf "%s\n" "no" >&6; }
@@ -2356,11 +2571,12 @@ if test -z "$CC"; then
2357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2358set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2573set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2359−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360−$as_echo_n "checking for $ac_word... " >&6; }
2575+printf %s "checking for $ac_word... " >&6; }
2361−if ${ac_cv_prog_CC+:} false; then :
2576+if test ${ac_cv_prog_CC+y}
2362− $as_echo_n "(cached) " >&6
2578+ printf %s "(cached) " >&6
2363−else
2579+else $as_nop
2364 if test -n "$CC"; then
2580 if test -n "$CC"; then
2365 ac_cv_prog_CC="$CC" # Let the user override the test.
2581 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2368,11 +2584,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2584for as_dir in $PATH
2370 IFS=$as_save_IFS
2586 IFS=$as_save_IFS
2587+ case $as_dir in #(((
2371− test -z "$as_dir" && as_dir=.
2588+ '') as_dir=./ ;;
2590+ *) as_dir=$as_dir/ ;;
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2373− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2593+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2375− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2383,11 +2603,11 @@ fi
2384CC=$ac_cv_prog_CC
2604CC=$ac_cv_prog_CC
2385if test -n "$CC"; then
2605if test -n "$CC"; then
2386− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2606+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2387−$as_echo "$CC" >&6; }
2607+printf "%s\n" "$CC" >&6; }
2389− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390−$as_echo "no" >&6; }
2610+printf "%s\n" "no" >&6; }
@@ -2400,11 +2620,12 @@ if test -z "$CC"; then
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402set dummy $ac_prog; ac_word=$2
2622set dummy $ac_prog; ac_word=$2
2403−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404−$as_echo_n "checking for $ac_word... " >&6; }
2624+printf %s "checking for $ac_word... " >&6; }
2405−if ${ac_cv_prog_ac_ct_CC+:} false; then :
2625+if test ${ac_cv_prog_ac_ct_CC+y}
2406− $as_echo_n "(cached) " >&6
2627+ printf %s "(cached) " >&6
2407−else
2628+else $as_nop
2408 if test -n "$ac_ct_CC"; then
2629 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2412,11 +2633,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2633for as_dir in $PATH
2414 IFS=$as_save_IFS
2635 IFS=$as_save_IFS
2636+ case $as_dir in #(((
2415− test -z "$as_dir" && as_dir=.
2637+ '') as_dir=./ ;;
2639+ *) as_dir=$as_dir/ ;;
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2417− if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2418 ac_cv_prog_ac_ct_CC="$ac_prog"
2643 ac_cv_prog_ac_ct_CC="$ac_prog"
2419− $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
@@ -2427,11 +2652,11 @@ fi
2428ac_ct_CC=$ac_cv_prog_ac_ct_CC
2653ac_ct_CC=$ac_cv_prog_ac_ct_CC
2429if test -n "$ac_ct_CC"; then
2654if test -n "$ac_ct_CC"; then
2430− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2655+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2431−$as_echo "$ac_ct_CC" >&6; }
2656+printf "%s\n" "$ac_ct_CC" >&6; }
2433− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434−$as_echo "no" >&6; }
2659+printf "%s\n" "no" >&6; }
@@ -2443,8 +2668,8 @@ done
2444 case $cross_compiling:$ac_tool_warned in
2669 case $cross_compiling:$ac_tool_warned in
2446−{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2671+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2447−$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2672+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2448ac_tool_warned=yes ;;
2673ac_tool_warned=yes ;;
2450 CC=$ac_ct_CC
2675 CC=$ac_ct_CC
@@ -2452,25 +2677,129 @@ esac
2680+if test -z "$CC"; then
2681+ if test -n "$ac_tool_prefix"; then
2682+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2683+set dummy ${ac_tool_prefix}clang; ac_word=$2
2684+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685+printf %s "checking for $ac_word... " >&6; }
2686+if test ${ac_cv_prog_CC+y}
2688+ printf %s "(cached) " >&6
2690+ if test -n "$CC"; then
2691+ ac_cv_prog_CC="$CC" # Let the user override the test.
2693+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697+ case $as_dir in #(((
2700+ *) as_dir=$as_dir/ ;;
2702+ for ac_exec_ext in '' $ac_executable_extensions; do
2703+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2704+ ac_cv_prog_CC="${ac_tool_prefix}clang"
2705+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2715+if test -n "$CC"; then
2716+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717+printf "%s\n" "$CC" >&6; }
2719+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720+printf "%s\n" "no" >&6; }
2725+if test -z "$ac_cv_prog_CC"; then
2727+ # Extract the first word of "clang", so it can be a program name with args.
2728+set dummy clang; ac_word=$2
2729+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730+printf %s "checking for $ac_word... " >&6; }
2731+if test ${ac_cv_prog_ac_ct_CC+y}
2733+ printf %s "(cached) " >&6
2735+ if test -n "$ac_ct_CC"; then
2736+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2738+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742+ case $as_dir in #(((
2745+ *) as_dir=$as_dir/ ;;
2747+ for ac_exec_ext in '' $ac_executable_extensions; do
2748+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2749+ ac_cv_prog_ac_ct_CC="clang"
2750+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2759+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2760+if test -n "$ac_ct_CC"; then
2761+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762+printf "%s\n" "$ac_ct_CC" >&6; }
2764+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765+printf "%s\n" "no" >&6; }
2768+ if test "x$ac_ct_CC" = x; then
2771+ case $cross_compiling:$ac_tool_warned in
2773+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775+ac_tool_warned=yes ;;
2780+ CC="$ac_cv_prog_CC"
2457−test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2786+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2458−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2787+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2459as_fn_error $? "no acceptable C compiler found in \$PATH
2788as_fn_error $? "no acceptable C compiler found in \$PATH
2460See \`config.log' for more details" "$LINENO" 5; }
2789See \`config.log' for more details" "$LINENO" 5; }
2462# Provide some information about the compiler.
2791# Provide some information about the compiler.
2463−$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2792+printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2464set X $ac_compile
2793set X $ac_compile
2465ac_compiler=$2
2794ac_compiler=$2
2466−for ac_option in --version -v -V -qversion; do
2795+for ac_option in --version -v -V -qversion -version; do
2467 { { ac_try="$ac_compiler $ac_option >&5"
2796 { { ac_try="$ac_compiler $ac_option >&5"
2468case "(($ac_try" in
2797case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473−$as_echo "$ac_try_echo"; } >&5
2802+printf "%s\n" "$ac_try_echo"; } >&5
2474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2475 ac_status=$?
2804 ac_status=$?
2476 if test -s conftest.err; then
2805 if test -s conftest.err; then
@@ -2480,7 +2809,7 @@ $as_echo "$ac_try_echo"; } >&5
2480 cat conftest.er1 >&5
2809 cat conftest.er1 >&5
2482 rm -f conftest.er1 conftest.err
2811 rm -f conftest.er1 conftest.err
2483− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }
2813 test $ac_status = 0; }
@@ -2488,7 +2817,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488/* end confdefs.h. */
2817/* end confdefs.h. */
2491−main ()
2820+main (void)
@@ -2500,9 +2829,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2500# Try to create an executable without -o first, disregard a.out.
2829# Try to create an executable without -o first, disregard a.out.
2501# It will help us diagnose broken compilers, and finding out an intuition
2830# It will help us diagnose broken compilers, and finding out an intuition
2502# of exeext.
2831# of exeext.
2503−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2832+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2504−$as_echo_n "checking whether the C compiler works... " >&6; }
2833+printf %s "checking whether the C compiler works... " >&6; }
2505−ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2834+ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2507# The possible output files:
2836# The possible output files:
2508ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2837ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
@@ -2523,11 +2852,12 @@ case "(($ac_try" in
2523 *) ac_try_echo=$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526−$as_echo "$ac_try_echo"; } >&5
2855+printf "%s\n" "$ac_try_echo"; } >&5
2527 (eval "$ac_link_default") 2>&5
2856 (eval "$ac_link_default") 2>&5
2528 ac_status=$?
2857 ac_status=$?
2529− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530− test $ac_status = 0; }; then :
2859+ test $ac_status = 0; }
2531 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2861 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2532# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2862# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2533# in a Makefile. We should not override ac_cv_exeext if it was cached,
2863# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2544,7 +2874,7 @@ do
2544 # certainly right.
2874 # certainly right.
2547− if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2877+ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2548 then :; else
2878 then :; else
2549 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2879 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
@@ -2560,44 +2890,46 @@ do
2561test "$ac_cv_exeext" = no && ac_cv_exeext=
2891test "$ac_cv_exeext" = no && ac_cv_exeext=
2563−else
2893+else $as_nop
2564 ac_file=''
2894 ac_file=''
2566−if test -z "$ac_file"; then :
2896+if test -z "$ac_file"
2567− { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568−$as_echo "no" >&6; }
2899+printf "%s\n" "no" >&6; }
2569−$as_echo "$as_me: failed program was:" >&5
2900+printf "%s\n" "$as_me: failed program was:" >&5
2570sed 's/^/| /' conftest.$ac_ext >&5
2901sed 's/^/| /' conftest.$ac_ext >&5
2572−{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2903+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2573−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2904+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2574as_fn_error 77 "C compiler cannot create executables
2905as_fn_error 77 "C compiler cannot create executables
2575See \`config.log' for more details" "$LINENO" 5; }
2906See \`config.log' for more details" "$LINENO" 5; }
2576−else
2907+else $as_nop
2577− { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2908+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2578−$as_echo "yes" >&6; }
2909+printf "%s\n" "yes" >&6; }
2580−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2911+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2581−$as_echo_n "checking for C compiler default output file name... " >&6; }
2912+printf %s "checking for C compiler default output file name... " >&6; }
2582−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2913+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2583−$as_echo "$ac_file" >&6; }
2914+printf "%s\n" "$ac_file" >&6; }
2584ac_exeext=$ac_cv_exeext
2915ac_exeext=$ac_cv_exeext
2586rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2917rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2587ac_clean_files=$ac_clean_files_save
2918ac_clean_files=$ac_clean_files_save
2588−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2919+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2589−$as_echo_n "checking for suffix of executables... " >&6; }
2920+printf %s "checking for suffix of executables... " >&6; }
2590if { { ac_try="$ac_link"
2921if { { ac_try="$ac_link"
2591case "(($ac_try" in
2922case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596−$as_echo "$ac_try_echo"; } >&5
2927+printf "%s\n" "$ac_try_echo"; } >&5
2597 (eval "$ac_link") 2>&5
2928 (eval "$ac_link") 2>&5
2598 ac_status=$?
2929 ac_status=$?
2599− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600− test $ac_status = 0; }; then :
2931+ test $ac_status = 0; }
2601 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2933 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2602# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2934# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2603# work properly (i.e., refer to `conftest.exe'), while it won't with
2935# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -2611,15 +2943,15 @@ for ac_file in conftest.exe conftest conftest.*; do
2611 * ) break;;
2943 * ) break;;
2614−else
2946+else $as_nop
2615− { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2947+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2948+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2617as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2949as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2618See \`config.log' for more details" "$LINENO" 5; }
2950See \`config.log' for more details" "$LINENO" 5; }
2620rm -f conftest conftest$ac_cv_exeext
2952rm -f conftest conftest$ac_cv_exeext
2621−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2953+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2622−$as_echo "$ac_cv_exeext" >&6; }
2954+printf "%s\n" "$ac_cv_exeext" >&6; }
2624rm -f conftest.$ac_ext
2956rm -f conftest.$ac_ext
2625EXEEXT=$ac_cv_exeext
2957EXEEXT=$ac_cv_exeext
@@ -2628,7 +2960,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628/* end confdefs.h. */
2960/* end confdefs.h. */
2629#include <stdio.h>
2961#include <stdio.h>
2631−main ()
2963+main (void)
2633FILE *f = fopen ("conftest.out", "w");
2965FILE *f = fopen ("conftest.out", "w");
2634 return ferror (f) || fclose (f) != 0;
2966 return ferror (f) || fclose (f) != 0;
@@ -2640,8 +2972,8 @@ _ACEOF
2640ac_clean_files="$ac_clean_files conftest.out"
2972ac_clean_files="$ac_clean_files conftest.out"
2641# Check that the compiler produces executables we can run. If not, either
2973# Check that the compiler produces executables we can run. If not, either
2642# the compiler is broken, or we cross compile.
2974# the compiler is broken, or we cross compile.
2643−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2975+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2644−$as_echo_n "checking whether we are cross compiling... " >&6; }
2976+printf %s "checking whether we are cross compiling... " >&6; }
2645if test "$cross_compiling" != yes; then
2977if test "$cross_compiling" != yes; then
2646 { { ac_try="$ac_link"
2978 { { ac_try="$ac_link"
2647case "(($ac_try" in
2979case "(($ac_try" in
@@ -2649,10 +2981,10 @@ case "(($ac_try" in
2649 *) ac_try_echo=$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652−$as_echo "$ac_try_echo"; } >&5
2984+printf "%s\n" "$ac_try_echo"; } >&5
2653 (eval "$ac_link") 2>&5
2985 (eval "$ac_link") 2>&5
2654 ac_status=$?
2986 ac_status=$?
2655− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }
2988 test $ac_status = 0; }
2657 if { ac_try='./conftest$ac_cv_exeext'
2989 if { ac_try='./conftest$ac_cv_exeext'
2658 { { case "(($ac_try" in
2990 { { case "(($ac_try" in
@@ -2660,39 +2992,40 @@ $as_echo "$ac_try_echo"; } >&5
2660 *) ac_try_echo=$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663−$as_echo "$ac_try_echo"; } >&5
2995+printf "%s\n" "$ac_try_echo"; } >&5
2664 (eval "$ac_try") 2>&5
2996 (eval "$ac_try") 2>&5
2665 ac_status=$?
2997 ac_status=$?
2666− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; }; }; then
2999 test $ac_status = 0; }; }; then
2668 cross_compiling=no
3000 cross_compiling=no
2670 if test "$cross_compiling" = maybe; then
3002 if test "$cross_compiling" = maybe; then
2671 cross_compiling=yes
3003 cross_compiling=yes
2673− { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2675−as_fn_error $? "cannot run C compiled programs.
3007+as_fn_error 77 "cannot run C compiled programs.
2676If you meant to cross compile, use \`--host'.
3008If you meant to cross compile, use \`--host'.
2677See \`config.log' for more details" "$LINENO" 5; }
3009See \`config.log' for more details" "$LINENO" 5; }
2681−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3013+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2682−$as_echo "$cross_compiling" >&6; }
3014+printf "%s\n" "$cross_compiling" >&6; }
2684rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3016rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2685ac_clean_files=$ac_clean_files_save
3017ac_clean_files=$ac_clean_files_save
2686−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3018+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2687−$as_echo_n "checking for suffix of object files... " >&6; }
3019+printf %s "checking for suffix of object files... " >&6; }
2688−if ${ac_cv_objext+:} false; then :
3020+if test ${ac_cv_objext+y}
2689− $as_echo_n "(cached) " >&6
3022+ printf %s "(cached) " >&6
2690−else
3023+else $as_nop
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692/* end confdefs.h. */
3025/* end confdefs.h. */
2695−main ()
3028+main (void)
@@ -2706,11 +3039,12 @@ case "(($ac_try" in
2706 *) ac_try_echo=$ac_try;;
3039 *) ac_try_echo=$ac_try;;
2708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2709−$as_echo "$ac_try_echo"; } >&5
3042+printf "%s\n" "$ac_try_echo"; } >&5
2710 (eval "$ac_compile") 2>&5
3043 (eval "$ac_compile") 2>&5
2711 ac_status=$?
3044 ac_status=$?
2712− $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2713− test $ac_status = 0; }; then :
3046+ test $ac_status = 0; }
2714 for ac_file in conftest.o conftest.obj conftest.*; do
3048 for ac_file in conftest.o conftest.obj conftest.*; do
2715 test -f "$ac_file" || continue;
3049 test -f "$ac_file" || continue;
2716 case $ac_file in
3050 case $ac_file in
@@ -2719,31 +3053,32 @@ $as_echo "$ac_try_echo"; } >&5
2722−else
3056+else $as_nop
2723− $as_echo "$as_me: failed program was:" >&5
3057+ printf "%s\n" "$as_me: failed program was:" >&5
2724sed 's/^/| /' conftest.$ac_ext >&5
3058sed 's/^/| /' conftest.$ac_ext >&5
2726−{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3060+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3061+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2728as_fn_error $? "cannot compute suffix of object files: cannot compile
3062as_fn_error $? "cannot compute suffix of object files: cannot compile
2729See \`config.log' for more details" "$LINENO" 5; }
3063See \`config.log' for more details" "$LINENO" 5; }
2731rm -f conftest.$ac_cv_objext conftest.$ac_ext
3065rm -f conftest.$ac_cv_objext conftest.$ac_ext
2733−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3067+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2734−$as_echo "$ac_cv_objext" >&6; }
3068+printf "%s\n" "$ac_cv_objext" >&6; }
2735OBJEXT=$ac_cv_objext
3069OBJEXT=$ac_cv_objext
2736ac_objext=$OBJEXT
3070ac_objext=$OBJEXT
2737−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3071+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2738−$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3072+printf %s "checking whether the compiler supports GNU C... " >&6; }
2739−if ${ac_cv_c_compiler_gnu+:} false; then :
3073+if test ${ac_cv_c_compiler_gnu+y}
2740− $as_echo_n "(cached) " >&6
3075+ printf %s "(cached) " >&6
2741−else
3076+else $as_nop
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743/* end confdefs.h. */
3078/* end confdefs.h. */
2746−main ()
3081+main (void)
2748#ifndef __GNUC__
3083#ifndef __GNUC__
2749 choke me
3084 choke me
@@ -2753,29 +3088,33 @@ main ()
2753 return 0;
3088 return 0;
2756−if ac_fn_c_try_compile "$LINENO"; then :
3091+if ac_fn_c_try_compile "$LINENO"
2757 ac_compiler_gnu=yes
3093 ac_compiler_gnu=yes
2758−else
3094+else $as_nop
2759 ac_compiler_gnu=no
3095 ac_compiler_gnu=no
2761−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2762ac_cv_c_compiler_gnu=$ac_compiler_gnu
3098ac_cv_c_compiler_gnu=$ac_compiler_gnu
2765−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3101+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2766−$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3102+printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3103+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767if test $ac_compiler_gnu = yes; then
3105if test $ac_compiler_gnu = yes; then
2772−ac_test_CFLAGS=${CFLAGS+set}
3110+ac_test_CFLAGS=${CFLAGS+y}
2773ac_save_CFLAGS=$CFLAGS
3111ac_save_CFLAGS=$CFLAGS
2774−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3112+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2775−$as_echo_n "checking whether $CC accepts -g... " >&6; }
3113+printf %s "checking whether $CC accepts -g... " >&6; }
2776−if ${ac_cv_prog_cc_g+:} false; then :
3114+if test ${ac_cv_prog_cc_g+y}
2777− $as_echo_n "(cached) " >&6
3116+ printf %s "(cached) " >&6
2778−else
3117+else $as_nop
2779 ac_save_c_werror_flag=$ac_c_werror_flag
3118 ac_save_c_werror_flag=$ac_c_werror_flag
2780 ac_c_werror_flag=yes
3119 ac_c_werror_flag=yes
2781 ac_cv_prog_cc_g=no
3120 ac_cv_prog_cc_g=no
@@ -2784,373 +3123,212 @@ else
2784/* end confdefs.h. */
3123/* end confdefs.h. */
2787−main ()
3126+main (void)
2791 return 0;
3130 return 0;
2794−if ac_fn_c_try_compile "$LINENO"; then :
3133+if ac_fn_c_try_compile "$LINENO"
2795 ac_cv_prog_cc_g=yes
3135 ac_cv_prog_cc_g=yes
2796−else
3136+else $as_nop
2797 CFLAGS=""
3137 CFLAGS=""
2798− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799−/* end confdefs.h. */
3139+/* end confdefs.h. */
2809−if ac_fn_c_try_compile "$LINENO"; then :
2812− ac_c_werror_flag=$ac_save_c_werror_flag
2814− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815−/* end confdefs.h. */
2825−if ac_fn_c_try_compile "$LINENO"; then :
2826− ac_cv_prog_cc_g=yes
2828−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833− ac_c_werror_flag=$ac_save_c_werror_flag
2835−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2836−$as_echo "$ac_cv_prog_cc_g" >&6; }
2837−if test "$ac_test_CFLAGS" = set; then
2838− CFLAGS=$ac_save_CFLAGS
2839−elif test $ac_cv_prog_cc_g = yes; then
2840− if test "$GCC" = yes; then
2846− if test "$GCC" = yes; then
2852−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2853−$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2854−if ${ac_cv_prog_cc_c89+:} false; then :
2855− $as_echo_n "(cached) " >&6
2857− ac_cv_prog_cc_c89=no
2859−cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860−/* end confdefs.h. */
2864−/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2865−struct buf { int x; };
2866−FILE * (*rcsopen) (struct buf *, struct stat *, int);
2867−static char *e (p, i)
2873−static char *f (char * (*g) (char **, int), char **p, ...)
2878− s = g (p, va_arg (v,int));
2883−/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2884− function prototypes and stuff, but not '\xHH' hex character constants.
2885− These don't provoke an error unfortunately, instead are silently treated
2886− as 'x'. The following induces an error, until -std is added to get
2887− proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2888− array size at least. It's necessary to write '\x00'==0 to get something
2889− that's true only with -std. */
2890−int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2892−/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2893− inside strings and character constants. */
2895−int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2897−int test (int i, double x);
2898−struct s1 {int (*f) (int a);};
2899−struct s2 {int (*f) (double a);};
2900−int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2906−return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2911−for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2912− -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2914− CC="$ac_save_CC $ac_arg"
2915− if ac_fn_c_try_compile "$LINENO"; then :
2916− ac_cv_prog_cc_c89=$ac_arg
2918−rm -f core conftest.err conftest.$ac_objext
2919− test "x$ac_cv_prog_cc_c89" != "xno" && break
2921−rm -f conftest.$ac_ext
2926−case "x$ac_cv_prog_cc_c89" in
2928− { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2929−$as_echo "none needed" >&6; } ;;
2931− { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2932−$as_echo "unsupported" >&6; } ;;
2934− CC="$CC $ac_cv_prog_cc_c89"
2935− { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2936−$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2938−if test "x$ac_cv_prog_cc_c89" != xno; then :
2943−ac_cpp='$CPP $CPPFLAGS'
2944−ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945−ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946−ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949−ac_fn_c_check_decl "$LINENO" "IN_MASK_CREATE" "ac_cv_have_decl_IN_MASK_CREATE" "#include <sys/inotify.h>
2951−if test "x$ac_cv_have_decl_IN_MASK_CREATE" = xyes; then :
2957−cat >>confdefs.h <<_ACEOF
2958−#define HAVE_DECL_IN_MASK_CREATE $ac_have_decl
2961−ac_fn_c_check_decl "$LINENO" "IN_EXCL_UNLINK" "ac_cv_have_decl_IN_EXCL_UNLINK" "#include <sys/inotify.h>
2963−if test "x$ac_cv_have_decl_IN_EXCL_UNLINK" = xyes; then :
2969−cat >>confdefs.h <<_ACEOF
2970−#define HAVE_DECL_IN_EXCL_UNLINK $ac_have_decl
2974−# XXX Do this only for macOS
2975−ac_fn_c_check_decl "$LINENO" "kFSEventStreamCreateFlagFileEvents" "ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" "#include <CoreServices/CoreServices.h>
2977−if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" = xyes; then :
2983−cat >>confdefs.h <<_ACEOF
2984−#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS $ac_have_decl
2987−ac_fn_c_check_decl "$LINENO" "kFSEventStreamCreateFlagFullHistory" "ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" "#include <CoreServices/CoreServices.h>
2989−if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" = xyes; then :
2995−cat >>confdefs.h <<_ACEOF
2996−#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFULLHISTORY $ac_have_decl
2999−ac_fn_c_check_decl "$LINENO" "kFSEventStreamEventFlagItemCloned" "ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" "#include <CoreServices/CoreServices.h>
3001−if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" = xyes; then :
3007−cat >>confdefs.h <<_ACEOF
3008−#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMCLONED $ac_have_decl
3011−ac_fn_c_check_decl "$LINENO" "kFSEventStreamEventFlagItemIsHardlink" "ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" "#include <CoreServices/CoreServices.h>
3013−if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" = xyes; then :
3019−cat >>confdefs.h <<_ACEOF
3141+int
3020−#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMISHARDLINK $ac_have_decl
3142+main (void)
3149+if ac_fn_c_try_compile "$LINENO"
3024−# Check headers and functions required
3026−ac_cpp='$CPP $CPPFLAGS'
3027−ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028−ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029−ac_compiler_gnu=$ac_cv_c_compiler_gnu
3030−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3031−$as_echo_n "checking how to run the C preprocessor... " >&6; }
3032−# On Suns, sometimes $CPP names a directory.
3033−if test -n "$CPP" && test -d "$CPP"; then
3036−if test -z "$CPP"; then
3037− if ${ac_cv_prog_CPP+:} false; then :
3038− $as_echo_n "(cached) " >&6
3039−else
3152+else $as_nop
3040− # Double quotes because CPP needs to be expanded
3153+ ac_c_werror_flag=$ac_save_c_werror_flag
3041− for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3154+ CFLAGS="-g"
3043− ac_preproc_ok=false
3044−for ac_c_preproc_warn_flag in '' yes
3046− # Use a header file that comes with gcc, so configuring glibc
3047− # with a fresh cross-compiler works.
3048− # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3049− # <limits.h> exists even on freestanding compilers.
3050− # On the NeXT, cc -E runs the code through the compiler's parser,
3051− # not just through cpp. "Syntax error" is here to catch this case.
3052− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053/* end confdefs.h. */
3156/* end confdefs.h. */
3055−# include <limits.h>
3057−# include <assert.h>
3061−if ac_fn_c_try_cpp "$LINENO"; then :
3064− # Broken: fails on valid input.
3159+main (void)
3067−rm -f conftest.err conftest.i conftest.$ac_ext
3069− # OK, works on sane cases. Now check whether nonexistent headers
3162+ ;
3070− # can be detected and how.
3163+ return 0;
3071− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164+}
3072−/* end confdefs.h. */
3073−#include <ac_nonexistent.h>
3075−if ac_fn_c_try_cpp "$LINENO"; then :
3166+if ac_fn_c_try_compile "$LINENO"
3076− # Broken: success on invalid input.
3167+then :
3077−continue
3168+ ac_cv_prog_cc_g=yes
3079− # Passes both tests.
3083−rm -f conftest.err conftest.i conftest.$ac_ext
3170+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086−# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3087−rm -f conftest.i conftest.err conftest.$ac_ext
3088−if $ac_preproc_ok; then :
3091−
3172+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3093− ac_cv_prog_CPP=$CPP
3174+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3094−
3175+ ac_c_werror_flag=$ac_save_c_werror_flag
3096− CPP=$ac_cv_prog_CPP
3177+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3178+printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3179+if test $ac_test_CFLAGS; then
3180+ CFLAGS=$ac_save_CFLAGS
3181+elif test $ac_cv_prog_cc_g = yes; then
3182+ if test "$GCC" = yes; then
3098− ac_cv_prog_CPP=$CPP
3188+ if test "$GCC" = yes; then
3195+if test x$ac_prog_cc_stdc = xno
3100−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3197+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3101−$as_echo "$CPP" >&6; }
3198+printf %s "checking for $CC option to enable C11 features... " >&6; }
3102−ac_preproc_ok=false
3199+if test ${ac_cv_prog_cc_c11+y}
3103−for ac_c_preproc_warn_flag in '' yes
3200+then :
3104−do
3201+ printf %s "(cached) " >&6
3105− # Use a header file that comes with gcc, so configuring glibc
3202+else $as_nop
3106− # with a fresh cross-compiler works.
3203+ ac_cv_prog_cc_c11=no
3107− # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3204+ac_save_CC=$CC
3108− # <limits.h> exists even on freestanding compilers.
3109− # On the NeXT, cc -E runs the code through the compiler's parser,
3110− # not just through cpp. "Syntax error" is here to catch this case.
3111− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112/* end confdefs.h. */
3206/* end confdefs.h. */
3113−#ifdef __STDC__
3207+$ac_c_conftest_c11_program
3114−# include <limits.h>
3116−# include <assert.h>
3120−if ac_fn_c_try_cpp "$LINENO"; then :
3209+for ac_arg in '' -std=gnu11
3122−else
3211+ CC="$ac_save_CC $ac_arg"
3123− # Broken: fails on valid input.
3212+ if ac_fn_c_try_compile "$LINENO"
3214+ ac_cv_prog_cc_c11=$ac_arg
3216+rm -f core conftest.err conftest.$ac_objext conftest.beam
3217+ test "x$ac_cv_prog_cc_c11" != "xno" && break
3219+rm -f conftest.$ac_ext
3126−rm -f conftest.err conftest.i conftest.$ac_ext
3128− # OK, works on sane cases. Now check whether nonexistent headers
3223+if test "x$ac_cv_prog_cc_c11" = xno
3129− # can be detected and how.
3224+then :
3225+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3226+printf "%s\n" "unsupported" >&6; }
3228+ if test "x$ac_cv_prog_cc_c11" = x
3230+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3231+printf "%s\n" "none needed" >&6; }
3233+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3234+printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3235+ CC="$CC $ac_cv_prog_cc_c11"
3237+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3238+ ac_prog_cc_stdc=c11
3241+if test x$ac_prog_cc_stdc = xno
3243+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3244+printf %s "checking for $CC option to enable C99 features... " >&6; }
3245+if test ${ac_cv_prog_cc_c99+y}
3247+ printf %s "(cached) " >&6
3249+ ac_cv_prog_cc_c99=no
3130− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131/* end confdefs.h. */
3252/* end confdefs.h. */
3132−#include <ac_nonexistent.h>
3253+$ac_c_conftest_c99_program
3134−if ac_fn_c_try_cpp "$LINENO"; then :
3255+for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3135− # Broken: success on invalid input.
3256+do
3136−continue
3257+ CC="$ac_save_CC $ac_arg"
3137−else
3258+ if ac_fn_c_try_compile "$LINENO"
3138− # Passes both tests.
3259+then :
3139−ac_preproc_ok=:
3260+ ac_cv_prog_cc_c99=$ac_arg
3262+rm -f core conftest.err conftest.$ac_objext conftest.beam
3263+ test "x$ac_cv_prog_cc_c99" != "xno" && break
3265+rm -f conftest.$ac_ext
3142−rm -f conftest.err conftest.i conftest.$ac_ext
3269+if test "x$ac_cv_prog_cc_c99" = xno
3271+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3272+printf "%s\n" "unsupported" >&6; }
3274+ if test "x$ac_cv_prog_cc_c99" = x
3276+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3277+printf "%s\n" "none needed" >&6; }
3279+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3280+printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3281+ CC="$CC $ac_cv_prog_cc_c99"
3283+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3284+ ac_prog_cc_stdc=c99
3287+if test x$ac_prog_cc_stdc = xno
3289+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3290+printf %s "checking for $CC option to enable C89 features... " >&6; }
3291+if test ${ac_cv_prog_cc_c89+y}
3293+ printf %s "(cached) " >&6
3295+ ac_cv_prog_cc_c89=no
3297+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298+/* end confdefs.h. */
3299+$ac_c_conftest_c89_program
3301+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3303+ CC="$ac_save_CC $ac_arg"
3304+ if ac_fn_c_try_compile "$LINENO"
3306+ ac_cv_prog_cc_c89=$ac_arg
3308+rm -f core conftest.err conftest.$ac_objext conftest.beam
3309+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3145−# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146−rm -f conftest.i conftest.err conftest.$ac_ext
3311+rm -f conftest.$ac_ext
3147−if $ac_preproc_ok; then :
3312+CC=$ac_save_CC
3149−else
3315+if test "x$ac_cv_prog_cc_c89" = xno
3150− { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3151−$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318+printf "%s\n" "unsupported" >&6; }
3152−as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3319+else $as_nop
3153−See \`config.log' for more details" "$LINENO" 5; }
3320+ if test "x$ac_cv_prog_cc_c89" = x
3322+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3323+printf "%s\n" "none needed" >&6; }
3325+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3326+printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3327+ CC="$CC $ac_cv_prog_cc_c89"
3329+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3330+ ac_prog_cc_stdc=c89
@@ -3160,287 +3338,192 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3160ac_compiler_gnu=$ac_cv_c_compiler_gnu
3338ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3341+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
3164−$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3342+printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
3165−if ${ac_cv_path_GREP+:} false; then :
3343+if test ${ac_cv_c_undeclared_builtin_options+y}
3166− $as_echo_n "(cached) " >&6
3345+ printf %s "(cached) " >&6
3167−else
3346+else $as_nop
3168− if test -z "$GREP"; then
3347+ ac_save_CFLAGS=$CFLAGS
3169− ac_path_GREP_found=false
3348+ ac_cv_c_undeclared_builtin_options='cannot detect'
3170− # Loop through the user's path and test for each of PROGNAME-LIST
3349+ for ac_arg in '' -fno-builtin; do
3171− as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350+ CFLAGS="$ac_save_CFLAGS $ac_arg"
3172−for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3351+ # This test program should *not* compile successfully.
3173−do
3352+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174− IFS=$as_save_IFS
3353+/* end confdefs.h. */
3175− test -z "$as_dir" && as_dir=.
3176− for ac_prog in grep ggrep; do
3177− for ac_exec_ext in '' $ac_executable_extensions; do
3178− ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3179− as_fn_executable_p "$ac_path_GREP" || continue
3180−# Check for GNU ac_path_GREP and select it if it is found.
3181− # Check for GNU $ac_path_GREP
3182−case `"$ac_path_GREP" --version 2>&1` in
3184− ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3187− $as_echo_n 0123456789 >"conftest.in"
3190− cat "conftest.in" "conftest.in" >"conftest.tmp"
3191− mv "conftest.tmp" "conftest.in"
3192− cp "conftest.in" "conftest.nl"
3193− $as_echo 'GREP' >> "conftest.nl"
3194− "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3195− diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3196− as_fn_arith $ac_count + 1 && ac_count=$as_val
3197− if test $ac_count -gt ${ac_path_GREP_max-0}; then
3198− # Best one so far, save it but keep looking for a better one
3199− ac_cv_path_GREP="$ac_path_GREP"
3200− ac_path_GREP_max=$ac_count
3202− # 10*(2^10) chars as input seems more than enough
3203− test $ac_count -gt 10 && break
3205− rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3208− $ac_path_GREP_found && break 3
3213− if test -z "$ac_cv_path_GREP"; then
3214− as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3217− ac_cv_path_GREP=$GREP
3221−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3222−$as_echo "$ac_cv_path_GREP" >&6; }
3223− GREP="$ac_cv_path_GREP"
3226−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3227−$as_echo_n "checking for egrep... " >&6; }
3228−if ${ac_cv_path_EGREP+:} false; then :
3229− $as_echo_n "(cached) " >&6
3231− if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3232− then ac_cv_path_EGREP="$GREP -E"
3234− if test -z "$EGREP"; then
3235− ac_path_EGREP_found=false
3236− # Loop through the user's path and test for each of PROGNAME-LIST
3237− as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238−for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3241− test -z "$as_dir" && as_dir=.
3242− for ac_prog in egrep; do
3243− for ac_exec_ext in '' $ac_executable_extensions; do
3244− ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3245− as_fn_executable_p "$ac_path_EGREP" || continue
3246−# Check for GNU ac_path_EGREP and select it if it is found.
3247− # Check for GNU $ac_path_EGREP
3248−case `"$ac_path_EGREP" --version 2>&1` in
3250− ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3253− $as_echo_n 0123456789 >"conftest.in"
3256− cat "conftest.in" "conftest.in" >"conftest.tmp"
3257− mv "conftest.tmp" "conftest.in"
3258− cp "conftest.in" "conftest.nl"
3259− $as_echo 'EGREP' >> "conftest.nl"
3260− "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3261− diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3262− as_fn_arith $ac_count + 1 && ac_count=$as_val
3263− if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3264− # Best one so far, save it but keep looking for a better one
3265− ac_cv_path_EGREP="$ac_path_EGREP"
3266− ac_path_EGREP_max=$ac_count
3268− # 10*(2^10) chars as input seems more than enough
3269− test $ac_count -gt 10 && break
3271− rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3274− $ac_path_EGREP_found && break 3
3279− if test -z "$ac_cv_path_EGREP"; then
3280− as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3283− ac_cv_path_EGREP=$EGREP
3288−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3289−$as_echo "$ac_cv_path_EGREP" >&6; }
3290− EGREP="$ac_cv_path_EGREP"
3293−{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3355+int
3294−$as_echo_n "checking for ANSI C header files... " >&6; }
3356+main (void)
3295−if ${ac_cv_header_stdc+:} false; then :
3357+{
3296− $as_echo_n "(cached) " >&6
3358+(void) strchr;
3363+if ac_fn_c_try_compile "$LINENO"
3297−else
3366+else $as_nop
3367+ # This test program should compile successfully.
3368+ # No library function is consistently available on
3369+ # freestanding implementations, so test against a dummy
3370+ # declaration. Include always-available headers on the
3371+ # off chance that they somehow elicit warnings.
3298− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299/* end confdefs.h. */
3373/* end confdefs.h. */
3303#include <float.h>
3374#include <float.h>
3378+extern void ac_decl (int, char *);
3306−main ()
3381+main (void)
3383+(void) ac_decl (0, (char *) 0);
3310 return 0;
3387 return 0;
3313−if ac_fn_c_try_compile "$LINENO"; then :
3390+if ac_fn_c_try_compile "$LINENO"
3314− ac_cv_header_stdc=yes
3391+then :
3392+ if test x"$ac_arg" = x
3394+ ac_cv_c_undeclared_builtin_options='none needed'
3315−else
3395+else $as_nop
3316− ac_cv_header_stdc=no
3396+ ac_cv_c_undeclared_builtin_options=$ac_arg
3318−rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398+ break
3320−if test $ac_cv_header_stdc = yes; then
3400+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3321− # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3401+fi
3322− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3323−/* end confdefs.h. */
3403+ done
3324−#include <string.h>
3404+ CFLAGS=$ac_save_CFLAGS
3327−if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3407+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
3328− $EGREP "memchr" >/dev/null 2>&1; then :
3408+printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
3409+ case $ac_cv_c_undeclared_builtin_options in #(
3411+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3413+as_fn_error $? "cannot make $CC report undeclared builtins
3414+See \`config.log' for more details" "$LINENO" 5; } ;; #(
3416+ ac_c_undeclared_builtin_options='' ;; #(
3418+ ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
3330−else
3421+ac_fn_check_decl "$LINENO" "IN_MASK_CREATE" "ac_cv_have_decl_IN_MASK_CREATE" "#include <sys/inotify.h>
3331− ac_cv_header_stdc=no
3422+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3423+if test "x$ac_cv_have_decl_IN_MASK_CREATE" = xyes
3333−rm -f conftest*
3429+printf "%s\n" "#define HAVE_DECL_IN_MASK_CREATE $ac_have_decl" >>confdefs.h
3431+ac_fn_check_decl "$LINENO" "IN_EXCL_UNLINK" "ac_cv_have_decl_IN_EXCL_UNLINK" "#include <sys/inotify.h>
3432+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3433+if test "x$ac_cv_have_decl_IN_EXCL_UNLINK" = xyes
3439+printf "%s\n" "#define HAVE_DECL_IN_EXCL_UNLINK $ac_have_decl" >>confdefs.h
3337−if test $ac_cv_header_stdc = yes; then
3338− # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3339− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340−/* end confdefs.h. */
3343−_ACEOF
3442+# XXX Do this only for macOS
3344−if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3443+ac_fn_check_decl "$LINENO" "kFSEventStreamCreateFlagFileEvents" "ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" "#include <CoreServices/CoreServices.h>
3345− $EGREP "free" >/dev/null 2>&1; then :
3444+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3445+if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" = xyes
3451+printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS $ac_have_decl" >>confdefs.h
3347−else
3453+ac_fn_check_decl "$LINENO" "kFSEventStreamCreateFlagFullHistory" "ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" "#include <CoreServices/CoreServices.h>
3348− ac_cv_header_stdc=no
3454+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3455+if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" = xyes
3350−rm -f conftest*
3461+printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFULLHISTORY $ac_have_decl" >>confdefs.h
3463+ac_fn_check_decl "$LINENO" "kFSEventStreamEventFlagItemCloned" "ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" "#include <CoreServices/CoreServices.h>
3464+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3465+if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" = xyes
3471+printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMCLONED $ac_have_decl" >>confdefs.h
3354−if test $ac_cv_header_stdc = yes; then
3473+ac_fn_check_decl "$LINENO" "kFSEventStreamEventFlagItemIsHardlink" "ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" "#include <CoreServices/CoreServices.h>
3355− # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3474+" "$ac_c_undeclared_builtin_options" "CFLAGS"
3356− if test "$cross_compiling" = yes; then :
3475+if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" = xyes
3358−else
3477+ ac_have_decl=1
3359− cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478+else $as_nop
3360−/* end confdefs.h. */
3479+ ac_have_decl=0
3361−#include <ctype.h>
3480+fi
3362−#include <stdlib.h>
3481+printf "%s\n" "#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMISHARDLINK $ac_have_decl" >>confdefs.h
3363−#if ((' ' & 0x0FF) == 0x020)
3364−# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3365−# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3367−# define ISLOWER(c) \
3368− (('a' <= (c) && (c) <= 'i') \
3369− || ('j' <= (c) && (c) <= 'r') \
3370− || ('s' <= (c) && (c) <= 'z'))
3371−# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3374−#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3379− for (i = 0; i < 256; i++)
3380− if (XOR (islower (i), ISLOWER (i))
3381− || toupper (i) != TOUPPER (i))
3386−if ac_fn_c_try_run "$LINENO"; then :
3388−else
3484+# Check headers and functions required
3389− ac_cv_header_stdc=no
3485+ac_header= ac_cache=
3390−fi
3486+for ac_item in $ac_header_c_list
3391−rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3487+do
3392− conftest.$ac_objext conftest.beam conftest.$ac_ext
3488+ if test $ac_cache; then
3393−fi
3489+ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3490+ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3491+ printf "%s\n" "#define $ac_item 1" >> confdefs.h
3493+ ac_header= ac_cache=
3494+ elif test $ac_header; then
3397−{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3398−$as_echo "$ac_cv_header_stdc" >&6; }
3399−if test $ac_cv_header_stdc = yes; then
3401−$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3405−# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3406−for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3407− inttypes.h stdint.h unistd.h
3409− as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3410−ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3412−if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3413− cat >>confdefs.h <<_ACEOF
3414−#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3422−for ac_header in time.h
3508+if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3424− ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3510+
3425−if test "x$ac_cv_header_time_h" = xyes; then :
3511+printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3426− cat >>confdefs.h <<_ACEOF
3427−#define HAVE_TIME_H 1
3514+ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3515+if test "x$ac_cv_header_time_h" = xyes
3517+ printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
3434−for ac_func in clock_gettime
3521+ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3435−do :
3522+if test "x$ac_cv_func_clock_gettime" = xyes
3436− ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3523+then :
3437−if test "x$ac_cv_func_clock_gettime" = xyes; then :
3524+ printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
3438− cat >>confdefs.h <<_ACEOF
3439−#define HAVE_CLOCK_GETTIME 1
@@ -3473,8 +3556,8 @@ _ACEOF
3473 case $ac_val in #(
3556 case $ac_val in #(
3474 *${as_nl}*)
3557 *${as_nl}*)
3475 case $ac_var in #(
3558 case $ac_var in #(
3476− *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3559+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3477−$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3560+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3479 case $ac_var in #(
3562 case $ac_var in #(
3480 _ | IFS | as_nl) ;; #(
3563 _ | IFS | as_nl) ;; #(
@@ -3504,15 +3587,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3504 /^ac_cv_env_/b end
3587 /^ac_cv_env_/b end
3507− s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3590+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3510 :end' >>confcache
3593 :end' >>confcache
3511if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3594if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3512 if test -w "$cache_file"; then
3595 if test -w "$cache_file"; then
3513 if test "x$cache_file" != "x/dev/null"; then
3596 if test "x$cache_file" != "x/dev/null"; then
3514− { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3597+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3515−$as_echo "$as_me: updating cache $cache_file" >&6;}
3598+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3516 if test ! -f "$cache_file" || test -h "$cache_file"; then
3599 if test ! -f "$cache_file" || test -h "$cache_file"; then
3517 cat confcache >"$cache_file"
3600 cat confcache >"$cache_file"
@@ -3526,8 +3609,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;}
3529− { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3612+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3530−$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3613+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3533rm -f confcache
3616rm -f confcache
@@ -3544,7 +3627,7 @@ U=
3544for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3627for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3545 # 1. Remove the extension, and $U if already installed.
3628 # 1. Remove the extension, and $U if already installed.
3546 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3629 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3547− ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3630+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3548 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3631 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3549 # will be set to the directory where LIBOBJS objects are built.
3632 # will be set to the directory where LIBOBJS objects are built.
3550 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3633 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
@@ -3560,8 +3643,8 @@ LTLIBOBJS=$ac_ltlibobjs
3560ac_write_fail=0
3643ac_write_fail=0
3561ac_clean_files_save=$ac_clean_files
3644ac_clean_files_save=$ac_clean_files
3562ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3645ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3563−{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3646+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3564−$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3647+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3565as_write_fail=0
3648as_write_fail=0
3566cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3649cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3567#! $SHELL
3650#! $SHELL
@@ -3584,14 +3667,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3585# Be more Bourne compatible
3668# Be more Bourne compatible
3586DUALCASE=1; export DUALCASE # for MKS sh
3669DUALCASE=1; export DUALCASE # for MKS sh
3587−if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3670+as_nop=:
3671+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3588 emulate sh
3673 emulate sh
3589 NULLCMD=:
3674 NULLCMD=:
3590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3591 # is contrary to our usage. Disable this feature.
3676 # is contrary to our usage. Disable this feature.
3592 alias -g '${1+"$@"}'='"$@"'
3677 alias -g '${1+"$@"}'='"$@"'
3593 setopt NO_GLOB_SUBST
3678 setopt NO_GLOB_SUBST
3594−else
3679+else $as_nop
3595 case `(set -o) 2>/dev/null` in #(
3680 case `(set -o) 2>/dev/null` in #(
3596 *posix*) :
3681 *posix*) :
3597 set -o posix ;; #(
3682 set -o posix ;; #(
@@ -3601,46 +3686,46 @@ esac
3690+# Reset variables that may have inherited troublesome values from
3693+# IFS needs to be set, to space, tab, and newline, in precisely that order.
3694+# (If _AS_PATH_WALK were called with IFS unset, it would have the
3695+# side effect of setting IFS to empty, thus disabling word splitting.)
3696+# Quoting is to prevent editors from complaining about space-tab.
3606export as_nl
3699export as_nl
3607−# Printing a long string crashes Solaris 7 /usr/bin/printf.
3700+IFS=" "" $as_nl"
3608−as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3701+
3609−as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3702+PS1='$ '
3610−as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3703+PS2='> '
3611−# Prefer a ksh shell builtin over an external printf program on Solaris,
3704+PS4='+ '
3612−# but without wasting forks for bash or zsh.
3705+
3613−if test -z "$BASH_VERSION$ZSH_VERSION" \
3706+# Ensure predictable behavior from utilities with locale-dependent output.
3614− && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3707+LC_ALL=C
3615− as_echo='print -r --'
3708+export LC_ALL
3616− as_echo_n='print -rn --'
3709+LANGUAGE=C
3617−elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3710+export LANGUAGE
3618− as_echo='printf %s\n'
3711+
3619− as_echo_n='printf %s'
3712+# We cannot yet rely on "unset" to work, but we need these variables
3620−else
3713+# to be unset--not just set to an empty or harmless value--now, to
3621− if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3714+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3622− as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3715+# also avoids known problems related to "unset" and subshell syntax
3623− as_echo_n='/usr/ucb/echo -n'
3716+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3624− else
3717+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3625− as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3718+do eval test \${$as_var+y} \
3626− as_echo_n_body='eval
3719+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3628− case $arg in #(
3721+
3629− *"$as_nl"*)
3722+# Ensure that fds 0, 1, and 2 are open.
3630− expr "X$arg" : "X\\(.*\\)$as_nl";
3723+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3631− arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3724+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3632− esac;
3725+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3633− expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3635− export as_echo_n_body
3636− as_echo_n='sh -c $as_echo_n_body as_echo'
3638− export as_echo_body
3639− as_echo='sh -c $as_echo_body as_echo'
3642# The user is always right.
3727# The user is always right.
3643−if test "${PATH_SEPARATOR+set}" != set; then
3728+if ${PATH_SEPARATOR+false} :; then
3644 PATH_SEPARATOR=:
3729 PATH_SEPARATOR=:
3645 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3730 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3646 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3731 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -3649,13 +3734,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
3653−# We need space, tab and new line, in precisely that order. Quoting is
3654−# there to prevent editors from complaining about space-tab.
3655−# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3656−# splitting by setting IFS to empty value.)
3659# Find who we are. Look in the path if we contain no directory separator.
3737# Find who we are. Look in the path if we contain no directory separator.
3660as_myself=
3738as_myself=
3661case $0 in #((
3739case $0 in #((
@@ -3664,8 +3742,12 @@ case $0 in #((
3664for as_dir in $PATH
3742for as_dir in $PATH
3666 IFS=$as_save_IFS
3744 IFS=$as_save_IFS
3667− test -z "$as_dir" && as_dir=.
3745+ case $as_dir in #(((
3668− test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3746+ '') as_dir=./ ;;
3748+ *) as_dir=$as_dir/ ;;
3750+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3670IFS=$as_save_IFS
3752IFS=$as_save_IFS
@@ -3677,30 +3759,10 @@ if test "x$as_myself" = x; then
3677 as_myself=$0
3759 as_myself=$0
3679if test ! -f "$as_myself"; then
3761if test ! -f "$as_myself"; then
3680− $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3762+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3684−# Unset variables that we do not need and which cause bugs (e.g. in
3685−# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3686−# suppresses any "Segmentation fault" message there. '((' could
3687−# trigger a bug in pdksh 5.2.14.
3688−for as_var in BASH_ENV ENV MAIL MAILPATH
3689−do eval test x\${$as_var+set} = xset \
3690− && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3703−(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3706# as_fn_error STATUS ERROR [LINENO LOG_FD]
3768# as_fn_error STATUS ERROR [LINENO LOG_FD]
@@ -3713,13 +3775,14 @@ as_fn_error ()
3713 as_status=$1; test $as_status -eq 0 && as_status=1
3775 as_status=$1; test $as_status -eq 0 && as_status=1
3714 if test "$4"; then
3776 if test "$4"; then
3715 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3777 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3716− $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3778+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3718− $as_echo "$as_me: error: $2" >&2
3780+ printf "%s\n" "$as_me: error: $2" >&2
3719 as_fn_exit $as_status
3781 as_fn_exit $as_status
3720} # as_fn_error
3782} # as_fn_error
3723# as_fn_set_status STATUS
3786# as_fn_set_status STATUS
3724# -----------------------
3787# -----------------------
3725# Set $? to STATUS, without forking.
3788# Set $? to STATUS, without forking.
@@ -3746,18 +3809,20 @@ as_fn_unset ()
3746 { eval $1=; unset $1;}
3809 { eval $1=; unset $1;}
3748as_unset=as_fn_unset
3811as_unset=as_fn_unset
3749# as_fn_append VAR VALUE
3813# as_fn_append VAR VALUE
3750# ----------------------
3814# ----------------------
3751# Append the text in VALUE to the end of the definition contained in VAR. Take
3815# Append the text in VALUE to the end of the definition contained in VAR. Take
3752# advantage of any shell optimizations that allow amortized linear growth over
3816# advantage of any shell optimizations that allow amortized linear growth over
3753# repeated appends, instead of the typical quadratic growth present in naive
3817# repeated appends, instead of the typical quadratic growth present in naive
3754# implementations.
3818# implementations.
3755−if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3819+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3756 eval 'as_fn_append ()
3821 eval 'as_fn_append ()
3758 eval $1+=\$2
3823 eval $1+=\$2
3760−else
3825+else $as_nop
3761 as_fn_append ()
3826 as_fn_append ()
3763 eval $1=\$$1\$2
3828 eval $1=\$$1\$2
@@ -3769,12 +3834,13 @@ fi # as_fn_append
3769# Perform arithmetic evaluation on the ARGs, and store the result in the
3834# Perform arithmetic evaluation on the ARGs, and store the result in the
3770# global $as_val. Take advantage of shells that can avoid forks. The arguments
3835# global $as_val. Take advantage of shells that can avoid forks. The arguments
3771# must be portable across $(()) and expr.
3836# must be portable across $(()) and expr.
3772−if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3837+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3773 eval 'as_fn_arith ()
3839 eval 'as_fn_arith ()
3775 as_val=$(( $* ))
3841 as_val=$(( $* ))
3777−else
3843+else $as_nop
3778 as_fn_arith ()
3844 as_fn_arith ()
3780 as_val=`expr "$@" || test $? -eq 1`
3846 as_val=`expr "$@" || test $? -eq 1`
@@ -3805,7 +3871,7 @@ as_me=`$as_basename -- "$0" ||
3805$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3871$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3806 X"$0" : 'X\(//\)$' \| \
3872 X"$0" : 'X\(//\)$' \| \
3807 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3873 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3808−$as_echo X/"$0" |
3874+printf "%s\n" X/"$0" |
3809 sed '/^.*\/\([^/][^/]*\)\/*$/{
3875 sed '/^.*\/\([^/][^/]*\)\/*$/{
@@ -3827,6 +3893,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3827as_cr_digits='0123456789'
3893as_cr_digits='0123456789'
3828as_cr_alnum=$as_cr_Letters$as_cr_digits
3894as_cr_alnum=$as_cr_Letters$as_cr_digits
3897+# Determine whether it's possible to make 'echo' print without a newline.
3898+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3899+# for compatibility with existing Makefiles.
3830ECHO_C= ECHO_N= ECHO_T=
3900ECHO_C= ECHO_N= ECHO_T=
3831case `echo -n x` in #(((((
3901case `echo -n x` in #(((((
@@ -3840,6 +3910,12 @@ case `echo -n x` in #(((((
3840 ECHO_N='-n';;
3910 ECHO_N='-n';;
3913+# For backward compatibility with old third-party macros, we provide
3914+# the shell variables $as_echo and $as_echo_n. New code should use
3915+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3916+as_echo='printf %s\n'
3917+as_echo_n='printf %s'
3843rm -f conf$$ conf$$.exe conf$$.file
3919rm -f conf$$ conf$$.exe conf$$.file
3844if test -d conf$$.dir; then
3920if test -d conf$$.dir; then
3845 rm -f conf$$.dir/conf$$.file
3921 rm -f conf$$.dir/conf$$.file
@@ -3881,7 +3957,7 @@ as_fn_mkdir_p ()
3881 as_dirs=
3957 as_dirs=
3882 while :; do
3958 while :; do
3883 case $as_dir in #(
3959 case $as_dir in #(
3884− *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3960+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3885 *) as_qdir=$as_dir;;
3961 *) as_qdir=$as_dir;;
3887 as_dirs="'$as_qdir' $as_dirs"
3963 as_dirs="'$as_qdir' $as_dirs"
@@ -3890,7 +3966,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3890 X"$as_dir" : 'X\(//\)[^/]' \| \
3966 X"$as_dir" : 'X\(//\)[^/]' \| \
3891 X"$as_dir" : 'X\(//\)$' \| \
3967 X"$as_dir" : 'X\(//\)$' \| \
3892 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3968 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3893−$as_echo X"$as_dir" |
3969+printf "%s\n" X"$as_dir" |
3894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
@@ -3952,8 +4028,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3952# report actual input values of CONFIG_FILES etc. instead of their
4028# report actual input values of CONFIG_FILES etc. instead of their
3953# values after options handling.
4029# values after options handling.
3955−This file was extended by streamly $as_me 0.7.2, which was
4031+This file was extended by streamly $as_me 0.8.0, which was
3956−generated by GNU Autoconf 2.69. Invocation command line was
4032+generated by GNU Autoconf 2.71. Invocation command line was
3958 CONFIG_FILES = $CONFIG_FILES
4034 CONFIG_FILES = $CONFIG_FILES
3959 CONFIG_HEADERS = $CONFIG_HEADERS
4035 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -3999,17 +4075,20 @@ Usage: $0 [OPTION]... [TAG]...
3999Configuration headers:
4075Configuration headers:
4000$config_headers
4076$config_headers
4002−Report bugs to <streamly@composewell.com>."
4078+Report bugs to <streamly@composewell.com>.
4079+streamly home page: <https://streamly.composewell.com>."
4082+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4083+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4006−ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4085+ac_cs_config='$ac_cs_config_escaped'
4007ac_cs_version="\\
4086ac_cs_version="\\
4008−streamly config.status 0.7.2
4087+streamly config.status 0.8.0
4009−configured by $0, generated by GNU Autoconf 2.69,
4088+configured by $0, generated by GNU Autoconf 2.71,
4010 with options \\"\$ac_cs_config\\"
4089 with options \\"\$ac_cs_config\\"
4012−Copyright (C) 2012 Free Software Foundation, Inc.
4091+Copyright (C) 2021 Free Software Foundation, Inc.
4013This config.status script is free software; the Free Software Foundation
4092This config.status script is free software; the Free Software Foundation
4014gives unlimited permission to copy, distribute and modify it."
4093gives unlimited permission to copy, distribute and modify it."
@@ -4046,15 +4125,15 @@ do
4046 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4125 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4047 ac_cs_recheck=: ;;
4126 ac_cs_recheck=: ;;
4048 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4127 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4049− $as_echo "$ac_cs_version"; exit ;;
4128+ printf "%s\n" "$ac_cs_version"; exit ;;
4050 --config | --confi | --conf | --con | --co | --c )
4129 --config | --confi | --conf | --con | --co | --c )
4051− $as_echo "$ac_cs_config"; exit ;;
4130+ printf "%s\n" "$ac_cs_config"; exit ;;
4052 --debug | --debu | --deb | --de | --d | -d )
4131 --debug | --debu | --deb | --de | --d | -d )
4053 debug=: ;;
4132 debug=: ;;
4054 --header | --heade | --head | --hea )
4133 --header | --heade | --head | --hea )
4055 $ac_shift
4134 $ac_shift
4056 case $ac_optarg in
4135 case $ac_optarg in
4057− *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4136+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4059 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4138 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4060 ac_need_defaults=false;;
4139 ac_need_defaults=false;;
@@ -4063,7 +4142,7 @@ do
4063 as_fn_error $? "ambiguous option: \`$1'
4142 as_fn_error $? "ambiguous option: \`$1'
4064Try \`$0 --help' for more information.";;
4143Try \`$0 --help' for more information.";;
4065 --help | --hel | -h )
4144 --help | --hel | -h )
4066− $as_echo "$ac_cs_usage"; exit ;;
4145+ printf "%s\n" "$ac_cs_usage"; exit ;;
4067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4068 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4147 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4069 ac_cs_silent=: ;;
4148 ac_cs_silent=: ;;
@@ -4091,7 +4170,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4091if \$ac_cs_recheck; then
4170if \$ac_cs_recheck; then
4092 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4171 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4094− \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4173+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4095 CONFIG_SHELL='$SHELL'
4174 CONFIG_SHELL='$SHELL'
4096 export CONFIG_SHELL
4175 export CONFIG_SHELL
4097 exec "\$@"
4176 exec "\$@"
@@ -4105,7 +4184,7 @@ exec 5>>config.log
4105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4106## Running $as_me. ##
4185## Running $as_me. ##
4108− $as_echo "$ac_log"
4187+ printf "%s\n" "$ac_log"
@@ -4130,7 +4209,7 @@ done
4130# We use the long form for the default assignment because of an extremely
4209# We use the long form for the default assignment because of an extremely
4131# bizarre bug on SunOS 4.1.3.
4210# bizarre bug on SunOS 4.1.3.
4132if $ac_need_defaults; then
4211if $ac_need_defaults; then
4133− test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4212+ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4136# Have a temporary directory for convenience. Make it in the build tree
4215# Have a temporary directory for convenience. Make it in the build tree
@@ -4308,7 +4387,7 @@ do
4309 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4388 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4311− case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4390+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4312 as_fn_append ac_file_inputs " '$ac_f'"
4391 as_fn_append ac_file_inputs " '$ac_f'"
@@ -4316,17 +4395,17 @@ do
4316 # use $as_me), people would be surprised to read:
4395 # use $as_me), people would be surprised to read:
4317 # /* config.h. Generated by config.status. */
4396 # /* config.h. Generated by config.status. */
4318 configure_input='Generated from '`
4397 configure_input='Generated from '`
4319− $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4398+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4320 `' by configure.'
4399 `' by configure.'
4321 if test x"$ac_file" != x-; then
4400 if test x"$ac_file" != x-; then
4322 configure_input="$ac_file. $configure_input"
4401 configure_input="$ac_file. $configure_input"
4323− { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4402+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4324−$as_echo "$as_me: creating $ac_file" >&6;}
4403+printf "%s\n" "$as_me: creating $ac_file" >&6;}
4326 # Neutralize special characters interpreted by sed in replacement strings.
4405 # Neutralize special characters interpreted by sed in replacement strings.
4327 case $configure_input in #(
4406 case $configure_input in #(
4328 *\&* | *\|* | *\\* )
4407 *\&* | *\|* | *\\* )
4329− ac_sed_conf_input=`$as_echo "$configure_input" |
4408+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4330 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4409 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4331 *) ac_sed_conf_input=$configure_input;;
4410 *) ac_sed_conf_input=$configure_input;;
@@ -4343,7 +4422,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4343 X"$ac_file" : 'X\(//\)[^/]' \| \
4422 X"$ac_file" : 'X\(//\)[^/]' \| \
4344 X"$ac_file" : 'X\(//\)$' \| \
4423 X"$ac_file" : 'X\(//\)$' \| \
4345 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4346−$as_echo X"$ac_file" |
4425+printf "%s\n" X"$ac_file" |
4347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
@@ -4367,9 +4446,9 @@ $as_echo X"$ac_file" |
4367case "$ac_dir" in
4446case "$ac_dir" in
4368.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4447.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4370− ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4449+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4371 # A ".." for each directory in $ac_dir_suffix.
4450 # A ".." for each directory in $ac_dir_suffix.
4372− ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4451+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4373 case $ac_top_builddir_sub in
4452 case $ac_top_builddir_sub in
4374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -4405,20 +4484,20 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4406 if test x"$ac_file" != x-; then
4485 if test x"$ac_file" != x-; then
4408− $as_echo "/* $configure_input */" \
4487+ printf "%s\n" "/* $configure_input */" >&1 \
4409 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4488 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4410 } >"$ac_tmp/config.h" \
4489 } >"$ac_tmp/config.h" \
4411 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4412 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4491 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4413− { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4492+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4414−$as_echo "$as_me: $ac_file is unchanged" >&6;}
4493+printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4416 rm -f "$ac_file"
4495 rm -f "$ac_file"
4417 mv "$ac_tmp/config.h" "$ac_file" \
4496 mv "$ac_tmp/config.h" "$ac_file" \
4418 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4421− $as_echo "/* $configure_input */" \
4500+ printf "%s\n" "/* $configure_input */" >&1 \
4422 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4501 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4423 || as_fn_error $? "could not create -" "$LINENO" 5
4502 || as_fn_error $? "could not create -" "$LINENO" 5
@@ -4459,7 +4538,8 @@ if test "$no_create" != yes; then
4459 $ac_cs_success || as_fn_exit 1
4538 $ac_cs_success || as_fn_exit 1
4461if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4540if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4462− { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4541+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4463−$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4542+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}