ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure
(Generate patch)

Comparing Convert-UUlib/uulib/configure (file contents):
Revision 1.13 by root, Sat Dec 12 03:54:59 2020 UTC vs.
Revision 1.14 by root, Sat Sep 24 06:22:47 2022 UTC

1#! /bin/sh 1#! /bin/sh
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. 3# Generated by GNU Autoconf 2.71.
4# 4#
5# 5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 6# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7# Inc.
7# 8#
8# 9#
9# This configure script is free software; the Free Software Foundation 10# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it. 11# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ## 12## -------------------- ##
12## M4sh Initialization. ## 13## M4sh Initialization. ##
13## -------------------- ## 14## -------------------- ##
14 15
15# Be more Bourne compatible 16# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh 17DUALCASE=1; export DUALCASE # for MKS sh
18as_nop=:
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20then :
18 emulate sh 21 emulate sh
19 NULLCMD=: 22 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature. 24 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"' 25 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST 26 setopt NO_GLOB_SUBST
24else 27else $as_nop
25 case `(set -o) 2>/dev/null` in #( 28 case `(set -o) 2>/dev/null` in #(
26 *posix*) : 29 *posix*) :
27 set -o posix ;; #( 30 set -o posix ;; #(
28 *) : 31 *) :
29 ;; 32 ;;
30esac 33esac
31fi 34fi
32 35
33 36
37
38# Reset variables that may have inherited troublesome values from
39# the environment.
40
41# IFS needs to be set, to space, tab, and newline, in precisely that order.
42# (If _AS_PATH_WALK were called with IFS unset, it would have the
43# side effect of setting IFS to empty, thus disabling word splitting.)
44# Quoting is to prevent editors from complaining about space-tab.
34as_nl=' 45as_nl='
35' 46'
36export as_nl 47export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf. 48IFS=" "" $as_nl"
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 49
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50PS1='$ '
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 51PS2='> '
41# Prefer a ksh shell builtin over an external printf program on Solaris, 52PS4='+ '
42# but without wasting forks for bash or zsh. 53
43if test -z "$BASH_VERSION$ZSH_VERSION" \ 54# Ensure predictable behavior from utilities with locale-dependent output.
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 55LC_ALL=C
45 as_echo='print -r --' 56export LC_ALL
46 as_echo_n='print -rn --' 57LANGUAGE=C
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 58export LANGUAGE
48 as_echo='printf %s\n' 59
49 as_echo_n='printf %s' 60# We cannot yet rely on "unset" to work, but we need these variables
50else 61# to be unset--not just set to an empty or harmless value--now, to
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 62# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 63# also avoids known problems related to "unset" and subshell syntax
53 as_echo_n='/usr/ucb/echo -n' 64# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
54 else 65for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 66do eval test \${$as_var+y} \
56 as_echo_n_body='eval 67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
57 arg=$1; 68done
58 case $arg in #( 69
59 *"$as_nl"*) 70# Ensure that fds 0, 1, and 2 are open.
60 expr "X$arg" : "X\\(.*\\)$as_nl"; 71if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 72if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
62 esac; 73if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71 74
72# The user is always right. 75# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then 76if ${PATH_SEPARATOR+false} :; then
74 PATH_SEPARATOR=: 77 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';' 80 PATH_SEPARATOR=';'
78 } 81 }
79fi 82fi
80 83
81
82# IFS
83# We need space, tab and new line, in precisely that order. Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" "" $as_nl"
88 84
89# Find who we are. Look in the path if we contain no directory separator. 85# Find who we are. Look in the path if we contain no directory separator.
90as_myself= 86as_myself=
91case $0 in #(( 87case $0 in #((
92 *[\\/]* ) as_myself=$0 ;; 88 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH 90for as_dir in $PATH
95do 91do
96 IFS=$as_save_IFS 92 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=. 93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done 99 done
100IFS=$as_save_IFS 100IFS=$as_save_IFS
101 101
102 ;; 102 ;;
103esac 103esac
105# in which case we are not to be found in the path. 105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then 106if test "x$as_myself" = x; then
107 as_myself=$0 107 as_myself=$0
108fi 108fi
109if test ! -f "$as_myself"; then 109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1 111 exit 1
112fi 112fi
113 113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 114
135# Use a proper internal environment variable to ensure we don't fall 115# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves. 116 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec; 118 _as_can_reexec=no; export _as_can_reexec;
150 * ) as_opts= ;; 130 * ) as_opts= ;;
151esac 131esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 132exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail 133# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'. 134# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 135printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255 136exit 255
157 fi 137 fi
158 # We don't want this to propagate to other subprocesses. 138 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;} 139 { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then 140if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 as_bourne_compatible="as_nop=:
142if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143then :
162 emulate sh 144 emulate sh
163 NULLCMD=: 145 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature. 147 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST 149 setopt NO_GLOB_SUBST
168else 150else \$as_nop
169 case \`(set -o) 2>/dev/null\` in #( 151 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) : 152 *posix*) :
171 set -o posix ;; #( 153 set -o posix ;; #(
172 *) : 154 *) :
173 ;; 155 ;;
183exitcode=0 165exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 166as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 167as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 168as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 169as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 170if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171then :
189 172
190else 173else \$as_nop
191 exitcode=1; echo positional parameters were not saved. 174 exitcode=1; echo positional parameters were not saved.
192fi 175fi
193test x\$exitcode = x0 || exit 1 176test x\$exitcode = x0 || exit 1
177blah=\$(echo \$(echo blah))
178test x\"\$blah\" = xblah || exit 1
194test -x / || exit 1" 179test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1" 184test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then : 185 if (eval "$as_required") 2>/dev/null
186then :
201 as_have_required=yes 187 as_have_required=yes
202else 188else $as_nop
203 as_have_required=no 189 as_have_required=no
204fi 190fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192then :
206 193
207else 194else $as_nop
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false 196as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 197for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do 198do
212 IFS=$as_save_IFS 199 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=. 200 case $as_dir in #(((
201 '') as_dir=./ ;;
202 */) ;;
203 *) as_dir=$as_dir/ ;;
204 esac
214 as_found=: 205 as_found=:
215 case $as_dir in #( 206 case $as_dir in #(
216 /*) 207 /*)
217 for as_base in sh bash ksh sh5; do 208 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks. 209 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base 210 as_shell=$as_dir$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213then :
222 CONFIG_SHELL=$as_shell as_have_required=yes 214 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216then :
224 break 2 217 break 2
225fi 218fi
226fi 219fi
227 done;; 220 done;;
228 esac 221 esac
229 as_found=false 222 as_found=false
230done 223done
224IFS=$as_save_IFS
225if $as_found
226then :
227
228else $as_nop
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231then :
233 CONFIG_SHELL=$SHELL as_have_required=yes 232 CONFIG_SHELL=$SHELL as_have_required=yes
234fi; } 233fi
235IFS=$as_save_IFS 234fi
236 235
237 236
238 if test "x$CONFIG_SHELL" != x; then : 237 if test "x$CONFIG_SHELL" != x
238then :
239 export CONFIG_SHELL 239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell. 243# Preserve -v and -x to the replacement shell.
251 * ) as_opts= ;; 251 * ) as_opts= ;;
252esac 252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail 254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'. 255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255 257exit 255
258fi 258fi
259 259
260 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno
261then :
261 $as_echo "$0: This script requires a shell more modern than all" 262 printf "%s\n" "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system." 263 printf "%s\n" "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then 264 if test ${ZSH_VERSION+y} ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else 267 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this 269$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run 270$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one." 271$0: the script under such a shell if you do have one."
271 fi 272 fi
272 exit 1 273 exit 1
289{ 290{
290 { eval $1=; unset $1;} 291 { eval $1=; unset $1;}
291} 292}
292as_unset=as_fn_unset 293as_unset=as_fn_unset
293 294
295
294# as_fn_set_status STATUS 296# as_fn_set_status STATUS
295# ----------------------- 297# -----------------------
296# Set $? to STATUS, without forking. 298# Set $? to STATUS, without forking.
297as_fn_set_status () 299as_fn_set_status ()
298{ 300{
306{ 308{
307 set +e 309 set +e
308 as_fn_set_status $1 310 as_fn_set_status $1
309 exit $1 311 exit $1
310} # as_fn_exit 312} # as_fn_exit
313# as_fn_nop
314# ---------
315# Do nothing but, unlike ":", preserve the value of $?.
316as_fn_nop ()
317{
318 return $?
319}
320as_nop=as_fn_nop
311 321
312# as_fn_mkdir_p 322# as_fn_mkdir_p
313# ------------- 323# -------------
314# Create "$as_dir" as a directory, including parents if necessary. 324# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p () 325as_fn_mkdir_p ()
320 esac 330 esac
321 test -d "$as_dir" || eval $as_mkdir_p || { 331 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs= 332 as_dirs=
323 while :; do 333 while :; do
324 case $as_dir in #( 334 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 335 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;; 336 *) as_qdir=$as_dir;;
327 esac 337 esac
328 as_dirs="'$as_qdir' $as_dirs" 338 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" || 339 as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \ 341 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \ 342 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" | 344printf "%s\n" X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/ 346 s//\1/
337 q 347 q
338 } 348 }
339 /^X\(\/\/\)[^/].*/{ 349 /^X\(\/\/\)[^/].*/{
368# ---------------------- 378# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take 379# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over 380# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive 381# repeated appends, instead of the typical quadratic growth present in naive
372# implementations. 382# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 383if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384then :
374 eval 'as_fn_append () 385 eval 'as_fn_append ()
375 { 386 {
376 eval $1+=\$2 387 eval $1+=\$2
377 }' 388 }'
378else 389else $as_nop
379 as_fn_append () 390 as_fn_append ()
380 { 391 {
381 eval $1=\$$1\$2 392 eval $1=\$$1\$2
382 } 393 }
383fi # as_fn_append 394fi # as_fn_append
385# as_fn_arith ARG... 396# as_fn_arith ARG...
386# ------------------ 397# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the 398# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments 399# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr. 400# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402then :
391 eval 'as_fn_arith () 403 eval 'as_fn_arith ()
392 { 404 {
393 as_val=$(( $* )) 405 as_val=$(( $* ))
394 }' 406 }'
395else 407else $as_nop
396 as_fn_arith () 408 as_fn_arith ()
397 { 409 {
398 as_val=`expr "$@" || test $? -eq 1` 410 as_val=`expr "$@" || test $? -eq 1`
399 } 411 }
400fi # as_fn_arith 412fi # as_fn_arith
401 413
414# as_fn_nop
415# ---------
416# Do nothing but, unlike ":", preserve the value of $?.
417as_fn_nop ()
418{
419 return $?
420}
421as_nop=as_fn_nop
402 422
403# as_fn_error STATUS ERROR [LINENO LOG_FD] 423# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ---------------------------------------- 424# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 425# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 426# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408as_fn_error () 428as_fn_error ()
409{ 429{
410 as_status=$1; test $as_status -eq 0 && as_status=1 430 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then 431 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi 434 fi
415 $as_echo "$as_me: error: $2" >&2 435 printf "%s\n" "$as_me: error: $2" >&2
416 as_fn_exit $as_status 436 as_fn_exit $as_status
417} # as_fn_error 437} # as_fn_error
418 438
419if expr a : '\(a\)' >/dev/null 2>&1 && 439if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 457
438as_me=`$as_basename -- "$0" || 458as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 459$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \ 460 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" | 462printf "%s\n" X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 463 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/ 464 s//\1/
445 q 465 q
446 } 466 }
447 /^X\/\(\/\/\)$/{ 467 /^X\/\(\/\/\)$/{
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop 502 t loop
483 s/-\n.*// 503 s/-\n.*//
484 ' >$as_me.lineno && 504 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" || 505 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 506 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 507
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall 509 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice. 510 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec 511 _as_can_reexec=no; export _as_can_reexec
495 . "./$as_me.lineno" 515 . "./$as_me.lineno"
496 # Exit status is that of the last command. 516 # Exit status is that of the last command.
497 exit 517 exit
498} 518}
499 519
520
521# Determine whether it's possible to make 'echo' print without a newline.
522# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
523# for compatibility with existing Makefiles.
500ECHO_C= ECHO_N= ECHO_T= 524ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #((((( 525case `echo -n x` in #(((((
502-n*) 526-n*)
503 case `echo 'xy\c'` in 527 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 ECHO_T=' ';; 531 ECHO_T=' ';;
508 esac;; 532 esac;;
509*) 533*)
510 ECHO_N='-n';; 534 ECHO_N='-n';;
511esac 535esac
536
537# For backward compatibility with old third-party macros, we provide
538# the shell variables $as_echo and $as_echo_n. New code should use
539# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
540as_echo='printf %s\n'
541as_echo_n='printf %s'
542
512 543
513rm -f conf$$ conf$$.exe conf$$.file 544rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then 545if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file 546 rm -f conf$$.dir/conf$$.file
516else 547else
573subdirs= 604subdirs=
574MFLAGS= 605MFLAGS=
575MAKEFLAGS= 606MAKEFLAGS=
576 607
577# Identity of this package. 608# Identity of this package.
578PACKAGE_NAME= 609PACKAGE_NAME=''
579PACKAGE_TARNAME= 610PACKAGE_TARNAME=''
580PACKAGE_VERSION= 611PACKAGE_VERSION=''
581PACKAGE_STRING= 612PACKAGE_STRING=''
582PACKAGE_BUGREPORT= 613PACKAGE_BUGREPORT=''
583PACKAGE_URL= 614PACKAGE_URL=''
584 615
585ac_unique_file="uulib.c" 616ac_unique_file="uulib.c"
586# Factoring default headers for most tests. 617# Factoring default headers for most tests.
587ac_includes_default="\ 618ac_includes_default="\
619#include <stddef.h>
620#ifdef HAVE_STDIO_H
588#include <stdio.h> 621# include <stdio.h>
589#ifdef HAVE_SYS_TYPES_H
590# include <sys/types.h>
591#endif 622#endif
592#ifdef HAVE_SYS_STAT_H 623#ifdef HAVE_STDLIB_H
593# include <sys/stat.h>
594#endif
595#ifdef STDC_HEADERS
596# include <stdlib.h> 624# include <stdlib.h>
597# include <stddef.h>
598#else
599# ifdef HAVE_STDLIB_H
600# include <stdlib.h>
601# endif
602#endif 625#endif
603#ifdef HAVE_STRING_H 626#ifdef HAVE_STRING_H
604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605# include <memory.h>
606# endif
607# include <string.h> 627# include <string.h>
608#endif
609#ifdef HAVE_STRINGS_H
610# include <strings.h>
611#endif 628#endif
612#ifdef HAVE_INTTYPES_H 629#ifdef HAVE_INTTYPES_H
613# include <inttypes.h> 630# include <inttypes.h>
614#endif 631#endif
615#ifdef HAVE_STDINT_H 632#ifdef HAVE_STDINT_H
616# include <stdint.h> 633# include <stdint.h>
617#endif 634#endif
635#ifdef HAVE_STRINGS_H
636# include <strings.h>
637#endif
638#ifdef HAVE_SYS_TYPES_H
639# include <sys/types.h>
640#endif
641#ifdef HAVE_SYS_STAT_H
642# include <sys/stat.h>
643#endif
618#ifdef HAVE_UNISTD_H 644#ifdef HAVE_UNISTD_H
619# include <unistd.h> 645# include <unistd.h>
620#endif" 646#endif"
621 647
648ac_header_c_list=
622ac_subst_vars='LTLIBOBJS 649ac_subst_vars='LTLIBOBJS
623LIBOBJS 650LIBOBJS
624PATCH 651PATCH
625VERSION 652VERSION
626EGREP 653EGREP
755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 782 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 *=) ac_optarg= ;; 783 *=) ac_optarg= ;;
757 *) ac_optarg=yes ;; 784 *) ac_optarg=yes ;;
758 esac 785 esac
759 786
760 # Accept the important Cygnus configure options, so we can diagnose typos.
761
762 case $ac_dashdash$ac_option in 787 case $ac_dashdash$ac_option in
763 --) 788 --)
764 ac_dashdash=yes ;; 789 ac_dashdash=yes ;;
765 790
766 -bindir | --bindir | --bindi | --bind | --bin | --bi) 791 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 822
798 -disable-* | --disable-*) 823 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names. 825 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt" 827 as_fn_error $? "invalid feature name: \`$ac_useropt'"
803 ac_useropt_orig=$ac_useropt 828 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 829 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in 830 case $ac_user_opts in
806 *" 831 *"
807"enable_$ac_useropt" 832"enable_$ac_useropt"
808"*) ;; 833"*) ;;
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 848
824 -enable-* | --enable-*) 849 -enable-* | --enable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 850 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826 # Reject names that are not valid shell variable names. 851 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt" 853 as_fn_error $? "invalid feature name: \`$ac_useropt'"
829 ac_useropt_orig=$ac_useropt 854 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 855 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in 856 case $ac_user_opts in
832 *" 857 *"
833"enable_$ac_useropt" 858"enable_$ac_useropt"
834"*) ;; 859"*) ;;
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1036 1061
1037 -with-* | --with-*) 1062 -with-* | --with-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1063 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names. 1064 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid package name: $ac_useropt" 1066 as_fn_error $? "invalid package name: \`$ac_useropt'"
1042 ac_useropt_orig=$ac_useropt 1067 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1068 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in 1069 case $ac_user_opts in
1045 *" 1070 *"
1046"with_$ac_useropt" 1071"with_$ac_useropt"
1047"*) ;; 1072"*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 1077
1053 -without-* | --without-*) 1078 -without-* | --without-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1079 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055 # Reject names that are not valid shell variable names. 1080 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error $? "invalid package name: $ac_useropt" 1082 as_fn_error $? "invalid package name: \`$ac_useropt'"
1058 ac_useropt_orig=$ac_useropt 1083 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1084 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in 1085 case $ac_user_opts in
1061 *" 1086 *"
1062"with_$ac_useropt" 1087"with_$ac_useropt"
1063"*) ;; 1088"*) ;;
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1098 eval $ac_envvar=\$ac_optarg 1123 eval $ac_envvar=\$ac_optarg
1099 export $ac_envvar ;; 1124 export $ac_envvar ;;
1100 1125
1101 *) 1126 *)
1102 # FIXME: should be removed in autoconf 3.0. 1127 # FIXME: should be removed in autoconf 3.0.
1103 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1128 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1104 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1105 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1130 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1106 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1107 ;; 1132 ;;
1108 1133
1109 esac 1134 esac
1110done 1135done
1116 1141
1117if test -n "$ac_unrecognized_opts"; then 1142if test -n "$ac_unrecognized_opts"; then
1118 case $enable_option_checking in 1143 case $enable_option_checking in
1119 no) ;; 1144 no) ;;
1120 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1145 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1121 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1146 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122 esac 1147 esac
1123fi 1148fi
1124 1149
1125# Check all directory arguments for consistency. 1150# Check all directory arguments for consistency.
1126for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1151for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 ac_confdir=`$as_dirname -- "$as_myself" || 1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1181$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1206$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \ 1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \ 1208 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185$as_echo X"$as_myself" | 1210printf "%s\n" X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 s//\1/ 1212 s//\1/
1188 q 1213 q
1189 } 1214 }
1190 /^X\(\/\/\)[^/].*/{ 1215 /^X\(\/\/\)[^/].*/{
1335 ac_builddir=. 1360 ac_builddir=.
1336 1361
1337case "$ac_dir" in 1362case "$ac_dir" in
1338.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1363.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339*) 1364*)
1340 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1365 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1341 # A ".." for each directory in $ac_dir_suffix. 1366 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1367 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1343 case $ac_top_builddir_sub in 1368 case $ac_top_builddir_sub in
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1369 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1370 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 esac ;; 1371 esac ;;
1347esac 1372esac
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1390 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1366esac 1391esac
1367ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1392ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 1393
1369 cd "$ac_dir" || { ac_status=$?; continue; } 1394 cd "$ac_dir" || { ac_status=$?; continue; }
1370 # Check for guested configure. 1395 # Check for configure.gnu first; this name is used for a wrapper for
1396 # Metaconfig's "Configure" on case-insensitive file systems.
1371 if test -f "$ac_srcdir/configure.gnu"; then 1397 if test -f "$ac_srcdir/configure.gnu"; then
1372 echo && 1398 echo &&
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374 elif test -f "$ac_srcdir/configure"; then 1400 elif test -f "$ac_srcdir/configure"; then
1375 echo && 1401 echo &&
1376 $SHELL "$ac_srcdir/configure" --help=recursive 1402 $SHELL "$ac_srcdir/configure" --help=recursive
1377 else 1403 else
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1404 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379 fi || ac_status=$? 1405 fi || ac_status=$?
1380 cd "$ac_pwd" || { ac_status=$?; break; } 1406 cd "$ac_pwd" || { ac_status=$?; break; }
1381 done 1407 done
1382fi 1408fi
1383 1409
1384test -n "$ac_init_help" && exit $ac_status 1410test -n "$ac_init_help" && exit $ac_status
1385if $ac_init_version; then 1411if $ac_init_version; then
1386 cat <<\_ACEOF 1412 cat <<\_ACEOF
1387configure 1413configure
1388generated by GNU Autoconf 2.69 1414generated by GNU Autoconf 2.71
1389 1415
1390Copyright (C) 2012 Free Software Foundation, Inc. 1416Copyright (C) 2021 Free Software Foundation, Inc.
1391This configure script is free software; the Free Software Foundation 1417This configure script is free software; the Free Software Foundation
1392gives unlimited permission to copy, distribute and modify it. 1418gives unlimited permission to copy, distribute and modify it.
1393_ACEOF 1419_ACEOF
1394 exit 1420 exit
1395fi 1421fi
1402# -------------------------- 1428# --------------------------
1403# Try to compile conftest.$ac_ext, and return whether this succeeded. 1429# Try to compile conftest.$ac_ext, and return whether this succeeded.
1404ac_fn_c_try_compile () 1430ac_fn_c_try_compile ()
1405{ 1431{
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1407 rm -f conftest.$ac_objext 1433 rm -f conftest.$ac_objext conftest.beam
1408 if { { ac_try="$ac_compile" 1434 if { { ac_try="$ac_compile"
1409case "(($ac_try" in 1435case "(($ac_try" in
1410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1411 *) ac_try_echo=$ac_try;; 1437 *) ac_try_echo=$ac_try;;
1412esac 1438esac
1413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1439eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1414$as_echo "$ac_try_echo"; } >&5 1440printf "%s\n" "$ac_try_echo"; } >&5
1415 (eval "$ac_compile") 2>conftest.err 1441 (eval "$ac_compile") 2>conftest.err
1416 ac_status=$? 1442 ac_status=$?
1417 if test -s conftest.err; then 1443 if test -s conftest.err; then
1418 grep -v '^ *+' conftest.err >conftest.er1 1444 grep -v '^ *+' conftest.err >conftest.er1
1419 cat conftest.er1 >&5 1445 cat conftest.er1 >&5
1420 mv -f conftest.er1 conftest.err 1446 mv -f conftest.er1 conftest.err
1421 fi 1447 fi
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1423 test $ac_status = 0; } && { 1449 test $ac_status = 0; } && {
1424 test -z "$ac_c_werror_flag" || 1450 test -z "$ac_c_werror_flag" ||
1425 test ! -s conftest.err 1451 test ! -s conftest.err
1426 } && test -s conftest.$ac_objext; then : 1452 } && test -s conftest.$ac_objext
1453then :
1427 ac_retval=0 1454 ac_retval=0
1428else 1455else $as_nop
1429 $as_echo "$as_me: failed program was:" >&5 1456 printf "%s\n" "$as_me: failed program was:" >&5
1430sed 's/^/| /' conftest.$ac_ext >&5 1457sed 's/^/| /' conftest.$ac_ext >&5
1431 1458
1432 ac_retval=1 1459 ac_retval=1
1433fi 1460fi
1434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1446case "(($ac_try" in 1473case "(($ac_try" in
1447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1448 *) ac_try_echo=$ac_try;; 1475 *) ac_try_echo=$ac_try;;
1449esac 1476esac
1450eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1477eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451$as_echo "$ac_try_echo"; } >&5 1478printf "%s\n" "$ac_try_echo"; } >&5
1452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1453 ac_status=$? 1480 ac_status=$?
1454 if test -s conftest.err; then 1481 if test -s conftest.err; then
1455 grep -v '^ *+' conftest.err >conftest.er1 1482 grep -v '^ *+' conftest.err >conftest.er1
1456 cat conftest.er1 >&5 1483 cat conftest.er1 >&5
1457 mv -f conftest.er1 conftest.err 1484 mv -f conftest.er1 conftest.err
1458 fi 1485 fi
1459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460 test $ac_status = 0; } > conftest.i && { 1487 test $ac_status = 0; } > conftest.i && {
1461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1462 test ! -s conftest.err 1489 test ! -s conftest.err
1463 }; then : 1490 }
1491then :
1464 ac_retval=0 1492 ac_retval=0
1465else 1493else $as_nop
1466 $as_echo "$as_me: failed program was:" >&5 1494 printf "%s\n" "$as_me: failed program was:" >&5
1467sed 's/^/| /' conftest.$ac_ext >&5 1495sed 's/^/| /' conftest.$ac_ext >&5
1468 1496
1469 ac_retval=1 1497 ac_retval=1
1470fi 1498fi
1471 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1472 as_fn_set_status $ac_retval 1500 as_fn_set_status $ac_retval
1473 1501
1474} # ac_fn_c_try_cpp 1502} # ac_fn_c_try_cpp
1475 1503
1476# ac_fn_c_try_run LINENO 1504# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1477# ---------------------- 1505# -------------------------------------------------------
1478# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1506# Tests whether HEADER exists and can be compiled using the include files in
1479# that executables *can* be run. 1507# INCLUDES, setting the cache variable VAR accordingly.
1480ac_fn_c_try_run () 1508ac_fn_c_check_header_compile ()
1481{ 1509{
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if { { ac_try="$ac_link" 1511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484case "(($ac_try" in 1512printf %s "checking for $2... " >&6; }
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1513if eval test \${$3+y}
1486 *) ac_try_echo=$ac_try;; 1514then :
1487esac 1515 printf %s "(cached) " >&6
1488eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1516else $as_nop
1489$as_echo "$ac_try_echo"; } >&5 1517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1490 (eval "$ac_link") 2>&5 1518/* end confdefs.h. */
1491 ac_status=$? 1519$4
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1520#include <$2>
1493 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1521_ACEOF
1494 { { case "(($ac_try" in 1522if ac_fn_c_try_compile "$LINENO"
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523then :
1496 *) ac_try_echo=$ac_try;; 1524 eval "$3=yes"
1497esac 1525else $as_nop
1498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526 eval "$3=no"
1499$as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_try") 2>&5
1501 ac_status=$?
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; }; }; then :
1504 ac_retval=0
1505else
1506 $as_echo "$as_me: program exited with status $ac_status" >&5
1507 $as_echo "$as_me: failed program was:" >&5
1508sed 's/^/| /' conftest.$ac_ext >&5
1509
1510 ac_retval=$ac_status
1511fi 1527fi
1512 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1528rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1529fi
1530eval ac_res=\$$3
1531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1532printf "%s\n" "$ac_res" >&6; }
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514 as_fn_set_status $ac_retval
1515 1534
1516} # ac_fn_c_try_run 1535} # ac_fn_c_check_header_compile
1517 1536
1518# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1537# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1519# ------------------------------------------- 1538# -------------------------------------------
1520# Tests whether TYPE exists after having included INCLUDES, setting cache 1539# Tests whether TYPE exists after having included INCLUDES, setting cache
1521# variable VAR accordingly. 1540# variable VAR accordingly.
1522ac_fn_c_check_type () 1541ac_fn_c_check_type ()
1523{ 1542{
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1526$as_echo_n "checking for $2... " >&6; } 1545printf %s "checking for $2... " >&6; }
1527if eval \${$3+:} false; then : 1546if eval test \${$3+y}
1528 $as_echo_n "(cached) " >&6 1547then :
1529else 1548 printf %s "(cached) " >&6
1549else $as_nop
1530 eval "$3=no" 1550 eval "$3=no"
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532/* end confdefs.h. */ 1552/* end confdefs.h. */
1533$4 1553$4
1534int 1554int
1535main () 1555main (void)
1536{ 1556{
1537if (sizeof ($2)) 1557if (sizeof ($2))
1538 return 0; 1558 return 0;
1539 ; 1559 ;
1540 return 0; 1560 return 0;
1541} 1561}
1542_ACEOF 1562_ACEOF
1543if ac_fn_c_try_compile "$LINENO"; then : 1563if ac_fn_c_try_compile "$LINENO"
1564then :
1544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1545/* end confdefs.h. */ 1566/* end confdefs.h. */
1546$4 1567$4
1547int 1568int
1548main () 1569main (void)
1549{ 1570{
1550if (sizeof (($2))) 1571if (sizeof (($2)))
1551 return 0; 1572 return 0;
1552 ; 1573 ;
1553 return 0; 1574 return 0;
1554} 1575}
1555_ACEOF 1576_ACEOF
1556if ac_fn_c_try_compile "$LINENO"; then : 1577if ac_fn_c_try_compile "$LINENO"
1578then :
1557 1579
1558else 1580else $as_nop
1559 eval "$3=yes" 1581 eval "$3=yes"
1560fi 1582fi
1561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1583rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1562fi 1584fi
1563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1585rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1564fi 1586fi
1565eval ac_res=\$$3 1587eval ac_res=\$$3
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1567$as_echo "$ac_res" >&6; } 1589printf "%s\n" "$ac_res" >&6; }
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 1591
1570} # ac_fn_c_check_type 1592} # ac_fn_c_check_type
1571
1572# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1573# -------------------------------------------------------
1574# Tests whether HEADER exists and can be compiled using the include files in
1575# INCLUDES, setting the cache variable VAR accordingly.
1576ac_fn_c_check_header_compile ()
1577{
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1580$as_echo_n "checking for $2... " >&6; }
1581if eval \${$3+:} false; then :
1582 $as_echo_n "(cached) " >&6
1583else
1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585/* end confdefs.h. */
1586$4
1587#include <$2>
1588_ACEOF
1589if ac_fn_c_try_compile "$LINENO"; then :
1590 eval "$3=yes"
1591else
1592 eval "$3=no"
1593fi
1594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1595fi
1596eval ac_res=\$$3
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1598$as_echo "$ac_res" >&6; }
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600
1601} # ac_fn_c_check_header_compile
1602
1603# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604# -------------------------------------------------------
1605# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606# the include files in INCLUDES and setting the cache variable VAR
1607# accordingly.
1608ac_fn_c_check_header_mongrel ()
1609{
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if eval \${$3+:} false; then :
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613$as_echo_n "checking for $2... " >&6; }
1614if eval \${$3+:} false; then :
1615 $as_echo_n "(cached) " >&6
1616fi
1617eval ac_res=\$$3
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619$as_echo "$ac_res" >&6; }
1620else
1621 # Is the header compilable?
1622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623$as_echo_n "checking $2 usability... " >&6; }
1624cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625/* end confdefs.h. */
1626$4
1627#include <$2>
1628_ACEOF
1629if ac_fn_c_try_compile "$LINENO"; then :
1630 ac_header_compiler=yes
1631else
1632 ac_header_compiler=no
1633fi
1634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636$as_echo "$ac_header_compiler" >&6; }
1637
1638# Is the header present?
1639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640$as_echo_n "checking $2 presence... " >&6; }
1641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642/* end confdefs.h. */
1643#include <$2>
1644_ACEOF
1645if ac_fn_c_try_cpp "$LINENO"; then :
1646 ac_header_preproc=yes
1647else
1648 ac_header_preproc=no
1649fi
1650rm -f conftest.err conftest.i conftest.$ac_ext
1651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652$as_echo "$ac_header_preproc" >&6; }
1653
1654# So? What about this header?
1655case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656 yes:no: )
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1661 ;;
1662 no:yes:* )
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1666$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1670$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1673 ;;
1674esac
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676$as_echo_n "checking for $2... " >&6; }
1677if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1679else
1680 eval "$3=\$ac_header_compiler"
1681fi
1682eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684$as_echo "$ac_res" >&6; }
1685fi
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
1688} # ac_fn_c_check_header_mongrel
1689 1593
1690# ac_fn_c_try_link LINENO 1594# ac_fn_c_try_link LINENO
1691# ----------------------- 1595# -----------------------
1692# Try to link conftest.$ac_ext, and return whether this succeeded. 1596# Try to link conftest.$ac_ext, and return whether this succeeded.
1693ac_fn_c_try_link () 1597ac_fn_c_try_link ()
1694{ 1598{
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext 1600 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1697 if { { ac_try="$ac_link" 1601 if { { ac_try="$ac_link"
1698case "(($ac_try" in 1602case "(($ac_try" in
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;; 1604 *) ac_try_echo=$ac_try;;
1701esac 1605esac
1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1606eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703$as_echo "$ac_try_echo"; } >&5 1607printf "%s\n" "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>conftest.err 1608 (eval "$ac_link") 2>conftest.err
1705 ac_status=$? 1609 ac_status=$?
1706 if test -s conftest.err; then 1610 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1 1611 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5 1612 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err 1613 mv -f conftest.er1 conftest.err
1710 fi 1614 fi
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && { 1616 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" || 1617 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err 1618 test ! -s conftest.err
1715 } && test -s conftest$ac_exeext && { 1619 } && test -s conftest$ac_exeext && {
1716 test "$cross_compiling" = yes || 1620 test "$cross_compiling" = yes ||
1717 test -x conftest$ac_exeext 1621 test -x conftest$ac_exeext
1718 }; then : 1622 }
1623then :
1719 ac_retval=0 1624 ac_retval=0
1720else 1625else $as_nop
1721 $as_echo "$as_me: failed program was:" >&5 1626 printf "%s\n" "$as_me: failed program was:" >&5
1722sed 's/^/| /' conftest.$ac_ext >&5 1627sed 's/^/| /' conftest.$ac_ext >&5
1723 1628
1724 ac_retval=1 1629 ac_retval=1
1725fi 1630fi
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737# ---------------------------------- 1642# ----------------------------------
1738# Tests whether FUNC exists, setting the cache variable VAR accordingly 1643# Tests whether FUNC exists, setting the cache variable VAR accordingly
1739ac_fn_c_check_func () 1644ac_fn_c_check_func ()
1740{ 1645{
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743$as_echo_n "checking for $2... " >&6; } 1648printf %s "checking for $2... " >&6; }
1744if eval \${$3+:} false; then : 1649if eval test \${$3+y}
1745 $as_echo_n "(cached) " >&6 1650then :
1746else 1651 printf %s "(cached) " >&6
1652else $as_nop
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748/* end confdefs.h. */ 1654/* end confdefs.h. */
1749/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1655/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1750 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1751#define $2 innocuous_$2 1657#define $2 innocuous_$2
1752 1658
1753/* System header to define __stub macros and hopefully few prototypes, 1659/* System header to define __stub macros and hopefully few prototypes,
1754 which can conflict with char $2 (); below. 1660 which can conflict with char $2 (); below. */
1755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1756 <limits.h> exists even on freestanding compilers. */
1757 1661
1758#ifdef __STDC__
1759# include <limits.h> 1662#include <limits.h>
1760#else
1761# include <assert.h>
1762#endif
1763
1764#undef $2 1663#undef $2
1765 1664
1766/* Override any GCC internal prototype to avoid an error. 1665/* Override any GCC internal prototype to avoid an error.
1767 Use char because int might match the return type of a GCC 1666 Use char because int might match the return type of a GCC
1768 builtin and then its argument prototype would still apply. */ 1667 builtin and then its argument prototype would still apply. */
1776#if defined __stub_$2 || defined __stub___$2 1675#if defined __stub_$2 || defined __stub___$2
1777choke me 1676choke me
1778#endif 1677#endif
1779 1678
1780int 1679int
1781main () 1680main (void)
1782{ 1681{
1783return $2 (); 1682return $2 ();
1784 ; 1683 ;
1785 return 0; 1684 return 0;
1786} 1685}
1787_ACEOF 1686_ACEOF
1788if ac_fn_c_try_link "$LINENO"; then : 1687if ac_fn_c_try_link "$LINENO"
1688then :
1789 eval "$3=yes" 1689 eval "$3=yes"
1790else 1690else $as_nop
1791 eval "$3=no" 1691 eval "$3=no"
1792fi 1692fi
1793rm -f core conftest.err conftest.$ac_objext \ 1693rm -f core conftest.err conftest.$ac_objext conftest.beam \
1794 conftest$ac_exeext conftest.$ac_ext 1694 conftest$ac_exeext conftest.$ac_ext
1795fi 1695fi
1796eval ac_res=\$$3 1696eval ac_res=\$$3
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798$as_echo "$ac_res" >&6; } 1698printf "%s\n" "$ac_res" >&6; }
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 1700
1801} # ac_fn_c_check_func 1701} # ac_fn_c_check_func
1702ac_configure_args_raw=
1703for ac_arg
1704do
1705 case $ac_arg in
1706 *\'*)
1707 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 esac
1709 as_fn_append ac_configure_args_raw " '$ac_arg'"
1710done
1711
1712case $ac_configure_args_raw in
1713 *$as_nl*)
1714 ac_safe_unquote= ;;
1715 *)
1716 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1717 ac_unsafe_a="$ac_unsafe_z#~"
1718 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1719 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1720esac
1721
1802cat >config.log <<_ACEOF 1722cat >config.log <<_ACEOF
1803This file contains any messages produced by compilers while 1723This file contains any messages produced by compilers while
1804running configure, to aid debugging if configure makes a mistake. 1724running configure, to aid debugging if configure makes a mistake.
1805 1725
1806It was created by $as_me, which was 1726It was created by $as_me, which was
1807generated by GNU Autoconf 2.69. Invocation command line was 1727generated by GNU Autoconf 2.71. Invocation command line was
1808 1728
1809 $ $0 $@ 1729 $ $0$ac_configure_args_raw
1810 1730
1811_ACEOF 1731_ACEOF
1812exec 5>>config.log 1732exec 5>>config.log
1813{ 1733{
1814cat <<_ASUNAME 1734cat <<_ASUNAME
1837 1757
1838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839for as_dir in $PATH 1759for as_dir in $PATH
1840do 1760do
1841 IFS=$as_save_IFS 1761 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=. 1762 case $as_dir in #(((
1843 $as_echo "PATH: $as_dir" 1763 '') as_dir=./ ;;
1764 */) ;;
1765 *) as_dir=$as_dir/ ;;
1766 esac
1767 printf "%s\n" "PATH: $as_dir"
1844 done 1768 done
1845IFS=$as_save_IFS 1769IFS=$as_save_IFS
1846 1770
1847} >&5 1771} >&5
1848 1772
1873 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1874 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1875 | -silent | --silent | --silen | --sile | --sil) 1799 | -silent | --silent | --silen | --sile | --sil)
1876 continue ;; 1800 continue ;;
1877 *\'*) 1801 *\'*)
1878 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1802 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1879 esac 1803 esac
1880 case $ac_pass in 1804 case $ac_pass in
1881 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1882 2) 1806 2)
1883 as_fn_append ac_configure_args1 " '$ac_arg'" 1807 as_fn_append ac_configure_args1 " '$ac_arg'"
1908# config.log. We remove comments because anyway the quotes in there 1832# config.log. We remove comments because anyway the quotes in there
1909# would cause problems or look ugly. 1833# would cause problems or look ugly.
1910# WARNING: Use '\'' to represent an apostrophe within the trap. 1834# WARNING: Use '\'' to represent an apostrophe within the trap.
1911# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1835# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1912trap 'exit_status=$? 1836trap 'exit_status=$?
1837 # Sanitize IFS.
1838 IFS=" "" $as_nl"
1913 # Save into config.log some information that might help in debugging. 1839 # Save into config.log some information that might help in debugging.
1914 { 1840 {
1915 echo 1841 echo
1916 1842
1917 $as_echo "## ---------------- ## 1843 printf "%s\n" "## ---------------- ##
1918## Cache variables. ## 1844## Cache variables. ##
1919## ---------------- ##" 1845## ---------------- ##"
1920 echo 1846 echo
1921 # The following way of writing the cache mishandles newlines in values, 1847 # The following way of writing the cache mishandles newlines in values,
1922( 1848(
1923 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1849 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1924 eval ac_val=\$$ac_var 1850 eval ac_val=\$$ac_var
1925 case $ac_val in #( 1851 case $ac_val in #(
1926 *${as_nl}*) 1852 *${as_nl}*)
1927 case $ac_var in #( 1853 case $ac_var in #(
1928 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1854 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1929$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1855printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1930 esac 1856 esac
1931 case $ac_var in #( 1857 case $ac_var in #(
1932 _ | IFS | as_nl) ;; #( 1858 _ | IFS | as_nl) ;; #(
1933 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1859 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1934 *) { eval $ac_var=; unset $ac_var;} ;; 1860 *) { eval $ac_var=; unset $ac_var;} ;;
1948 esac | 1874 esac |
1949 sort 1875 sort
1950) 1876)
1951 echo 1877 echo
1952 1878
1953 $as_echo "## ----------------- ## 1879 printf "%s\n" "## ----------------- ##
1954## Output variables. ## 1880## Output variables. ##
1955## ----------------- ##" 1881## ----------------- ##"
1956 echo 1882 echo
1957 for ac_var in $ac_subst_vars 1883 for ac_var in $ac_subst_vars
1958 do 1884 do
1959 eval ac_val=\$$ac_var 1885 eval ac_val=\$$ac_var
1960 case $ac_val in 1886 case $ac_val in
1961 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1887 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1962 esac 1888 esac
1963 $as_echo "$ac_var='\''$ac_val'\''" 1889 printf "%s\n" "$ac_var='\''$ac_val'\''"
1964 done | sort 1890 done | sort
1965 echo 1891 echo
1966 1892
1967 if test -n "$ac_subst_files"; then 1893 if test -n "$ac_subst_files"; then
1968 $as_echo "## ------------------- ## 1894 printf "%s\n" "## ------------------- ##
1969## File substitutions. ## 1895## File substitutions. ##
1970## ------------------- ##" 1896## ------------------- ##"
1971 echo 1897 echo
1972 for ac_var in $ac_subst_files 1898 for ac_var in $ac_subst_files
1973 do 1899 do
1974 eval ac_val=\$$ac_var 1900 eval ac_val=\$$ac_var
1975 case $ac_val in 1901 case $ac_val in
1976 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1902 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977 esac 1903 esac
1978 $as_echo "$ac_var='\''$ac_val'\''" 1904 printf "%s\n" "$ac_var='\''$ac_val'\''"
1979 done | sort 1905 done | sort
1980 echo 1906 echo
1981 fi 1907 fi
1982 1908
1983 if test -s confdefs.h; then 1909 if test -s confdefs.h; then
1984 $as_echo "## ----------- ## 1910 printf "%s\n" "## ----------- ##
1985## confdefs.h. ## 1911## confdefs.h. ##
1986## ----------- ##" 1912## ----------- ##"
1987 echo 1913 echo
1988 cat confdefs.h 1914 cat confdefs.h
1989 echo 1915 echo
1990 fi 1916 fi
1991 test "$ac_signal" != 0 && 1917 test "$ac_signal" != 0 &&
1992 $as_echo "$as_me: caught signal $ac_signal" 1918 printf "%s\n" "$as_me: caught signal $ac_signal"
1993 $as_echo "$as_me: exit $exit_status" 1919 printf "%s\n" "$as_me: exit $exit_status"
1994 } >&5 1920 } >&5
1995 rm -f core *.core core.conftest.* && 1921 rm -f core *.core core.conftest.* &&
1996 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1922 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1997 exit $exit_status 1923 exit $exit_status
1998' 0 1924' 0
2002ac_signal=0 1928ac_signal=0
2003 1929
2004# confdefs.h avoids OS command line length limits that DEFS can exceed. 1930# confdefs.h avoids OS command line length limits that DEFS can exceed.
2005rm -f -r conftest* confdefs.h 1931rm -f -r conftest* confdefs.h
2006 1932
2007$as_echo "/* confdefs.h */" > confdefs.h 1933printf "%s\n" "/* confdefs.h */" > confdefs.h
2008 1934
2009# Predefined preprocessor variables. 1935# Predefined preprocessor variables.
2010 1936
2011cat >>confdefs.h <<_ACEOF 1937printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2012#define PACKAGE_NAME "$PACKAGE_NAME"
2013_ACEOF
2014 1938
2015cat >>confdefs.h <<_ACEOF 1939printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2016#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2017_ACEOF
2018 1940
2019cat >>confdefs.h <<_ACEOF 1941printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2020#define PACKAGE_VERSION "$PACKAGE_VERSION"
2021_ACEOF
2022 1942
2023cat >>confdefs.h <<_ACEOF 1943printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2024#define PACKAGE_STRING "$PACKAGE_STRING"
2025_ACEOF
2026 1944
2027cat >>confdefs.h <<_ACEOF 1945printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2028#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2029_ACEOF
2030 1946
2031cat >>confdefs.h <<_ACEOF 1947printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2032#define PACKAGE_URL "$PACKAGE_URL"
2033_ACEOF
2034 1948
2035 1949
2036# Let the site file select an alternate cache file if it wants to. 1950# Let the site file select an alternate cache file if it wants to.
2037# Prefer an explicitly selected file to automatically selected ones. 1951# Prefer an explicitly selected file to automatically selected ones.
2038ac_site_file1=NONE
2039ac_site_file2=NONE
2040if test -n "$CONFIG_SITE"; then 1952if test -n "$CONFIG_SITE"; then
2041 # We do not want a PATH search for config.site.
2042 case $CONFIG_SITE in #((
2043 -*) ac_site_file1=./$CONFIG_SITE;;
2044 */*) ac_site_file1=$CONFIG_SITE;; 1953 ac_site_files="$CONFIG_SITE"
2045 *) ac_site_file1=./$CONFIG_SITE;;
2046 esac
2047elif test "x$prefix" != xNONE; then 1954elif test "x$prefix" != xNONE; then
2048 ac_site_file1=$prefix/share/config.site 1955 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2049 ac_site_file2=$prefix/etc/config.site
2050else 1956else
2051 ac_site_file1=$ac_default_prefix/share/config.site 1957 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2052 ac_site_file2=$ac_default_prefix/etc/config.site
2053fi 1958fi
1959
2054for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1960for ac_site_file in $ac_site_files
2055do 1961do
2056 test "x$ac_site_file" = xNONE && continue 1962 case $ac_site_file in #(
1963 */*) :
1964 ;; #(
1965 *) :
1966 ac_site_file=./$ac_site_file ;;
1967esac
2057 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1968 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2059$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1970printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2060 sed 's/^/| /' "$ac_site_file" >&5 1971 sed 's/^/| /' "$ac_site_file" >&5
2061 . "$ac_site_file" \ 1972 . "$ac_site_file" \
2062 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1973 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1974printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2064as_fn_error $? "failed to load site script $ac_site_file 1975as_fn_error $? "failed to load site script $ac_site_file
2065See \`config.log' for more details" "$LINENO" 5; } 1976See \`config.log' for more details" "$LINENO" 5; }
2066 fi 1977 fi
2067done 1978done
2068 1979
2069if test -r "$cache_file"; then 1980if test -r "$cache_file"; then
2070 # Some versions of bash will fail to source /dev/null (special files 1981 # Some versions of bash will fail to source /dev/null (special files
2071 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1982 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2072 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1983 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2074$as_echo "$as_me: loading cache $cache_file" >&6;} 1985printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2075 case $cache_file in 1986 case $cache_file in
2076 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1987 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2077 *) . "./$cache_file";; 1988 *) . "./$cache_file";;
2078 esac 1989 esac
2079 fi 1990 fi
2080else 1991else
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2082$as_echo "$as_me: creating cache $cache_file" >&6;} 1993printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2083 >$cache_file 1994 >$cache_file
2084fi 1995fi
2085 1996
1997# Test code for whether the C compiler supports C89 (global declarations)
1998ac_c_conftest_c89_globals='
1999/* Does the compiler advertise C89 conformance?
2000 Do not test the value of __STDC__, because some compilers set it to 0
2001 while being otherwise adequately conformant. */
2002#if !defined __STDC__
2003# error "Compiler does not advertise C89 conformance"
2004#endif
2005
2006#include <stddef.h>
2007#include <stdarg.h>
2008struct stat;
2009/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2010struct buf { int x; };
2011struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2012static char *e (p, i)
2013 char **p;
2014 int i;
2015{
2016 return p[i];
2017}
2018static char *f (char * (*g) (char **, int), char **p, ...)
2019{
2020 char *s;
2021 va_list v;
2022 va_start (v,p);
2023 s = g (p, va_arg (v,int));
2024 va_end (v);
2025 return s;
2026}
2027
2028/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2029 function prototypes and stuff, but not \xHH hex character constants.
2030 These do not provoke an error unfortunately, instead are silently treated
2031 as an "x". The following induces an error, until -std is added to get
2032 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2033 array size at least. It is necessary to write \x00 == 0 to get something
2034 that is true only with -std. */
2035int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2036
2037/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2038 inside strings and character constants. */
2039#define FOO(x) '\''x'\''
2040int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2041
2042int test (int i, double x);
2043struct s1 {int (*f) (int a);};
2044struct s2 {int (*f) (double a);};
2045int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2046 int, int);'
2047
2048# Test code for whether the C compiler supports C89 (body of main).
2049ac_c_conftest_c89_main='
2050ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2051'
2052
2053# Test code for whether the C compiler supports C99 (global declarations)
2054ac_c_conftest_c99_globals='
2055// Does the compiler advertise C99 conformance?
2056#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2057# error "Compiler does not advertise C99 conformance"
2058#endif
2059
2060#include <stdbool.h>
2061extern int puts (const char *);
2062extern int printf (const char *, ...);
2063extern int dprintf (int, const char *, ...);
2064extern void *malloc (size_t);
2065
2066// Check varargs macros. These examples are taken from C99 6.10.3.5.
2067// dprintf is used instead of fprintf to avoid needing to declare
2068// FILE and stderr.
2069#define debug(...) dprintf (2, __VA_ARGS__)
2070#define showlist(...) puts (#__VA_ARGS__)
2071#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2072static void
2073test_varargs_macros (void)
2074{
2075 int x = 1234;
2076 int y = 5678;
2077 debug ("Flag");
2078 debug ("X = %d\n", x);
2079 showlist (The first, second, and third items.);
2080 report (x>y, "x is %d but y is %d", x, y);
2081}
2082
2083// Check long long types.
2084#define BIG64 18446744073709551615ull
2085#define BIG32 4294967295ul
2086#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2087#if !BIG_OK
2088 #error "your preprocessor is broken"
2089#endif
2090#if BIG_OK
2091#else
2092 #error "your preprocessor is broken"
2093#endif
2094static long long int bignum = -9223372036854775807LL;
2095static unsigned long long int ubignum = BIG64;
2096
2097struct incomplete_array
2098{
2099 int datasize;
2100 double data[];
2101};
2102
2103struct named_init {
2104 int number;
2105 const wchar_t *name;
2106 double average;
2107};
2108
2109typedef const char *ccp;
2110
2111static inline int
2112test_restrict (ccp restrict text)
2113{
2114 // See if C++-style comments work.
2115 // Iterate through items via the restricted pointer.
2116 // Also check for declarations in for loops.
2117 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2118 continue;
2119 return 0;
2120}
2121
2122// Check varargs and va_copy.
2123static bool
2124test_varargs (const char *format, ...)
2125{
2126 va_list args;
2127 va_start (args, format);
2128 va_list args_copy;
2129 va_copy (args_copy, args);
2130
2131 const char *str = "";
2132 int number = 0;
2133 float fnumber = 0;
2134
2135 while (*format)
2136 {
2137 switch (*format++)
2138 {
2139 case '\''s'\'': // string
2140 str = va_arg (args_copy, const char *);
2141 break;
2142 case '\''d'\'': // int
2143 number = va_arg (args_copy, int);
2144 break;
2145 case '\''f'\'': // float
2146 fnumber = va_arg (args_copy, double);
2147 break;
2148 default:
2149 break;
2150 }
2151 }
2152 va_end (args_copy);
2153 va_end (args);
2154
2155 return *str && number && fnumber;
2156}
2157'
2158
2159# Test code for whether the C compiler supports C99 (body of main).
2160ac_c_conftest_c99_main='
2161 // Check bool.
2162 _Bool success = false;
2163 success |= (argc != 0);
2164
2165 // Check restrict.
2166 if (test_restrict ("String literal") == 0)
2167 success = true;
2168 char *restrict newvar = "Another string";
2169
2170 // Check varargs.
2171 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2172 test_varargs_macros ();
2173
2174 // Check flexible array members.
2175 struct incomplete_array *ia =
2176 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2177 ia->datasize = 10;
2178 for (int i = 0; i < ia->datasize; ++i)
2179 ia->data[i] = i * 1.234;
2180
2181 // Check named initializers.
2182 struct named_init ni = {
2183 .number = 34,
2184 .name = L"Test wide string",
2185 .average = 543.34343,
2186 };
2187
2188 ni.number = 58;
2189
2190 int dynamic_array[ni.number];
2191 dynamic_array[0] = argv[0][0];
2192 dynamic_array[ni.number - 1] = 543;
2193
2194 // work around unused variable warnings
2195 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2196 || dynamic_array[ni.number - 1] != 543);
2197'
2198
2199# Test code for whether the C compiler supports C11 (global declarations)
2200ac_c_conftest_c11_globals='
2201// Does the compiler advertise C11 conformance?
2202#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2203# error "Compiler does not advertise C11 conformance"
2204#endif
2205
2206// Check _Alignas.
2207char _Alignas (double) aligned_as_double;
2208char _Alignas (0) no_special_alignment;
2209extern char aligned_as_int;
2210char _Alignas (0) _Alignas (int) aligned_as_int;
2211
2212// Check _Alignof.
2213enum
2214{
2215 int_alignment = _Alignof (int),
2216 int_array_alignment = _Alignof (int[100]),
2217 char_alignment = _Alignof (char)
2218};
2219_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2220
2221// Check _Noreturn.
2222int _Noreturn does_not_return (void) { for (;;) continue; }
2223
2224// Check _Static_assert.
2225struct test_static_assert
2226{
2227 int x;
2228 _Static_assert (sizeof (int) <= sizeof (long int),
2229 "_Static_assert does not work in struct");
2230 long int y;
2231};
2232
2233// Check UTF-8 literals.
2234#define u8 syntax error!
2235char const utf8_literal[] = u8"happens to be ASCII" "another string";
2236
2237// Check duplicate typedefs.
2238typedef long *long_ptr;
2239typedef long int *long_ptr;
2240typedef long_ptr long_ptr;
2241
2242// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2243struct anonymous
2244{
2245 union {
2246 struct { int i; int j; };
2247 struct { int k; long int l; } w;
2248 };
2249 int m;
2250} v1;
2251'
2252
2253# Test code for whether the C compiler supports C11 (body of main).
2254ac_c_conftest_c11_main='
2255 _Static_assert ((offsetof (struct anonymous, i)
2256 == offsetof (struct anonymous, w.k)),
2257 "Anonymous union alignment botch");
2258 v1.i = 2;
2259 v1.w.k = 5;
2260 ok |= v1.i != 5;
2261'
2262
2263# Test code for whether the C compiler supports C11 (complete).
2264ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2265${ac_c_conftest_c99_globals}
2266${ac_c_conftest_c11_globals}
2267
2268int
2269main (int argc, char **argv)
2270{
2271 int ok = 0;
2272 ${ac_c_conftest_c89_main}
2273 ${ac_c_conftest_c99_main}
2274 ${ac_c_conftest_c11_main}
2275 return ok;
2276}
2277"
2278
2279# Test code for whether the C compiler supports C99 (complete).
2280ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2281${ac_c_conftest_c99_globals}
2282
2283int
2284main (int argc, char **argv)
2285{
2286 int ok = 0;
2287 ${ac_c_conftest_c89_main}
2288 ${ac_c_conftest_c99_main}
2289 return ok;
2290}
2291"
2292
2293# Test code for whether the C compiler supports C89 (complete).
2294ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2295
2296int
2297main (int argc, char **argv)
2298{
2299 int ok = 0;
2300 ${ac_c_conftest_c89_main}
2301 return ok;
2302}
2303"
2304
2305as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2306as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2307as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2308as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2309as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2310as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2311as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2312as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2313as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2314as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2086# Check that the precious variables saved in the cache have kept the same 2315# Check that the precious variables saved in the cache have kept the same
2087# value. 2316# value.
2088ac_cache_corrupted=false 2317ac_cache_corrupted=false
2089for ac_var in $ac_precious_vars; do 2318for ac_var in $ac_precious_vars; do
2090 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2091 eval ac_new_set=\$ac_env_${ac_var}_set 2320 eval ac_new_set=\$ac_env_${ac_var}_set
2092 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2093 eval ac_new_val=\$ac_env_${ac_var}_value 2322 eval ac_new_val=\$ac_env_${ac_var}_value
2094 case $ac_old_set,$ac_new_set in 2323 case $ac_old_set,$ac_new_set in
2095 set,) 2324 set,)
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2097$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2326printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2098 ac_cache_corrupted=: ;; 2327 ac_cache_corrupted=: ;;
2099 ,set) 2328 ,set)
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2101$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2330printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2102 ac_cache_corrupted=: ;; 2331 ac_cache_corrupted=: ;;
2103 ,);; 2332 ,);;
2104 *) 2333 *)
2105 if test "x$ac_old_val" != "x$ac_new_val"; then 2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2106 # differences in whitespace do not lead to failure. 2335 # differences in whitespace do not lead to failure.
2107 ac_old_val_w=`echo x $ac_old_val` 2336 ac_old_val_w=`echo x $ac_old_val`
2108 ac_new_val_w=`echo x $ac_new_val` 2337 ac_new_val_w=`echo x $ac_new_val`
2109 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2111$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2340printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2112 ac_cache_corrupted=: 2341 ac_cache_corrupted=:
2113 else 2342 else
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2115$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2344printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2116 eval $ac_var=\$ac_old_val 2345 eval $ac_var=\$ac_old_val
2117 fi 2346 fi
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2119$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2348printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2121$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2350printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2122 fi;; 2351 fi;;
2123 esac 2352 esac
2124 # Pass precious variables to config.status. 2353 # Pass precious variables to config.status.
2125 if test "$ac_new_set" = set; then 2354 if test "$ac_new_set" = set; then
2126 case $ac_new_val in 2355 case $ac_new_val in
2127 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2356 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2128 *) ac_arg=$ac_var=$ac_new_val ;; 2357 *) ac_arg=$ac_var=$ac_new_val ;;
2129 esac 2358 esac
2130 case " $ac_configure_args " in 2359 case " $ac_configure_args " in
2131 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2132 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2133 esac 2362 esac
2134 fi 2363 fi
2135done 2364done
2136if $ac_cache_corrupted; then 2365if $ac_cache_corrupted; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2367printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2140$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2369printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2141 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2370 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2371 and start over" "$LINENO" 5
2142fi 2372fi
2143## -------------------- ## 2373## -------------------- ##
2144## Main body of script. ## 2374## Main body of script. ##
2145## -------------------- ## 2375## -------------------- ##
2146 2376
2161VERSION=0.5 2391VERSION=0.5
2162PATCH=20 2392PATCH=20
2163 2393
2164 2394
2165# Check whether --with-cc was given. 2395# Check whether --with-cc was given.
2166if test "${with_cc+set}" = set; then : 2396if test ${with_cc+y}
2397then :
2167 withval=$with_cc; CC=$with_cc 2398 withval=$with_cc; CC=$with_cc
2168fi 2399fi
2169 2400
2170 2401
2171# Check whether --with-cflags was given. 2402# Check whether --with-cflags was given.
2172if test "${with_cflags+set}" = set; then : 2403if test ${with_cflags+y}
2404then :
2173 withval=$with_cflags; CFLAGS=$with_cflags 2405 withval=$with_cflags; CFLAGS=$with_cflags
2174fi 2406fi
2407
2408
2409
2410
2411
2412
2413
2414
2415
2175 2416
2176 2417
2177ac_ext=c 2418ac_ext=c
2178ac_cpp='$CPP $CPPFLAGS' 2419ac_cpp='$CPP $CPPFLAGS'
2179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2181ac_compiler_gnu=$ac_cv_c_compiler_gnu 2422ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182if test -n "$ac_tool_prefix"; then 2423if test -n "$ac_tool_prefix"; then
2183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2424 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2184set dummy ${ac_tool_prefix}gcc; ac_word=$2 2425set dummy ${ac_tool_prefix}gcc; ac_word=$2
2185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2426{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2186$as_echo_n "checking for $ac_word... " >&6; } 2427printf %s "checking for $ac_word... " >&6; }
2187if ${ac_cv_prog_CC+:} false; then : 2428if test ${ac_cv_prog_CC+y}
2188 $as_echo_n "(cached) " >&6 2429then :
2189else 2430 printf %s "(cached) " >&6
2431else $as_nop
2190 if test -n "$CC"; then 2432 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test. 2433 ac_cv_prog_CC="$CC" # Let the user override the test.
2192else 2434else
2193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194for as_dir in $PATH 2436for as_dir in $PATH
2195do 2437do
2196 IFS=$as_save_IFS 2438 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=. 2439 case $as_dir in #(((
2440 '') as_dir=./ ;;
2441 */) ;;
2442 *) as_dir=$as_dir/ ;;
2443 esac
2198 for ac_exec_ext in '' $ac_executable_extensions; do 2444 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2446 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2202 break 2 2448 break 2
2203 fi 2449 fi
2204done 2450done
2205 done 2451 done
2206IFS=$as_save_IFS 2452IFS=$as_save_IFS
2207 2453
2208fi 2454fi
2209fi 2455fi
2210CC=$ac_cv_prog_CC 2456CC=$ac_cv_prog_CC
2211if test -n "$CC"; then 2457if test -n "$CC"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2213$as_echo "$CC" >&6; } 2459printf "%s\n" "$CC" >&6; }
2214else 2460else
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2216$as_echo "no" >&6; } 2462printf "%s\n" "no" >&6; }
2217fi 2463fi
2218 2464
2219 2465
2220fi 2466fi
2221if test -z "$ac_cv_prog_CC"; then 2467if test -z "$ac_cv_prog_CC"; then
2222 ac_ct_CC=$CC 2468 ac_ct_CC=$CC
2223 # Extract the first word of "gcc", so it can be a program name with args. 2469 # Extract the first word of "gcc", so it can be a program name with args.
2224set dummy gcc; ac_word=$2 2470set dummy gcc; ac_word=$2
2225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2471{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226$as_echo_n "checking for $ac_word... " >&6; } 2472printf %s "checking for $ac_word... " >&6; }
2227if ${ac_cv_prog_ac_ct_CC+:} false; then : 2473if test ${ac_cv_prog_ac_ct_CC+y}
2228 $as_echo_n "(cached) " >&6 2474then :
2229else 2475 printf %s "(cached) " >&6
2476else $as_nop
2230 if test -n "$ac_ct_CC"; then 2477 if test -n "$ac_ct_CC"; then
2231 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2232else 2479else
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234for as_dir in $PATH 2481for as_dir in $PATH
2235do 2482do
2236 IFS=$as_save_IFS 2483 IFS=$as_save_IFS
2237 test -z "$as_dir" && as_dir=. 2484 case $as_dir in #(((
2485 '') as_dir=./ ;;
2486 */) ;;
2487 *) as_dir=$as_dir/ ;;
2488 esac
2238 for ac_exec_ext in '' $ac_executable_extensions; do 2489 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_ac_ct_CC="gcc" 2491 ac_cv_prog_ac_ct_CC="gcc"
2241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2242 break 2 2493 break 2
2243 fi 2494 fi
2244done 2495done
2245 done 2496 done
2246IFS=$as_save_IFS 2497IFS=$as_save_IFS
2247 2498
2248fi 2499fi
2249fi 2500fi
2250ac_ct_CC=$ac_cv_prog_ac_ct_CC 2501ac_ct_CC=$ac_cv_prog_ac_ct_CC
2251if test -n "$ac_ct_CC"; then 2502if test -n "$ac_ct_CC"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2253$as_echo "$ac_ct_CC" >&6; } 2504printf "%s\n" "$ac_ct_CC" >&6; }
2254else 2505else
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2256$as_echo "no" >&6; } 2507printf "%s\n" "no" >&6; }
2257fi 2508fi
2258 2509
2259 if test "x$ac_ct_CC" = x; then 2510 if test "x$ac_ct_CC" = x; then
2260 CC="" 2511 CC=""
2261 else 2512 else
2262 case $cross_compiling:$ac_tool_warned in 2513 case $cross_compiling:$ac_tool_warned in
2263yes:) 2514yes:)
2264{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2515{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2265$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2516printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2266ac_tool_warned=yes ;; 2517ac_tool_warned=yes ;;
2267esac 2518esac
2268 CC=$ac_ct_CC 2519 CC=$ac_ct_CC
2269 fi 2520 fi
2270else 2521else
2273 2524
2274if test -z "$CC"; then 2525if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then 2526 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2527 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2277set dummy ${ac_tool_prefix}cc; ac_word=$2 2528set dummy ${ac_tool_prefix}cc; ac_word=$2
2278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2529{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2279$as_echo_n "checking for $ac_word... " >&6; } 2530printf %s "checking for $ac_word... " >&6; }
2280if ${ac_cv_prog_CC+:} false; then : 2531if test ${ac_cv_prog_CC+y}
2281 $as_echo_n "(cached) " >&6 2532then :
2282else 2533 printf %s "(cached) " >&6
2534else $as_nop
2283 if test -n "$CC"; then 2535 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test. 2536 ac_cv_prog_CC="$CC" # Let the user override the test.
2285else 2537else
2286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287for as_dir in $PATH 2539for as_dir in $PATH
2288do 2540do
2289 IFS=$as_save_IFS 2541 IFS=$as_save_IFS
2290 test -z "$as_dir" && as_dir=. 2542 case $as_dir in #(((
2543 '') as_dir=./ ;;
2544 */) ;;
2545 *) as_dir=$as_dir/ ;;
2546 esac
2291 for ac_exec_ext in '' $ac_executable_extensions; do 2547 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_CC="${ac_tool_prefix}cc" 2549 ac_cv_prog_CC="${ac_tool_prefix}cc"
2294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2295 break 2 2551 break 2
2296 fi 2552 fi
2297done 2553done
2298 done 2554 done
2299IFS=$as_save_IFS 2555IFS=$as_save_IFS
2300 2556
2301fi 2557fi
2302fi 2558fi
2303CC=$ac_cv_prog_CC 2559CC=$ac_cv_prog_CC
2304if test -n "$CC"; then 2560if test -n "$CC"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2306$as_echo "$CC" >&6; } 2562printf "%s\n" "$CC" >&6; }
2307else 2563else
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309$as_echo "no" >&6; } 2565printf "%s\n" "no" >&6; }
2310fi 2566fi
2311 2567
2312 2568
2313 fi 2569 fi
2314fi 2570fi
2315if test -z "$CC"; then 2571if test -z "$CC"; then
2316 # Extract the first word of "cc", so it can be a program name with args. 2572 # Extract the first word of "cc", so it can be a program name with args.
2317set dummy cc; ac_word=$2 2573set dummy cc; ac_word=$2
2318{ $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
2319$as_echo_n "checking for $ac_word... " >&6; } 2575printf %s "checking for $ac_word... " >&6; }
2320if ${ac_cv_prog_CC+:} false; then : 2576if test ${ac_cv_prog_CC+y}
2321 $as_echo_n "(cached) " >&6 2577then :
2322else 2578 printf %s "(cached) " >&6
2579else $as_nop
2323 if test -n "$CC"; then 2580 if test -n "$CC"; then
2324 ac_cv_prog_CC="$CC" # Let the user override the test. 2581 ac_cv_prog_CC="$CC" # Let the user override the test.
2325else 2582else
2326 ac_prog_rejected=no 2583 ac_prog_rejected=no
2327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328for as_dir in $PATH 2585for as_dir in $PATH
2329do 2586do
2330 IFS=$as_save_IFS 2587 IFS=$as_save_IFS
2331 test -z "$as_dir" && as_dir=. 2588 case $as_dir in #(((
2589 '') as_dir=./ ;;
2590 */) ;;
2591 *) as_dir=$as_dir/ ;;
2592 esac
2332 for ac_exec_ext in '' $ac_executable_extensions; do 2593 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2334 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2595 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2335 ac_prog_rejected=yes 2596 ac_prog_rejected=yes
2336 continue 2597 continue
2337 fi 2598 fi
2338 ac_cv_prog_CC="cc" 2599 ac_cv_prog_CC="cc"
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2340 break 2 2601 break 2
2341 fi 2602 fi
2342done 2603done
2343 done 2604 done
2344IFS=$as_save_IFS 2605IFS=$as_save_IFS
2350 if test $# != 0; then 2611 if test $# != 0; then
2351 # We chose a different compiler from the bogus one. 2612 # We chose a different compiler from the bogus one.
2352 # However, it has the same basename, so the bogon will be chosen 2613 # However, it has the same basename, so the bogon will be chosen
2353 # first if we set CC to just the basename; use the full file name. 2614 # first if we set CC to just the basename; use the full file name.
2354 shift 2615 shift
2355 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2616 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2356 fi 2617 fi
2357fi 2618fi
2358fi 2619fi
2359fi 2620fi
2360CC=$ac_cv_prog_CC 2621CC=$ac_cv_prog_CC
2361if test -n "$CC"; then 2622if test -n "$CC"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2363$as_echo "$CC" >&6; } 2624printf "%s\n" "$CC" >&6; }
2364else 2625else
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366$as_echo "no" >&6; } 2627printf "%s\n" "no" >&6; }
2367fi 2628fi
2368 2629
2369 2630
2370fi 2631fi
2371if test -z "$CC"; then 2632if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then 2633 if test -n "$ac_tool_prefix"; then
2373 for ac_prog in cl.exe 2634 for ac_prog in cl.exe
2374 do 2635 do
2375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2376set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2637set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2638{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378$as_echo_n "checking for $ac_word... " >&6; } 2639printf %s "checking for $ac_word... " >&6; }
2379if ${ac_cv_prog_CC+:} false; then : 2640if test ${ac_cv_prog_CC+y}
2380 $as_echo_n "(cached) " >&6 2641then :
2381else 2642 printf %s "(cached) " >&6
2643else $as_nop
2382 if test -n "$CC"; then 2644 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test. 2645 ac_cv_prog_CC="$CC" # Let the user override the test.
2384else 2646else
2385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386for as_dir in $PATH 2648for as_dir in $PATH
2387do 2649do
2388 IFS=$as_save_IFS 2650 IFS=$as_save_IFS
2389 test -z "$as_dir" && as_dir=. 2651 case $as_dir in #(((
2652 '') as_dir=./ ;;
2653 */) ;;
2654 *) as_dir=$as_dir/ ;;
2655 esac
2390 for ac_exec_ext in '' $ac_executable_extensions; do 2656 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2658 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2394 break 2 2660 break 2
2395 fi 2661 fi
2396done 2662done
2397 done 2663 done
2398IFS=$as_save_IFS 2664IFS=$as_save_IFS
2399 2665
2400fi 2666fi
2401fi 2667fi
2402CC=$ac_cv_prog_CC 2668CC=$ac_cv_prog_CC
2403if test -n "$CC"; then 2669if test -n "$CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405$as_echo "$CC" >&6; } 2671printf "%s\n" "$CC" >&6; }
2406else 2672else
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408$as_echo "no" >&6; } 2674printf "%s\n" "no" >&6; }
2409fi 2675fi
2410 2676
2411 2677
2412 test -n "$CC" && break 2678 test -n "$CC" && break
2413 done 2679 done
2416 ac_ct_CC=$CC 2682 ac_ct_CC=$CC
2417 for ac_prog in cl.exe 2683 for ac_prog in cl.exe
2418do 2684do
2419 # Extract the first word of "$ac_prog", so it can be a program name with args. 2685 # Extract the first word of "$ac_prog", so it can be a program name with args.
2420set dummy $ac_prog; ac_word=$2 2686set dummy $ac_prog; ac_word=$2
2421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2687{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422$as_echo_n "checking for $ac_word... " >&6; } 2688printf %s "checking for $ac_word... " >&6; }
2423if ${ac_cv_prog_ac_ct_CC+:} false; then : 2689if test ${ac_cv_prog_ac_ct_CC+y}
2424 $as_echo_n "(cached) " >&6 2690then :
2425else 2691 printf %s "(cached) " >&6
2692else $as_nop
2426 if test -n "$ac_ct_CC"; then 2693 if test -n "$ac_ct_CC"; then
2427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2694 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2428else 2695else
2429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430for as_dir in $PATH 2697for as_dir in $PATH
2431do 2698do
2432 IFS=$as_save_IFS 2699 IFS=$as_save_IFS
2433 test -z "$as_dir" && as_dir=. 2700 case $as_dir in #(((
2701 '') as_dir=./ ;;
2702 */) ;;
2703 *) as_dir=$as_dir/ ;;
2704 esac
2434 for ac_exec_ext in '' $ac_executable_extensions; do 2705 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2436 ac_cv_prog_ac_ct_CC="$ac_prog" 2707 ac_cv_prog_ac_ct_CC="$ac_prog"
2437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2438 break 2 2709 break 2
2439 fi 2710 fi
2440done 2711done
2441 done 2712 done
2442IFS=$as_save_IFS 2713IFS=$as_save_IFS
2443 2714
2444fi 2715fi
2445fi 2716fi
2446ac_ct_CC=$ac_cv_prog_ac_ct_CC 2717ac_ct_CC=$ac_cv_prog_ac_ct_CC
2447if test -n "$ac_ct_CC"; then 2718if test -n "$ac_ct_CC"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2449$as_echo "$ac_ct_CC" >&6; } 2720printf "%s\n" "$ac_ct_CC" >&6; }
2450else 2721else
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452$as_echo "no" >&6; } 2723printf "%s\n" "no" >&6; }
2453fi 2724fi
2454 2725
2455 2726
2456 test -n "$ac_ct_CC" && break 2727 test -n "$ac_ct_CC" && break
2457done 2728done
2459 if test "x$ac_ct_CC" = x; then 2730 if test "x$ac_ct_CC" = x; then
2460 CC="" 2731 CC=""
2461 else 2732 else
2462 case $cross_compiling:$ac_tool_warned in 2733 case $cross_compiling:$ac_tool_warned in
2463yes:) 2734yes:)
2464{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2735{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2736printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2466ac_tool_warned=yes ;; 2737ac_tool_warned=yes ;;
2467esac 2738esac
2468 CC=$ac_ct_CC 2739 CC=$ac_ct_CC
2469 fi 2740 fi
2470fi 2741fi
2471 2742
2472fi 2743fi
2744if test -z "$CC"; then
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2747set dummy ${ac_tool_prefix}clang; ac_word=$2
2748{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749printf %s "checking for $ac_word... " >&6; }
2750if test ${ac_cv_prog_CC+y}
2751then :
2752 printf %s "(cached) " >&6
2753else $as_nop
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC="$CC" # Let the user override the test.
2756else
2757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758for as_dir in $PATH
2759do
2760 IFS=$as_save_IFS
2761 case $as_dir in #(((
2762 '') as_dir=./ ;;
2763 */) ;;
2764 *) as_dir=$as_dir/ ;;
2765 esac
2766 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2768 ac_cv_prog_CC="${ac_tool_prefix}clang"
2769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2770 break 2
2771 fi
2772done
2773 done
2774IFS=$as_save_IFS
2473 2775
2776fi
2777fi
2778CC=$ac_cv_prog_CC
2779if test -n "$CC"; then
2780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2781printf "%s\n" "$CC" >&6; }
2782else
2783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784printf "%s\n" "no" >&6; }
2785fi
2474 2786
2787
2788fi
2789if test -z "$ac_cv_prog_CC"; then
2790 ac_ct_CC=$CC
2791 # Extract the first word of "clang", so it can be a program name with args.
2792set dummy clang; ac_word=$2
2793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794printf %s "checking for $ac_word... " >&6; }
2795if test ${ac_cv_prog_ac_ct_CC+y}
2796then :
2797 printf %s "(cached) " >&6
2798else $as_nop
2799 if test -n "$ac_ct_CC"; then
2800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2801else
2802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803for as_dir in $PATH
2804do
2805 IFS=$as_save_IFS
2806 case $as_dir in #(((
2807 '') as_dir=./ ;;
2808 */) ;;
2809 *) as_dir=$as_dir/ ;;
2810 esac
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_ac_ct_CC="clang"
2814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2815 break 2
2816 fi
2817done
2818 done
2819IFS=$as_save_IFS
2820
2821fi
2822fi
2823ac_ct_CC=$ac_cv_prog_ac_ct_CC
2824if test -n "$ac_ct_CC"; then
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2826printf "%s\n" "$ac_ct_CC" >&6; }
2827else
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829printf "%s\n" "no" >&6; }
2830fi
2831
2832 if test "x$ac_ct_CC" = x; then
2833 CC=""
2834 else
2835 case $cross_compiling:$ac_tool_warned in
2836yes:)
2837{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2838printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2839ac_tool_warned=yes ;;
2840esac
2841 CC=$ac_ct_CC
2842 fi
2843else
2844 CC="$ac_cv_prog_CC"
2845fi
2846
2847fi
2848
2849
2475test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2850test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2851printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2477as_fn_error $? "no acceptable C compiler found in \$PATH 2852as_fn_error $? "no acceptable C compiler found in \$PATH
2478See \`config.log' for more details" "$LINENO" 5; } 2853See \`config.log' for more details" "$LINENO" 5; }
2479 2854
2480# Provide some information about the compiler. 2855# Provide some information about the compiler.
2481$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2856printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2482set X $ac_compile 2857set X $ac_compile
2483ac_compiler=$2 2858ac_compiler=$2
2484for ac_option in --version -v -V -qversion; do 2859for ac_option in --version -v -V -qversion -version; do
2485 { { ac_try="$ac_compiler $ac_option >&5" 2860 { { ac_try="$ac_compiler $ac_option >&5"
2486case "(($ac_try" in 2861case "(($ac_try" in
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;; 2863 *) ac_try_echo=$ac_try;;
2489esac 2864esac
2490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491$as_echo "$ac_try_echo"; } >&5 2866printf "%s\n" "$ac_try_echo"; } >&5
2492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2493 ac_status=$? 2868 ac_status=$?
2494 if test -s conftest.err; then 2869 if test -s conftest.err; then
2495 sed '10a\ 2870 sed '10a\
2496... rest of stderr output deleted ... 2871... rest of stderr output deleted ...
2497 10q' conftest.err >conftest.er1 2872 10q' conftest.err >conftest.er1
2498 cat conftest.er1 >&5 2873 cat conftest.er1 >&5
2499 fi 2874 fi
2500 rm -f conftest.er1 conftest.err 2875 rm -f conftest.er1 conftest.err
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; } 2877 test $ac_status = 0; }
2503done 2878done
2504 2879
2505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2506/* end confdefs.h. */ 2881/* end confdefs.h. */
2507 2882
2508int 2883int
2509main () 2884main (void)
2510{ 2885{
2511 2886
2512 ; 2887 ;
2513 return 0; 2888 return 0;
2514} 2889}
2516ac_clean_files_save=$ac_clean_files 2891ac_clean_files_save=$ac_clean_files
2517ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2892ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2518# Try to create an executable without -o first, disregard a.out. 2893# Try to create an executable without -o first, disregard a.out.
2519# It will help us diagnose broken compilers, and finding out an intuition 2894# It will help us diagnose broken compilers, and finding out an intuition
2520# of exeext. 2895# of exeext.
2521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2896{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2522$as_echo_n "checking whether the C compiler works... " >&6; } 2897printf %s "checking whether the C compiler works... " >&6; }
2523ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2898ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2524 2899
2525# The possible output files: 2900# The possible output files:
2526ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2901ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2527 2902
2528ac_rmfiles= 2903ac_rmfiles=
2539case "(($ac_try" in 2914case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;; 2916 *) ac_try_echo=$ac_try;;
2542esac 2917esac
2543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544$as_echo "$ac_try_echo"; } >&5 2919printf "%s\n" "$ac_try_echo"; } >&5
2545 (eval "$ac_link_default") 2>&5 2920 (eval "$ac_link_default") 2>&5
2546 ac_status=$? 2921 ac_status=$?
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }; then : 2923 test $ac_status = 0; }
2924then :
2549 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2925 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2550# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2926# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2551# in a Makefile. We should not override ac_cv_exeext if it was cached, 2927# in a Makefile. We should not override ac_cv_exeext if it was cached,
2552# so that the user can short-circuit this test for compilers unknown to 2928# so that the user can short-circuit this test for compilers unknown to
2553# Autoconf. 2929# Autoconf.
2560 [ab].out ) 2936 [ab].out )
2561 # We found the default executable, but exeext='' is most 2937 # We found the default executable, but exeext='' is most
2562 # certainly right. 2938 # certainly right.
2563 break;; 2939 break;;
2564 *.* ) 2940 *.* )
2565 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2941 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2566 then :; else 2942 then :; else
2567 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2943 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2568 fi 2944 fi
2569 # We set ac_cv_exeext here because the later test for it is not 2945 # We set ac_cv_exeext here because the later test for it is not
2570 # safe: cross compilers may not add the suffix if given an `-o' 2946 # safe: cross compilers may not add the suffix if given an `-o'
2576 break;; 2952 break;;
2577 esac 2953 esac
2578done 2954done
2579test "$ac_cv_exeext" = no && ac_cv_exeext= 2955test "$ac_cv_exeext" = no && ac_cv_exeext=
2580 2956
2581else 2957else $as_nop
2582 ac_file='' 2958 ac_file=''
2583fi 2959fi
2584if test -z "$ac_file"; then : 2960if test -z "$ac_file"
2961then :
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586$as_echo "no" >&6; } 2963printf "%s\n" "no" >&6; }
2587$as_echo "$as_me: failed program was:" >&5 2964printf "%s\n" "$as_me: failed program was:" >&5
2588sed 's/^/| /' conftest.$ac_ext >&5 2965sed 's/^/| /' conftest.$ac_ext >&5
2589 2966
2590{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2967{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2968printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2592as_fn_error 77 "C compiler cannot create executables 2969as_fn_error 77 "C compiler cannot create executables
2593See \`config.log' for more details" "$LINENO" 5; } 2970See \`config.log' for more details" "$LINENO" 5; }
2594else 2971else $as_nop
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596$as_echo "yes" >&6; } 2973printf "%s\n" "yes" >&6; }
2597fi 2974fi
2598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2975{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2599$as_echo_n "checking for C compiler default output file name... " >&6; } 2976printf %s "checking for C compiler default output file name... " >&6; }
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2977{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2601$as_echo "$ac_file" >&6; } 2978printf "%s\n" "$ac_file" >&6; }
2602ac_exeext=$ac_cv_exeext 2979ac_exeext=$ac_cv_exeext
2603 2980
2604rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2981rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2605ac_clean_files=$ac_clean_files_save 2982ac_clean_files=$ac_clean_files_save
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2983{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2607$as_echo_n "checking for suffix of executables... " >&6; } 2984printf %s "checking for suffix of executables... " >&6; }
2608if { { ac_try="$ac_link" 2985if { { ac_try="$ac_link"
2609case "(($ac_try" in 2986case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;; 2988 *) ac_try_echo=$ac_try;;
2612esac 2989esac
2613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2990eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2614$as_echo "$ac_try_echo"; } >&5 2991printf "%s\n" "$ac_try_echo"; } >&5
2615 (eval "$ac_link") 2>&5 2992 (eval "$ac_link") 2>&5
2616 ac_status=$? 2993 ac_status=$?
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; }; then : 2995 test $ac_status = 0; }
2996then :
2619 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2997 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2620# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2998# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2621# work properly (i.e., refer to `conftest.exe'), while it won't with 2999# work properly (i.e., refer to `conftest.exe'), while it won't with
2622# `rm'. 3000# `rm'.
2623for ac_file in conftest.exe conftest conftest.*; do 3001for ac_file in conftest.exe conftest conftest.*; do
2627 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3005 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2628 break;; 3006 break;;
2629 * ) break;; 3007 * ) break;;
2630 esac 3008 esac
2631done 3009done
2632else 3010else $as_nop
2633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2634$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3012printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2635as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3013as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2636See \`config.log' for more details" "$LINENO" 5; } 3014See \`config.log' for more details" "$LINENO" 5; }
2637fi 3015fi
2638rm -f conftest conftest$ac_cv_exeext 3016rm -f conftest conftest$ac_cv_exeext
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3017{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2640$as_echo "$ac_cv_exeext" >&6; } 3018printf "%s\n" "$ac_cv_exeext" >&6; }
2641 3019
2642rm -f conftest.$ac_ext 3020rm -f conftest.$ac_ext
2643EXEEXT=$ac_cv_exeext 3021EXEEXT=$ac_cv_exeext
2644ac_exeext=$EXEEXT 3022ac_exeext=$EXEEXT
2645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3023cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646/* end confdefs.h. */ 3024/* end confdefs.h. */
2647#include <stdio.h> 3025#include <stdio.h>
2648int 3026int
2649main () 3027main (void)
2650{ 3028{
2651FILE *f = fopen ("conftest.out", "w"); 3029FILE *f = fopen ("conftest.out", "w");
2652 return ferror (f) || fclose (f) != 0; 3030 return ferror (f) || fclose (f) != 0;
2653 3031
2654 ; 3032 ;
2656} 3034}
2657_ACEOF 3035_ACEOF
2658ac_clean_files="$ac_clean_files conftest.out" 3036ac_clean_files="$ac_clean_files conftest.out"
2659# Check that the compiler produces executables we can run. If not, either 3037# Check that the compiler produces executables we can run. If not, either
2660# the compiler is broken, or we cross compile. 3038# the compiler is broken, or we cross compile.
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3039{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2662$as_echo_n "checking whether we are cross compiling... " >&6; } 3040printf %s "checking whether we are cross compiling... " >&6; }
2663if test "$cross_compiling" != yes; then 3041if test "$cross_compiling" != yes; then
2664 { { ac_try="$ac_link" 3042 { { ac_try="$ac_link"
2665case "(($ac_try" in 3043case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;; 3045 *) ac_try_echo=$ac_try;;
2668esac 3046esac
2669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3047eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670$as_echo "$ac_try_echo"; } >&5 3048printf "%s\n" "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>&5 3049 (eval "$ac_link") 2>&5
2672 ac_status=$? 3050 ac_status=$?
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } 3052 test $ac_status = 0; }
2675 if { ac_try='./conftest$ac_cv_exeext' 3053 if { ac_try='./conftest$ac_cv_exeext'
2676 { { case "(($ac_try" in 3054 { { case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;; 3056 *) ac_try_echo=$ac_try;;
2679esac 3057esac
2680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681$as_echo "$ac_try_echo"; } >&5 3059printf "%s\n" "$ac_try_echo"; } >&5
2682 (eval "$ac_try") 2>&5 3060 (eval "$ac_try") 2>&5
2683 ac_status=$? 3061 ac_status=$?
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; }; }; then 3063 test $ac_status = 0; }; }; then
2686 cross_compiling=no 3064 cross_compiling=no
2687 else 3065 else
2688 if test "$cross_compiling" = maybe; then 3066 if test "$cross_compiling" = maybe; then
2689 cross_compiling=yes 3067 cross_compiling=yes
2690 else 3068 else
2691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3069 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3070printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2693as_fn_error $? "cannot run C compiled programs. 3071as_fn_error 77 "cannot run C compiled programs.
2694If you meant to cross compile, use \`--host'. 3072If you meant to cross compile, use \`--host'.
2695See \`config.log' for more details" "$LINENO" 5; } 3073See \`config.log' for more details" "$LINENO" 5; }
2696 fi 3074 fi
2697 fi 3075 fi
2698fi 3076fi
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3077{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2700$as_echo "$cross_compiling" >&6; } 3078printf "%s\n" "$cross_compiling" >&6; }
2701 3079
2702rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3080rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2703ac_clean_files=$ac_clean_files_save 3081ac_clean_files=$ac_clean_files_save
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3082{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2705$as_echo_n "checking for suffix of object files... " >&6; } 3083printf %s "checking for suffix of object files... " >&6; }
2706if ${ac_cv_objext+:} false; then : 3084if test ${ac_cv_objext+y}
2707 $as_echo_n "(cached) " >&6 3085then :
2708else 3086 printf %s "(cached) " >&6
3087else $as_nop
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710/* end confdefs.h. */ 3089/* end confdefs.h. */
2711 3090
2712int 3091int
2713main () 3092main (void)
2714{ 3093{
2715 3094
2716 ; 3095 ;
2717 return 0; 3096 return 0;
2718} 3097}
2722case "(($ac_try" in 3101case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;; 3103 *) ac_try_echo=$ac_try;;
2725esac 3104esac
2726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727$as_echo "$ac_try_echo"; } >&5 3106printf "%s\n" "$ac_try_echo"; } >&5
2728 (eval "$ac_compile") 2>&5 3107 (eval "$ac_compile") 2>&5
2729 ac_status=$? 3108 ac_status=$?
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; }; then : 3110 test $ac_status = 0; }
3111then :
2732 for ac_file in conftest.o conftest.obj conftest.*; do 3112 for ac_file in conftest.o conftest.obj conftest.*; do
2733 test -f "$ac_file" || continue; 3113 test -f "$ac_file" || continue;
2734 case $ac_file in 3114 case $ac_file in
2735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2736 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3116 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2737 break;; 3117 break;;
2738 esac 3118 esac
2739done 3119done
2740else 3120else $as_nop
2741 $as_echo "$as_me: failed program was:" >&5 3121 printf "%s\n" "$as_me: failed program was:" >&5
2742sed 's/^/| /' conftest.$ac_ext >&5 3122sed 's/^/| /' conftest.$ac_ext >&5
2743 3123
2744{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3124{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2745$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3125printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2746as_fn_error $? "cannot compute suffix of object files: cannot compile 3126as_fn_error $? "cannot compute suffix of object files: cannot compile
2747See \`config.log' for more details" "$LINENO" 5; } 3127See \`config.log' for more details" "$LINENO" 5; }
2748fi 3128fi
2749rm -f conftest.$ac_cv_objext conftest.$ac_ext 3129rm -f conftest.$ac_cv_objext conftest.$ac_ext
2750fi 3130fi
2751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3131{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2752$as_echo "$ac_cv_objext" >&6; } 3132printf "%s\n" "$ac_cv_objext" >&6; }
2753OBJEXT=$ac_cv_objext 3133OBJEXT=$ac_cv_objext
2754ac_objext=$OBJEXT 3134ac_objext=$OBJEXT
2755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2756$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3136printf %s "checking whether the compiler supports GNU C... " >&6; }
2757if ${ac_cv_c_compiler_gnu+:} false; then : 3137if test ${ac_cv_c_compiler_gnu+y}
2758 $as_echo_n "(cached) " >&6 3138then :
2759else 3139 printf %s "(cached) " >&6
3140else $as_nop
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761/* end confdefs.h. */ 3142/* end confdefs.h. */
2762 3143
2763int 3144int
2764main () 3145main (void)
2765{ 3146{
2766#ifndef __GNUC__ 3147#ifndef __GNUC__
2767 choke me 3148 choke me
2768#endif 3149#endif
2769 3150
2770 ; 3151 ;
2771 return 0; 3152 return 0;
2772} 3153}
2773_ACEOF 3154_ACEOF
2774if ac_fn_c_try_compile "$LINENO"; then : 3155if ac_fn_c_try_compile "$LINENO"
3156then :
2775 ac_compiler_gnu=yes 3157 ac_compiler_gnu=yes
2776else 3158else $as_nop
2777 ac_compiler_gnu=no 3159 ac_compiler_gnu=no
2778fi 3160fi
2779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3161rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2780ac_cv_c_compiler_gnu=$ac_compiler_gnu 3162ac_cv_c_compiler_gnu=$ac_compiler_gnu
2781 3163
2782fi 3164fi
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3165{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2784$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3166printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3167ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168
2785if test $ac_compiler_gnu = yes; then 3169if test $ac_compiler_gnu = yes; then
2786 GCC=yes 3170 GCC=yes
2787else 3171else
2788 GCC= 3172 GCC=
2789fi 3173fi
2790ac_test_CFLAGS=${CFLAGS+set} 3174ac_test_CFLAGS=${CFLAGS+y}
2791ac_save_CFLAGS=$CFLAGS 3175ac_save_CFLAGS=$CFLAGS
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3176{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2793$as_echo_n "checking whether $CC accepts -g... " >&6; } 3177printf %s "checking whether $CC accepts -g... " >&6; }
2794if ${ac_cv_prog_cc_g+:} false; then : 3178if test ${ac_cv_prog_cc_g+y}
2795 $as_echo_n "(cached) " >&6 3179then :
2796else 3180 printf %s "(cached) " >&6
3181else $as_nop
2797 ac_save_c_werror_flag=$ac_c_werror_flag 3182 ac_save_c_werror_flag=$ac_c_werror_flag
2798 ac_c_werror_flag=yes 3183 ac_c_werror_flag=yes
2799 ac_cv_prog_cc_g=no 3184 ac_cv_prog_cc_g=no
2800 CFLAGS="-g" 3185 CFLAGS="-g"
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802/* end confdefs.h. */ 3187/* end confdefs.h. */
2803 3188
2804int 3189int
2805main () 3190main (void)
2806{ 3191{
2807 3192
2808 ; 3193 ;
2809 return 0; 3194 return 0;
2810} 3195}
2811_ACEOF 3196_ACEOF
2812if ac_fn_c_try_compile "$LINENO"; then : 3197if ac_fn_c_try_compile "$LINENO"
3198then :
2813 ac_cv_prog_cc_g=yes 3199 ac_cv_prog_cc_g=yes
2814else 3200else $as_nop
2815 CFLAGS="" 3201 CFLAGS=""
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817/* end confdefs.h. */ 3203/* end confdefs.h. */
2818 3204
2819int 3205int
2820main () 3206main (void)
2821{ 3207{
2822 3208
2823 ; 3209 ;
2824 return 0; 3210 return 0;
2825} 3211}
2826_ACEOF 3212_ACEOF
2827if ac_fn_c_try_compile "$LINENO"; then : 3213if ac_fn_c_try_compile "$LINENO"
3214then :
2828 3215
2829else 3216else $as_nop
2830 ac_c_werror_flag=$ac_save_c_werror_flag 3217 ac_c_werror_flag=$ac_save_c_werror_flag
2831 CFLAGS="-g" 3218 CFLAGS="-g"
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833/* end confdefs.h. */ 3220/* end confdefs.h. */
2834 3221
2835int 3222int
2836main () 3223main (void)
2837{ 3224{
2838 3225
2839 ; 3226 ;
2840 return 0; 3227 return 0;
2841} 3228}
2842_ACEOF 3229_ACEOF
2843if ac_fn_c_try_compile "$LINENO"; then : 3230if ac_fn_c_try_compile "$LINENO"
3231then :
2844 ac_cv_prog_cc_g=yes 3232 ac_cv_prog_cc_g=yes
2845fi 3233fi
2846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3234rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2847fi 3235fi
2848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3236rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2849fi 3237fi
2850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3238rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2851 ac_c_werror_flag=$ac_save_c_werror_flag 3239 ac_c_werror_flag=$ac_save_c_werror_flag
2852fi 3240fi
2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2854$as_echo "$ac_cv_prog_cc_g" >&6; } 3242printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
2855if test "$ac_test_CFLAGS" = set; then 3243if test $ac_test_CFLAGS; then
2856 CFLAGS=$ac_save_CFLAGS 3244 CFLAGS=$ac_save_CFLAGS
2857elif test $ac_cv_prog_cc_g = yes; then 3245elif test $ac_cv_prog_cc_g = yes; then
2858 if test "$GCC" = yes; then 3246 if test "$GCC" = yes; then
2859 CFLAGS="-g -O2" 3247 CFLAGS="-g -O2"
2860 else 3248 else
2865 CFLAGS="-O2" 3253 CFLAGS="-O2"
2866 else 3254 else
2867 CFLAGS= 3255 CFLAGS=
2868 fi 3256 fi
2869fi 3257fi
3258ac_prog_cc_stdc=no
3259if test x$ac_prog_cc_stdc = xno
3260then :
3261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3262printf %s "checking for $CC option to enable C11 features... " >&6; }
3263if test ${ac_cv_prog_cc_c11+y}
3264then :
3265 printf %s "(cached) " >&6
3266else $as_nop
3267 ac_cv_prog_cc_c11=no
3268ac_save_CC=$CC
3269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270/* end confdefs.h. */
3271$ac_c_conftest_c11_program
3272_ACEOF
3273for ac_arg in '' -std=gnu11
3274do
3275 CC="$ac_save_CC $ac_arg"
3276 if ac_fn_c_try_compile "$LINENO"
3277then :
3278 ac_cv_prog_cc_c11=$ac_arg
3279fi
3280rm -f core conftest.err conftest.$ac_objext conftest.beam
3281 test "x$ac_cv_prog_cc_c11" != "xno" && break
3282done
3283rm -f conftest.$ac_ext
3284CC=$ac_save_CC
3285fi
3286
3287if test "x$ac_cv_prog_cc_c11" = xno
3288then :
3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3290printf "%s\n" "unsupported" >&6; }
3291else $as_nop
3292 if test "x$ac_cv_prog_cc_c11" = x
3293then :
3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3295printf "%s\n" "none needed" >&6; }
3296else $as_nop
3297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3298printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3299 CC="$CC $ac_cv_prog_cc_c11"
3300fi
3301 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3302 ac_prog_cc_stdc=c11
3303fi
3304fi
3305if test x$ac_prog_cc_stdc = xno
3306then :
3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3308printf %s "checking for $CC option to enable C99 features... " >&6; }
3309if test ${ac_cv_prog_cc_c99+y}
3310then :
3311 printf %s "(cached) " >&6
3312else $as_nop
3313 ac_cv_prog_cc_c99=no
3314ac_save_CC=$CC
3315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316/* end confdefs.h. */
3317$ac_c_conftest_c99_program
3318_ACEOF
3319for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3320do
3321 CC="$ac_save_CC $ac_arg"
3322 if ac_fn_c_try_compile "$LINENO"
3323then :
3324 ac_cv_prog_cc_c99=$ac_arg
3325fi
3326rm -f core conftest.err conftest.$ac_objext conftest.beam
3327 test "x$ac_cv_prog_cc_c99" != "xno" && break
3328done
3329rm -f conftest.$ac_ext
3330CC=$ac_save_CC
3331fi
3332
3333if test "x$ac_cv_prog_cc_c99" = xno
3334then :
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3336printf "%s\n" "unsupported" >&6; }
3337else $as_nop
3338 if test "x$ac_cv_prog_cc_c99" = x
3339then :
3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3341printf "%s\n" "none needed" >&6; }
3342else $as_nop
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3344printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3345 CC="$CC $ac_cv_prog_cc_c99"
3346fi
3347 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3348 ac_prog_cc_stdc=c99
3349fi
3350fi
3351if test x$ac_prog_cc_stdc = xno
3352then :
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
2871$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3354printf %s "checking for $CC option to enable C89 features... " >&6; }
2872if ${ac_cv_prog_cc_c89+:} false; then : 3355if test ${ac_cv_prog_cc_c89+y}
2873 $as_echo_n "(cached) " >&6 3356then :
2874else 3357 printf %s "(cached) " >&6
3358else $as_nop
2875 ac_cv_prog_cc_c89=no 3359 ac_cv_prog_cc_c89=no
2876ac_save_CC=$CC 3360ac_save_CC=$CC
2877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878/* end confdefs.h. */ 3362/* end confdefs.h. */
2879#include <stdarg.h> 3363$ac_c_conftest_c89_program
2880#include <stdio.h>
2881struct stat;
2882/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2883struct buf { int x; };
2884FILE * (*rcsopen) (struct buf *, struct stat *, int);
2885static char *e (p, i)
2886 char **p;
2887 int i;
2888{
2889 return p[i];
2890}
2891static char *f (char * (*g) (char **, int), char **p, ...)
2892{
2893 char *s;
2894 va_list v;
2895 va_start (v,p);
2896 s = g (p, va_arg (v,int));
2897 va_end (v);
2898 return s;
2899}
2900
2901/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2902 function prototypes and stuff, but not '\xHH' hex character constants.
2903 These don't provoke an error unfortunately, instead are silently treated
2904 as 'x'. The following induces an error, until -std is added to get
2905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2906 array size at least. It's necessary to write '\x00'==0 to get something
2907 that's true only with -std. */
2908int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2909
2910/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2911 inside strings and character constants. */
2912#define FOO(x) 'x'
2913int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2914
2915int test (int i, double x);
2916struct s1 {int (*f) (int a);};
2917struct s2 {int (*f) (double a);};
2918int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2919int argc;
2920char **argv;
2921int
2922main ()
2923{
2924return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2925 ;
2926 return 0;
2927}
2928_ACEOF 3364_ACEOF
2929for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3365for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2931do 3366do
2932 CC="$ac_save_CC $ac_arg" 3367 CC="$ac_save_CC $ac_arg"
2933 if ac_fn_c_try_compile "$LINENO"; then : 3368 if ac_fn_c_try_compile "$LINENO"
3369then :
2934 ac_cv_prog_cc_c89=$ac_arg 3370 ac_cv_prog_cc_c89=$ac_arg
2935fi 3371fi
2936rm -f core conftest.err conftest.$ac_objext 3372rm -f core conftest.err conftest.$ac_objext conftest.beam
2937 test "x$ac_cv_prog_cc_c89" != "xno" && break 3373 test "x$ac_cv_prog_cc_c89" != "xno" && break
2938done 3374done
2939rm -f conftest.$ac_ext 3375rm -f conftest.$ac_ext
2940CC=$ac_save_CC 3376CC=$ac_save_CC
2941
2942fi 3377fi
2943# AC_CACHE_VAL 3378
2944case "x$ac_cv_prog_cc_c89" in 3379if test "x$ac_cv_prog_cc_c89" = xno
2945 x) 3380then :
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2947$as_echo "none needed" >&6; } ;;
2948 xno)
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2950$as_echo "unsupported" >&6; } ;; 3382printf "%s\n" "unsupported" >&6; }
2951 *) 3383else $as_nop
3384 if test "x$ac_cv_prog_cc_c89" = x
3385then :
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3387printf "%s\n" "none needed" >&6; }
3388else $as_nop
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3390printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
2952 CC="$CC $ac_cv_prog_cc_c89" 3391 CC="$CC $ac_cv_prog_cc_c89"
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3392fi
2954$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3393 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
2955esac 3394 ac_prog_cc_stdc=c89
2956if test "x$ac_cv_prog_cc_c89" != xno; then : 3395fi
2957
2958fi 3396fi
2959 3397
2960ac_ext=c 3398ac_ext=c
2961ac_cpp='$CPP $CPPFLAGS' 3399ac_cpp='$CPP $CPPFLAGS'
2962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2966ac_ext=c 3404ac_ext=c
2967ac_cpp='$CPP $CPPFLAGS' 3405ac_cpp='$CPP $CPPFLAGS'
2968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970ac_compiler_gnu=$ac_cv_c_compiler_gnu 3408ac_compiler_gnu=$ac_cv_c_compiler_gnu
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3409{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2972$as_echo_n "checking how to run the C preprocessor... " >&6; } 3410printf %s "checking how to run the C preprocessor... " >&6; }
2973# On Suns, sometimes $CPP names a directory. 3411# On Suns, sometimes $CPP names a directory.
2974if test -n "$CPP" && test -d "$CPP"; then 3412if test -n "$CPP" && test -d "$CPP"; then
2975 CPP= 3413 CPP=
2976fi 3414fi
2977if test -z "$CPP"; then 3415if test -z "$CPP"; then
2978 if ${ac_cv_prog_CPP+:} false; then : 3416 if test ${ac_cv_prog_CPP+y}
2979 $as_echo_n "(cached) " >&6 3417then :
2980else 3418 printf %s "(cached) " >&6
3419else $as_nop
2981 # Double quotes because CPP needs to be expanded 3420 # Double quotes because $CC needs to be expanded
2982 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3421 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
2983 do 3422 do
2984 ac_preproc_ok=false 3423 ac_preproc_ok=false
2985for ac_c_preproc_warn_flag in '' yes 3424for ac_c_preproc_warn_flag in '' yes
2986do 3425do
2987 # Use a header file that comes with gcc, so configuring glibc 3426 # Use a header file that comes with gcc, so configuring glibc
2988 # with a fresh cross-compiler works. 3427 # with a fresh cross-compiler works.
2989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2990 # <limits.h> exists even on freestanding compilers.
2991 # On the NeXT, cc -E runs the code through the compiler's parser, 3428 # On the NeXT, cc -E runs the code through the compiler's parser,
2992 # not just through cpp. "Syntax error" is here to catch this case. 3429 # not just through cpp. "Syntax error" is here to catch this case.
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994/* end confdefs.h. */ 3431/* end confdefs.h. */
2995#ifdef __STDC__
2996# include <limits.h> 3432#include <limits.h>
2997#else
2998# include <assert.h>
2999#endif
3000 Syntax error 3433 Syntax error
3001_ACEOF 3434_ACEOF
3002if ac_fn_c_try_cpp "$LINENO"; then : 3435if ac_fn_c_try_cpp "$LINENO"
3436then :
3003 3437
3004else 3438else $as_nop
3005 # Broken: fails on valid input. 3439 # Broken: fails on valid input.
3006continue 3440continue
3007fi 3441fi
3008rm -f conftest.err conftest.i conftest.$ac_ext 3442rm -f conftest.err conftest.i conftest.$ac_ext
3009 3443
3011 # can be detected and how. 3445 # can be detected and how.
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013/* end confdefs.h. */ 3447/* end confdefs.h. */
3014#include <ac_nonexistent.h> 3448#include <ac_nonexistent.h>
3015_ACEOF 3449_ACEOF
3016if ac_fn_c_try_cpp "$LINENO"; then : 3450if ac_fn_c_try_cpp "$LINENO"
3451then :
3017 # Broken: success on invalid input. 3452 # Broken: success on invalid input.
3018continue 3453continue
3019else 3454else $as_nop
3020 # Passes both tests. 3455 # Passes both tests.
3021ac_preproc_ok=: 3456ac_preproc_ok=:
3022break 3457break
3023fi 3458fi
3024rm -f conftest.err conftest.i conftest.$ac_ext 3459rm -f conftest.err conftest.i conftest.$ac_ext
3025 3460
3026done 3461done
3027# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3462# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3028rm -f conftest.i conftest.err conftest.$ac_ext 3463rm -f conftest.i conftest.err conftest.$ac_ext
3029if $ac_preproc_ok; then : 3464if $ac_preproc_ok
3465then :
3030 break 3466 break
3031fi 3467fi
3032 3468
3033 done 3469 done
3034 ac_cv_prog_CPP=$CPP 3470 ac_cv_prog_CPP=$CPP
3036fi 3472fi
3037 CPP=$ac_cv_prog_CPP 3473 CPP=$ac_cv_prog_CPP
3038else 3474else
3039 ac_cv_prog_CPP=$CPP 3475 ac_cv_prog_CPP=$CPP
3040fi 3476fi
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3477{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3042$as_echo "$CPP" >&6; } 3478printf "%s\n" "$CPP" >&6; }
3043ac_preproc_ok=false 3479ac_preproc_ok=false
3044for ac_c_preproc_warn_flag in '' yes 3480for ac_c_preproc_warn_flag in '' yes
3045do 3481do
3046 # Use a header file that comes with gcc, so configuring glibc 3482 # Use a header file that comes with gcc, so configuring glibc
3047 # with a fresh cross-compiler works. 3483 # 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, 3484 # 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. 3485 # not just through cpp. "Syntax error" is here to catch this case.
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053/* end confdefs.h. */ 3487/* end confdefs.h. */
3054#ifdef __STDC__
3055# include <limits.h> 3488#include <limits.h>
3056#else
3057# include <assert.h>
3058#endif
3059 Syntax error 3489 Syntax error
3060_ACEOF 3490_ACEOF
3061if ac_fn_c_try_cpp "$LINENO"; then : 3491if ac_fn_c_try_cpp "$LINENO"
3492then :
3062 3493
3063else 3494else $as_nop
3064 # Broken: fails on valid input. 3495 # Broken: fails on valid input.
3065continue 3496continue
3066fi 3497fi
3067rm -f conftest.err conftest.i conftest.$ac_ext 3498rm -f conftest.err conftest.i conftest.$ac_ext
3068 3499
3070 # can be detected and how. 3501 # can be detected and how.
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072/* end confdefs.h. */ 3503/* end confdefs.h. */
3073#include <ac_nonexistent.h> 3504#include <ac_nonexistent.h>
3074_ACEOF 3505_ACEOF
3075if ac_fn_c_try_cpp "$LINENO"; then : 3506if ac_fn_c_try_cpp "$LINENO"
3507then :
3076 # Broken: success on invalid input. 3508 # Broken: success on invalid input.
3077continue 3509continue
3078else 3510else $as_nop
3079 # Passes both tests. 3511 # Passes both tests.
3080ac_preproc_ok=: 3512ac_preproc_ok=:
3081break 3513break
3082fi 3514fi
3083rm -f conftest.err conftest.i conftest.$ac_ext 3515rm -f conftest.err conftest.i conftest.$ac_ext
3084 3516
3085done 3517done
3086# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3518# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3087rm -f conftest.i conftest.err conftest.$ac_ext 3519rm -f conftest.i conftest.err conftest.$ac_ext
3088if $ac_preproc_ok; then : 3520if $ac_preproc_ok
3521then :
3089 3522
3090else 3523else $as_nop
3091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3524 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3525printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3093as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3526as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3094See \`config.log' for more details" "$LINENO" 5; } 3527See \`config.log' for more details" "$LINENO" 5; }
3095fi 3528fi
3096 3529
3097ac_ext=c 3530ac_ext=c
3098ac_cpp='$CPP $CPPFLAGS' 3531ac_cpp='$CPP $CPPFLAGS'
3099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101ac_compiler_gnu=$ac_cv_c_compiler_gnu 3534ac_compiler_gnu=$ac_cv_c_compiler_gnu
3102 3535
3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3536{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3104$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3537printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3105set x ${MAKE-make} 3538set x ${MAKE-make}
3106ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3539ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3107if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3540if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3108 $as_echo_n "(cached) " >&6 3541then :
3109else 3542 printf %s "(cached) " >&6
3543else $as_nop
3110 cat >conftest.make <<\_ACEOF 3544 cat >conftest.make <<\_ACEOF
3111SHELL = /bin/sh 3545SHELL = /bin/sh
3112all: 3546all:
3113 @echo '@@@%%%=$(MAKE)=@@@%%%' 3547 @echo '@@@%%%=$(MAKE)=@@@%%%'
3114_ACEOF 3548_ACEOF
3120 eval ac_cv_prog_make_${ac_make}_set=no;; 3554 eval ac_cv_prog_make_${ac_make}_set=no;;
3121esac 3555esac
3122rm -f conftest.make 3556rm -f conftest.make
3123fi 3557fi
3124if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3558if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126$as_echo "yes" >&6; } 3560printf "%s\n" "yes" >&6; }
3127 SET_MAKE= 3561 SET_MAKE=
3128else 3562else
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130$as_echo "no" >&6; } 3564printf "%s\n" "no" >&6; }
3131 SET_MAKE="MAKE=${MAKE-make}" 3565 SET_MAKE="MAKE=${MAKE-make}"
3132fi 3566fi
3133 3567
3134if test -n "$ac_tool_prefix"; then 3568if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3136set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3570set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3571{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138$as_echo_n "checking for $ac_word... " >&6; } 3572printf %s "checking for $ac_word... " >&6; }
3139if ${ac_cv_prog_RANLIB+:} false; then : 3573if test ${ac_cv_prog_RANLIB+y}
3140 $as_echo_n "(cached) " >&6 3574then :
3141else 3575 printf %s "(cached) " >&6
3576else $as_nop
3142 if test -n "$RANLIB"; then 3577 if test -n "$RANLIB"; then
3143 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3144else 3579else
3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146for as_dir in $PATH 3581for as_dir in $PATH
3147do 3582do
3148 IFS=$as_save_IFS 3583 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=. 3584 case $as_dir in #(((
3585 '') as_dir=./ ;;
3586 */) ;;
3587 *) as_dir=$as_dir/ ;;
3588 esac
3150 for ac_exec_ext in '' $ac_executable_extensions; do 3589 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3152 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3591 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3154 break 2 3593 break 2
3155 fi 3594 fi
3156done 3595done
3157 done 3596 done
3158IFS=$as_save_IFS 3597IFS=$as_save_IFS
3159 3598
3160fi 3599fi
3161fi 3600fi
3162RANLIB=$ac_cv_prog_RANLIB 3601RANLIB=$ac_cv_prog_RANLIB
3163if test -n "$RANLIB"; then 3602if test -n "$RANLIB"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3165$as_echo "$RANLIB" >&6; } 3604printf "%s\n" "$RANLIB" >&6; }
3166else 3605else
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168$as_echo "no" >&6; } 3607printf "%s\n" "no" >&6; }
3169fi 3608fi
3170 3609
3171 3610
3172fi 3611fi
3173if test -z "$ac_cv_prog_RANLIB"; then 3612if test -z "$ac_cv_prog_RANLIB"; then
3174 ac_ct_RANLIB=$RANLIB 3613 ac_ct_RANLIB=$RANLIB
3175 # Extract the first word of "ranlib", so it can be a program name with args. 3614 # Extract the first word of "ranlib", so it can be a program name with args.
3176set dummy ranlib; ac_word=$2 3615set dummy ranlib; ac_word=$2
3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3616{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; } 3617printf %s "checking for $ac_word... " >&6; }
3179if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3618if test ${ac_cv_prog_ac_ct_RANLIB+y}
3180 $as_echo_n "(cached) " >&6 3619then :
3181else 3620 printf %s "(cached) " >&6
3621else $as_nop
3182 if test -n "$ac_ct_RANLIB"; then 3622 if test -n "$ac_ct_RANLIB"; then
3183 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3623 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3184else 3624else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH 3626for as_dir in $PATH
3187do 3627do
3188 IFS=$as_save_IFS 3628 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=. 3629 case $as_dir in #(((
3630 '') as_dir=./ ;;
3631 */) ;;
3632 *) as_dir=$as_dir/ ;;
3633 esac
3190 for ac_exec_ext in '' $ac_executable_extensions; do 3634 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_ac_ct_RANLIB="ranlib" 3636 ac_cv_prog_ac_ct_RANLIB="ranlib"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3194 break 2 3638 break 2
3195 fi 3639 fi
3196done 3640done
3197 done 3641 done
3198IFS=$as_save_IFS 3642IFS=$as_save_IFS
3199 3643
3200fi 3644fi
3201fi 3645fi
3202ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3646ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3203if test -n "$ac_ct_RANLIB"; then 3647if test -n "$ac_ct_RANLIB"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3205$as_echo "$ac_ct_RANLIB" >&6; } 3649printf "%s\n" "$ac_ct_RANLIB" >&6; }
3206else 3650else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208$as_echo "no" >&6; } 3652printf "%s\n" "no" >&6; }
3209fi 3653fi
3210 3654
3211 if test "x$ac_ct_RANLIB" = x; then 3655 if test "x$ac_ct_RANLIB" = x; then
3212 RANLIB=":" 3656 RANLIB=":"
3213 else 3657 else
3214 case $cross_compiling:$ac_tool_warned in 3658 case $cross_compiling:$ac_tool_warned in
3215yes:) 3659yes:)
3216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3660{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3661printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218ac_tool_warned=yes ;; 3662ac_tool_warned=yes ;;
3219esac 3663esac
3220 RANLIB=$ac_ct_RANLIB 3664 RANLIB=$ac_ct_RANLIB
3221 fi 3665 fi
3222else 3666else
3227# 3671#
3228# Checks for header files and library functions 3672# Checks for header files and library functions
3229# 3673#
3230 3674
3231 3675
3676ac_header= ac_cache=
3677for ac_item in $ac_header_c_list
3678do
3679 if test $ac_cache; then
3680 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3681 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3682 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3683 fi
3684 ac_header= ac_cache=
3685 elif test $ac_header; then
3686 ac_cache=$ac_item
3687 else
3688 ac_header=$ac_item
3689 fi
3690done
3232 3691
3692
3693
3694
3695
3696
3697
3698
3699if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3700then :
3701
3702printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3703
3704fi
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3705{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3234$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3706printf %s "checking for grep that handles long lines and -e... " >&6; }
3235if ${ac_cv_path_GREP+:} false; then : 3707if test ${ac_cv_path_GREP+y}
3236 $as_echo_n "(cached) " >&6 3708then :
3237else 3709 printf %s "(cached) " >&6
3710else $as_nop
3238 if test -z "$GREP"; then 3711 if test -z "$GREP"; then
3239 ac_path_GREP_found=false 3712 ac_path_GREP_found=false
3240 # Loop through the user's path and test for each of PROGNAME-LIST 3713 # Loop through the user's path and test for each of PROGNAME-LIST
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3715for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3243do 3716do
3244 IFS=$as_save_IFS 3717 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=. 3718 case $as_dir in #(((
3719 '') as_dir=./ ;;
3720 */) ;;
3721 *) as_dir=$as_dir/ ;;
3722 esac
3246 for ac_prog in grep ggrep; do 3723 for ac_prog in grep ggrep
3724 do
3247 for ac_exec_ext in '' $ac_executable_extensions; do 3725 for ac_exec_ext in '' $ac_executable_extensions; do
3248 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3726 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
3249 as_fn_executable_p "$ac_path_GREP" || continue 3727 as_fn_executable_p "$ac_path_GREP" || continue
3250# Check for GNU ac_path_GREP and select it if it is found. 3728# Check for GNU ac_path_GREP and select it if it is found.
3251 # Check for GNU $ac_path_GREP 3729 # Check for GNU $ac_path_GREP
3252case `"$ac_path_GREP" --version 2>&1` in 3730case `"$ac_path_GREP" --version 2>&1` in
3253*GNU*) 3731*GNU*)
3254 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3255*) 3733*)
3256 ac_count=0 3734 ac_count=0
3257 $as_echo_n 0123456789 >"conftest.in" 3735 printf %s 0123456789 >"conftest.in"
3258 while : 3736 while :
3259 do 3737 do
3260 cat "conftest.in" "conftest.in" >"conftest.tmp" 3738 cat "conftest.in" "conftest.in" >"conftest.tmp"
3261 mv "conftest.tmp" "conftest.in" 3739 mv "conftest.tmp" "conftest.in"
3262 cp "conftest.in" "conftest.nl" 3740 cp "conftest.in" "conftest.nl"
3263 $as_echo 'GREP' >> "conftest.nl" 3741 printf "%s\n" 'GREP' >> "conftest.nl"
3264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3266 as_fn_arith $ac_count + 1 && ac_count=$as_val 3744 as_fn_arith $ac_count + 1 && ac_count=$as_val
3267 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3268 # Best one so far, save it but keep looking for a better one 3746 # Best one so far, save it but keep looking for a better one
3286else 3764else
3287 ac_cv_path_GREP=$GREP 3765 ac_cv_path_GREP=$GREP
3288fi 3766fi
3289 3767
3290fi 3768fi
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3769{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3292$as_echo "$ac_cv_path_GREP" >&6; } 3770printf "%s\n" "$ac_cv_path_GREP" >&6; }
3293 GREP="$ac_cv_path_GREP" 3771 GREP="$ac_cv_path_GREP"
3294 3772
3295 3773
3774# Autoupdate added the next two lines to ensure that your configure
3775# script's behavior did not change. They are probably safe to remove.
3776
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3777{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3297$as_echo_n "checking for egrep... " >&6; } 3778printf %s "checking for egrep... " >&6; }
3298if ${ac_cv_path_EGREP+:} false; then : 3779if test ${ac_cv_path_EGREP+y}
3299 $as_echo_n "(cached) " >&6 3780then :
3300else 3781 printf %s "(cached) " >&6
3782else $as_nop
3301 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3783 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3302 then ac_cv_path_EGREP="$GREP -E" 3784 then ac_cv_path_EGREP="$GREP -E"
3303 else 3785 else
3304 if test -z "$EGREP"; then 3786 if test -z "$EGREP"; then
3305 ac_path_EGREP_found=false 3787 ac_path_EGREP_found=false
3306 # Loop through the user's path and test for each of PROGNAME-LIST 3788 # Loop through the user's path and test for each of PROGNAME-LIST
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3790for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3309do 3791do
3310 IFS=$as_save_IFS 3792 IFS=$as_save_IFS
3311 test -z "$as_dir" && as_dir=. 3793 case $as_dir in #(((
3794 '') as_dir=./ ;;
3795 */) ;;
3796 *) as_dir=$as_dir/ ;;
3797 esac
3312 for ac_prog in egrep; do 3798 for ac_prog in egrep
3799 do
3313 for ac_exec_ext in '' $ac_executable_extensions; do 3800 for ac_exec_ext in '' $ac_executable_extensions; do
3314 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3801 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
3315 as_fn_executable_p "$ac_path_EGREP" || continue 3802 as_fn_executable_p "$ac_path_EGREP" || continue
3316# Check for GNU ac_path_EGREP and select it if it is found. 3803# Check for GNU ac_path_EGREP and select it if it is found.
3317 # Check for GNU $ac_path_EGREP 3804 # Check for GNU $ac_path_EGREP
3318case `"$ac_path_EGREP" --version 2>&1` in 3805case `"$ac_path_EGREP" --version 2>&1` in
3319*GNU*) 3806*GNU*)
3320 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3807 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3321*) 3808*)
3322 ac_count=0 3809 ac_count=0
3323 $as_echo_n 0123456789 >"conftest.in" 3810 printf %s 0123456789 >"conftest.in"
3324 while : 3811 while :
3325 do 3812 do
3326 cat "conftest.in" "conftest.in" >"conftest.tmp" 3813 cat "conftest.in" "conftest.in" >"conftest.tmp"
3327 mv "conftest.tmp" "conftest.in" 3814 mv "conftest.tmp" "conftest.in"
3328 cp "conftest.in" "conftest.nl" 3815 cp "conftest.in" "conftest.nl"
3329 $as_echo 'EGREP' >> "conftest.nl" 3816 printf "%s\n" 'EGREP' >> "conftest.nl"
3330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3817 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3818 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3332 as_fn_arith $ac_count + 1 && ac_count=$as_val 3819 as_fn_arith $ac_count + 1 && ac_count=$as_val
3333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3820 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3334 # Best one so far, save it but keep looking for a better one 3821 # Best one so far, save it but keep looking for a better one
3353 ac_cv_path_EGREP=$EGREP 3840 ac_cv_path_EGREP=$EGREP
3354fi 3841fi
3355 3842
3356 fi 3843 fi
3357fi 3844fi
3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3845{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3359$as_echo "$ac_cv_path_EGREP" >&6; } 3846printf "%s\n" "$ac_cv_path_EGREP" >&6; }
3360 EGREP="$ac_cv_path_EGREP" 3847 EGREP="$ac_cv_path_EGREP"
3361 3848
3362 3849
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3364$as_echo_n "checking for ANSI C header files... " >&6; }
3365if ${ac_cv_header_stdc+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369/* end confdefs.h. */
3370#include <stdlib.h>
3371#include <stdarg.h>
3372#include <string.h>
3373#include <float.h>
3374
3375int
3376main ()
3377{
3378
3379 ;
3380 return 0;
3381}
3382_ACEOF
3383if ac_fn_c_try_compile "$LINENO"; then :
3384 ac_cv_header_stdc=yes
3385else
3386 ac_cv_header_stdc=no
3387fi
3388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389
3390if test $ac_cv_header_stdc = yes; then
3391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393/* end confdefs.h. */
3394#include <string.h>
3395
3396_ACEOF
3397if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3398 $EGREP "memchr" >/dev/null 2>&1; then :
3399
3400else
3401 ac_cv_header_stdc=no
3402fi
3403rm -f conftest*
3404
3405fi
3406
3407if test $ac_cv_header_stdc = yes; then
3408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410/* end confdefs.h. */
3411#include <stdlib.h>
3412
3413_ACEOF
3414if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3415 $EGREP "free" >/dev/null 2>&1; then :
3416
3417else
3418 ac_cv_header_stdc=no
3419fi
3420rm -f conftest*
3421
3422fi
3423
3424if test $ac_cv_header_stdc = yes; then
3425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3426 if test "$cross_compiling" = yes; then :
3427 :
3428else
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430/* end confdefs.h. */
3431#include <ctype.h>
3432#include <stdlib.h>
3433#if ((' ' & 0x0FF) == 0x020)
3434# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3435# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3436#else
3437# define ISLOWER(c) \
3438 (('a' <= (c) && (c) <= 'i') \
3439 || ('j' <= (c) && (c) <= 'r') \
3440 || ('s' <= (c) && (c) <= 'z'))
3441# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3442#endif
3443
3444#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3445int
3446main ()
3447{
3448 int i;
3449 for (i = 0; i < 256; i++)
3450 if (XOR (islower (i), ISLOWER (i))
3451 || toupper (i) != TOUPPER (i))
3452 return 2;
3453 return 0;
3454}
3455_ACEOF
3456if ac_fn_c_try_run "$LINENO"; then :
3457
3458else
3459 ac_cv_header_stdc=no
3460fi
3461rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3462 conftest.$ac_objext conftest.beam conftest.$ac_ext
3463fi
3464
3465fi
3466fi
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3468$as_echo "$ac_cv_header_stdc" >&6; }
3469if test $ac_cv_header_stdc = yes; then
3470
3471$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3472
3473fi
3474
3475# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3476for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3477 inttypes.h stdint.h unistd.h
3478do :
3479 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3480ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3481"
3482if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3483 cat >>confdefs.h <<_ACEOF
3484#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3485_ACEOF
3486
3487fi
3488
3489done
3490
3491 3850
3492ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 3851ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3493if test "x$ac_cv_type_size_t" = xyes; then : 3852if test "x$ac_cv_type_size_t" = xyes
3853then :
3494 3854
3495else 3855else $as_nop
3496 3856
3497cat >>confdefs.h <<_ACEOF 3857printf "%s\n" "#define size_t unsigned int" >>confdefs.h
3498#define size_t unsigned int
3499_ACEOF
3500 3858
3501fi 3859fi
3502 3860
3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3504$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3505if ${ac_cv_header_time+:} false; then :
3506 $as_echo_n "(cached) " >&6
3507else
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509/* end confdefs.h. */
3510#include <sys/types.h>
3511#include <sys/time.h>
3512#include <time.h>
3513 3861
3514int 3862
3515main () 3863# Obsolete code to be removed.
3516{
3517if ((struct tm *) 0)
3518return 0;
3519 ;
3520 return 0;
3521}
3522_ACEOF
3523if ac_fn_c_try_compile "$LINENO"; then :
3524 ac_cv_header_time=yes
3525else
3526 ac_cv_header_time=no
3527fi
3528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529fi
3530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3531$as_echo "$ac_cv_header_time" >&6; }
3532if test $ac_cv_header_time = yes; then 3864if test $ac_cv_header_sys_time_h = yes; then
3533 3865
3534$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 3866printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3535 3867
3536fi 3868fi
3869# End of obsolete code.
3537 3870
3538for ac_header in fcntl.h unistd.h memory.h malloc.h errno.h 3871ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
3539do : 3872if test "x$ac_cv_header_fcntl_h" = xyes
3540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3873then :
3874 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
3875
3876fi
3877ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
3878if test "x$ac_cv_header_unistd_h" = xyes
3879then :
3880 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
3881
3882fi
3883
3541ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3884ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
3542if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3885if test "x$ac_cv_header_io_h" = xyes
3543 cat >>confdefs.h <<_ACEOF 3886then :
3544#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3887 printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
3545_ACEOF
3546 3888
3547fi 3889fi
3890ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
3891if test "x$ac_cv_header_sys_time_h" = xyes
3892then :
3893 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
3548 3894
3549done
3550
3551for ac_header in io.h sys/time.h
3552do :
3553 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3554ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3555if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3556 cat >>confdefs.h <<_ACEOF
3557#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3558_ACEOF
3559
3560fi 3895fi
3561
3562done
3563 3896
3564 3897
3565CFLAGS="$CFLAGS -D_GNU_SOURCE" 3898CFLAGS="$CFLAGS -D_GNU_SOURCE"
3566for ac_func in tempnam gettimeofday flockfile getc_unlocked feof_unlocked ferror_unlocked 3899ac_fn_c_check_func "$LINENO" "tempnam" "ac_cv_func_tempnam"
3567do : 3900if test "x$ac_cv_func_tempnam" = xyes
3568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 3901then :
3569ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 3902 printf "%s\n" "#define HAVE_TEMPNAM 1" >>confdefs.h
3570if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3571 cat >>confdefs.h <<_ACEOF
3572#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3573_ACEOF
3574 3903
3575fi 3904fi
3576done 3905ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
3906if test "x$ac_cv_func_gettimeofday" = xyes
3907then :
3908 printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
3577 3909
3578
3579for ac_func in chmod umask mkstemp
3580do :
3581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3582ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3583if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3584 cat >>confdefs.h <<_ACEOF
3585#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3586_ACEOF
3587
3588fi 3910fi
3589done 3911ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile"
3912if test "x$ac_cv_func_flockfile" = xyes
3913then :
3914 printf "%s\n" "#define HAVE_FLOCKFILE 1" >>confdefs.h
3915
3916fi
3917ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked"
3918if test "x$ac_cv_func_getc_unlocked" = xyes
3919then :
3920 printf "%s\n" "#define HAVE_GETC_UNLOCKED 1" >>confdefs.h
3921
3922fi
3923ac_fn_c_check_func "$LINENO" "feof_unlocked" "ac_cv_func_feof_unlocked"
3924if test "x$ac_cv_func_feof_unlocked" = xyes
3925then :
3926 printf "%s\n" "#define HAVE_FEOF_UNLOCKED 1" >>confdefs.h
3927
3928fi
3929ac_fn_c_check_func "$LINENO" "ferror_unlocked" "ac_cv_func_ferror_unlocked"
3930if test "x$ac_cv_func_ferror_unlocked" = xyes
3931then :
3932 printf "%s\n" "#define HAVE_FERROR_UNLOCKED 1" >>confdefs.h
3933
3934fi
3935
3936
3937ac_fn_c_check_func "$LINENO" "chmod" "ac_cv_func_chmod"
3938if test "x$ac_cv_func_chmod" = xyes
3939then :
3940 printf "%s\n" "#define HAVE_CHMOD 1" >>confdefs.h
3941
3942fi
3943ac_fn_c_check_func "$LINENO" "umask" "ac_cv_func_umask"
3944if test "x$ac_cv_func_umask" = xyes
3945then :
3946 printf "%s\n" "#define HAVE_UMASK 1" >>confdefs.h
3947
3948fi
3949ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
3950if test "x$ac_cv_func_mkstemp" = xyes
3951then :
3952 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
3953
3954fi
3590 3955
3591 3956
3592# 3957#
3593# On some systems (so far, OS2 and WINDOWS), functions that are exported 3958# On some systems (so far, OS2 and WINDOWS), functions that are exported
3594# from a DLL must be declared specifically. 3959# from a DLL must be declared specifically.
3595# 3960#
3596 3961
3597cat >>confdefs.h <<_ACEOF 3962printf "%s\n" "#define UUEXPORT /**/" >>confdefs.h
3598#define UUEXPORT /**/
3599_ACEOF
3600 3963
3601cat >>confdefs.h <<_ACEOF 3964printf "%s\n" "#define TOOLEXPORT /**/" >>confdefs.h
3602#define TOOLEXPORT /**/
3603_ACEOF
3604 3965
3605 3966
3606# 3967#
3607# set version number 3968# set version number
3608# 3969#
3609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking version number" >&5 3970{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking version number" >&5
3610$as_echo_n "checking version number... " >&6; } 3971printf %s "checking version number... " >&6; }
3611version_number="$VERSION"pl"$PATCH" 3972version_number="$VERSION"pl"$PATCH"
3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_number" >&5 3973{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $version_number" >&5
3613$as_echo "$version_number" >&6; } 3974printf "%s\n" "$version_number" >&6; }
3614 3975
3615 3976
3616 3977
3617# 3978#
3618# done 3979# done
3645 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4006 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3646 eval ac_val=\$$ac_var 4007 eval ac_val=\$$ac_var
3647 case $ac_val in #( 4008 case $ac_val in #(
3648 *${as_nl}*) 4009 *${as_nl}*)
3649 case $ac_var in #( 4010 case $ac_var in #(
3650 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4011 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3651$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4012printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3652 esac 4013 esac
3653 case $ac_var in #( 4014 case $ac_var in #(
3654 _ | IFS | as_nl) ;; #( 4015 _ | IFS | as_nl) ;; #(
3655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3656 *) { eval $ac_var=; unset $ac_var;} ;; 4017 *) { eval $ac_var=; unset $ac_var;} ;;
3676) | 4037) |
3677 sed ' 4038 sed '
3678 /^ac_cv_env_/b end 4039 /^ac_cv_env_/b end
3679 t clear 4040 t clear
3680 :clear 4041 :clear
3681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4042 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3682 t end 4043 t end
3683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4044 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3684 :end' >>confcache 4045 :end' >>confcache
3685if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4046if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3686 if test -w "$cache_file"; then 4047 if test -w "$cache_file"; then
3687 if test "x$cache_file" != "x/dev/null"; then 4048 if test "x$cache_file" != "x/dev/null"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3689$as_echo "$as_me: updating cache $cache_file" >&6;} 4050printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3690 if test ! -f "$cache_file" || test -h "$cache_file"; then 4051 if test ! -f "$cache_file" || test -h "$cache_file"; then
3691 cat confcache >"$cache_file" 4052 cat confcache >"$cache_file"
3692 else 4053 else
3693 case $cache_file in #( 4054 case $cache_file in #(
3694 */* | ?:*) 4055 */* | ?:*)
3698 mv -f confcache "$cache_file" ;; 4059 mv -f confcache "$cache_file" ;;
3699 esac 4060 esac
3700 fi 4061 fi
3701 fi 4062 fi
3702 else 4063 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3704$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4065printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3705 fi 4066 fi
3706fi 4067fi
3707rm -f confcache 4068rm -f confcache
3708 4069
3709test "x$prefix" = xNONE && prefix=$ac_default_prefix 4070test "x$prefix" = xNONE && prefix=$ac_default_prefix
3716ac_ltlibobjs= 4077ac_ltlibobjs=
3717U= 4078U=
3718for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4079for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3719 # 1. Remove the extension, and $U if already installed. 4080 # 1. Remove the extension, and $U if already installed.
3720 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4081 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3721 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4082 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3722 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3723 # will be set to the directory where LIBOBJS objects are built. 4084 # will be set to the directory where LIBOBJS objects are built.
3724 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4085 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3725 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4086 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3726done 4087done
3732 4093
3733: "${CONFIG_STATUS=./config.status}" 4094: "${CONFIG_STATUS=./config.status}"
3734ac_write_fail=0 4095ac_write_fail=0
3735ac_clean_files_save=$ac_clean_files 4096ac_clean_files_save=$ac_clean_files
3736ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4097ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4098{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3738$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4099printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3739as_write_fail=0 4100as_write_fail=0
3740cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4101cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3741#! $SHELL 4102#! $SHELL
3742# Generated by $as_me. 4103# Generated by $as_me.
3743# Run this file to recreate the current configuration. 4104# Run this file to recreate the current configuration.
3756## M4sh Initialization. ## 4117## M4sh Initialization. ##
3757## -------------------- ## 4118## -------------------- ##
3758 4119
3759# Be more Bourne compatible 4120# Be more Bourne compatible
3760DUALCASE=1; export DUALCASE # for MKS sh 4121DUALCASE=1; export DUALCASE # for MKS sh
4122as_nop=:
3761if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4123if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4124then :
3762 emulate sh 4125 emulate sh
3763 NULLCMD=: 4126 NULLCMD=:
3764 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3765 # is contrary to our usage. Disable this feature. 4128 # is contrary to our usage. Disable this feature.
3766 alias -g '${1+"$@"}'='"$@"' 4129 alias -g '${1+"$@"}'='"$@"'
3767 setopt NO_GLOB_SUBST 4130 setopt NO_GLOB_SUBST
3768else 4131else $as_nop
3769 case `(set -o) 2>/dev/null` in #( 4132 case `(set -o) 2>/dev/null` in #(
3770 *posix*) : 4133 *posix*) :
3771 set -o posix ;; #( 4134 set -o posix ;; #(
3772 *) : 4135 *) :
3773 ;; 4136 ;;
3774esac 4137esac
3775fi 4138fi
3776 4139
3777 4140
4141
4142# Reset variables that may have inherited troublesome values from
4143# the environment.
4144
4145# IFS needs to be set, to space, tab, and newline, in precisely that order.
4146# (If _AS_PATH_WALK were called with IFS unset, it would have the
4147# side effect of setting IFS to empty, thus disabling word splitting.)
4148# Quoting is to prevent editors from complaining about space-tab.
3778as_nl=' 4149as_nl='
3779' 4150'
3780export as_nl 4151export as_nl
3781# Printing a long string crashes Solaris 7 /usr/bin/printf. 4152IFS=" "" $as_nl"
3782as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4153
3783as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4154PS1='$ '
3784as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4155PS2='> '
3785# Prefer a ksh shell builtin over an external printf program on Solaris, 4156PS4='+ '
3786# but without wasting forks for bash or zsh. 4157
3787if test -z "$BASH_VERSION$ZSH_VERSION" \ 4158# Ensure predictable behavior from utilities with locale-dependent output.
3788 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4159LC_ALL=C
3789 as_echo='print -r --' 4160export LC_ALL
3790 as_echo_n='print -rn --' 4161LANGUAGE=C
3791elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4162export LANGUAGE
3792 as_echo='printf %s\n' 4163
3793 as_echo_n='printf %s' 4164# We cannot yet rely on "unset" to work, but we need these variables
3794else 4165# to be unset--not just set to an empty or harmless value--now, to
3795 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4166# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3796 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4167# also avoids known problems related to "unset" and subshell syntax
3797 as_echo_n='/usr/ucb/echo -n' 4168# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3798 else 4169for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3799 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4170do eval test \${$as_var+y} \
3800 as_echo_n_body='eval 4171 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3801 arg=$1; 4172done
3802 case $arg in #( 4173
3803 *"$as_nl"*) 4174# Ensure that fds 0, 1, and 2 are open.
3804 expr "X$arg" : "X\\(.*\\)$as_nl"; 4175if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3805 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4176if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3806 esac; 4177if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3807 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3808 '
3809 export as_echo_n_body
3810 as_echo_n='sh -c $as_echo_n_body as_echo'
3811 fi
3812 export as_echo_body
3813 as_echo='sh -c $as_echo_body as_echo'
3814fi
3815 4178
3816# The user is always right. 4179# The user is always right.
3817if test "${PATH_SEPARATOR+set}" != set; then 4180if ${PATH_SEPARATOR+false} :; then
3818 PATH_SEPARATOR=: 4181 PATH_SEPARATOR=:
3819 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3820 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3821 PATH_SEPARATOR=';' 4184 PATH_SEPARATOR=';'
3822 } 4185 }
3823fi 4186fi
3824 4187
3825
3826# IFS
3827# We need space, tab and new line, in precisely that order. Quoting is
3828# there to prevent editors from complaining about space-tab.
3829# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3830# splitting by setting IFS to empty value.)
3831IFS=" "" $as_nl"
3832 4188
3833# Find who we are. Look in the path if we contain no directory separator. 4189# Find who we are. Look in the path if we contain no directory separator.
3834as_myself= 4190as_myself=
3835case $0 in #(( 4191case $0 in #((
3836 *[\\/]* ) as_myself=$0 ;; 4192 *[\\/]* ) as_myself=$0 ;;
3837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838for as_dir in $PATH 4194for as_dir in $PATH
3839do 4195do
3840 IFS=$as_save_IFS 4196 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=. 4197 case $as_dir in #(((
4198 '') as_dir=./ ;;
4199 */) ;;
4200 *) as_dir=$as_dir/ ;;
4201 esac
3842 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4202 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3843 done 4203 done
3844IFS=$as_save_IFS 4204IFS=$as_save_IFS
3845 4205
3846 ;; 4206 ;;
3847esac 4207esac
3849# in which case we are not to be found in the path. 4209# in which case we are not to be found in the path.
3850if test "x$as_myself" = x; then 4210if test "x$as_myself" = x; then
3851 as_myself=$0 4211 as_myself=$0
3852fi 4212fi
3853if test ! -f "$as_myself"; then 4213if test ! -f "$as_myself"; then
3854 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4214 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3855 exit 1 4215 exit 1
3856fi 4216fi
3857 4217
3858# Unset variables that we do not need and which cause bugs (e.g. in
3859# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3860# suppresses any "Segmentation fault" message there. '((' could
3861# trigger a bug in pdksh 5.2.14.
3862for as_var in BASH_ENV ENV MAIL MAILPATH
3863do eval test x\${$as_var+set} = xset \
3864 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3865done
3866PS1='$ '
3867PS2='> '
3868PS4='+ '
3869
3870# NLS nuisances.
3871LC_ALL=C
3872export LC_ALL
3873LANGUAGE=C
3874export LANGUAGE
3875
3876# CDPATH.
3877(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3878 4218
3879 4219
3880# as_fn_error STATUS ERROR [LINENO LOG_FD] 4220# as_fn_error STATUS ERROR [LINENO LOG_FD]
3881# ---------------------------------------- 4221# ----------------------------------------
3882# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4222# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3885as_fn_error () 4225as_fn_error ()
3886{ 4226{
3887 as_status=$1; test $as_status -eq 0 && as_status=1 4227 as_status=$1; test $as_status -eq 0 && as_status=1
3888 if test "$4"; then 4228 if test "$4"; then
3889 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4229 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3890 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3891 fi 4231 fi
3892 $as_echo "$as_me: error: $2" >&2 4232 printf "%s\n" "$as_me: error: $2" >&2
3893 as_fn_exit $as_status 4233 as_fn_exit $as_status
3894} # as_fn_error 4234} # as_fn_error
4235
3895 4236
3896 4237
3897# as_fn_set_status STATUS 4238# as_fn_set_status STATUS
3898# ----------------------- 4239# -----------------------
3899# Set $? to STATUS, without forking. 4240# Set $? to STATUS, without forking.
3918as_fn_unset () 4259as_fn_unset ()
3919{ 4260{
3920 { eval $1=; unset $1;} 4261 { eval $1=; unset $1;}
3921} 4262}
3922as_unset=as_fn_unset 4263as_unset=as_fn_unset
4264
3923# as_fn_append VAR VALUE 4265# as_fn_append VAR VALUE
3924# ---------------------- 4266# ----------------------
3925# Append the text in VALUE to the end of the definition contained in VAR. Take 4267# Append the text in VALUE to the end of the definition contained in VAR. Take
3926# advantage of any shell optimizations that allow amortized linear growth over 4268# advantage of any shell optimizations that allow amortized linear growth over
3927# repeated appends, instead of the typical quadratic growth present in naive 4269# repeated appends, instead of the typical quadratic growth present in naive
3928# implementations. 4270# implementations.
3929if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4271if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4272then :
3930 eval 'as_fn_append () 4273 eval 'as_fn_append ()
3931 { 4274 {
3932 eval $1+=\$2 4275 eval $1+=\$2
3933 }' 4276 }'
3934else 4277else $as_nop
3935 as_fn_append () 4278 as_fn_append ()
3936 { 4279 {
3937 eval $1=\$$1\$2 4280 eval $1=\$$1\$2
3938 } 4281 }
3939fi # as_fn_append 4282fi # as_fn_append
3941# as_fn_arith ARG... 4284# as_fn_arith ARG...
3942# ------------------ 4285# ------------------
3943# Perform arithmetic evaluation on the ARGs, and store the result in the 4286# Perform arithmetic evaluation on the ARGs, and store the result in the
3944# global $as_val. Take advantage of shells that can avoid forks. The arguments 4287# global $as_val. Take advantage of shells that can avoid forks. The arguments
3945# must be portable across $(()) and expr. 4288# must be portable across $(()) and expr.
3946if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4289if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4290then :
3947 eval 'as_fn_arith () 4291 eval 'as_fn_arith ()
3948 { 4292 {
3949 as_val=$(( $* )) 4293 as_val=$(( $* ))
3950 }' 4294 }'
3951else 4295else $as_nop
3952 as_fn_arith () 4296 as_fn_arith ()
3953 { 4297 {
3954 as_val=`expr "$@" || test $? -eq 1` 4298 as_val=`expr "$@" || test $? -eq 1`
3955 } 4299 }
3956fi # as_fn_arith 4300fi # as_fn_arith
3977 4321
3978as_me=`$as_basename -- "$0" || 4322as_me=`$as_basename -- "$0" ||
3979$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4323$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3980 X"$0" : 'X\(//\)$' \| \ 4324 X"$0" : 'X\(//\)$' \| \
3981 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4325 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3982$as_echo X/"$0" | 4326printf "%s\n" X/"$0" |
3983 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4327 sed '/^.*\/\([^/][^/]*\)\/*$/{
3984 s//\1/ 4328 s//\1/
3985 q 4329 q
3986 } 4330 }
3987 /^X\/\(\/\/\)$/{ 4331 /^X\/\(\/\/\)$/{
3999as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4343as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4000as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4344as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4001as_cr_digits='0123456789' 4345as_cr_digits='0123456789'
4002as_cr_alnum=$as_cr_Letters$as_cr_digits 4346as_cr_alnum=$as_cr_Letters$as_cr_digits
4003 4347
4348
4349# Determine whether it's possible to make 'echo' print without a newline.
4350# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4351# for compatibility with existing Makefiles.
4004ECHO_C= ECHO_N= ECHO_T= 4352ECHO_C= ECHO_N= ECHO_T=
4005case `echo -n x` in #((((( 4353case `echo -n x` in #(((((
4006-n*) 4354-n*)
4007 case `echo 'xy\c'` in 4355 case `echo 'xy\c'` in
4008 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4356 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4011 ECHO_T=' ';; 4359 ECHO_T=' ';;
4012 esac;; 4360 esac;;
4013*) 4361*)
4014 ECHO_N='-n';; 4362 ECHO_N='-n';;
4015esac 4363esac
4364
4365# For backward compatibility with old third-party macros, we provide
4366# the shell variables $as_echo and $as_echo_n. New code should use
4367# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4368as_echo='printf %s\n'
4369as_echo_n='printf %s'
4016 4370
4017rm -f conf$$ conf$$.exe conf$$.file 4371rm -f conf$$ conf$$.exe conf$$.file
4018if test -d conf$$.dir; then 4372if test -d conf$$.dir; then
4019 rm -f conf$$.dir/conf$$.file 4373 rm -f conf$$.dir/conf$$.file
4020else 4374else
4053 esac 4407 esac
4054 test -d "$as_dir" || eval $as_mkdir_p || { 4408 test -d "$as_dir" || eval $as_mkdir_p || {
4055 as_dirs= 4409 as_dirs=
4056 while :; do 4410 while :; do
4057 case $as_dir in #( 4411 case $as_dir in #(
4058 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4412 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4059 *) as_qdir=$as_dir;; 4413 *) as_qdir=$as_dir;;
4060 esac 4414 esac
4061 as_dirs="'$as_qdir' $as_dirs" 4415 as_dirs="'$as_qdir' $as_dirs"
4062 as_dir=`$as_dirname -- "$as_dir" || 4416 as_dir=`$as_dirname -- "$as_dir" ||
4063$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4417$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4064 X"$as_dir" : 'X\(//\)[^/]' \| \ 4418 X"$as_dir" : 'X\(//\)[^/]' \| \
4065 X"$as_dir" : 'X\(//\)$' \| \ 4419 X"$as_dir" : 'X\(//\)$' \| \
4066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4420 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4067$as_echo X"$as_dir" | 4421printf "%s\n" X"$as_dir" |
4068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4069 s//\1/ 4423 s//\1/
4070 q 4424 q
4071 } 4425 }
4072 /^X\(\/\/\)[^/].*/{ 4426 /^X\(\/\/\)[^/].*/{
4125# Save the log message, to keep $0 and so on meaningful, and to 4479# Save the log message, to keep $0 and so on meaningful, and to
4126# report actual input values of CONFIG_FILES etc. instead of their 4480# report actual input values of CONFIG_FILES etc. instead of their
4127# values after options handling. 4481# values after options handling.
4128ac_log=" 4482ac_log="
4129This file was extended by $as_me, which was 4483This file was extended by $as_me, which was
4130generated by GNU Autoconf 2.69. Invocation command line was 4484generated by GNU Autoconf 2.71. Invocation command line was
4131 4485
4132 CONFIG_FILES = $CONFIG_FILES 4486 CONFIG_FILES = $CONFIG_FILES
4133 CONFIG_HEADERS = $CONFIG_HEADERS 4487 CONFIG_HEADERS = $CONFIG_HEADERS
4134 CONFIG_LINKS = $CONFIG_LINKS 4488 CONFIG_LINKS = $CONFIG_LINKS
4135 CONFIG_COMMANDS = $CONFIG_COMMANDS 4489 CONFIG_COMMANDS = $CONFIG_COMMANDS
4183$config_headers 4537$config_headers
4184 4538
4185Report bugs to the package provider." 4539Report bugs to the package provider."
4186 4540
4187_ACEOF 4541_ACEOF
4542ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4543ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4544cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4189ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4545ac_cs_config='$ac_cs_config_escaped'
4190ac_cs_version="\\ 4546ac_cs_version="\\
4191config.status 4547config.status
4192configured by $0, generated by GNU Autoconf 2.69, 4548configured by $0, generated by GNU Autoconf 2.71,
4193 with options \\"\$ac_cs_config\\" 4549 with options \\"\$ac_cs_config\\"
4194 4550
4195Copyright (C) 2012 Free Software Foundation, Inc. 4551Copyright (C) 2021 Free Software Foundation, Inc.
4196This config.status script is free software; the Free Software Foundation 4552This config.status script is free software; the Free Software Foundation
4197gives unlimited permission to copy, distribute and modify it." 4553gives unlimited permission to copy, distribute and modify it."
4198 4554
4199ac_pwd='$ac_pwd' 4555ac_pwd='$ac_pwd'
4200srcdir='$srcdir' 4556srcdir='$srcdir'
4227 case $ac_option in 4583 case $ac_option in
4228 # Handling of the options. 4584 # Handling of the options.
4229 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4585 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4230 ac_cs_recheck=: ;; 4586 ac_cs_recheck=: ;;
4231 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4587 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4232 $as_echo "$ac_cs_version"; exit ;; 4588 printf "%s\n" "$ac_cs_version"; exit ;;
4233 --config | --confi | --conf | --con | --co | --c ) 4589 --config | --confi | --conf | --con | --co | --c )
4234 $as_echo "$ac_cs_config"; exit ;; 4590 printf "%s\n" "$ac_cs_config"; exit ;;
4235 --debug | --debu | --deb | --de | --d | -d ) 4591 --debug | --debu | --deb | --de | --d | -d )
4236 debug=: ;; 4592 debug=: ;;
4237 --file | --fil | --fi | --f ) 4593 --file | --fil | --fi | --f )
4238 $ac_shift 4594 $ac_shift
4239 case $ac_optarg in 4595 case $ac_optarg in
4240 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4596 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4241 '') as_fn_error $? "missing file argument" ;; 4597 '') as_fn_error $? "missing file argument" ;;
4242 esac 4598 esac
4243 as_fn_append CONFIG_FILES " '$ac_optarg'" 4599 as_fn_append CONFIG_FILES " '$ac_optarg'"
4244 ac_need_defaults=false;; 4600 ac_need_defaults=false;;
4245 --header | --heade | --head | --hea ) 4601 --header | --heade | --head | --hea )
4246 $ac_shift 4602 $ac_shift
4247 case $ac_optarg in 4603 case $ac_optarg in
4248 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4604 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4249 esac 4605 esac
4250 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4606 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4251 ac_need_defaults=false;; 4607 ac_need_defaults=false;;
4252 --he | --h) 4608 --he | --h)
4253 # Conflict between --help and --header 4609 # Conflict between --help and --header
4254 as_fn_error $? "ambiguous option: \`$1' 4610 as_fn_error $? "ambiguous option: \`$1'
4255Try \`$0 --help' for more information.";; 4611Try \`$0 --help' for more information.";;
4256 --help | --hel | -h ) 4612 --help | --hel | -h )
4257 $as_echo "$ac_cs_usage"; exit ;; 4613 printf "%s\n" "$ac_cs_usage"; exit ;;
4258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4259 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4615 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4260 ac_cs_silent=: ;; 4616 ac_cs_silent=: ;;
4261 4617
4262 # This is an error. 4618 # This is an error.
4280_ACEOF 4636_ACEOF
4281cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4637cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4282if \$ac_cs_recheck; then 4638if \$ac_cs_recheck; then
4283 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4639 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4284 shift 4640 shift
4285 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4641 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4286 CONFIG_SHELL='$SHELL' 4642 CONFIG_SHELL='$SHELL'
4287 export CONFIG_SHELL 4643 export CONFIG_SHELL
4288 exec "\$@" 4644 exec "\$@"
4289fi 4645fi
4290 4646
4294{ 4650{
4295 echo 4651 echo
4296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4652 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4297## Running $as_me. ## 4653## Running $as_me. ##
4298_ASBOX 4654_ASBOX
4299 $as_echo "$ac_log" 4655 printf "%s\n" "$ac_log"
4300} >&5 4656} >&5
4301 4657
4302_ACEOF 4658_ACEOF
4303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4304_ACEOF 4660_ACEOF
4320# If the user did not use the arguments to specify the items to instantiate, 4676# If the user did not use the arguments to specify the items to instantiate,
4321# then the envvar interface is used. Set only those that are not. 4677# then the envvar interface is used. Set only those that are not.
4322# We use the long form for the default assignment because of an extremely 4678# We use the long form for the default assignment because of an extremely
4323# bizarre bug on SunOS 4.1.3. 4679# bizarre bug on SunOS 4.1.3.
4324if $ac_need_defaults; then 4680if $ac_need_defaults; then
4325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4681 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4682 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4327fi 4683fi
4328 4684
4329# Have a temporary directory for convenience. Make it in the build tree 4685# Have a temporary directory for convenience. Make it in the build tree
4330# simply because there is no reason against having it here, and in addition, 4686# simply because there is no reason against having it here, and in addition,
4331# creating and moving files from /tmp can sometimes cause problems. 4687# creating and moving files from /tmp can sometimes cause problems.
4657 [\\/$]*) false;; 5013 [\\/$]*) false;;
4658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5014 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4659 esac || 5015 esac ||
4660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5016 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4661 esac 5017 esac
4662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5018 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4663 as_fn_append ac_file_inputs " '$ac_f'" 5019 as_fn_append ac_file_inputs " '$ac_f'"
4664 done 5020 done
4665 5021
4666 # Let's still pretend it is `configure' which instantiates (i.e., don't 5022 # Let's still pretend it is `configure' which instantiates (i.e., don't
4667 # use $as_me), people would be surprised to read: 5023 # use $as_me), people would be surprised to read:
4668 # /* config.h. Generated by config.status. */ 5024 # /* config.h. Generated by config.status. */
4669 configure_input='Generated from '` 5025 configure_input='Generated from '`
4670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5026 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4671 `' by configure.' 5027 `' by configure.'
4672 if test x"$ac_file" != x-; then 5028 if test x"$ac_file" != x-; then
4673 configure_input="$ac_file. $configure_input" 5029 configure_input="$ac_file. $configure_input"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4675$as_echo "$as_me: creating $ac_file" >&6;} 5031printf "%s\n" "$as_me: creating $ac_file" >&6;}
4676 fi 5032 fi
4677 # Neutralize special characters interpreted by sed in replacement strings. 5033 # Neutralize special characters interpreted by sed in replacement strings.
4678 case $configure_input in #( 5034 case $configure_input in #(
4679 *\&* | *\|* | *\\* ) 5035 *\&* | *\|* | *\\* )
4680 ac_sed_conf_input=`$as_echo "$configure_input" | 5036 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4681 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5037 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4682 *) ac_sed_conf_input=$configure_input;; 5038 *) ac_sed_conf_input=$configure_input;;
4683 esac 5039 esac
4684 5040
4685 case $ac_tag in 5041 case $ac_tag in
4692 ac_dir=`$as_dirname -- "$ac_file" || 5048 ac_dir=`$as_dirname -- "$ac_file" ||
4693$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5049$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4694 X"$ac_file" : 'X\(//\)[^/]' \| \ 5050 X"$ac_file" : 'X\(//\)[^/]' \| \
4695 X"$ac_file" : 'X\(//\)$' \| \ 5051 X"$ac_file" : 'X\(//\)$' \| \
4696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5052 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4697$as_echo X"$ac_file" | 5053printf "%s\n" X"$ac_file" |
4698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4699 s//\1/ 5055 s//\1/
4700 q 5056 q
4701 } 5057 }
4702 /^X\(\/\/\)[^/].*/{ 5058 /^X\(\/\/\)[^/].*/{
4716 ac_builddir=. 5072 ac_builddir=.
4717 5073
4718case "$ac_dir" in 5074case "$ac_dir" in
4719.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5075.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4720*) 5076*)
4721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5077 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4722 # A ".." for each directory in $ac_dir_suffix. 5078 # A ".." for each directory in $ac_dir_suffix.
4723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5079 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4724 case $ac_top_builddir_sub in 5080 case $ac_top_builddir_sub in
4725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5081 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5082 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4727 esac ;; 5083 esac ;;
4728esac 5084esac
4771/@localedir@/p 5127/@localedir@/p
4772/@mandir@/p' 5128/@mandir@/p'
4773case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5129case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4774*datarootdir*) ac_datarootdir_seen=yes;; 5130*datarootdir*) ac_datarootdir_seen=yes;;
4775*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5131*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4777$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5133printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4778_ACEOF 5134_ACEOF
4779cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4780 ac_datarootdir_hack=' 5136 ac_datarootdir_hack='
4781 s&@datadir@&$datadir&g 5137 s&@datadir@&$datadir&g
4782 s&@docdir@&$docdir&g 5138 s&@docdir@&$docdir&g
4814 5170
4815test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5171test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4816 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5172 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4817 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5173 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4818 "$ac_tmp/out"`; test -z "$ac_out"; } && 5174 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4820which seems to be undefined. Please make sure it is defined" >&5 5176which seems to be undefined. Please make sure it is defined" >&5
4821$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5177printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4822which seems to be undefined. Please make sure it is defined" >&2;} 5178which seems to be undefined. Please make sure it is defined" >&2;}
4823 5179
4824 rm -f "$ac_tmp/stdin" 5180 rm -f "$ac_tmp/stdin"
4825 case $ac_file in 5181 case $ac_file in
4826 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5182 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4832 # 5188 #
4833 # CONFIG_HEADER 5189 # CONFIG_HEADER
4834 # 5190 #
4835 if test x"$ac_file" != x-; then 5191 if test x"$ac_file" != x-; then
4836 { 5192 {
4837 $as_echo "/* $configure_input */" \ 5193 printf "%s\n" "/* $configure_input */" >&1 \
4838 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4839 } >"$ac_tmp/config.h" \ 5195 } >"$ac_tmp/config.h" \
4840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4841 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5197 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4843$as_echo "$as_me: $ac_file is unchanged" >&6;} 5199printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4844 else 5200 else
4845 rm -f "$ac_file" 5201 rm -f "$ac_file"
4846 mv "$ac_tmp/config.h" "$ac_file" \ 5202 mv "$ac_tmp/config.h" "$ac_file" \
4847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4848 fi 5204 fi
4849 else 5205 else
4850 $as_echo "/* $configure_input */" \ 5206 printf "%s\n" "/* $configure_input */" >&1 \
4851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4852 || as_fn_error $? "could not create -" "$LINENO" 5 5208 || as_fn_error $? "could not create -" "$LINENO" 5
4853 fi 5209 fi
4854 ;; 5210 ;;
4855 5211
4886 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4887 # would make configure fail if this is the last instruction. 5243 # would make configure fail if this is the last instruction.
4888 $ac_cs_success || as_fn_exit 1 5244 $ac_cs_success || as_fn_exit 1
4889fi 5245fi
4890if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5246if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4892$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5248printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4893fi 5249fi
4894 5250
4895 5251
5252

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines