2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for nettle 2.1.
3
# Generated by GNU Autoconf 2.67 for nettle 2.4.
5
5
# Report bugs to <nettle-bugs@lists.lysator.liu.se>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
# is contrary to our usage. Disable this feature.
22
26
alias -g '${1+"$@"}'='"$@"'
23
27
setopt NO_GLOB_SUBST
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
29
case `(set -o) 2>/dev/null` in #(
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
91
112
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
156
138
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
158
178
as_have_required=yes
160
180
as_have_required=no
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
190
test -z "$as_dir" && as_dir=.
230
194
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: nettle-bugs@lists.lysator.liu.se about your system,
235
$0: including any error possibly output before this
236
$0: message. Then install a modern shell, or manually run
237
$0: the script under such a shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error STATUS ERROR [LINENO LOG_FD]
363
# ----------------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with STATUS, using 1 if that was 0.
369
as_status=$1; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
$as_echo "$as_me: error: $2" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1394
1432
test -n "$ac_init_help" && exit $ac_status
1395
1433
if $ac_init_version; then
1397
nettle configure 2.1
1398
generated by GNU Autoconf 2.61
1435
nettle configure 2.4
1436
generated by GNU Autoconf 2.67
1400
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1401
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1438
Copyright (C) 2010 Free Software Foundation, Inc.
1402
1439
This configure script is free software; the Free Software Foundation
1403
1440
gives unlimited permission to copy, distribute and modify it.
1445
## ------------------------ ##
1446
## Autoconf initialization. ##
1447
## ------------------------ ##
1449
# ac_fn_c_try_compile LINENO
1450
# --------------------------
1451
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1452
ac_fn_c_try_compile ()
1454
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1455
rm -f conftest.$ac_objext
1456
if { { ac_try="$ac_compile"
1458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459
*) ac_try_echo=$ac_try;;
1461
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462
$as_echo "$ac_try_echo"; } >&5
1463
(eval "$ac_compile") 2>conftest.err
1465
if test -s conftest.err; then
1466
grep -v '^ *+' conftest.err >conftest.er1
1467
cat conftest.er1 >&5
1468
mv -f conftest.er1 conftest.err
1470
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471
test $ac_status = 0; } && {
1472
test -z "$ac_c_werror_flag" ||
1473
test ! -s conftest.err
1474
} && test -s conftest.$ac_objext; then :
1477
$as_echo "$as_me: failed program was:" >&5
1478
sed 's/^/| /' conftest.$ac_ext >&5
1482
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483
as_fn_set_status $ac_retval
1485
} # ac_fn_c_try_compile
1487
# ac_fn_cxx_try_compile LINENO
1488
# ----------------------------
1489
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1490
ac_fn_cxx_try_compile ()
1492
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493
rm -f conftest.$ac_objext
1494
if { { ac_try="$ac_compile"
1496
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497
*) ac_try_echo=$ac_try;;
1499
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500
$as_echo "$ac_try_echo"; } >&5
1501
(eval "$ac_compile") 2>conftest.err
1503
if test -s conftest.err; then
1504
grep -v '^ *+' conftest.err >conftest.er1
1505
cat conftest.er1 >&5
1506
mv -f conftest.er1 conftest.err
1508
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509
test $ac_status = 0; } && {
1510
test -z "$ac_cxx_werror_flag" ||
1511
test ! -s conftest.err
1512
} && test -s conftest.$ac_objext; then :
1515
$as_echo "$as_me: failed program was:" >&5
1516
sed 's/^/| /' conftest.$ac_ext >&5
1520
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1521
as_fn_set_status $ac_retval
1523
} # ac_fn_cxx_try_compile
1525
# ac_fn_c_try_cpp LINENO
1526
# ----------------------
1527
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531
if { { ac_try="$ac_cpp conftest.$ac_ext"
1533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534
*) ac_try_echo=$ac_try;;
1536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537
$as_echo "$ac_try_echo"; } >&5
1538
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540
if test -s conftest.err; then
1541
grep -v '^ *+' conftest.err >conftest.er1
1542
cat conftest.er1 >&5
1543
mv -f conftest.er1 conftest.err
1545
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546
test $ac_status = 0; } > conftest.i && {
1547
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548
test ! -s conftest.err
1552
$as_echo "$as_me: failed program was:" >&5
1553
sed 's/^/| /' conftest.$ac_ext >&5
1557
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1558
as_fn_set_status $ac_retval
1562
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1563
# -------------------------------------------
1564
# Tests whether TYPE exists after having included INCLUDES, setting cache
1565
# variable VAR accordingly.
1566
ac_fn_c_check_type ()
1568
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1570
$as_echo_n "checking for $2... " >&6; }
1571
if eval "test \"\${$3+set}\"" = set; then :
1572
$as_echo_n "(cached) " >&6
1575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576
/* end confdefs.h. */
1587
if ac_fn_c_try_compile "$LINENO"; then :
1588
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589
/* end confdefs.h. */
1600
if ac_fn_c_try_compile "$LINENO"; then :
1605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611
$as_echo "$ac_res" >&6; }
1612
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614
} # ac_fn_c_check_type
1616
# ac_fn_c_try_run LINENO
1617
# ----------------------
1618
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1619
# that executables *can* be run.
1622
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623
if { { ac_try="$ac_link"
1625
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626
*) ac_try_echo=$ac_try;;
1628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629
$as_echo "$ac_try_echo"; } >&5
1630
(eval "$ac_link") 2>&5
1632
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1634
{ { case "(($ac_try" in
1635
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636
*) ac_try_echo=$ac_try;;
1638
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639
$as_echo "$ac_try_echo"; } >&5
1640
(eval "$ac_try") 2>&5
1642
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643
test $ac_status = 0; }; }; then :
1646
$as_echo "$as_me: program exited with status $ac_status" >&5
1647
$as_echo "$as_me: failed program was:" >&5
1648
sed 's/^/| /' conftest.$ac_ext >&5
1650
ac_retval=$ac_status
1652
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1654
as_fn_set_status $ac_retval
1658
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659
# -------------------------------------------------------
1660
# Tests whether HEADER exists and can be compiled using the include files in
1661
# INCLUDES, setting the cache variable VAR accordingly.
1662
ac_fn_c_check_header_compile ()
1664
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666
$as_echo_n "checking for $2... " >&6; }
1667
if eval "test \"\${$3+set}\"" = set; then :
1668
$as_echo_n "(cached) " >&6
1670
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671
/* end confdefs.h. */
1675
if ac_fn_c_try_compile "$LINENO"; then :
1680
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684
$as_echo "$ac_res" >&6; }
1685
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687
} # ac_fn_c_check_header_compile
1689
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1690
# --------------------------------------------
1691
# Tries to find the compile-time value of EXPR in a program that includes
1692
# INCLUDES, setting VAR accordingly. Returns whether the value could be
1694
ac_fn_c_compute_int ()
1696
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697
if test "$cross_compiling" = yes; then
1698
# Depending upon the size, compute the lo and hi bounds.
1699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700
/* end confdefs.h. */
1705
static int test_array [1 - 2 * !(($2) >= 0)];
1712
if ac_fn_c_try_compile "$LINENO"; then :
1715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716
/* end confdefs.h. */
1721
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1728
if ac_fn_c_try_compile "$LINENO"; then :
1729
ac_hi=$ac_mid; break
1731
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1732
if test $ac_lo -le $ac_mid; then
1736
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1738
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742
/* end confdefs.h. */
1747
static int test_array [1 - 2 * !(($2) < 0)];
1754
if ac_fn_c_try_compile "$LINENO"; then :
1757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758
/* end confdefs.h. */
1763
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1770
if ac_fn_c_try_compile "$LINENO"; then :
1771
ac_lo=$ac_mid; break
1773
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1774
if test $ac_mid -le $ac_hi; then
1778
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1780
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788
# Binary search between lo and hi bounds.
1789
while test "x$ac_lo" != "x$ac_hi"; do
1790
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792
/* end confdefs.h. */
1797
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1804
if ac_fn_c_try_compile "$LINENO"; then :
1807
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1809
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1816
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817
/* end confdefs.h. */
1819
static long int longval () { return $2; }
1820
static unsigned long int ulongval () { return $2; }
1827
FILE *f = fopen ("conftest.val", "w");
1832
long int i = longval ();
1835
fprintf (f, "%ld", i);
1839
unsigned long int i = ulongval ();
1842
fprintf (f, "%lu", i);
1844
/* Do not output a trailing newline, as this causes \r\n confusion
1845
on some platforms. */
1846
return ferror (f) || fclose (f) != 0;
1852
if ac_fn_c_try_run "$LINENO"; then :
1853
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1857
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1858
conftest.$ac_objext conftest.beam conftest.$ac_ext
1862
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863
as_fn_set_status $ac_retval
1865
} # ac_fn_c_compute_int
1867
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1868
# -------------------------------------------------------
1869
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1870
# the include files in INCLUDES and setting the cache variable VAR
1872
ac_fn_c_check_header_mongrel ()
1874
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875
if eval "test \"\${$3+set}\"" = set; then :
1876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877
$as_echo_n "checking for $2... " >&6; }
1878
if eval "test \"\${$3+set}\"" = set; then :
1879
$as_echo_n "(cached) " >&6
1882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883
$as_echo "$ac_res" >&6; }
1885
# Is the header compilable?
1886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1887
$as_echo_n "checking $2 usability... " >&6; }
1888
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889
/* end confdefs.h. */
1893
if ac_fn_c_try_compile "$LINENO"; then :
1894
ac_header_compiler=yes
1896
ac_header_compiler=no
1898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1900
$as_echo "$ac_header_compiler" >&6; }
1902
# Is the header present?
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1904
$as_echo_n "checking $2 presence... " >&6; }
1905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906
/* end confdefs.h. */
1909
if ac_fn_c_try_cpp "$LINENO"; then :
1910
ac_header_preproc=yes
1912
ac_header_preproc=no
1914
rm -f conftest.err conftest.i conftest.$ac_ext
1915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1916
$as_echo "$ac_header_preproc" >&6; }
1918
# So? What about this header?
1919
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1921
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1922
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1928
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1930
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1932
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1933
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1934
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937
( $as_echo "## ----------------------------------------------- ##
1938
## Report this to nettle-bugs@lists.lysator.liu.se ##
1939
## ----------------------------------------------- ##"
1940
) | sed "s/^/$as_me: WARNING: /" >&2
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944
$as_echo_n "checking for $2... " >&6; }
1945
if eval "test \"\${$3+set}\"" = set; then :
1946
$as_echo_n "(cached) " >&6
1948
eval "$3=\$ac_header_compiler"
1951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952
$as_echo "$ac_res" >&6; }
1954
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956
} # ac_fn_c_check_header_mongrel
1958
# ac_fn_c_try_link LINENO
1959
# -----------------------
1960
# Try to link conftest.$ac_ext, and return whether this succeeded.
1963
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964
rm -f conftest.$ac_objext conftest$ac_exeext
1965
if { { ac_try="$ac_link"
1967
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968
*) ac_try_echo=$ac_try;;
1970
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971
$as_echo "$ac_try_echo"; } >&5
1972
(eval "$ac_link") 2>conftest.err
1974
if test -s conftest.err; then
1975
grep -v '^ *+' conftest.err >conftest.er1
1976
cat conftest.er1 >&5
1977
mv -f conftest.er1 conftest.err
1979
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980
test $ac_status = 0; } && {
1981
test -z "$ac_c_werror_flag" ||
1982
test ! -s conftest.err
1983
} && test -s conftest$ac_exeext && {
1984
test "$cross_compiling" = yes ||
1985
$as_test_x conftest$ac_exeext
1989
$as_echo "$as_me: failed program was:" >&5
1990
sed 's/^/| /' conftest.$ac_ext >&5
1994
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1995
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1996
# interfere with the next link command; also delete a directory that is
1997
# left behind by Apple's compiler. We do this before executing the actions.
1998
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1999
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2000
as_fn_set_status $ac_retval
2002
} # ac_fn_c_try_link
2004
# ac_fn_c_check_func LINENO FUNC VAR
2005
# ----------------------------------
2006
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2007
ac_fn_c_check_func ()
2009
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011
$as_echo_n "checking for $2... " >&6; }
2012
if eval "test \"\${$3+set}\"" = set; then :
2013
$as_echo_n "(cached) " >&6
2015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016
/* end confdefs.h. */
2017
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2018
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2019
#define $2 innocuous_$2
2021
/* System header to define __stub macros and hopefully few prototypes,
2022
which can conflict with char $2 (); below.
2023
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2024
<limits.h> exists even on freestanding compilers. */
2027
# include <limits.h>
2029
# include <assert.h>
2034
/* Override any GCC internal prototype to avoid an error.
2035
Use char because int might match the return type of a GCC
2036
builtin and then its argument prototype would still apply. */
2041
/* The GNU C library defines this for functions which it implements
2042
to always fail with ENOSYS. Some functions are actually named
2043
something starting with __ and the normal name is an alias. */
2044
#if defined __stub_$2 || defined __stub___$2
2056
if ac_fn_c_try_link "$LINENO"; then :
2061
rm -f core conftest.err conftest.$ac_objext \
2062
conftest$ac_exeext conftest.$ac_ext
2065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066
$as_echo "$ac_res" >&6; }
2067
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069
} # ac_fn_c_check_func
1407
2070
cat >config.log <<_ACEOF
1408
2071
This file contains any messages produced by compilers while
1409
2072
running configure, to aid debugging if configure makes a mistake.
1411
It was created by nettle $as_me 2.1, which was
1412
generated by GNU Autoconf 2.61. Invocation command line was
2074
It was created by nettle $as_me 2.4, which was
2075
generated by GNU Autoconf 2.67. Invocation command line was
1560
## ----------------- ##
2221
$as_echo "## ----------------- ##
1561
2222
## Output variables. ##
1562
## ----------------- ##
2223
## ----------------- ##"
1565
2225
for ac_var in $ac_subst_vars
1567
2227
eval ac_val=\$$ac_var
1568
2228
case $ac_val in
1569
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571
echo "$ac_var='\''$ac_val'\''"
2231
$as_echo "$ac_var='\''$ac_val'\''"
1575
2235
if test -n "$ac_subst_files"; then
1577
## ------------------- ##
2236
$as_echo "## ------------------- ##
1578
2237
## File substitutions. ##
1579
## ------------------- ##
2238
## ------------------- ##"
1582
2240
for ac_var in $ac_subst_files
1584
2242
eval ac_val=\$$ac_var
1585
2243
case $ac_val in
1586
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588
echo "$ac_var='\''$ac_val'\''"
2246
$as_echo "$ac_var='\''$ac_val'\''"
1593
2251
if test -s confdefs.h; then
2252
$as_echo "## ----------- ##
1596
2253
## confdefs.h. ##
1603
2259
test "$ac_signal" != 0 &&
1604
echo "$as_me: caught signal $ac_signal"
1605
echo "$as_me: exit $exit_status"
2260
$as_echo "$as_me: caught signal $ac_signal"
2261
$as_echo "$as_me: exit $exit_status"
1607
2263
rm -f core *.core core.conftest.* &&
1608
2264
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1609
2265
exit $exit_status
1611
2267
for ac_signal in 1 2 13 15; do
1612
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2268
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1616
2272
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1617
2273
rm -f -r conftest* confdefs.h
2275
$as_echo "/* confdefs.h */" > confdefs.h
1619
2277
# Predefined preprocessor variables.
1621
2279
cat >>confdefs.h <<_ACEOF
1622
2280
#define PACKAGE_NAME "$PACKAGE_NAME"
1626
2283
cat >>confdefs.h <<_ACEOF
1627
2284
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1631
2287
cat >>confdefs.h <<_ACEOF
1632
2288
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1636
2291
cat >>confdefs.h <<_ACEOF
1637
2292
#define PACKAGE_STRING "$PACKAGE_STRING"
1641
2295
cat >>confdefs.h <<_ACEOF
1642
2296
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299
cat >>confdefs.h <<_ACEOF
2300
#define PACKAGE_URL "$PACKAGE_URL"
1646
2304
# Let the site file select an alternate cache file if it wants to.
1647
# Prefer explicitly selected file to automatically selected ones.
2305
# Prefer an explicitly selected file to automatically selected ones.
1648
2308
if test -n "$CONFIG_SITE"; then
1649
set x "$CONFIG_SITE"
2309
# We do not want a PATH search for config.site.
2310
case $CONFIG_SITE in #((
2311
-*) ac_site_file1=./$CONFIG_SITE;;
2312
*/*) ac_site_file1=$CONFIG_SITE;;
2313
*) ac_site_file1=./$CONFIG_SITE;;
1650
2315
elif test "x$prefix" != xNONE; then
1651
set x "$prefix/share/config.site" "$prefix/etc/config.site"
2316
ac_site_file1=$prefix/share/config.site
2317
ac_site_file2=$prefix/etc/config.site
1653
set x "$ac_default_prefix/share/config.site" \
1654
"$ac_default_prefix/etc/config.site"
2319
ac_site_file1=$ac_default_prefix/share/config.site
2320
ac_site_file2=$ac_default_prefix/etc/config.site
2322
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1659
if test -r "$ac_site_file"; then
1660
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1661
echo "$as_me: loading site script $ac_site_file" >&6;}
2324
test "x$ac_site_file" = xNONE && continue
2325
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2326
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2327
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1662
2328
sed 's/^/| /' "$ac_site_file" >&5
2330
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332
as_fn_error $? "failed to load site script $ac_site_file
2333
See \`config.log' for more details" "$LINENO" 5 ; }
1667
2337
if test -r "$cache_file"; then
1668
# Some versions of bash will fail to source /dev/null (special
1669
# files actually), so we avoid doing that.
1670
if test -f "$cache_file"; then
1671
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1672
echo "$as_me: loading cache $cache_file" >&6;}
2338
# Some versions of bash will fail to source /dev/null (special files
2339
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2340
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2341
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2342
$as_echo "$as_me: loading cache $cache_file" >&6;}
1673
2343
case $cache_file in
1674
2344
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1675
2345
*) . "./$cache_file";;
1679
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1680
echo "$as_me: creating cache $cache_file" >&6;}
2349
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2350
$as_echo "$as_me: creating cache $cache_file" >&6;}
2464
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2465
echo "${ECHO_T}$ac_file" >&6; }
2466
if test -z "$ac_file"; then
2467
echo "$as_me: failed program was:" >&5
3089
if test -z "$ac_file"; then :
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091
$as_echo "no" >&6; }
3092
$as_echo "$as_me: failed program was:" >&5
2468
3093
sed 's/^/| /' conftest.$ac_ext >&5
2470
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2471
See \`config.log' for more details." >&5
2472
echo "$as_me: error: C compiler cannot create executables
2473
See \`config.log' for more details." >&2;}
2474
{ (exit 77); exit 77; }; }
3095
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097
as_fn_error 77 "C compiler cannot create executables
3098
See \`config.log' for more details" "$LINENO" 5 ; }
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3101
$as_echo "yes" >&6; }
3103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3104
$as_echo_n "checking for C compiler default output file name... " >&6; }
3105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3106
$as_echo "$ac_file" >&6; }
2477
3107
ac_exeext=$ac_cv_exeext
2479
# Check that the compiler produces executables we can run. If not, either
2480
# the compiler is broken, or we cross compile.
2481
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2483
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484
# If not cross compiling, check that we can run a simple program.
2485
if test "$cross_compiling" != yes; then
2486
if { ac_try='./$ac_file'
2487
{ (case "(($ac_try" in
2488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489
*) ac_try_echo=$ac_try;;
2491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2492
(eval "$ac_try") 2>&5
2494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
(exit $ac_status); }; }; then
2498
if test "$cross_compiling" = maybe; then
2501
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2502
If you meant to cross compile, use \`--host'.
2503
See \`config.log' for more details." >&5
2504
echo "$as_me: error: cannot run C compiled programs.
2505
If you meant to cross compile, use \`--host'.
2506
See \`config.log' for more details." >&2;}
2507
{ (exit 1); exit 1; }; }
2511
{ echo "$as_me:$LINENO: result: yes" >&5
2512
echo "${ECHO_T}yes" >&6; }
2514
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3109
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2515
3110
ac_clean_files=$ac_clean_files_save
2516
# Check that the compiler produces executables we can run. If not, either
2517
# the compiler is broken, or we cross compile.
2518
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2519
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2520
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2521
echo "${ECHO_T}$cross_compiling" >&6; }
2523
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2524
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2525
if { (ac_try="$ac_link"
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3112
$as_echo_n "checking for suffix of executables... " >&6; }
3113
if { { ac_try="$ac_link"
2526
3114
case "(($ac_try" in
2527
3115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528
3116
*) ac_try_echo=$ac_try;;
2530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119
$as_echo "$ac_try_echo"; } >&5
2531
3120
(eval "$ac_link") 2>&5
2533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
(exit $ac_status); }; then
3122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123
test $ac_status = 0; }; then :
2535
3124
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2536
3125
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2537
3126
# work properly (i.e., refer to `conftest.exe'), while it won't with
5438
rm -f conftest.$ac_objext
5439
if { (ac_try="$ac_compile"
5441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
*) ac_try_echo=$ac_try;;
5444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5445
(eval "$ac_compile") 2>conftest.er1
5447
grep -v '^ *+' conftest.er1 >conftest.err
5449
cat conftest.err >&5
5450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
(exit $ac_status); } && {
5452
test -z "$ac_c_werror_flag" ||
5453
test ! -s conftest.err
5454
} && test -s conftest.$ac_objext; then
5431
if ac_fn_c_try_compile "$LINENO"; then :
5455
5432
ac_cv_header_time=yes
5457
echo "$as_me: failed program was:" >&5
5458
sed 's/^/| /' conftest.$ac_ext >&5
5460
ac_cv_header_time=no
5434
ac_cv_header_time=no
5463
5436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5465
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5466
echo "${ECHO_T}$ac_cv_header_time" >&6; }
5438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5439
$as_echo "$ac_cv_header_time" >&6; }
5467
5440
if test $ac_cv_header_time = yes; then
5469
cat >>confdefs.h <<\_ACEOF
5470
#define TIME_WITH_SYS_TIME 1
5475
# Used by eratosthenes.c
5476
{ echo "$as_me:$LINENO: checking for long" >&5
5477
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
5478
if test "${ac_cv_type_long+set}" = set; then
5479
echo $ECHO_N "(cached) $ECHO_C" >&6
5481
cat >conftest.$ac_ext <<_ACEOF
5484
cat confdefs.h >>conftest.$ac_ext
5485
cat >>conftest.$ac_ext <<_ACEOF
5486
/* end confdefs.h. */
5487
$ac_includes_default
5488
typedef long ac__type_new_;
5492
if ((ac__type_new_ *) 0)
5494
if (sizeof (ac__type_new_))
5500
rm -f conftest.$ac_objext
5501
if { (ac_try="$ac_compile"
5503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5504
*) ac_try_echo=$ac_try;;
5506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507
(eval "$ac_compile") 2>conftest.er1
5509
grep -v '^ *+' conftest.er1 >conftest.err
5511
cat conftest.err >&5
5512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513
(exit $ac_status); } && {
5514
test -z "$ac_c_werror_flag" ||
5515
test ! -s conftest.err
5516
} && test -s conftest.$ac_objext; then
5519
echo "$as_me: failed program was:" >&5
5520
sed 's/^/| /' conftest.$ac_ext >&5
5525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5528
echo "${ECHO_T}$ac_cv_type_long" >&6; }
5442
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5530
5446
# The cast to long int works around a bug in the HP C Compiler
5531
5447
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5532
5448
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5533
5449
# This bug is HP SR number 8606223364.
5534
{ echo "$as_me:$LINENO: checking size of long" >&5
5535
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5536
if test "${ac_cv_sizeof_long+set}" = set; then
5537
echo $ECHO_N "(cached) $ECHO_C" >&6
5539
if test "$cross_compiling" = yes; then
5540
# Depending upon the size, compute the lo and hi bounds.
5541
cat >conftest.$ac_ext <<_ACEOF
5544
cat confdefs.h >>conftest.$ac_ext
5545
cat >>conftest.$ac_ext <<_ACEOF
5546
/* end confdefs.h. */
5547
$ac_includes_default
5548
typedef long ac__type_sizeof_;
5552
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5559
rm -f conftest.$ac_objext
5560
if { (ac_try="$ac_compile"
5562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5563
*) ac_try_echo=$ac_try;;
5565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566
(eval "$ac_compile") 2>conftest.er1
5568
grep -v '^ *+' conftest.er1 >conftest.err
5570
cat conftest.err >&5
5571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
(exit $ac_status); } && {
5573
test -z "$ac_c_werror_flag" ||
5574
test ! -s conftest.err
5575
} && test -s conftest.$ac_objext; then
5578
cat >conftest.$ac_ext <<_ACEOF
5581
cat confdefs.h >>conftest.$ac_ext
5582
cat >>conftest.$ac_ext <<_ACEOF
5583
/* end confdefs.h. */
5584
$ac_includes_default
5585
typedef long ac__type_sizeof_;
5589
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5596
rm -f conftest.$ac_objext
5597
if { (ac_try="$ac_compile"
5599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5600
*) ac_try_echo=$ac_try;;
5602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5603
(eval "$ac_compile") 2>conftest.er1
5605
grep -v '^ *+' conftest.er1 >conftest.err
5607
cat conftest.err >&5
5608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609
(exit $ac_status); } && {
5610
test -z "$ac_c_werror_flag" ||
5611
test ! -s conftest.err
5612
} && test -s conftest.$ac_objext; then
5613
ac_hi=$ac_mid; break
5615
echo "$as_me: failed program was:" >&5
5616
sed 's/^/| /' conftest.$ac_ext >&5
5618
ac_lo=`expr $ac_mid + 1`
5619
if test $ac_lo -le $ac_mid; then
5623
ac_mid=`expr 2 '*' $ac_mid + 1`
5626
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5629
echo "$as_me: failed program was:" >&5
5630
sed 's/^/| /' conftest.$ac_ext >&5
5632
cat >conftest.$ac_ext <<_ACEOF
5635
cat confdefs.h >>conftest.$ac_ext
5636
cat >>conftest.$ac_ext <<_ACEOF
5637
/* end confdefs.h. */
5638
$ac_includes_default
5639
typedef long ac__type_sizeof_;
5643
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5650
rm -f conftest.$ac_objext
5651
if { (ac_try="$ac_compile"
5653
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5654
*) ac_try_echo=$ac_try;;
5656
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5657
(eval "$ac_compile") 2>conftest.er1
5659
grep -v '^ *+' conftest.er1 >conftest.err
5661
cat conftest.err >&5
5662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663
(exit $ac_status); } && {
5664
test -z "$ac_c_werror_flag" ||
5665
test ! -s conftest.err
5666
} && test -s conftest.$ac_objext; then
5669
cat >conftest.$ac_ext <<_ACEOF
5672
cat confdefs.h >>conftest.$ac_ext
5673
cat >>conftest.$ac_ext <<_ACEOF
5674
/* end confdefs.h. */
5675
$ac_includes_default
5676
typedef long ac__type_sizeof_;
5680
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5687
rm -f conftest.$ac_objext
5688
if { (ac_try="$ac_compile"
5690
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5691
*) ac_try_echo=$ac_try;;
5693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5694
(eval "$ac_compile") 2>conftest.er1
5696
grep -v '^ *+' conftest.er1 >conftest.err
5698
cat conftest.err >&5
5699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700
(exit $ac_status); } && {
5701
test -z "$ac_c_werror_flag" ||
5702
test ! -s conftest.err
5703
} && test -s conftest.$ac_objext; then
5704
ac_lo=$ac_mid; break
5706
echo "$as_me: failed program was:" >&5
5707
sed 's/^/| /' conftest.$ac_ext >&5
5709
ac_hi=`expr '(' $ac_mid ')' - 1`
5710
if test $ac_mid -le $ac_hi; then
5714
ac_mid=`expr 2 '*' $ac_mid`
5717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720
echo "$as_me: failed program was:" >&5
5721
sed 's/^/| /' conftest.$ac_ext >&5
5726
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730
# Binary search between lo and hi bounds.
5731
while test "x$ac_lo" != "x$ac_hi"; do
5732
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5733
cat >conftest.$ac_ext <<_ACEOF
5736
cat confdefs.h >>conftest.$ac_ext
5737
cat >>conftest.$ac_ext <<_ACEOF
5738
/* end confdefs.h. */
5739
$ac_includes_default
5740
typedef long ac__type_sizeof_;
5744
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5751
rm -f conftest.$ac_objext
5752
if { (ac_try="$ac_compile"
5754
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5755
*) ac_try_echo=$ac_try;;
5757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758
(eval "$ac_compile") 2>conftest.er1
5760
grep -v '^ *+' conftest.er1 >conftest.err
5762
cat conftest.err >&5
5763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764
(exit $ac_status); } && {
5765
test -z "$ac_c_werror_flag" ||
5766
test ! -s conftest.err
5767
} && test -s conftest.$ac_objext; then
5770
echo "$as_me: failed program was:" >&5
5771
sed 's/^/| /' conftest.$ac_ext >&5
5773
ac_lo=`expr '(' $ac_mid ')' + 1`
5776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779
?*) ac_cv_sizeof_long=$ac_lo;;
5780
'') if test "$ac_cv_type_long" = yes; then
5781
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5782
See \`config.log' for more details." >&5
5783
echo "$as_me: error: cannot compute sizeof (long)
5784
See \`config.log' for more details." >&2;}
5785
{ (exit 77); exit 77; }; }
5791
cat >conftest.$ac_ext <<_ACEOF
5794
cat confdefs.h >>conftest.$ac_ext
5795
cat >>conftest.$ac_ext <<_ACEOF
5796
/* end confdefs.h. */
5797
$ac_includes_default
5798
typedef long ac__type_sizeof_;
5799
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5800
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5807
FILE *f = fopen ("conftest.val", "w");
5810
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5812
long int i = longval ();
5813
if (i != ((long int) (sizeof (ac__type_sizeof_))))
5815
fprintf (f, "%ld\n", i);
5819
unsigned long int i = ulongval ();
5820
if (i != ((long int) (sizeof (ac__type_sizeof_))))
5822
fprintf (f, "%lu\n", i);
5824
return ferror (f) || fclose (f) != 0;
5830
rm -f conftest$ac_exeext
5831
if { (ac_try="$ac_link"
5833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5834
*) ac_try_echo=$ac_try;;
5836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5837
(eval "$ac_link") 2>&5
5839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5841
{ (case "(($ac_try" in
5842
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5843
*) ac_try_echo=$ac_try;;
5845
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5846
(eval "$ac_try") 2>&5
5848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849
(exit $ac_status); }; }; then
5850
ac_cv_sizeof_long=`cat conftest.val`
5852
echo "$as_me: program exited with status $ac_status" >&5
5853
echo "$as_me: failed program was:" >&5
5854
sed 's/^/| /' conftest.$ac_ext >&5
5857
if test "$ac_cv_type_long" = yes; then
5858
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5859
See \`config.log' for more details." >&5
5860
echo "$as_me: error: cannot compute sizeof (long)
5861
See \`config.log' for more details." >&2;}
5862
{ (exit 77); exit 77; }; }
5450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5451
$as_echo_n "checking size of long... " >&6; }
5452
if test "${ac_cv_sizeof_long+set}" = set; then :
5453
$as_echo_n "(cached) " >&6
5455
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5458
if test "$ac_cv_type_long" = yes; then
5459
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5460
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5461
as_fn_error 77 "cannot compute sizeof (long)
5462
See \`config.log' for more details" "$LINENO" 5 ; }
5864
5464
ac_cv_sizeof_long=0
5867
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5871
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5872
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5470
$as_echo "$ac_cv_sizeof_long" >&6; }
5886
5480
for ac_header in openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h
5888
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5889
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5890
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5891
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5892
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5893
echo $ECHO_N "(cached) $ECHO_C" >&6
5895
ac_res=`eval echo '${'$as_ac_Header'}'`
5896
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5897
echo "${ECHO_T}$ac_res" >&6; }
5899
# Is the header compilable?
5900
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5901
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5902
cat >conftest.$ac_ext <<_ACEOF
5905
cat confdefs.h >>conftest.$ac_ext
5906
cat >>conftest.$ac_ext <<_ACEOF
5907
/* end confdefs.h. */
5908
$ac_includes_default
5909
#include <$ac_header>
5911
rm -f conftest.$ac_objext
5912
if { (ac_try="$ac_compile"
5914
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5915
*) ac_try_echo=$ac_try;;
5917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5918
(eval "$ac_compile") 2>conftest.er1
5920
grep -v '^ *+' conftest.er1 >conftest.err
5922
cat conftest.err >&5
5923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924
(exit $ac_status); } && {
5925
test -z "$ac_c_werror_flag" ||
5926
test ! -s conftest.err
5927
} && test -s conftest.$ac_objext; then
5928
ac_header_compiler=yes
5930
echo "$as_me: failed program was:" >&5
5931
sed 's/^/| /' conftest.$ac_ext >&5
5933
ac_header_compiler=no
5936
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5937
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5938
echo "${ECHO_T}$ac_header_compiler" >&6; }
5940
# Is the header present?
5941
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5942
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5943
cat >conftest.$ac_ext <<_ACEOF
5946
cat confdefs.h >>conftest.$ac_ext
5947
cat >>conftest.$ac_ext <<_ACEOF
5948
/* end confdefs.h. */
5949
#include <$ac_header>
5951
if { (ac_try="$ac_cpp conftest.$ac_ext"
5953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5954
*) ac_try_echo=$ac_try;;
5956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5957
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5959
grep -v '^ *+' conftest.er1 >conftest.err
5961
cat conftest.err >&5
5962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963
(exit $ac_status); } >/dev/null && {
5964
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5965
test ! -s conftest.err
5967
ac_header_preproc=yes
5969
echo "$as_me: failed program was:" >&5
5970
sed 's/^/| /' conftest.$ac_ext >&5
5972
ac_header_preproc=no
5975
rm -f conftest.err conftest.$ac_ext
5976
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5977
echo "${ECHO_T}$ac_header_preproc" >&6; }
5979
# So? What about this header?
5980
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5982
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5983
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5984
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5985
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5986
ac_header_preproc=yes
5989
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5990
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5991
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5992
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5993
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5994
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5995
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5996
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5997
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5998
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5999
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6000
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6002
## ----------------------------------------------- ##
6003
## Report this to nettle-bugs@lists.lysator.liu.se ##
6004
## ----------------------------------------------- ##
6006
) | sed "s/^/$as_me: WARNING: /" >&2
6009
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6010
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6011
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6012
echo $ECHO_N "(cached) $ECHO_C" >&6
6014
eval "$as_ac_Header=\$ac_header_preproc"
6016
ac_res=`eval echo '${'$as_ac_Header'}'`
6017
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6018
echo "${ECHO_T}$ac_res" >&6; }
6021
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5482
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5483
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5484
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6022
5485
cat >>confdefs.h <<_ACEOF
6023
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5486
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6394
5686
for ac_header in malloc.h
6396
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6397
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6398
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6399
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6400
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6401
echo $ECHO_N "(cached) $ECHO_C" >&6
6403
ac_res=`eval echo '${'$as_ac_Header'}'`
6404
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6405
echo "${ECHO_T}$ac_res" >&6; }
6407
# Is the header compilable?
6408
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6409
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6410
cat >conftest.$ac_ext <<_ACEOF
6413
cat confdefs.h >>conftest.$ac_ext
6414
cat >>conftest.$ac_ext <<_ACEOF
6415
/* end confdefs.h. */
6416
$ac_includes_default
6417
#include <$ac_header>
6419
rm -f conftest.$ac_objext
6420
if { (ac_try="$ac_compile"
6422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423
*) ac_try_echo=$ac_try;;
6425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426
(eval "$ac_compile") 2>conftest.er1
6428
grep -v '^ *+' conftest.er1 >conftest.err
6430
cat conftest.err >&5
6431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432
(exit $ac_status); } && {
6433
test -z "$ac_c_werror_flag" ||
6434
test ! -s conftest.err
6435
} && test -s conftest.$ac_objext; then
6436
ac_header_compiler=yes
6438
echo "$as_me: failed program was:" >&5
6439
sed 's/^/| /' conftest.$ac_ext >&5
6441
ac_header_compiler=no
6444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6446
echo "${ECHO_T}$ac_header_compiler" >&6; }
6448
# Is the header present?
6449
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6450
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6451
cat >conftest.$ac_ext <<_ACEOF
6454
cat confdefs.h >>conftest.$ac_ext
6455
cat >>conftest.$ac_ext <<_ACEOF
6456
/* end confdefs.h. */
6457
#include <$ac_header>
6459
if { (ac_try="$ac_cpp conftest.$ac_ext"
6461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6462
*) ac_try_echo=$ac_try;;
6464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6465
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6467
grep -v '^ *+' conftest.er1 >conftest.err
6469
cat conftest.err >&5
6470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471
(exit $ac_status); } >/dev/null && {
6472
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6473
test ! -s conftest.err
6475
ac_header_preproc=yes
6477
echo "$as_me: failed program was:" >&5
6478
sed 's/^/| /' conftest.$ac_ext >&5
6480
ac_header_preproc=no
6483
rm -f conftest.err conftest.$ac_ext
6484
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6485
echo "${ECHO_T}$ac_header_preproc" >&6; }
6487
# So? What about this header?
6488
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6490
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6491
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6492
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6493
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6494
ac_header_preproc=yes
6497
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6498
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6499
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6500
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6501
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6502
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6503
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6504
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6505
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6506
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6507
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6508
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6510
## ----------------------------------------------- ##
6511
## Report this to nettle-bugs@lists.lysator.liu.se ##
6512
## ----------------------------------------------- ##
6514
) | sed "s/^/$as_me: WARNING: /" >&2
6517
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6518
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6519
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6520
echo $ECHO_N "(cached) $ECHO_C" >&6
6522
eval "$as_ac_Header=\$ac_header_preproc"
6524
ac_res=`eval echo '${'$as_ac_Header'}'`
6525
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6526
echo "${ECHO_T}$ac_res" >&6; }
6529
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6530
cat >>confdefs.h <<_ACEOF
6531
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5688
ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
5689
if test "x$ac_cv_header_malloc_h" = x""yes; then :
5690
cat >>confdefs.h <<_ACEOF
5691
#define HAVE_MALLOC_H 1
5699
for ac_func in strerror
5701
ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5702
if test "x$ac_cv_func_strerror" = x""yes; then :
5703
cat >>confdefs.h <<_ACEOF
5704
#define HAVE_STRERROR 1
6541
5712
# Needed by the supplied memcmp.c
6542
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6543
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
6544
if test "${ac_cv_c_bigendian+set}" = set; then
6545
echo $ECHO_N "(cached) $ECHO_C" >&6
5713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5714
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5715
if test "${ac_cv_c_bigendian+set}" = set; then :
5716
$as_echo_n "(cached) " >&6
6547
# See if sys/param.h defines the BYTE_ORDER macro.
6548
cat >conftest.$ac_ext <<_ACEOF
5718
ac_cv_c_bigendian=unknown
5719
# See if we're dealing with a universal compiler.
5720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721
/* end confdefs.h. */
5722
#ifndef __APPLE_CC__
5723
not a universal capable compiler
6551
cat confdefs.h >>conftest.$ac_ext
6552
cat >>conftest.$ac_ext <<_ACEOF
5728
if ac_fn_c_try_compile "$LINENO"; then :
5730
# Check for potential -arch flags. It is not universal unless
5731
# there are at least two -arch flags with different values.
5734
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5735
if test -n "$ac_prev"; then
5737
i?86 | x86_64 | ppc | ppc64)
5738
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5741
ac_cv_c_bigendian=universal
5747
elif test "x$ac_word" = "x-arch"; then
5752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753
if test $ac_cv_c_bigendian = unknown; then
5754
# See if sys/param.h defines the BYTE_ORDER macro.
5755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553
5756
/* end confdefs.h. */
6554
5757
#include <sys/types.h>
6555
#include <sys/param.h>
5758
#include <sys/param.h>
6560
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
6561
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
5763
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5764
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6569
rm -f conftest.$ac_objext
6570
if { (ac_try="$ac_compile"
6572
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6573
*) ac_try_echo=$ac_try;;
6575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6576
(eval "$ac_compile") 2>conftest.er1
6578
grep -v '^ *+' conftest.er1 >conftest.err
6580
cat conftest.err >&5
6581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
(exit $ac_status); } && {
6583
test -z "$ac_c_werror_flag" ||
6584
test ! -s conftest.err
6585
} && test -s conftest.$ac_objext; then
5773
if ac_fn_c_try_compile "$LINENO"; then :
6586
5774
# It does; now see whether it defined to BIG_ENDIAN or not.
6587
cat >conftest.$ac_ext <<_ACEOF
6590
cat confdefs.h >>conftest.$ac_ext
6591
cat >>conftest.$ac_ext <<_ACEOF
5775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592
5776
/* end confdefs.h. */
6593
5777
#include <sys/types.h>
6594
#include <sys/param.h>
5778
#include <sys/param.h>
6599
5783
#if BYTE_ORDER != BIG_ENDIAN
6607
rm -f conftest.$ac_objext
6608
if { (ac_try="$ac_compile"
6610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6611
*) ac_try_echo=$ac_try;;
6613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6614
(eval "$ac_compile") 2>conftest.er1
6616
grep -v '^ *+' conftest.er1 >conftest.err
6618
cat conftest.err >&5
6619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620
(exit $ac_status); } && {
6621
test -z "$ac_c_werror_flag" ||
6622
test ! -s conftest.err
6623
} && test -s conftest.$ac_objext; then
6624
ac_cv_c_bigendian=yes
6626
echo "$as_me: failed program was:" >&5
6627
sed 's/^/| /' conftest.$ac_ext >&5
6629
ac_cv_c_bigendian=no
6632
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634
echo "$as_me: failed program was:" >&5
6635
sed 's/^/| /' conftest.$ac_ext >&5
6637
# It does not; compile a test program.
6638
if test "$cross_compiling" = yes; then
6639
# try to guess the endianness by grepping values into an object file
6640
ac_cv_c_bigendian=unknown
6641
cat >conftest.$ac_ext <<_ACEOF
6644
cat confdefs.h >>conftest.$ac_ext
6645
cat >>conftest.$ac_ext <<_ACEOF
6646
/* end confdefs.h. */
6647
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6648
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6649
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6650
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6651
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6652
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6656
_ascii (); _ebcdic ();
6661
rm -f conftest.$ac_objext
6662
if { (ac_try="$ac_compile"
6664
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6665
*) ac_try_echo=$ac_try;;
6667
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6668
(eval "$ac_compile") 2>conftest.er1
6670
grep -v '^ *+' conftest.er1 >conftest.err
6672
cat conftest.err >&5
6673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674
(exit $ac_status); } && {
6675
test -z "$ac_c_werror_flag" ||
6676
test ! -s conftest.err
6677
} && test -s conftest.$ac_objext; then
6678
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6679
ac_cv_c_bigendian=yes
6681
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6682
if test "$ac_cv_c_bigendian" = unknown; then
6683
ac_cv_c_bigendian=no
6685
# finding both strings is unlikely to happen, but who knows?
6686
ac_cv_c_bigendian=unknown
6690
echo "$as_me: failed program was:" >&5
6691
sed 's/^/| /' conftest.$ac_ext >&5
6696
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6698
cat >conftest.$ac_ext <<_ACEOF
6701
cat confdefs.h >>conftest.$ac_ext
6702
cat >>conftest.$ac_ext <<_ACEOF
5791
if ac_fn_c_try_compile "$LINENO"; then :
5792
ac_cv_c_bigendian=yes
5794
ac_cv_c_bigendian=no
5796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800
if test $ac_cv_c_bigendian = unknown; then
5801
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803
/* end confdefs.h. */
5809
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5817
if ac_fn_c_try_compile "$LINENO"; then :
5818
# It does; now see whether it defined to _BIG_ENDIAN or not.
5819
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820
/* end confdefs.h. */
5834
if ac_fn_c_try_compile "$LINENO"; then :
5835
ac_cv_c_bigendian=yes
5837
ac_cv_c_bigendian=no
5839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5841
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5843
if test $ac_cv_c_bigendian = unknown; then
5844
# Compile a test program.
5845
if test "$cross_compiling" = yes; then :
5846
# Try to guess by grepping values from an object file.
5847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5848
/* end confdefs.h. */
5849
short int ascii_mm[] =
5850
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5851
short int ascii_ii[] =
5852
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5853
int use_ascii (int i) {
5854
return ascii_mm[i] + ascii_ii[i];
5856
short int ebcdic_ii[] =
5857
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5858
short int ebcdic_mm[] =
5859
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5860
int use_ebcdic (int i) {
5861
return ebcdic_mm[i] + ebcdic_ii[i];
5868
return use_ascii (foo) == use_ebcdic (foo);
5873
if ac_fn_c_try_compile "$LINENO"; then :
5874
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5875
ac_cv_c_bigendian=yes
5877
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5878
if test "$ac_cv_c_bigendian" = unknown; then
5879
ac_cv_c_bigendian=no
5881
# finding both strings is unlikely to happen, but who knows?
5882
ac_cv_c_bigendian=unknown
5886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5888
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703
5889
/* end confdefs.h. */
6704
5890
$ac_includes_default
6709
/* Are we little or big endian? From Harbison&Steele. */
6713
char c[sizeof (long int)];
6716
return u.c[sizeof (long int) - 1] == 1;
5895
/* Are we little or big endian? From Harbison&Steele. */
5899
char c[sizeof (long int)];
5902
return u.c[sizeof (long int) - 1] == 1;
6722
rm -f conftest$ac_exeext
6723
if { (ac_try="$ac_link"
6725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726
*) ac_try_echo=$ac_try;;
6728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6729
(eval "$ac_link") 2>&5
6731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6733
{ (case "(($ac_try" in
6734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6735
*) ac_try_echo=$ac_try;;
6737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6738
(eval "$ac_try") 2>&5
6740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741
(exit $ac_status); }; }; then
5908
if ac_fn_c_try_run "$LINENO"; then :
6742
5909
ac_cv_c_bigendian=no
6744
echo "$as_me: program exited with status $ac_status" >&5
6745
echo "$as_me: failed program was:" >&5
6746
sed 's/^/| /' conftest.$ac_ext >&5
6749
ac_cv_c_bigendian=yes
6751
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6759
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6760
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
6761
case $ac_cv_c_bigendian in
6764
cat >>confdefs.h <<\_ACEOF
6765
#define WORDS_BIGENDIAN 1
6771
{ { echo "$as_me:$LINENO: error: unknown endianness
6772
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6773
echo "$as_me: error: unknown endianness
6774
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6775
{ (exit 1); exit 1; }; } ;;
6779
for ac_func in memxor
6781
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6782
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6783
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6784
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6785
echo $ECHO_N "(cached) $ECHO_C" >&6
6787
cat >conftest.$ac_ext <<_ACEOF
6790
cat confdefs.h >>conftest.$ac_ext
6791
cat >>conftest.$ac_ext <<_ACEOF
6792
/* end confdefs.h. */
6793
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6794
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6795
#define $ac_func innocuous_$ac_func
6797
/* System header to define __stub macros and hopefully few prototypes,
6798
which can conflict with char $ac_func (); below.
6799
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6800
<limits.h> exists even on freestanding compilers. */
6803
# include <limits.h>
6805
# include <assert.h>
6810
/* Override any GCC internal prototype to avoid an error.
6811
Use char because int might match the return type of a GCC
6812
builtin and then its argument prototype would still apply. */
6817
/* The GNU C library defines this for functions which it implements
6818
to always fail with ENOSYS. Some functions are actually named
6819
something starting with __ and the normal name is an alias. */
6820
#if defined __stub_$ac_func || defined __stub___$ac_func
6832
rm -f conftest.$ac_objext conftest$ac_exeext
6833
if { (ac_try="$ac_link"
6835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836
*) ac_try_echo=$ac_try;;
6838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839
(eval "$ac_link") 2>conftest.er1
6841
grep -v '^ *+' conftest.er1 >conftest.err
6843
cat conftest.err >&5
6844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845
(exit $ac_status); } && {
6846
test -z "$ac_c_werror_flag" ||
6847
test ! -s conftest.err
6848
} && test -s conftest$ac_exeext &&
6849
$as_test_x conftest$ac_exeext; then
6850
eval "$as_ac_var=yes"
6852
echo "$as_me: failed program was:" >&5
6853
sed 's/^/| /' conftest.$ac_ext >&5
6855
eval "$as_ac_var=no"
6858
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6859
conftest$ac_exeext conftest.$ac_ext
6861
ac_res=`eval echo '${'$as_ac_var'}'`
6862
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6863
echo "${ECHO_T}$ac_res" >&6; }
6864
if test `eval echo '${'$as_ac_var'}'` = yes; then
6865
cat >>confdefs.h <<_ACEOF
6866
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5911
ac_cv_c_bigendian=yes
5913
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5914
conftest.$ac_objext conftest.beam conftest.$ac_ext
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5920
$as_echo "$ac_cv_c_bigendian" >&6; }
5921
case $ac_cv_c_bigendian in #(
5923
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5929
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5933
as_fn_error $? "unknown endianness
5934
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5937
ac_fn_c_check_func "$LINENO" "memxor" "ac_cv_func_memxor"
5938
if test "x$ac_cv_func_memxor" = x""yes; then :
5939
$as_echo "#define HAVE_MEMXOR 1" >>confdefs.h
6870
5942
case " $LIBOBJS " in
6871
*" $ac_func.$ac_objext "* ) ;;
6872
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
5943
*" memxor.$ac_objext "* ) ;;
5944
*) LIBOBJS="$LIBOBJS memxor.$ac_objext"
6881
{ echo "$as_me:$LINENO: checking for __attribute__" >&5
6882
echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
6883
if test "${lsh_cv_c_attribute+set}" = set; then
6884
echo $ECHO_N "(cached) $ECHO_C" >&6
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
5953
$as_echo_n "checking for __attribute__... " >&6; }
5954
if test "${lsh_cv_c_attribute+set}" = set; then :
5955
$as_echo_n "(cached) " >&6
6886
cat >conftest.$ac_ext <<_ACEOF
6889
cat confdefs.h >>conftest.$ac_ext
6890
cat >>conftest.$ac_ext <<_ACEOF
5957
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891
5958
/* end confdefs.h. */
6893
5960
#include <stdlib.h>
7035
6054
inttype_headers=`echo sys/types.h | sed -e 's/,/ /g'`
7037
6056
ac_cv_stdint_result="(no helpful system typedefs seen)"
7038
{ echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
7039
echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
7040
if test "${ac_cv_header_stdint_x+set}" = set; then
7041
echo $ECHO_N "(cached) $ECHO_C" >&6
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
6058
$as_echo_n "checking for stdint uintptr_t... " >&6; }
6059
if test "${ac_cv_header_stdint_x+set}" = set; then :
6060
$as_echo_n "(cached) " >&6
7044
6063
ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
7045
{ echo "$as_me:$LINENO: result: (..)" >&5
7046
echo "${ECHO_T}(..)" >&6; }
6064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
6065
$as_echo "(..)" >&6; }
7047
6066
for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
7048
6067
unset ac_cv_type_uintptr_t
7049
6068
unset ac_cv_type_uint64_t
7050
{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
7051
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
7052
if test "${ac_cv_type_uintptr_t+set}" = set; then
7053
echo $ECHO_N "(cached) $ECHO_C" >&6
7055
cat >conftest.$ac_ext <<_ACEOF
7058
cat confdefs.h >>conftest.$ac_ext
7059
cat >>conftest.$ac_ext <<_ACEOF
7060
/* end confdefs.h. */
7063
typedef uintptr_t ac__type_new_;
7067
if ((ac__type_new_ *) 0)
7069
if (sizeof (ac__type_new_))
7075
rm -f conftest.$ac_objext
7076
if { (ac_try="$ac_compile"
7078
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7079
*) ac_try_echo=$ac_try;;
7081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7082
(eval "$ac_compile") 2>conftest.er1
7084
grep -v '^ *+' conftest.er1 >conftest.err
7086
cat conftest.err >&5
7087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088
(exit $ac_status); } && {
7089
test -z "$ac_c_werror_flag" ||
7090
test ! -s conftest.err
7091
} && test -s conftest.$ac_objext; then
7092
ac_cv_type_uintptr_t=yes
7094
echo "$as_me: failed program was:" >&5
7095
sed 's/^/| /' conftest.$ac_ext >&5
7097
ac_cv_type_uintptr_t=no
7100
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102
{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7103
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
7104
if test $ac_cv_type_uintptr_t = yes; then
6069
ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
6071
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
7105
6072
ac_cv_header_stdint_x=$i
7110
{ echo "$as_me:$LINENO: checking for uint64_t" >&5
7111
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7112
if test "${ac_cv_type_uint64_t+set}" = set; then
7113
echo $ECHO_N "(cached) $ECHO_C" >&6
7115
cat >conftest.$ac_ext <<_ACEOF
7118
cat confdefs.h >>conftest.$ac_ext
7119
cat >>conftest.$ac_ext <<_ACEOF
7120
/* end confdefs.h. */
7123
typedef uint64_t ac__type_new_;
7127
if ((ac__type_new_ *) 0)
7129
if (sizeof (ac__type_new_))
7135
rm -f conftest.$ac_objext
7136
if { (ac_try="$ac_compile"
7138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7139
*) ac_try_echo=$ac_try;;
7141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7142
(eval "$ac_compile") 2>conftest.er1
7144
grep -v '^ *+' conftest.er1 >conftest.err
7146
cat conftest.err >&5
7147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
(exit $ac_status); } && {
7149
test -z "$ac_c_werror_flag" ||
7150
test ! -s conftest.err
7151
} && test -s conftest.$ac_objext; then
7152
ac_cv_type_uint64_t=yes
7154
echo "$as_me: failed program was:" >&5
7155
sed 's/^/| /' conftest.$ac_ext >&5
7157
ac_cv_type_uint64_t=no
7160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7163
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
7164
if test $ac_cv_type_uint64_t = yes; then
6077
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
6079
if test "x$ac_cv_type_uint64_t" = x""yes; then :
7165
6080
and64="/uint64_t"
7170
6085
ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
7173
{ echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
7174
echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
6089
$as_echo_n "checking for stdint uintptr_t... " >&6; }
7177
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
7178
echo "${ECHO_T}$ac_cv_header_stdint_x" >&6; }
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
6093
$as_echo "$ac_cv_header_stdint_x" >&6; }
7180
6095
if test "_$ac_cv_header_stdint_x" = "_" ; then
7181
{ echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
7182
echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
7183
if test "${ac_cv_header_stdint_o+set}" = set; then
7184
echo $ECHO_N "(cached) $ECHO_C" >&6
6096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
6097
$as_echo_n "checking for stdint uint32_t... " >&6; }
6098
if test "${ac_cv_header_stdint_o+set}" = set; then :
6099
$as_echo_n "(cached) " >&6
7187
6102
ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
7188
{ echo "$as_me:$LINENO: result: (..)" >&5
7189
echo "${ECHO_T}(..)" >&6; }
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
6104
$as_echo "(..)" >&6; }
7190
6105
for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
7191
6106
unset ac_cv_type_uint32_t
7192
6107
unset ac_cv_type_uint64_t
7193
{ echo "$as_me:$LINENO: checking for uint32_t" >&5
7194
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
7195
if test "${ac_cv_type_uint32_t+set}" = set; then
7196
echo $ECHO_N "(cached) $ECHO_C" >&6
7198
cat >conftest.$ac_ext <<_ACEOF
7201
cat confdefs.h >>conftest.$ac_ext
7202
cat >>conftest.$ac_ext <<_ACEOF
7203
/* end confdefs.h. */
7206
typedef uint32_t ac__type_new_;
7210
if ((ac__type_new_ *) 0)
7212
if (sizeof (ac__type_new_))
7218
rm -f conftest.$ac_objext
7219
if { (ac_try="$ac_compile"
7221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7222
*) ac_try_echo=$ac_try;;
7224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7225
(eval "$ac_compile") 2>conftest.er1
7227
grep -v '^ *+' conftest.er1 >conftest.err
7229
cat conftest.err >&5
7230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231
(exit $ac_status); } && {
7232
test -z "$ac_c_werror_flag" ||
7233
test ! -s conftest.err
7234
} && test -s conftest.$ac_objext; then
7235
ac_cv_type_uint32_t=yes
7237
echo "$as_me: failed program was:" >&5
7238
sed 's/^/| /' conftest.$ac_ext >&5
7240
ac_cv_type_uint32_t=no
7243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7246
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
7247
if test $ac_cv_type_uint32_t = yes; then
6108
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
6110
if test "x$ac_cv_type_uint32_t" = x""yes; then :
7248
6111
ac_cv_header_stdint_o=$i
7253
{ echo "$as_me:$LINENO: checking for uint64_t" >&5
7254
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7255
if test "${ac_cv_type_uint64_t+set}" = set; then
7256
echo $ECHO_N "(cached) $ECHO_C" >&6
7258
cat >conftest.$ac_ext <<_ACEOF
7261
cat confdefs.h >>conftest.$ac_ext
7262
cat >>conftest.$ac_ext <<_ACEOF
7263
/* end confdefs.h. */
7266
typedef uint64_t ac__type_new_;
7270
if ((ac__type_new_ *) 0)
7272
if (sizeof (ac__type_new_))
7278
rm -f conftest.$ac_objext
7279
if { (ac_try="$ac_compile"
7281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7282
*) ac_try_echo=$ac_try;;
7284
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7285
(eval "$ac_compile") 2>conftest.er1
7287
grep -v '^ *+' conftest.er1 >conftest.err
7289
cat conftest.err >&5
7290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291
(exit $ac_status); } && {
7292
test -z "$ac_c_werror_flag" ||
7293
test ! -s conftest.err
7294
} && test -s conftest.$ac_objext; then
7295
ac_cv_type_uint64_t=yes
7297
echo "$as_me: failed program was:" >&5
7298
sed 's/^/| /' conftest.$ac_ext >&5
7300
ac_cv_type_uint64_t=no
7303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7305
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7306
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
7307
if test $ac_cv_type_uint64_t = yes; then
6116
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
6118
if test "x$ac_cv_type_uint64_t" = x""yes; then :
7308
6119
and64="/uint64_t"
7313
6124
ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
7316
{ echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
7317
echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
6127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
6128
$as_echo_n "checking for stdint uint32_t... " >&6; }
7320
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
7321
echo "${ECHO_T}$ac_cv_header_stdint_o" >&6; }
6131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
6132
$as_echo "$ac_cv_header_stdint_o" >&6; }
7324
6135
if test "_$ac_cv_header_stdint_x" = "_" ; then
7325
6136
if test "_$ac_cv_header_stdint_o" = "_" ; then
7326
{ echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
7327
echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
7328
if test "${ac_cv_header_stdint_u+set}" = set; then
7329
echo $ECHO_N "(cached) $ECHO_C" >&6
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
6138
$as_echo_n "checking for stdint u_int32_t... " >&6; }
6139
if test "${ac_cv_header_stdint_u+set}" = set; then :
6140
$as_echo_n "(cached) " >&6
7332
6143
ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
7333
{ echo "$as_me:$LINENO: result: (..)" >&5
7334
echo "${ECHO_T}(..)" >&6; }
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
6145
$as_echo "(..)" >&6; }
7335
6146
for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
7336
6147
unset ac_cv_type_u_int32_t
7337
6148
unset ac_cv_type_u_int64_t
7338
{ echo "$as_me:$LINENO: checking for u_int32_t" >&5
7339
echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
7340
if test "${ac_cv_type_u_int32_t+set}" = set; then
7341
echo $ECHO_N "(cached) $ECHO_C" >&6
7343
cat >conftest.$ac_ext <<_ACEOF
7346
cat confdefs.h >>conftest.$ac_ext
7347
cat >>conftest.$ac_ext <<_ACEOF
7348
/* end confdefs.h. */
7351
typedef u_int32_t ac__type_new_;
7355
if ((ac__type_new_ *) 0)
7357
if (sizeof (ac__type_new_))
7363
rm -f conftest.$ac_objext
7364
if { (ac_try="$ac_compile"
7366
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7367
*) ac_try_echo=$ac_try;;
7369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7370
(eval "$ac_compile") 2>conftest.er1
7372
grep -v '^ *+' conftest.er1 >conftest.err
7374
cat conftest.err >&5
7375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376
(exit $ac_status); } && {
7377
test -z "$ac_c_werror_flag" ||
7378
test ! -s conftest.err
7379
} && test -s conftest.$ac_objext; then
7380
ac_cv_type_u_int32_t=yes
7382
echo "$as_me: failed program was:" >&5
7383
sed 's/^/| /' conftest.$ac_ext >&5
7385
ac_cv_type_u_int32_t=no
7388
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7390
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7391
echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
7392
if test $ac_cv_type_u_int32_t = yes; then
6149
ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
6151
if test "x$ac_cv_type_u_int32_t" = x""yes; then :
7393
6152
ac_cv_header_stdint_u=$i
7398
{ echo "$as_me:$LINENO: checking for u_int64_t" >&5
7399
echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
7400
if test "${ac_cv_type_u_int64_t+set}" = set; then
7401
echo $ECHO_N "(cached) $ECHO_C" >&6
7403
cat >conftest.$ac_ext <<_ACEOF
7406
cat confdefs.h >>conftest.$ac_ext
7407
cat >>conftest.$ac_ext <<_ACEOF
7408
/* end confdefs.h. */
7411
typedef u_int64_t ac__type_new_;
7415
if ((ac__type_new_ *) 0)
7417
if (sizeof (ac__type_new_))
7423
rm -f conftest.$ac_objext
7424
if { (ac_try="$ac_compile"
7426
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427
*) ac_try_echo=$ac_try;;
7429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430
(eval "$ac_compile") 2>conftest.er1
7432
grep -v '^ *+' conftest.er1 >conftest.err
7434
cat conftest.err >&5
7435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436
(exit $ac_status); } && {
7437
test -z "$ac_c_werror_flag" ||
7438
test ! -s conftest.err
7439
} && test -s conftest.$ac_objext; then
7440
ac_cv_type_u_int64_t=yes
7442
echo "$as_me: failed program was:" >&5
7443
sed 's/^/| /' conftest.$ac_ext >&5
7445
ac_cv_type_u_int64_t=no
7448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7451
echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
7452
if test $ac_cv_type_u_int64_t = yes; then
6157
ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
6159
if test "x$ac_cv_type_u_int64_t" = x""yes; then :
7453
6160
and64="/u_int64_t"
7458
6165
ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
7461
{ echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
7462
echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
6168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
6169
$as_echo_n "checking for stdint u_int32_t... " >&6; }
7465
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
7466
echo "${ECHO_T}$ac_cv_header_stdint_u" >&6; }
6172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
6173
$as_echo "$ac_cv_header_stdint_u" >&6; }
7469
6176
if test "_$ac_cv_header_stdint_x" = "_" ; then
7470
{ echo "$as_me:$LINENO: checking for stdint datatype model" >&5
7471
echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6; }
7472
{ echo "$as_me:$LINENO: result: (..)" >&5
7473
echo "${ECHO_T}(..)" >&6; }
7474
{ echo "$as_me:$LINENO: checking for char" >&5
7475
echo $ECHO_N "checking for char... $ECHO_C" >&6; }
7476
if test "${ac_cv_type_char+set}" = set; then
7477
echo $ECHO_N "(cached) $ECHO_C" >&6
7479
cat >conftest.$ac_ext <<_ACEOF
7482
cat confdefs.h >>conftest.$ac_ext
7483
cat >>conftest.$ac_ext <<_ACEOF
7484
/* end confdefs.h. */
7485
$ac_includes_default
7486
typedef char ac__type_new_;
7490
if ((ac__type_new_ *) 0)
7492
if (sizeof (ac__type_new_))
7498
rm -f conftest.$ac_objext
7499
if { (ac_try="$ac_compile"
7501
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7502
*) ac_try_echo=$ac_try;;
7504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7505
(eval "$ac_compile") 2>conftest.er1
7507
grep -v '^ *+' conftest.er1 >conftest.err
7509
cat conftest.err >&5
7510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511
(exit $ac_status); } && {
7512
test -z "$ac_c_werror_flag" ||
7513
test ! -s conftest.err
7514
} && test -s conftest.$ac_objext; then
7517
echo "$as_me: failed program was:" >&5
7518
sed 's/^/| /' conftest.$ac_ext >&5
7523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525
{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
7526
echo "${ECHO_T}$ac_cv_type_char" >&6; }
7528
# The cast to long int works around a bug in the HP C Compiler
6177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
6178
$as_echo_n "checking for stdint datatype model... " >&6; }
6179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
6180
$as_echo "(..)" >&6; }
6181
# The cast to long int works around a bug in the HP C Compiler
7529
6182
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7530
6183
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7531
6184
# This bug is HP SR number 8606223364.
7532
{ echo "$as_me:$LINENO: checking size of char" >&5
7533
echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
7534
if test "${ac_cv_sizeof_char+set}" = set; then
7535
echo $ECHO_N "(cached) $ECHO_C" >&6
7537
if test "$cross_compiling" = yes; then
7538
# Depending upon the size, compute the lo and hi bounds.
7539
cat >conftest.$ac_ext <<_ACEOF
7542
cat confdefs.h >>conftest.$ac_ext
7543
cat >>conftest.$ac_ext <<_ACEOF
7544
/* end confdefs.h. */
7545
$ac_includes_default
7546
typedef char ac__type_sizeof_;
7550
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7557
rm -f conftest.$ac_objext
7558
if { (ac_try="$ac_compile"
7560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561
*) ac_try_echo=$ac_try;;
7563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564
(eval "$ac_compile") 2>conftest.er1
7566
grep -v '^ *+' conftest.er1 >conftest.err
7568
cat conftest.err >&5
7569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570
(exit $ac_status); } && {
7571
test -z "$ac_c_werror_flag" ||
7572
test ! -s conftest.err
7573
} && test -s conftest.$ac_objext; then
7576
cat >conftest.$ac_ext <<_ACEOF
7579
cat confdefs.h >>conftest.$ac_ext
7580
cat >>conftest.$ac_ext <<_ACEOF
7581
/* end confdefs.h. */
7582
$ac_includes_default
7583
typedef char ac__type_sizeof_;
7587
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7594
rm -f conftest.$ac_objext
7595
if { (ac_try="$ac_compile"
7597
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598
*) ac_try_echo=$ac_try;;
7600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7601
(eval "$ac_compile") 2>conftest.er1
7603
grep -v '^ *+' conftest.er1 >conftest.err
7605
cat conftest.err >&5
7606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607
(exit $ac_status); } && {
7608
test -z "$ac_c_werror_flag" ||
7609
test ! -s conftest.err
7610
} && test -s conftest.$ac_objext; then
7611
ac_hi=$ac_mid; break
7613
echo "$as_me: failed program was:" >&5
7614
sed 's/^/| /' conftest.$ac_ext >&5
7616
ac_lo=`expr $ac_mid + 1`
7617
if test $ac_lo -le $ac_mid; then
7621
ac_mid=`expr 2 '*' $ac_mid + 1`
7624
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7627
echo "$as_me: failed program was:" >&5
7628
sed 's/^/| /' conftest.$ac_ext >&5
7630
cat >conftest.$ac_ext <<_ACEOF
7633
cat confdefs.h >>conftest.$ac_ext
7634
cat >>conftest.$ac_ext <<_ACEOF
7635
/* end confdefs.h. */
7636
$ac_includes_default
7637
typedef char ac__type_sizeof_;
7641
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7648
rm -f conftest.$ac_objext
7649
if { (ac_try="$ac_compile"
7651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7652
*) ac_try_echo=$ac_try;;
7654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7655
(eval "$ac_compile") 2>conftest.er1
7657
grep -v '^ *+' conftest.er1 >conftest.err
7659
cat conftest.err >&5
7660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661
(exit $ac_status); } && {
7662
test -z "$ac_c_werror_flag" ||
7663
test ! -s conftest.err
7664
} && test -s conftest.$ac_objext; then
7667
cat >conftest.$ac_ext <<_ACEOF
7670
cat confdefs.h >>conftest.$ac_ext
7671
cat >>conftest.$ac_ext <<_ACEOF
7672
/* end confdefs.h. */
7673
$ac_includes_default
7674
typedef char ac__type_sizeof_;
7678
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7685
rm -f conftest.$ac_objext
7686
if { (ac_try="$ac_compile"
7688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689
*) ac_try_echo=$ac_try;;
7691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692
(eval "$ac_compile") 2>conftest.er1
7694
grep -v '^ *+' conftest.er1 >conftest.err
7696
cat conftest.err >&5
7697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
(exit $ac_status); } && {
7699
test -z "$ac_c_werror_flag" ||
7700
test ! -s conftest.err
7701
} && test -s conftest.$ac_objext; then
7702
ac_lo=$ac_mid; break
7704
echo "$as_me: failed program was:" >&5
7705
sed 's/^/| /' conftest.$ac_ext >&5
7707
ac_hi=`expr '(' $ac_mid ')' - 1`
7708
if test $ac_mid -le $ac_hi; then
7712
ac_mid=`expr 2 '*' $ac_mid`
7715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7718
echo "$as_me: failed program was:" >&5
7719
sed 's/^/| /' conftest.$ac_ext >&5
7724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7727
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7728
# Binary search between lo and hi bounds.
7729
while test "x$ac_lo" != "x$ac_hi"; do
7730
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7731
cat >conftest.$ac_ext <<_ACEOF
7734
cat confdefs.h >>conftest.$ac_ext
7735
cat >>conftest.$ac_ext <<_ACEOF
7736
/* end confdefs.h. */
7737
$ac_includes_default
7738
typedef char ac__type_sizeof_;
7742
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7749
rm -f conftest.$ac_objext
7750
if { (ac_try="$ac_compile"
7752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753
*) ac_try_echo=$ac_try;;
7755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7756
(eval "$ac_compile") 2>conftest.er1
7758
grep -v '^ *+' conftest.er1 >conftest.err
7760
cat conftest.err >&5
7761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
(exit $ac_status); } && {
7763
test -z "$ac_c_werror_flag" ||
7764
test ! -s conftest.err
7765
} && test -s conftest.$ac_objext; then
7768
echo "$as_me: failed program was:" >&5
7769
sed 's/^/| /' conftest.$ac_ext >&5
7771
ac_lo=`expr '(' $ac_mid ')' + 1`
7774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7777
?*) ac_cv_sizeof_char=$ac_lo;;
7778
'') if test "$ac_cv_type_char" = yes; then
7779
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
7780
See \`config.log' for more details." >&5
7781
echo "$as_me: error: cannot compute sizeof (char)
7782
See \`config.log' for more details." >&2;}
7783
{ (exit 77); exit 77; }; }
7789
cat >conftest.$ac_ext <<_ACEOF
7792
cat confdefs.h >>conftest.$ac_ext
7793
cat >>conftest.$ac_ext <<_ACEOF
7794
/* end confdefs.h. */
7795
$ac_includes_default
7796
typedef char ac__type_sizeof_;
7797
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7798
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7805
FILE *f = fopen ("conftest.val", "w");
7808
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7810
long int i = longval ();
7811
if (i != ((long int) (sizeof (ac__type_sizeof_))))
7813
fprintf (f, "%ld\n", i);
7817
unsigned long int i = ulongval ();
7818
if (i != ((long int) (sizeof (ac__type_sizeof_))))
7820
fprintf (f, "%lu\n", i);
7822
return ferror (f) || fclose (f) != 0;
7828
rm -f conftest$ac_exeext
7829
if { (ac_try="$ac_link"
7831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7832
*) ac_try_echo=$ac_try;;
7834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7835
(eval "$ac_link") 2>&5
7837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7839
{ (case "(($ac_try" in
7840
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7841
*) ac_try_echo=$ac_try;;
7843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7844
(eval "$ac_try") 2>&5
7846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847
(exit $ac_status); }; }; then
7848
ac_cv_sizeof_char=`cat conftest.val`
7850
echo "$as_me: program exited with status $ac_status" >&5
7851
echo "$as_me: failed program was:" >&5
7852
sed 's/^/| /' conftest.$ac_ext >&5
7855
if test "$ac_cv_type_char" = yes; then
7856
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
7857
See \`config.log' for more details." >&5
7858
echo "$as_me: error: cannot compute sizeof (char)
7859
See \`config.log' for more details." >&2;}
7860
{ (exit 77); exit 77; }; }
6185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
6186
$as_echo_n "checking size of char... " >&6; }
6187
if test "${ac_cv_sizeof_char+set}" = set; then :
6188
$as_echo_n "(cached) " >&6
6190
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
6193
if test "$ac_cv_type_char" = yes; then
6194
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6195
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6196
as_fn_error 77 "cannot compute sizeof (char)
6197
See \`config.log' for more details" "$LINENO" 5 ; }
7862
6199
ac_cv_sizeof_char=0
7865
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7869
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
7870
echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
6204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
6205
$as_echo "$ac_cv_sizeof_char" >&6; }
7879
{ echo "$as_me:$LINENO: checking for short" >&5
7880
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
7881
if test "${ac_cv_type_short+set}" = set; then
7882
echo $ECHO_N "(cached) $ECHO_C" >&6
7884
cat >conftest.$ac_ext <<_ACEOF
7887
cat confdefs.h >>conftest.$ac_ext
7888
cat >>conftest.$ac_ext <<_ACEOF
7889
/* end confdefs.h. */
7890
$ac_includes_default
7891
typedef short ac__type_new_;
7895
if ((ac__type_new_ *) 0)
7897
if (sizeof (ac__type_new_))
7903
rm -f conftest.$ac_objext
7904
if { (ac_try="$ac_compile"
7906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7907
*) ac_try_echo=$ac_try;;
7909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7910
(eval "$ac_compile") 2>conftest.er1
7912
grep -v '^ *+' conftest.er1 >conftest.err
7914
cat conftest.err >&5
7915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916
(exit $ac_status); } && {
7917
test -z "$ac_c_werror_flag" ||
7918
test ! -s conftest.err
7919
} && test -s conftest.$ac_objext; then
7920
ac_cv_type_short=yes
7922
echo "$as_me: failed program was:" >&5
7923
sed 's/^/| /' conftest.$ac_ext >&5
7928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
7931
echo "${ECHO_T}$ac_cv_type_short" >&6; }
7933
# The cast to long int works around a bug in the HP C Compiler
6214
# The cast to long int works around a bug in the HP C Compiler
7934
6215
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7935
6216
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7936
6217
# This bug is HP SR number 8606223364.
7937
{ echo "$as_me:$LINENO: checking size of short" >&5
7938
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
7939
if test "${ac_cv_sizeof_short+set}" = set; then
7940
echo $ECHO_N "(cached) $ECHO_C" >&6
7942
if test "$cross_compiling" = yes; then
7943
# Depending upon the size, compute the lo and hi bounds.
7944
cat >conftest.$ac_ext <<_ACEOF
7947
cat confdefs.h >>conftest.$ac_ext
7948
cat >>conftest.$ac_ext <<_ACEOF
7949
/* end confdefs.h. */
7950
$ac_includes_default
7951
typedef short ac__type_sizeof_;
7955
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7962
rm -f conftest.$ac_objext
7963
if { (ac_try="$ac_compile"
7965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966
*) ac_try_echo=$ac_try;;
7968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7969
(eval "$ac_compile") 2>conftest.er1
7971
grep -v '^ *+' conftest.er1 >conftest.err
7973
cat conftest.err >&5
7974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
(exit $ac_status); } && {
7976
test -z "$ac_c_werror_flag" ||
7977
test ! -s conftest.err
7978
} && test -s conftest.$ac_objext; then
7981
cat >conftest.$ac_ext <<_ACEOF
7984
cat confdefs.h >>conftest.$ac_ext
7985
cat >>conftest.$ac_ext <<_ACEOF
7986
/* end confdefs.h. */
7987
$ac_includes_default
7988
typedef short ac__type_sizeof_;
7992
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7999
rm -f conftest.$ac_objext
8000
if { (ac_try="$ac_compile"
8002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8003
*) ac_try_echo=$ac_try;;
8005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8006
(eval "$ac_compile") 2>conftest.er1
8008
grep -v '^ *+' conftest.er1 >conftest.err
8010
cat conftest.err >&5
8011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012
(exit $ac_status); } && {
8013
test -z "$ac_c_werror_flag" ||
8014
test ! -s conftest.err
8015
} && test -s conftest.$ac_objext; then
8016
ac_hi=$ac_mid; break
8018
echo "$as_me: failed program was:" >&5
8019
sed 's/^/| /' conftest.$ac_ext >&5
8021
ac_lo=`expr $ac_mid + 1`
8022
if test $ac_lo -le $ac_mid; then
8026
ac_mid=`expr 2 '*' $ac_mid + 1`
8029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8032
echo "$as_me: failed program was:" >&5
8033
sed 's/^/| /' conftest.$ac_ext >&5
8035
cat >conftest.$ac_ext <<_ACEOF
8038
cat confdefs.h >>conftest.$ac_ext
8039
cat >>conftest.$ac_ext <<_ACEOF
8040
/* end confdefs.h. */
8041
$ac_includes_default
8042
typedef short ac__type_sizeof_;
8046
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8053
rm -f conftest.$ac_objext
8054
if { (ac_try="$ac_compile"
8056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8057
*) ac_try_echo=$ac_try;;
8059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8060
(eval "$ac_compile") 2>conftest.er1
8062
grep -v '^ *+' conftest.er1 >conftest.err
8064
cat conftest.err >&5
8065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066
(exit $ac_status); } && {
8067
test -z "$ac_c_werror_flag" ||
8068
test ! -s conftest.err
8069
} && test -s conftest.$ac_objext; then
8072
cat >conftest.$ac_ext <<_ACEOF
8075
cat confdefs.h >>conftest.$ac_ext
8076
cat >>conftest.$ac_ext <<_ACEOF
8077
/* end confdefs.h. */
8078
$ac_includes_default
8079
typedef short ac__type_sizeof_;
8083
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8090
rm -f conftest.$ac_objext
8091
if { (ac_try="$ac_compile"
8093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8094
*) ac_try_echo=$ac_try;;
8096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8097
(eval "$ac_compile") 2>conftest.er1
8099
grep -v '^ *+' conftest.er1 >conftest.err
8101
cat conftest.err >&5
8102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103
(exit $ac_status); } && {
8104
test -z "$ac_c_werror_flag" ||
8105
test ! -s conftest.err
8106
} && test -s conftest.$ac_objext; then
8107
ac_lo=$ac_mid; break
8109
echo "$as_me: failed program was:" >&5
8110
sed 's/^/| /' conftest.$ac_ext >&5
8112
ac_hi=`expr '(' $ac_mid ')' - 1`
8113
if test $ac_mid -le $ac_hi; then
8117
ac_mid=`expr 2 '*' $ac_mid`
8120
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8123
echo "$as_me: failed program was:" >&5
8124
sed 's/^/| /' conftest.$ac_ext >&5
8129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8133
# Binary search between lo and hi bounds.
8134
while test "x$ac_lo" != "x$ac_hi"; do
8135
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8136
cat >conftest.$ac_ext <<_ACEOF
8139
cat confdefs.h >>conftest.$ac_ext
8140
cat >>conftest.$ac_ext <<_ACEOF
8141
/* end confdefs.h. */
8142
$ac_includes_default
8143
typedef short ac__type_sizeof_;
8147
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8154
rm -f conftest.$ac_objext
8155
if { (ac_try="$ac_compile"
8157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8158
*) ac_try_echo=$ac_try;;
8160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8161
(eval "$ac_compile") 2>conftest.er1
8163
grep -v '^ *+' conftest.er1 >conftest.err
8165
cat conftest.err >&5
8166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167
(exit $ac_status); } && {
8168
test -z "$ac_c_werror_flag" ||
8169
test ! -s conftest.err
8170
} && test -s conftest.$ac_objext; then
8173
echo "$as_me: failed program was:" >&5
8174
sed 's/^/| /' conftest.$ac_ext >&5
8176
ac_lo=`expr '(' $ac_mid ')' + 1`
8179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8182
?*) ac_cv_sizeof_short=$ac_lo;;
8183
'') if test "$ac_cv_type_short" = yes; then
8184
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8185
See \`config.log' for more details." >&5
8186
echo "$as_me: error: cannot compute sizeof (short)
8187
See \`config.log' for more details." >&2;}
8188
{ (exit 77); exit 77; }; }
8190
ac_cv_sizeof_short=0
8194
cat >conftest.$ac_ext <<_ACEOF
8197
cat confdefs.h >>conftest.$ac_ext
8198
cat >>conftest.$ac_ext <<_ACEOF
8199
/* end confdefs.h. */
8200
$ac_includes_default
8201
typedef short ac__type_sizeof_;
8202
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8203
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8210
FILE *f = fopen ("conftest.val", "w");
8213
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8215
long int i = longval ();
8216
if (i != ((long int) (sizeof (ac__type_sizeof_))))
8218
fprintf (f, "%ld\n", i);
8222
unsigned long int i = ulongval ();
8223
if (i != ((long int) (sizeof (ac__type_sizeof_))))
8225
fprintf (f, "%lu\n", i);
8227
return ferror (f) || fclose (f) != 0;
8233
rm -f conftest$ac_exeext
8234
if { (ac_try="$ac_link"
8236
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8237
*) ac_try_echo=$ac_try;;
8239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8240
(eval "$ac_link") 2>&5
8242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8244
{ (case "(($ac_try" in
8245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246
*) ac_try_echo=$ac_try;;
8248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249
(eval "$ac_try") 2>&5
8251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252
(exit $ac_status); }; }; then
8253
ac_cv_sizeof_short=`cat conftest.val`
8255
echo "$as_me: program exited with status $ac_status" >&5
8256
echo "$as_me: failed program was:" >&5
8257
sed 's/^/| /' conftest.$ac_ext >&5
8260
if test "$ac_cv_type_short" = yes; then
8261
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8262
See \`config.log' for more details." >&5
8263
echo "$as_me: error: cannot compute sizeof (short)
8264
See \`config.log' for more details." >&2;}
8265
{ (exit 77); exit 77; }; }
6218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6219
$as_echo_n "checking size of short... " >&6; }
6220
if test "${ac_cv_sizeof_short+set}" = set; then :
6221
$as_echo_n "(cached) " >&6
6223
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
6226
if test "$ac_cv_type_short" = yes; then
6227
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6229
as_fn_error 77 "cannot compute sizeof (short)
6230
See \`config.log' for more details" "$LINENO" 5 ; }
8267
6232
ac_cv_sizeof_short=0
8270
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8274
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8275
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
6237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
6238
$as_echo "$ac_cv_sizeof_short" >&6; }
8284
{ echo "$as_me:$LINENO: checking for int" >&5
8285
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
8286
if test "${ac_cv_type_int+set}" = set; then
8287
echo $ECHO_N "(cached) $ECHO_C" >&6
8289
cat >conftest.$ac_ext <<_ACEOF
8292
cat confdefs.h >>conftest.$ac_ext
8293
cat >>conftest.$ac_ext <<_ACEOF
8294
/* end confdefs.h. */
8295
$ac_includes_default
8296
typedef int ac__type_new_;
8300
if ((ac__type_new_ *) 0)
8302
if (sizeof (ac__type_new_))
8308
rm -f conftest.$ac_objext
8309
if { (ac_try="$ac_compile"
8311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8312
*) ac_try_echo=$ac_try;;
8314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8315
(eval "$ac_compile") 2>conftest.er1
8317
grep -v '^ *+' conftest.er1 >conftest.err
8319
cat conftest.err >&5
8320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321
(exit $ac_status); } && {
8322
test -z "$ac_c_werror_flag" ||
8323
test ! -s conftest.err
8324
} && test -s conftest.$ac_objext; then
8327
echo "$as_me: failed program was:" >&5
8328
sed 's/^/| /' conftest.$ac_ext >&5
8333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8335
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8336
echo "${ECHO_T}$ac_cv_type_int" >&6; }
8338
# The cast to long int works around a bug in the HP C Compiler
6247
# The cast to long int works around a bug in the HP C Compiler
8339
6248
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8340
6249
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8341
6250
# This bug is HP SR number 8606223364.
8342
{ echo "$as_me:$LINENO: checking size of int" >&5
8343
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
8344
if test "${ac_cv_sizeof_int+set}" = set; then
8345
echo $ECHO_N "(cached) $ECHO_C" >&6
8347
if test "$cross_compiling" = yes; then
8348
# Depending upon the size, compute the lo and hi bounds.
8349
cat >conftest.$ac_ext <<_ACEOF
8352
cat confdefs.h >>conftest.$ac_ext
8353
cat >>conftest.$ac_ext <<_ACEOF
8354
/* end confdefs.h. */
8355
$ac_includes_default
8356
typedef int ac__type_sizeof_;
8360
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8367
rm -f conftest.$ac_objext
8368
if { (ac_try="$ac_compile"
8370
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371
*) ac_try_echo=$ac_try;;
8373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8374
(eval "$ac_compile") 2>conftest.er1
8376
grep -v '^ *+' conftest.er1 >conftest.err
8378
cat conftest.err >&5
8379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380
(exit $ac_status); } && {
8381
test -z "$ac_c_werror_flag" ||
8382
test ! -s conftest.err
8383
} && test -s conftest.$ac_objext; then
8386
cat >conftest.$ac_ext <<_ACEOF
8389
cat confdefs.h >>conftest.$ac_ext
8390
cat >>conftest.$ac_ext <<_ACEOF
8391
/* end confdefs.h. */
8392
$ac_includes_default
8393
typedef int ac__type_sizeof_;
8397
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8404
rm -f conftest.$ac_objext
8405
if { (ac_try="$ac_compile"
8407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8408
*) ac_try_echo=$ac_try;;
8410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8411
(eval "$ac_compile") 2>conftest.er1
8413
grep -v '^ *+' conftest.er1 >conftest.err
8415
cat conftest.err >&5
8416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417
(exit $ac_status); } && {
8418
test -z "$ac_c_werror_flag" ||
8419
test ! -s conftest.err
8420
} && test -s conftest.$ac_objext; then
8421
ac_hi=$ac_mid; break
8423
echo "$as_me: failed program was:" >&5
8424
sed 's/^/| /' conftest.$ac_ext >&5
8426
ac_lo=`expr $ac_mid + 1`
8427
if test $ac_lo -le $ac_mid; then
8431
ac_mid=`expr 2 '*' $ac_mid + 1`
8434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8437
echo "$as_me: failed program was:" >&5
8438
sed 's/^/| /' conftest.$ac_ext >&5
8440
cat >conftest.$ac_ext <<_ACEOF
8443
cat confdefs.h >>conftest.$ac_ext
8444
cat >>conftest.$ac_ext <<_ACEOF
8445
/* end confdefs.h. */
8446
$ac_includes_default
8447
typedef int ac__type_sizeof_;
8451
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8458
rm -f conftest.$ac_objext
8459
if { (ac_try="$ac_compile"
8461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462
*) ac_try_echo=$ac_try;;
8464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465
(eval "$ac_compile") 2>conftest.er1
8467
grep -v '^ *+' conftest.er1 >conftest.err
8469
cat conftest.err >&5
8470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471
(exit $ac_status); } && {
8472
test -z "$ac_c_werror_flag" ||
8473
test ! -s conftest.err
8474
} && test -s conftest.$ac_objext; then
8477
cat >conftest.$ac_ext <<_ACEOF
8480
cat confdefs.h >>conftest.$ac_ext
8481
cat >>conftest.$ac_ext <<_ACEOF
8482
/* end confdefs.h. */
8483
$ac_includes_default
8484
typedef int ac__type_sizeof_;
8488
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8495
rm -f conftest.$ac_objext
8496
if { (ac_try="$ac_compile"
8498
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499
*) ac_try_echo=$ac_try;;
8501
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502
(eval "$ac_compile") 2>conftest.er1
8504
grep -v '^ *+' conftest.er1 >conftest.err
8506
cat conftest.err >&5
8507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508
(exit $ac_status); } && {
8509
test -z "$ac_c_werror_flag" ||
8510
test ! -s conftest.err
8511
} && test -s conftest.$ac_objext; then
8512
ac_lo=$ac_mid; break
8514
echo "$as_me: failed program was:" >&5
8515
sed 's/^/| /' conftest.$ac_ext >&5
8517
ac_hi=`expr '(' $ac_mid ')' - 1`
8518
if test $ac_mid -le $ac_hi; then
8522
ac_mid=`expr 2 '*' $ac_mid`
8525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528
echo "$as_me: failed program was:" >&5
8529
sed 's/^/| /' conftest.$ac_ext >&5
8534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538
# Binary search between lo and hi bounds.
8539
while test "x$ac_lo" != "x$ac_hi"; do
8540
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8541
cat >conftest.$ac_ext <<_ACEOF
8544
cat confdefs.h >>conftest.$ac_ext
8545
cat >>conftest.$ac_ext <<_ACEOF
8546
/* end confdefs.h. */
8547
$ac_includes_default
8548
typedef int ac__type_sizeof_;
8552
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8559
rm -f conftest.$ac_objext
8560
if { (ac_try="$ac_compile"
8562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563
*) ac_try_echo=$ac_try;;
8565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566
(eval "$ac_compile") 2>conftest.er1
8568
grep -v '^ *+' conftest.er1 >conftest.err
8570
cat conftest.err >&5
8571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572
(exit $ac_status); } && {
8573
test -z "$ac_c_werror_flag" ||
8574
test ! -s conftest.err
8575
} && test -s conftest.$ac_objext; then
8578
echo "$as_me: failed program was:" >&5
8579
sed 's/^/| /' conftest.$ac_ext >&5
8581
ac_lo=`expr '(' $ac_mid ')' + 1`
8584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587
?*) ac_cv_sizeof_int=$ac_lo;;
8588
'') if test "$ac_cv_type_int" = yes; then
8589
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8590
See \`config.log' for more details." >&5
8591
echo "$as_me: error: cannot compute sizeof (int)
8592
See \`config.log' for more details." >&2;}
8593
{ (exit 77); exit 77; }; }
8599
cat >conftest.$ac_ext <<_ACEOF
8602
cat confdefs.h >>conftest.$ac_ext
8603
cat >>conftest.$ac_ext <<_ACEOF
8604
/* end confdefs.h. */
8605
$ac_includes_default
8606
typedef int ac__type_sizeof_;
8607
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8608
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8615
FILE *f = fopen ("conftest.val", "w");
8618
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8620
long int i = longval ();
8621
if (i != ((long int) (sizeof (ac__type_sizeof_))))
8623
fprintf (f, "%ld\n", i);
8627
unsigned long int i = ulongval ();
8628
if (i != ((long int) (sizeof (ac__type_sizeof_))))
8630
fprintf (f, "%lu\n", i);
8632
return ferror (f) || fclose (f) != 0;
8638
rm -f conftest$ac_exeext
8639
if { (ac_try="$ac_link"
8641
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8642
*) ac_try_echo=$ac_try;;
8644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8645
(eval "$ac_link") 2>&5
8647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8649
{ (case "(($ac_try" in
8650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8651
*) ac_try_echo=$ac_try;;
8653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8654
(eval "$ac_try") 2>&5
8656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657
(exit $ac_status); }; }; then
8658
ac_cv_sizeof_int=`cat conftest.val`
8660
echo "$as_me: program exited with status $ac_status" >&5
8661
echo "$as_me: failed program was:" >&5
8662
sed 's/^/| /' conftest.$ac_ext >&5
8665
if test "$ac_cv_type_int" = yes; then
8666
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8667
See \`config.log' for more details." >&5
8668
echo "$as_me: error: cannot compute sizeof (int)
8669
See \`config.log' for more details." >&2;}
8670
{ (exit 77); exit 77; }; }
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6252
$as_echo_n "checking size of int... " >&6; }
6253
if test "${ac_cv_sizeof_int+set}" = set; then :
6254
$as_echo_n "(cached) " >&6
6256
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
6259
if test "$ac_cv_type_int" = yes; then
6260
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6262
as_fn_error 77 "cannot compute sizeof (int)
6263
See \`config.log' for more details" "$LINENO" 5 ; }
8672
6265
ac_cv_sizeof_int=0
8675
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8679
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8680
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
6271
$as_echo "$ac_cv_sizeof_int" >&6; }
8689
{ echo "$as_me:$LINENO: checking for long" >&5
8690
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
8691
if test "${ac_cv_type_long+set}" = set; then
8692
echo $ECHO_N "(cached) $ECHO_C" >&6
8694
cat >conftest.$ac_ext <<_ACEOF
8697
cat confdefs.h >>conftest.$ac_ext
8698
cat >>conftest.$ac_ext <<_ACEOF
8699
/* end confdefs.h. */
8700
$ac_includes_default
8701
typedef long ac__type_new_;
8705
if ((ac__type_new_ *) 0)
8707
if (sizeof (ac__type_new_))
8713
rm -f conftest.$ac_objext
8714
if { (ac_try="$ac_compile"
8716
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8717
*) ac_try_echo=$ac_try;;
8719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8720
(eval "$ac_compile") 2>conftest.er1
8722
grep -v '^ *+' conftest.er1 >conftest.err
8724
cat conftest.err >&5
8725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726
(exit $ac_status); } && {
8727
test -z "$ac_c_werror_flag" ||
8728
test ! -s conftest.err
8729
} && test -s conftest.$ac_objext; then
8732
echo "$as_me: failed program was:" >&5
8733
sed 's/^/| /' conftest.$ac_ext >&5
8738
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8740
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8741
echo "${ECHO_T}$ac_cv_type_long" >&6; }
8743
# The cast to long int works around a bug in the HP C Compiler
6280
# The cast to long int works around a bug in the HP C Compiler
8744
6281
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8745
6282
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8746
6283
# This bug is HP SR number 8606223364.
8747
{ echo "$as_me:$LINENO: checking size of long" >&5
8748
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
8749
if test "${ac_cv_sizeof_long+set}" = set; then
8750
echo $ECHO_N "(cached) $ECHO_C" >&6
8752
if test "$cross_compiling" = yes; then
8753
# Depending upon the size, compute the lo and hi bounds.
8754
cat >conftest.$ac_ext <<_ACEOF
8757
cat confdefs.h >>conftest.$ac_ext
8758
cat >>conftest.$ac_ext <<_ACEOF
8759
/* end confdefs.h. */
8760
$ac_includes_default
8761
typedef long ac__type_sizeof_;
8765
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8772
rm -f conftest.$ac_objext
8773
if { (ac_try="$ac_compile"
8775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8776
*) ac_try_echo=$ac_try;;
8778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8779
(eval "$ac_compile") 2>conftest.er1
8781
grep -v '^ *+' conftest.er1 >conftest.err
8783
cat conftest.err >&5
8784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785
(exit $ac_status); } && {
8786
test -z "$ac_c_werror_flag" ||
8787
test ! -s conftest.err
8788
} && test -s conftest.$ac_objext; then
8791
cat >conftest.$ac_ext <<_ACEOF
8794
cat confdefs.h >>conftest.$ac_ext
8795
cat >>conftest.$ac_ext <<_ACEOF
8796
/* end confdefs.h. */
8797
$ac_includes_default
8798
typedef long ac__type_sizeof_;
8802
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8809
rm -f conftest.$ac_objext
8810
if { (ac_try="$ac_compile"
8812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8813
*) ac_try_echo=$ac_try;;
8815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8816
(eval "$ac_compile") 2>conftest.er1
8818
grep -v '^ *+' conftest.er1 >conftest.err
8820
cat conftest.err >&5
8821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822
(exit $ac_status); } && {
8823
test -z "$ac_c_werror_flag" ||
8824
test ! -s conftest.err
8825
} && test -s conftest.$ac_objext; then
8826
ac_hi=$ac_mid; break
8828
echo "$as_me: failed program was:" >&5
8829
sed 's/^/| /' conftest.$ac_ext >&5
8831
ac_lo=`expr $ac_mid + 1`
8832
if test $ac_lo -le $ac_mid; then
8836
ac_mid=`expr 2 '*' $ac_mid + 1`
8839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8842
echo "$as_me: failed program was:" >&5
8843
sed 's/^/| /' conftest.$ac_ext >&5
8845
cat >conftest.$ac_ext <<_ACEOF
8848
cat confdefs.h >>conftest.$ac_ext
8849
cat >>conftest.$ac_ext <<_ACEOF
8850
/* end confdefs.h. */
8851
$ac_includes_default
8852
typedef long ac__type_sizeof_;
8856
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8863
rm -f conftest.$ac_objext
8864
if { (ac_try="$ac_compile"
8866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8867
*) ac_try_echo=$ac_try;;
8869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8870
(eval "$ac_compile") 2>conftest.er1
8872
grep -v '^ *+' conftest.er1 >conftest.err
8874
cat conftest.err >&5
8875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876
(exit $ac_status); } && {
8877
test -z "$ac_c_werror_flag" ||
8878
test ! -s conftest.err
8879
} && test -s conftest.$ac_objext; then
8882
cat >conftest.$ac_ext <<_ACEOF
8885
cat confdefs.h >>conftest.$ac_ext
8886
cat >>conftest.$ac_ext <<_ACEOF
8887
/* end confdefs.h. */
8888
$ac_includes_default
8889
typedef long ac__type_sizeof_;
8893
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8900
rm -f conftest.$ac_objext
8901
if { (ac_try="$ac_compile"
8903
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8904
*) ac_try_echo=$ac_try;;
8906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8907
(eval "$ac_compile") 2>conftest.er1
8909
grep -v '^ *+' conftest.er1 >conftest.err
8911
cat conftest.err >&5
8912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913
(exit $ac_status); } && {
8914
test -z "$ac_c_werror_flag" ||
8915
test ! -s conftest.err
8916
} && test -s conftest.$ac_objext; then
8917
ac_lo=$ac_mid; break
8919
echo "$as_me: failed program was:" >&5
8920
sed 's/^/| /' conftest.$ac_ext >&5
8922
ac_hi=`expr '(' $ac_mid ')' - 1`
8923
if test $ac_mid -le $ac_hi; then
8927
ac_mid=`expr 2 '*' $ac_mid`
8930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8933
echo "$as_me: failed program was:" >&5
8934
sed 's/^/| /' conftest.$ac_ext >&5
8939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8943
# Binary search between lo and hi bounds.
8944
while test "x$ac_lo" != "x$ac_hi"; do
8945
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8946
cat >conftest.$ac_ext <<_ACEOF
8949
cat confdefs.h >>conftest.$ac_ext
8950
cat >>conftest.$ac_ext <<_ACEOF
8951
/* end confdefs.h. */
8952
$ac_includes_default
8953
typedef long ac__type_sizeof_;
8957
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8964
rm -f conftest.$ac_objext
8965
if { (ac_try="$ac_compile"
8967
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8968
*) ac_try_echo=$ac_try;;
8970
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971
(eval "$ac_compile") 2>conftest.er1
8973
grep -v '^ *+' conftest.er1 >conftest.err
8975
cat conftest.err >&5
8976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977
(exit $ac_status); } && {
8978
test -z "$ac_c_werror_flag" ||
8979
test ! -s conftest.err
8980
} && test -s conftest.$ac_objext; then
8983
echo "$as_me: failed program was:" >&5
8984
sed 's/^/| /' conftest.$ac_ext >&5
8986
ac_lo=`expr '(' $ac_mid ')' + 1`
8989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992
?*) ac_cv_sizeof_long=$ac_lo;;
8993
'') if test "$ac_cv_type_long" = yes; then
8994
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
8995
See \`config.log' for more details." >&5
8996
echo "$as_me: error: cannot compute sizeof (long)
8997
See \`config.log' for more details." >&2;}
8998
{ (exit 77); exit 77; }; }
9004
cat >conftest.$ac_ext <<_ACEOF
9007
cat confdefs.h >>conftest.$ac_ext
9008
cat >>conftest.$ac_ext <<_ACEOF
9009
/* end confdefs.h. */
9010
$ac_includes_default
9011
typedef long ac__type_sizeof_;
9012
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9013
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9020
FILE *f = fopen ("conftest.val", "w");
9023
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9025
long int i = longval ();
9026
if (i != ((long int) (sizeof (ac__type_sizeof_))))
9028
fprintf (f, "%ld\n", i);
9032
unsigned long int i = ulongval ();
9033
if (i != ((long int) (sizeof (ac__type_sizeof_))))
9035
fprintf (f, "%lu\n", i);
9037
return ferror (f) || fclose (f) != 0;
9043
rm -f conftest$ac_exeext
9044
if { (ac_try="$ac_link"
9046
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9047
*) ac_try_echo=$ac_try;;
9049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9050
(eval "$ac_link") 2>&5
9052
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9054
{ (case "(($ac_try" in
9055
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9056
*) ac_try_echo=$ac_try;;
9058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9059
(eval "$ac_try") 2>&5
9061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062
(exit $ac_status); }; }; then
9063
ac_cv_sizeof_long=`cat conftest.val`
9065
echo "$as_me: program exited with status $ac_status" >&5
9066
echo "$as_me: failed program was:" >&5
9067
sed 's/^/| /' conftest.$ac_ext >&5
9070
if test "$ac_cv_type_long" = yes; then
9071
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
9072
See \`config.log' for more details." >&5
9073
echo "$as_me: error: cannot compute sizeof (long)
9074
See \`config.log' for more details." >&2;}
9075
{ (exit 77); exit 77; }; }
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6285
$as_echo_n "checking size of long... " >&6; }
6286
if test "${ac_cv_sizeof_long+set}" = set; then :
6287
$as_echo_n "(cached) " >&6
6289
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6292
if test "$ac_cv_type_long" = yes; then
6293
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6294
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6295
as_fn_error 77 "cannot compute sizeof (long)
6296
See \`config.log' for more details" "$LINENO" 5 ; }
9077
6298
ac_cv_sizeof_long=0
9080
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9084
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9085
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6304
$as_echo "$ac_cv_sizeof_long" >&6; }
9094
{ echo "$as_me:$LINENO: checking for void*" >&5
9095
echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
9096
if test "${ac_cv_type_voidp+set}" = set; then
9097
echo $ECHO_N "(cached) $ECHO_C" >&6
9099
cat >conftest.$ac_ext <<_ACEOF
9102
cat confdefs.h >>conftest.$ac_ext
9103
cat >>conftest.$ac_ext <<_ACEOF
9104
/* end confdefs.h. */
9105
$ac_includes_default
9106
typedef void* ac__type_new_;
9110
if ((ac__type_new_ *) 0)
9112
if (sizeof (ac__type_new_))
9118
rm -f conftest.$ac_objext
9119
if { (ac_try="$ac_compile"
9121
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9122
*) ac_try_echo=$ac_try;;
9124
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125
(eval "$ac_compile") 2>conftest.er1
9127
grep -v '^ *+' conftest.er1 >conftest.err
9129
cat conftest.err >&5
9130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131
(exit $ac_status); } && {
9132
test -z "$ac_c_werror_flag" ||
9133
test ! -s conftest.err
9134
} && test -s conftest.$ac_objext; then
9135
ac_cv_type_voidp=yes
9137
echo "$as_me: failed program was:" >&5
9138
sed 's/^/| /' conftest.$ac_ext >&5
9143
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9145
{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
9146
echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
9148
# The cast to long int works around a bug in the HP C Compiler
6313
# The cast to long int works around a bug in the HP C Compiler
9149
6314
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9150
6315
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9151
6316
# This bug is HP SR number 8606223364.
9152
{ echo "$as_me:$LINENO: checking size of void*" >&5
9153
echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
9154
if test "${ac_cv_sizeof_voidp+set}" = set; then
9155
echo $ECHO_N "(cached) $ECHO_C" >&6
9157
if test "$cross_compiling" = yes; then
9158
# Depending upon the size, compute the lo and hi bounds.
9159
cat >conftest.$ac_ext <<_ACEOF
9162
cat confdefs.h >>conftest.$ac_ext
9163
cat >>conftest.$ac_ext <<_ACEOF
9164
/* end confdefs.h. */
9165
$ac_includes_default
9166
typedef void* ac__type_sizeof_;
9170
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9177
rm -f conftest.$ac_objext
9178
if { (ac_try="$ac_compile"
9180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9181
*) ac_try_echo=$ac_try;;
9183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184
(eval "$ac_compile") 2>conftest.er1
9186
grep -v '^ *+' conftest.er1 >conftest.err
9188
cat conftest.err >&5
9189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190
(exit $ac_status); } && {
9191
test -z "$ac_c_werror_flag" ||
9192
test ! -s conftest.err
9193
} && test -s conftest.$ac_objext; then
9196
cat >conftest.$ac_ext <<_ACEOF
9199
cat confdefs.h >>conftest.$ac_ext
9200
cat >>conftest.$ac_ext <<_ACEOF
9201
/* end confdefs.h. */
9202
$ac_includes_default
9203
typedef void* ac__type_sizeof_;
9207
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9214
rm -f conftest.$ac_objext
9215
if { (ac_try="$ac_compile"
9217
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9218
*) ac_try_echo=$ac_try;;
9220
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9221
(eval "$ac_compile") 2>conftest.er1
9223
grep -v '^ *+' conftest.er1 >conftest.err
9225
cat conftest.err >&5
9226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227
(exit $ac_status); } && {
9228
test -z "$ac_c_werror_flag" ||
9229
test ! -s conftest.err
9230
} && test -s conftest.$ac_objext; then
9231
ac_hi=$ac_mid; break
9233
echo "$as_me: failed program was:" >&5
9234
sed 's/^/| /' conftest.$ac_ext >&5
9236
ac_lo=`expr $ac_mid + 1`
9237
if test $ac_lo -le $ac_mid; then
9241
ac_mid=`expr 2 '*' $ac_mid + 1`
9244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9247
echo "$as_me: failed program was:" >&5
9248
sed 's/^/| /' conftest.$ac_ext >&5
9250
cat >conftest.$ac_ext <<_ACEOF
9253
cat confdefs.h >>conftest.$ac_ext
9254
cat >>conftest.$ac_ext <<_ACEOF
9255
/* end confdefs.h. */
9256
$ac_includes_default
9257
typedef void* ac__type_sizeof_;
9261
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9268
rm -f conftest.$ac_objext
9269
if { (ac_try="$ac_compile"
9271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9272
*) ac_try_echo=$ac_try;;
9274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9275
(eval "$ac_compile") 2>conftest.er1
9277
grep -v '^ *+' conftest.er1 >conftest.err
9279
cat conftest.err >&5
9280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281
(exit $ac_status); } && {
9282
test -z "$ac_c_werror_flag" ||
9283
test ! -s conftest.err
9284
} && test -s conftest.$ac_objext; then
9287
cat >conftest.$ac_ext <<_ACEOF
9290
cat confdefs.h >>conftest.$ac_ext
9291
cat >>conftest.$ac_ext <<_ACEOF
9292
/* end confdefs.h. */
9293
$ac_includes_default
9294
typedef void* ac__type_sizeof_;
9298
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9305
rm -f conftest.$ac_objext
9306
if { (ac_try="$ac_compile"
9308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9309
*) ac_try_echo=$ac_try;;
9311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9312
(eval "$ac_compile") 2>conftest.er1
9314
grep -v '^ *+' conftest.er1 >conftest.err
9316
cat conftest.err >&5
9317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318
(exit $ac_status); } && {
9319
test -z "$ac_c_werror_flag" ||
9320
test ! -s conftest.err
9321
} && test -s conftest.$ac_objext; then
9322
ac_lo=$ac_mid; break
9324
echo "$as_me: failed program was:" >&5
9325
sed 's/^/| /' conftest.$ac_ext >&5
9327
ac_hi=`expr '(' $ac_mid ')' - 1`
9328
if test $ac_mid -le $ac_hi; then
9332
ac_mid=`expr 2 '*' $ac_mid`
9335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338
echo "$as_me: failed program was:" >&5
9339
sed 's/^/| /' conftest.$ac_ext >&5
9344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9348
# Binary search between lo and hi bounds.
9349
while test "x$ac_lo" != "x$ac_hi"; do
9350
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9351
cat >conftest.$ac_ext <<_ACEOF
9354
cat confdefs.h >>conftest.$ac_ext
9355
cat >>conftest.$ac_ext <<_ACEOF
9356
/* end confdefs.h. */
9357
$ac_includes_default
9358
typedef void* ac__type_sizeof_;
9362
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9369
rm -f conftest.$ac_objext
9370
if { (ac_try="$ac_compile"
9372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9373
*) ac_try_echo=$ac_try;;
9375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9376
(eval "$ac_compile") 2>conftest.er1
9378
grep -v '^ *+' conftest.er1 >conftest.err
9380
cat conftest.err >&5
9381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382
(exit $ac_status); } && {
9383
test -z "$ac_c_werror_flag" ||
9384
test ! -s conftest.err
9385
} && test -s conftest.$ac_objext; then
9388
echo "$as_me: failed program was:" >&5
9389
sed 's/^/| /' conftest.$ac_ext >&5
9391
ac_lo=`expr '(' $ac_mid ')' + 1`
9394
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9397
?*) ac_cv_sizeof_voidp=$ac_lo;;
9398
'') if test "$ac_cv_type_voidp" = yes; then
9399
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
9400
See \`config.log' for more details." >&5
9401
echo "$as_me: error: cannot compute sizeof (void*)
9402
See \`config.log' for more details." >&2;}
9403
{ (exit 77); exit 77; }; }
9405
ac_cv_sizeof_voidp=0
9409
cat >conftest.$ac_ext <<_ACEOF
9412
cat confdefs.h >>conftest.$ac_ext
9413
cat >>conftest.$ac_ext <<_ACEOF
9414
/* end confdefs.h. */
9415
$ac_includes_default
9416
typedef void* ac__type_sizeof_;
9417
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9418
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9425
FILE *f = fopen ("conftest.val", "w");
9428
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9430
long int i = longval ();
9431
if (i != ((long int) (sizeof (ac__type_sizeof_))))
9433
fprintf (f, "%ld\n", i);
9437
unsigned long int i = ulongval ();
9438
if (i != ((long int) (sizeof (ac__type_sizeof_))))
9440
fprintf (f, "%lu\n", i);
9442
return ferror (f) || fclose (f) != 0;
9448
rm -f conftest$ac_exeext
9449
if { (ac_try="$ac_link"
9451
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9452
*) ac_try_echo=$ac_try;;
9454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9455
(eval "$ac_link") 2>&5
9457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9459
{ (case "(($ac_try" in
9460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9461
*) ac_try_echo=$ac_try;;
9463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464
(eval "$ac_try") 2>&5
9466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467
(exit $ac_status); }; }; then
9468
ac_cv_sizeof_voidp=`cat conftest.val`
9470
echo "$as_me: program exited with status $ac_status" >&5
9471
echo "$as_me: failed program was:" >&5
9472
sed 's/^/| /' conftest.$ac_ext >&5
9475
if test "$ac_cv_type_voidp" = yes; then
9476
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
9477
See \`config.log' for more details." >&5
9478
echo "$as_me: error: cannot compute sizeof (void*)
9479
See \`config.log' for more details." >&2;}
9480
{ (exit 77); exit 77; }; }
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
6318
$as_echo_n "checking size of void*... " >&6; }
6319
if test "${ac_cv_sizeof_voidp+set}" = set; then :
6320
$as_echo_n "(cached) " >&6
6322
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
6325
if test "$ac_cv_type_voidp" = yes; then
6326
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6328
as_fn_error 77 "cannot compute sizeof (void*)
6329
See \`config.log' for more details" "$LINENO" 5 ; }
9482
6331
ac_cv_sizeof_voidp=0
9485
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9489
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
9490
echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
6336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
6337
$as_echo "$ac_cv_sizeof_voidp" >&6; }
9532
6379
ac_cv_header_stdint="stddef.h"
9535
{ echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
9536
echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6; }
9537
{ echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
9538
echo "${ECHO_T}($ac_cv_header_stdint)" >&6; }
6382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
6383
$as_echo_n "checking for extra inttypes in chosen header... " >&6; }
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
6385
$as_echo "($ac_cv_header_stdint)" >&6; }
9539
6386
unset ac_cv_type_int_least32_t
9540
6387
unset ac_cv_type_int_fast32_t
9541
{ echo "$as_me:$LINENO: checking for int_least32_t" >&5
9542
echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
9543
if test "${ac_cv_type_int_least32_t+set}" = set; then
9544
echo $ECHO_N "(cached) $ECHO_C" >&6
9546
cat >conftest.$ac_ext <<_ACEOF
9549
cat confdefs.h >>conftest.$ac_ext
9550
cat >>conftest.$ac_ext <<_ACEOF
9551
/* end confdefs.h. */
9552
#include <$ac_cv_header_stdint>
9554
typedef int_least32_t ac__type_new_;
9558
if ((ac__type_new_ *) 0)
9560
if (sizeof (ac__type_new_))
9566
rm -f conftest.$ac_objext
9567
if { (ac_try="$ac_compile"
9569
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570
*) ac_try_echo=$ac_try;;
9572
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9573
(eval "$ac_compile") 2>conftest.er1
9575
grep -v '^ *+' conftest.er1 >conftest.err
9577
cat conftest.err >&5
9578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579
(exit $ac_status); } && {
9580
test -z "$ac_c_werror_flag" ||
9581
test ! -s conftest.err
9582
} && test -s conftest.$ac_objext; then
9583
ac_cv_type_int_least32_t=yes
9585
echo "$as_me: failed program was:" >&5
9586
sed 's/^/| /' conftest.$ac_ext >&5
9588
ac_cv_type_int_least32_t=no
9591
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9593
{ echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
9594
echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
9596
{ echo "$as_me:$LINENO: checking for int_fast32_t" >&5
9597
echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
9598
if test "${ac_cv_type_int_fast32_t+set}" = set; then
9599
echo $ECHO_N "(cached) $ECHO_C" >&6
9601
cat >conftest.$ac_ext <<_ACEOF
9604
cat confdefs.h >>conftest.$ac_ext
9605
cat >>conftest.$ac_ext <<_ACEOF
9606
/* end confdefs.h. */
9607
#include<$ac_cv_header_stdint>
9609
typedef int_fast32_t ac__type_new_;
9613
if ((ac__type_new_ *) 0)
9615
if (sizeof (ac__type_new_))
9621
rm -f conftest.$ac_objext
9622
if { (ac_try="$ac_compile"
9624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9625
*) ac_try_echo=$ac_try;;
9627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628
(eval "$ac_compile") 2>conftest.er1
9630
grep -v '^ *+' conftest.er1 >conftest.err
9632
cat conftest.err >&5
9633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634
(exit $ac_status); } && {
9635
test -z "$ac_c_werror_flag" ||
9636
test ! -s conftest.err
9637
} && test -s conftest.$ac_objext; then
9638
ac_cv_type_int_fast32_t=yes
9640
echo "$as_me: failed program was:" >&5
9641
sed 's/^/| /' conftest.$ac_ext >&5
9643
ac_cv_type_int_fast32_t=no
9646
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9648
{ echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
9649
echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
9651
{ echo "$as_me:$LINENO: checking for intmax_t" >&5
9652
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
9653
if test "${ac_cv_type_intmax_t+set}" = set; then
9654
echo $ECHO_N "(cached) $ECHO_C" >&6
9656
cat >conftest.$ac_ext <<_ACEOF
9659
cat confdefs.h >>conftest.$ac_ext
9660
cat >>conftest.$ac_ext <<_ACEOF
9661
/* end confdefs.h. */
9662
#include <$ac_cv_header_stdint>
9664
typedef intmax_t ac__type_new_;
9668
if ((ac__type_new_ *) 0)
9670
if (sizeof (ac__type_new_))
9676
rm -f conftest.$ac_objext
9677
if { (ac_try="$ac_compile"
9679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9680
*) ac_try_echo=$ac_try;;
9682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9683
(eval "$ac_compile") 2>conftest.er1
9685
grep -v '^ *+' conftest.er1 >conftest.err
9687
cat conftest.err >&5
9688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689
(exit $ac_status); } && {
9690
test -z "$ac_c_werror_flag" ||
9691
test ! -s conftest.err
9692
} && test -s conftest.$ac_objext; then
9693
ac_cv_type_intmax_t=yes
9695
echo "$as_me: failed program was:" >&5
9696
sed 's/^/| /' conftest.$ac_ext >&5
9698
ac_cv_type_intmax_t=no
9701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9703
{ echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
9704
echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
6388
ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
6390
if test "x$ac_cv_type_int_least32_t" = x""yes; then :
6394
ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
6396
if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
6400
ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
6402
if test "x$ac_cv_type_intmax_t" = x""yes; then :
9707
6407
fi # shortcircut to system "stdint.h"
10480
as_lineno_1=$LINENO
10481
as_lineno_2=$LINENO
10482
test "x$as_lineno_1" != "x$as_lineno_2" &&
10483
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10485
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10486
# uniformly replaced by the line number. The first 'sed' inserts a
10487
# line-number line after each line using $LINENO; the second 'sed'
10488
# does the real work. The second script uses 'N' to pair each
10489
# line-number line with the line containing $LINENO, and appends
10490
# trailing '-' during substitution so that $LINENO is not a special
10491
# case at line end.
10492
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10493
# scripts with optimization help from Paolo Bonzini. Blame Lee
10494
# E. McMahon (1931-1989) for sed's syntax. :-)
10506
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10509
' >$as_me.lineno &&
10510
chmod +x "$as_me.lineno" ||
10511
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10512
{ (exit 1); exit 1; }; }
10514
# Don't try to exec as it changes $[0], causing all sort of problems
10515
# (the dirname of $[0] is not the place where we might find the
10516
# original and so on. Autoconf is especially sensitive to this).
10517
. "./$as_me.lineno"
10518
# Exit status is that of the last command.
10523
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7133
# Avoid depending upon Character Ranges.
7134
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7135
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7136
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7137
as_cr_digits='0123456789'
7138
as_cr_alnum=$as_cr_Letters$as_cr_digits
10529
7140
ECHO_C= ECHO_N= ECHO_T=
10530
case `echo -n x` in
7141
case `echo -n x` in #(((((
10532
case `echo 'x\c'` in
7143
case `echo 'xy\c'` in
10533
7144
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7146
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
10540
if expr a : '\(a\)' >/dev/null 2>&1 &&
10541
test "X`expr 00001 : '.*\(...\)'`" = X001; then
10547
7153
rm -f conf$$ conf$$.exe conf$$.file
10548
7154
if test -d conf$$.dir; then
10549
7155
rm -f conf$$.dir/conf$$.file
10551
7157
rm -f conf$$.dir
7158
mkdir conf$$.dir 2>/dev/null
10555
if ln -s conf$$.file conf$$ 2>/dev/null; then
10557
# ... but there are two gotchas:
10558
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10559
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10560
# In both cases, we have to default to `cp -p'.
10561
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7160
if (echo >conf$$.file) 2>/dev/null; then
7161
if ln -s conf$$.file conf$$ 2>/dev/null; then
7163
# ... but there are two gotchas:
7164
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7165
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7166
# In both cases, we have to default to `cp -p'.
7167
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7169
elif ln conf$$.file conf$$ 2>/dev/null; then
10562
7172
as_ln_s='cp -p'
10563
elif ln conf$$.file conf$$ 2>/dev/null; then
10566
7175
as_ln_s='cp -p'
10568
7177
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10569
7178
rmdir conf$$.dir 2>/dev/null
7183
# Create "$as_dir" as a directory, including parents if necessary.
7188
-*) as_dir=./$as_dir;;
7190
test -d "$as_dir" || eval $as_mkdir_p || {
7194
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7195
*) as_qdir=$as_dir;;
7197
as_dirs="'$as_qdir' $as_dirs"
7198
as_dir=`$as_dirname -- "$as_dir" ||
7199
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7200
X"$as_dir" : 'X\(//\)[^/]' \| \
7201
X"$as_dir" : 'X\(//\)$' \| \
7202
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7203
$as_echo X"$as_dir" |
7204
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7221
test -d "$as_dir" && break
7223
test -z "$as_dirs" || eval "mkdir $as_dirs"
7224
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10571
7228
if mkdir -p . 2>/dev/null; then
7229
as_mkdir_p='mkdir -p "$as_dir"'
10574
7231
test -d ./-p && rmdir ./-p
10575
7232
as_mkdir_p=false
10852
7542
tmp=./conf$$-$RANDOM
10853
7543
(umask 077 && mkdir "$tmp")
10856
echo "$me: cannot create a temporary directory in ." >&2
10857
{ (exit 1); exit 1; }
10861
# Set up the sed scripts for CONFIG_FILES section.
10864
# No need to generate the scripts if there are no CONFIG_FILES.
10865
# This happens for instance when ./config.status config.h
7544
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7546
# Set up the scripts for CONFIG_FILES section.
7547
# No need to generate them if there are no CONFIG_FILES.
7548
# This happens for instance with `./config.status config.h'.
10866
7549
if test -n "$CONFIG_FILES"; then
10873
for ac_last_try in false false false false false :; do
10874
cat >conf$$subs.sed <<_ACEOF
10875
SHELL!$SHELL$ac_delim
10876
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10877
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10878
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10879
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10880
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10881
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10882
exec_prefix!$exec_prefix$ac_delim
10883
prefix!$prefix$ac_delim
10884
program_transform_name!$program_transform_name$ac_delim
10885
bindir!$bindir$ac_delim
10886
sbindir!$sbindir$ac_delim
10887
libexecdir!$libexecdir$ac_delim
10888
datarootdir!$datarootdir$ac_delim
10889
datadir!$datadir$ac_delim
10890
sysconfdir!$sysconfdir$ac_delim
10891
sharedstatedir!$sharedstatedir$ac_delim
10892
localstatedir!$localstatedir$ac_delim
10893
includedir!$includedir$ac_delim
10894
oldincludedir!$oldincludedir$ac_delim
10895
docdir!$docdir$ac_delim
10896
infodir!$infodir$ac_delim
10897
htmldir!$htmldir$ac_delim
10898
dvidir!$dvidir$ac_delim
10899
pdfdir!$pdfdir$ac_delim
10900
psdir!$psdir$ac_delim
10901
libdir!$libdir$ac_delim
10902
localedir!$localedir$ac_delim
10903
mandir!$mandir$ac_delim
10904
DEFS!$DEFS$ac_delim
10905
ECHO_C!$ECHO_C$ac_delim
10906
ECHO_N!$ECHO_N$ac_delim
10907
ECHO_T!$ECHO_T$ac_delim
10908
LIBS!$LIBS$ac_delim
10909
build_alias!$build_alias$ac_delim
10910
host_alias!$host_alias$ac_delim
10911
target_alias!$target_alias$ac_delim
10912
build!$build$ac_delim
10913
build_cpu!$build_cpu$ac_delim
10914
build_vendor!$build_vendor$ac_delim
10915
build_os!$build_os$ac_delim
10916
host!$host$ac_delim
10917
host_cpu!$host_cpu$ac_delim
10918
host_vendor!$host_vendor$ac_delim
10919
host_os!$host_os$ac_delim
10921
CFLAGS!$CFLAGS$ac_delim
10922
LDFLAGS!$LDFLAGS$ac_delim
10923
CPPFLAGS!$CPPFLAGS$ac_delim
10924
ac_ct_CC!$ac_ct_CC$ac_delim
10925
EXEEXT!$EXEEXT$ac_delim
10926
OBJEXT!$OBJEXT$ac_delim
10928
CXXFLAGS!$CXXFLAGS$ac_delim
10929
ac_ct_CXX!$ac_ct_CXX$ac_delim
10930
CXX_TESTS!$CXX_TESTS$ac_delim
10931
SET_MAKE!$SET_MAKE$ac_delim
10932
RANLIB!$RANLIB$ac_delim
10934
OBJDUMP!$OBJDUMP$ac_delim
10935
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10936
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10937
INSTALL_DATA!$INSTALL_DATA$ac_delim
10938
DEP_INCLUDE!$DEP_INCLUDE$ac_delim
10939
DEP_FLAGS!$DEP_FLAGS$ac_delim
10940
DEP_PROCESS!$DEP_PROCESS$ac_delim
10941
CCPIC!$CCPIC$ac_delim
10942
CCPIC_MAYBE!$CCPIC_MAYBE$ac_delim
10943
ASM_SYMBOL_PREFIX!$ASM_SYMBOL_PREFIX$ac_delim
10944
ASM_ELF_STYLE!$ASM_ELF_STYLE$ac_delim
10945
ASM_TYPE_FUNCTION!$ASM_TYPE_FUNCTION$ac_delim
10946
ASM_MARK_NOEXEC_STACK!$ASM_MARK_NOEXEC_STACK$ac_delim
10947
ASM_ALIGN_LOG!$ASM_ALIGN_LOG$ac_delim
10948
SHLIBCFLAGS!$SHLIBCFLAGS$ac_delim
10949
LIBNETTLE_MAJOR!$LIBNETTLE_MAJOR$ac_delim
10950
LIBNETTLE_MINOR!$LIBNETTLE_MINOR$ac_delim
10951
LIBNETTLE_FORLINK!$LIBNETTLE_FORLINK$ac_delim
10952
LIBNETTLE_SONAME!$LIBNETTLE_SONAME$ac_delim
10953
LIBNETTLE_FILE!$LIBNETTLE_FILE$ac_delim
10954
LIBNETTLE_LINK!$LIBNETTLE_LINK$ac_delim
10955
LIBNETTLE_LIBS!$LIBNETTLE_LIBS$ac_delim
10956
LIBHOGWEED_MAJOR!$LIBHOGWEED_MAJOR$ac_delim
10957
LIBHOGWEED_MINOR!$LIBHOGWEED_MINOR$ac_delim
10958
LIBHOGWEED_FORLINK!$LIBHOGWEED_FORLINK$ac_delim
10959
LIBHOGWEED_SONAME!$LIBHOGWEED_SONAME$ac_delim
10960
LIBHOGWEED_FILE!$LIBHOGWEED_FILE$ac_delim
10961
LIBHOGWEED_LINK!$LIBHOGWEED_LINK$ac_delim
10962
LIBHOGWEED_LIBS!$LIBHOGWEED_LIBS$ac_delim
10965
GREP!$GREP$ac_delim
10966
EGREP!$EGREP$ac_delim
10967
ALLOCA!$ALLOCA$ac_delim
10968
LIBOBJS!$LIBOBJS$ac_delim
10969
IF_HOGWEED!$IF_HOGWEED$ac_delim
10970
IF_SHARED!$IF_SHARED$ac_delim
10971
OPENSSL_LIBFLAGS!$OPENSSL_LIBFLAGS$ac_delim
10974
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10976
elif $ac_last_try; then
10977
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10978
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10979
{ (exit 1); exit 1; }; }
10981
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10985
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10986
if test -n "$ac_eof"; then
10987
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10988
ac_eof=`expr $ac_eof + 1`
10991
cat >>$CONFIG_STATUS <<_ACEOF
10992
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10993
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10996
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10997
s/^/s,@/; s/!/@,|#_!!_#|/
11000
s/'"$ac_delim"'$/,g/; t
11002
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11003
' >>$CONFIG_STATUS <conf$$subs.sed
11004
rm -f conf$$subs.sed
11005
cat >>$CONFIG_STATUS <<_ACEOF
11011
for ac_last_try in false false false false false :; do
11012
cat >conf$$subs.sed <<_ACEOF
11013
LTLIBOBJS!$LTLIBOBJS$ac_delim
11016
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
11018
elif $ac_last_try; then
11019
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11020
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11021
{ (exit 1); exit 1; }; }
11023
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11027
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11028
if test -n "$ac_eof"; then
11029
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11030
ac_eof=`expr $ac_eof + 1`
11033
cat >>$CONFIG_STATUS <<_ACEOF
11034
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11035
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11038
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11039
s/^/s,@/; s/!/@,|#_!!_#|/
11042
s/'"$ac_delim"'$/,g/; t
11044
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11045
' >>$CONFIG_STATUS <conf$$subs.sed
11046
rm -f conf$$subs.sed
11047
cat >>$CONFIG_STATUS <<_ACEOF
11054
# VPATH may cause trouble with some makes, so we remove $(srcdir),
11055
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7552
ac_cr=`echo X | tr X '\015'`
7553
# On cygwin, bash can eat \r inside `` if the user requested igncr.
7554
# But we know of no other shell where ac_cr would be empty at this
7555
# point, so we can use a bashism as a fallback.
7556
if test "x$ac_cr" = x; then
7557
eval ac_cr=\$\'\\r\'
7559
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7560
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7566
echo 'BEGIN {' >"$tmp/subs1.awk" &&
7571
echo "cat >conf$$subs.awk <<_ACEOF" &&
7572
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7575
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7576
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7578
for ac_last_try in false false false false false :; do
7579
. ./conf$$subs.sh ||
7580
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7582
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7583
if test $ac_delim_n = $ac_delim_num; then
7585
elif $ac_last_try; then
7586
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7588
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7593
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7594
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7598
s/^/S["/; s/!.*/"]=/
7608
s/\(.\{148\}\)..*/\1/
7610
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7615
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7622
s/\(.\{148\}\)..*/\1/
7624
s/["\\]/\\&/g; s/^/"/; s/$/"/
7628
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7633
' <conf$$subs.awk | sed '
7638
' >>$CONFIG_STATUS || ac_write_fail=1
7639
rm -f conf$$subs.awk
7640
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7642
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7643
for (key in S) S_is_set[key] = 1
7649
nfields = split(line, field, "@")
7651
len = length(field[1])
7652
for (i = 2; i < nfields; i++) {
7654
keylen = length(key)
7655
if (S_is_set[key]) {
7657
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7658
len += length(value) + length(field[++i])
7669
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7670
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7671
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7674
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7675
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7678
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7679
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11056
7680
# trailing colons and then remove the whole line if VPATH becomes empty
11057
7681
# (actually we leave an empty line to preserve line numbers).
11058
7682
if test "x$srcdir" = x.; then
11059
ac_vpsub='/^[ ]*VPATH[ ]*=/{
11060
s/:*\$(srcdir):*/:/
11061
s/:*\${srcdir}:*/:/
11063
s/^\([^=]*=[ ]*\):*/\1/
7683
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
11065
7697
s/^[^=]*=[ ]*$//
11069
cat >>$CONFIG_STATUS <<\_ACEOF
7701
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11070
7702
fi # test -n "$CONFIG_FILES"
11073
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS
7704
# Set up the scripts for CONFIG_HEADERS section.
7705
# No need to generate them if there are no CONFIG_HEADERS.
7706
# This happens for instance with `./config.status Makefile'.
7707
if test -n "$CONFIG_HEADERS"; then
7708
cat >"$tmp/defines.awk" <<\_ACAWK ||
7712
# Transform confdefs.h into an awk script `defines.awk', embedded as
7713
# here-document in config.status, that substitutes the proper values into
7714
# config.h.in to produce config.h.
7716
# Create a delimiter string that does not exist in confdefs.h, to ease
7717
# handling of long lines.
7719
for ac_last_try in false false :; do
7720
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7721
if test -z "$ac_t"; then
7723
elif $ac_last_try; then
7724
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7726
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7730
# For the awk script, D is an array of macro values keyed by name,
7731
# likewise P contains macro parameters if any. Preserve backslash
7732
# newline sequences.
7734
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7736
s/.\{148\}/&'"$ac_delim"'/g
7739
s/^[ ]*#[ ]*define[ ][ ]*/ /
7746
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7748
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7752
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7753
D["\1"]=" \3\\\\\\n"\\/p
7755
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7760
s/.\{148\}/&'"$ac_delim"'/g
7765
s/["\\]/\\&/g; s/^/"/; s/$/"/p
7768
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7770
' <confdefs.h | sed '
7771
s/'"$ac_delim"'/"\\\
7772
"/g' >>$CONFIG_STATUS || ac_write_fail=1
7774
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7775
for (key in D) D_is_set[key] = 1
7778
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7780
split(line, arg, " ")
7781
if (arg[1] == "#") {
7785
defundef = substr(arg[1], 2)
7788
split(mac1, mac2, "(") #)
7790
prefix = substr(line, 1, index(line, defundef) - 1)
7791
if (D_is_set[macro]) {
7792
# Preserve the white space surrounding the "#".
7793
print prefix "define", macro P[macro] D[macro]
7796
# Replace #undef with comments. This is necessary, for example,
7797
# in the case of _POSIX_SOURCE, which is predefined and required
7798
# on some systems where configure will not decide to define it.
7799
if (defundef == "undef") {
7800
print "/*", prefix defundef, macro, "*/"
7808
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7809
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7810
fi # test -n "$CONFIG_HEADERS"
7813
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
11075
7817
case $ac_tag in
11076
7818
:[FHLC]) ac_mode=$ac_tag; continue;;
11078
7820
case $ac_mode$ac_tag in
11080
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11081
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11082
{ (exit 1); exit 1; }; };;
7822
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
11083
7823
:[FH]-) ac_tag=-:-;;
11084
7824
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11300
8009
s&@INSTALL@&$ac_INSTALL&;t t
11301
8010
s&@MKDIR_P@&$ac_MKDIR_P&;t t
11302
8011
$ac_datarootdir_hack
11303
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8013
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8014
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11305
8016
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11306
8017
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11307
8018
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11308
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11309
which seems to be undefined. Please make sure it is defined." >&5
11310
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11311
which seems to be undefined. Please make sure it is defined." >&2;}
8019
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8020
which seems to be undefined. Please make sure it is defined" >&5
8021
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8022
which seems to be undefined. Please make sure it is defined" >&2;}
11313
8024
rm -f "$tmp/stdin"
11314
8025
case $ac_file in
11315
-) cat "$tmp/out"; rm -f "$tmp/out";;
11316
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8026
-) cat "$tmp/out" && rm -f "$tmp/out";;
8027
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8029
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11321
8033
# CONFIG_HEADER
11325
# Transform confdefs.h into a sed script `conftest.defines', that
11326
# substitutes the proper values into config.h.in to produce config.h.
11327
rm -f conftest.defines conftest.tail
11328
# First, append a space to every undef/define line, to ease matching.
11329
echo 's/$/ /' >conftest.defines
11330
# Then, protect against being on the right side of a sed subst, or in
11331
# an unquoted here document, in config.status. If some macros were
11332
# called several times there might be several #defines for the same
11333
# symbol, which is useless. But do not sort them, since the last
11334
# AC_DEFINE must be honored.
11335
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11336
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11337
# NAME is the cpp macro being defined, VALUE is the value it is being given.
11338
# PARAMS is the parameter list in the macro definition--in most cases, it's
11339
# just an empty string.
11340
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11341
ac_dB='\\)[ (].*,\\1define\\2'
11349
s/^[ ]*#[ ]*define[ ][ ]*//
11354
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11355
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11356
' >>conftest.defines
11358
# Remove the space that was appended to ease matching.
11359
# Then replace #undef with comments. This is necessary, for
11360
# example, in the case of _POSIX_SOURCE, which is predefined and required
11361
# on some systems where configure will not decide to define it.
11362
# (The regexp can be short, since the line contains either #define or #undef.)
11364
s,^[ #]*u.*,/* & */,' >>conftest.defines
11366
# Break up conftest.defines:
11367
ac_max_sed_lines=50
11369
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11370
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11371
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11373
ac_in='$ac_file_inputs'
11374
ac_out='"$tmp/out1"'
11375
ac_nxt='"$tmp/out2"'
11379
# Write a here document:
11380
cat >>$CONFIG_STATUS <<_ACEOF
11381
# First, check the format of the line:
11382
cat >"\$tmp/defines.sed" <<\\CEOF
11383
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11384
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11388
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11390
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11391
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11392
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11393
grep . conftest.tail >/dev/null || break
11394
rm -f conftest.defines
11395
mv conftest.tail conftest.defines
11397
rm -f conftest.defines conftest.tail
11399
echo "ac_result=$ac_in" >>$CONFIG_STATUS
11400
cat >>$CONFIG_STATUS <<\_ACEOF
11401
8035
if test x"$ac_file" != x-; then
11402
echo "/* $configure_input */" >"$tmp/config.h"
11403
cat "$ac_result" >>"$tmp/config.h"
11404
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11405
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11406
echo "$as_me: $ac_file is unchanged" >&6;}
8037
$as_echo "/* $configure_input */" \
8038
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8039
} >"$tmp/config.h" \
8040
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8041
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8042
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8043
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11409
mv "$tmp/config.h" $ac_file
8046
mv "$tmp/config.h" "$ac_file" \
8047
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11412
echo "/* $configure_input */"
8050
$as_echo "/* $configure_input */" \
8051
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8052
|| as_fn_error $? "could not create -" "$LINENO" 5
11422
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
11423
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
11425
if test ! -r "$srcdir/$ac_source"; then
11426
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
11427
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
11428
{ (exit 1); exit 1; }; }
8060
if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
8063
# Prefer the file from the source tree if names are identical.
8064
if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
8065
ac_source=$srcdir/$ac_source
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
8069
$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
8071
if test ! -r "$ac_source"; then
8072
as_fn_error $? "$ac_source: file not found" "$LINENO" 5
8076
# Try a relative symlink, then a hard link, then a copy.
8078
[\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
8079
*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
8081
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
8082
ln "$ac_source" "$ac_file" 2>/dev/null ||
8083
cp -p "$ac_source" "$ac_file" ||
8084
as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
11432
# Try a relative symlink, then a hard link, then a copy.
11434
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
11435
*) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
11437
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
11438
ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
11439
cp -p "$srcdir/$ac_source" "$ac_file" ||
11440
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
11441
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
11442
{ (exit 1); exit 1; }; }
11444
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11445
echo "$as_me: executing $ac_file commands" >&6;}
8087
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8088
$as_echo "$as_me: executing $ac_file commands" >&6;}