Sat May 10 00:53:12 2008 UTC ()
pullup ticket #2367 - requested by joerg
digest: bug fixes for tiger & sha512

revisions pulled up:
- pkgsrc/pkgtools/digest/files/configure	1.13
- pkgsrc/pkgtools/digest/files/configure.ac	1.14
- pkgsrc/pkgtools/digest/files/sha2.c		1.9
- pkgsrc/pkgtools/digest/files/tiger.c		1.6
- pkgsrc/pkgtools/digest/files/tiger.h		1.5

   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Fri May  9 15:00:32 UTC 2008

   Modified Files:
   	pkgsrc/pkgtools/digest/files: configure configure.ac tiger.c tiger.h

   Log Message:
   digest-20080509:
   The tiger hash needs to run at least once through the update function,
   even for empty input. The fix is different from the patch in PR 36565.
   ------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Fri May  9 16:19:57 UTC 2008

   Modified Files:
   	pkgsrc/pkgtools/digest/files: sha2.c

   Log Message:
   Fix a bug in the SHA512 implementation that would be triggered if the
   last block has exactly the length of a short fragment. This happened
   incidently with two files in the NetBSD 4.0 release.


(rtr)
diff -r1.12 -r1.12.6.1 pkgsrc/pkgtools/digest/files/configure
diff -r1.13 -r1.13.6.1 pkgsrc/pkgtools/digest/files/configure.ac
diff -r1.8 -r1.8.6.1 pkgsrc/pkgtools/digest/files/sha2.c
diff -r1.5 -r1.5.6.1 pkgsrc/pkgtools/digest/files/tiger.c
diff -r1.4 -r1.4.6.1 pkgsrc/pkgtools/digest/files/tiger.h

cvs diff -r1.12 -r1.12.6.1 pkgsrc/pkgtools/digest/files/configure (switch to unified diff)

--- pkgsrc/pkgtools/digest/files/configure 2007/08/03 21:42:04 1.12
+++ pkgsrc/pkgtools/digest/files/configure 2008/05/10 00:53:12 1.12.6.1
@@ -1,6095 +1,6512 @@ @@ -1,6095 +1,6512 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for nbsd-digest 20070803. 3# Generated by GNU Autoconf 2.62 for nbsd-digest 20080509.
4# 4#
5# Report bugs to <agc@netbsd.org>. 5# Report bugs to <agc@netbsd.org>.
6# 6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ## 11## --------------------- ##
12## M4sh Initialization. ## 12## M4sh Initialization. ##
13## --------------------- ## 13## --------------------- ##
14 14
15# Be more Bourne compatible 15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh 16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh 18 emulate sh
19 NULLCMD=: 19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature. 21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"' 22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST 23 setopt NO_GLOB_SUBST
24else 24else
25 case `(set -o) 2>/dev/null` in 25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;; 26 *posix*) set -o posix ;;
27esac 27esac
28 28
29fi 29fi
30 30
31 31
32 32
33 33
34# PATH needs CR 34# PATH needs CR
35# Avoid depending upon Character Ranges. 35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789' 39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits 40as_cr_alnum=$as_cr_Letters$as_cr_digits
41 41
42# The user is always right. 42as_nl='
43if test "${PATH_SEPARATOR+set}" != set; then 43'
44 echo "#! /bin/sh" >conf$$.sh 44export as_nl
45 echo "exit 0" >>conf$$.sh 45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46 chmod +x conf$$.sh 46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 PATH_SEPARATOR=';' 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 50 as_echo='printf %s\n'
 51 as_echo_n='printf %s'
 52else
 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 55 as_echo_n='/usr/ucb/echo -n'
49 else 56 else
50 PATH_SEPARATOR=: 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 58 as_echo_n_body='eval
 59 arg=$1;
 60 case $arg in
 61 *"$as_nl"*)
 62 expr "X$arg" : "X\\(.*\\)$as_nl";
 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 64 esac;
 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 66 '
 67 export as_echo_n_body
 68 as_echo_n='sh -c $as_echo_n_body as_echo'
51 fi 69 fi
52 rm -f conf$$.sh 70 export as_echo_body
 71 as_echo='sh -c $as_echo_body as_echo'
 72fi
 73
 74# The user is always right.
 75if test "${PATH_SEPARATOR+set}" != set; then
 76 PATH_SEPARATOR=:
 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 79 PATH_SEPARATOR=';'
 80 }
53fi 81fi
54 82
55# Support unset when possible. 83# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset 85 as_unset=unset
58else 86else
59 as_unset=false 87 as_unset=false
60fi 88fi
61 89
62 90
63# IFS 91# IFS
64# We need space, tab and new line, in precisely that order. Quoting is 92# We need space, tab and new line, in precisely that order. Quoting is
65# there to prevent editors from complaining about space-tab. 93# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word 94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.) 95# splitting by setting IFS to empty value.)
68as_nl=' 
69' 
70IFS=" "" $as_nl" 96IFS=" "" $as_nl"
71 97
72# Find who we are. Look in the path if we contain no directory separator. 98# Find who we are. Look in the path if we contain no directory separator.
73case $0 in 99case $0 in
74 *[\\/]* ) as_myself=$0 ;; 100 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH 102for as_dir in $PATH
77do 103do
78 IFS=$as_save_IFS 104 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=. 105 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done 107done
82IFS=$as_save_IFS 108IFS=$as_save_IFS
83 109
84 ;; 110 ;;
85esac 111esac
86# We did not find ourselves, most probably we were run as `sh COMMAND' 112# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path. 113# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then 114if test "x$as_myself" = x; then
89 as_myself=$0 115 as_myself=$0
90fi 116fi
91if test ! -f "$as_myself"; then 117if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; } 119 { (exit 1); exit 1; }
94fi 120fi
95 121
96# Work around bugs in pre-3.0 UWIN ksh. 122# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH 123for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done 125done
100PS1='$ ' 126PS1='$ '
101PS2='> ' 127PS2='> '
102PS4='+ ' 128PS4='+ '
103 129
104# NLS nuisances. 130# NLS nuisances.
105for as_var in \ 131LC_ALL=C
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 132export LC_ALL
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 133LANGUAGE=C
108 LC_TELEPHONE LC_TIME 134export LANGUAGE
109do 
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
111 eval $as_var=C; export $as_var 
112 else 
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
114 fi 
115done 
116 135
117# Required to use basename. 136# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 && 137if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr 139 as_expr=expr
121else 140else
122 as_expr=false 141 as_expr=false
123fi 142fi
124 143
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename 145 as_basename=basename
127else 146else
128 as_basename=false 147 as_basename=false
129fi 148fi
130 149
131 150
132# Name of the executable. 151# Name of the executable.
133as_me=`$as_basename -- "$0" || 152as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \ 154 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" | 156$as_echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 157 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/ 158 s//\1/
140 q 159 q
141 } 160 }
142 /^X\/\(\/\/\)$/{ 161 /^X\/\(\/\/\)$/{
143 s//\1/ 162 s//\1/
144 q 163 q
145 } 164 }
146 /^X\/\(\/\).*/{ 165 /^X\/\(\/\).*/{
147 s//\1/ 166 s//\1/
148 q 167 q
149 } 168 }
150 s/.*/./; q'` 169 s/.*/./; q'`
151 170
152# CDPATH. 171# CDPATH.
153$as_unset CDPATH 172$as_unset CDPATH
154 173
155 174
156if test "x$CONFIG_SHELL" = x; then 175if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then 176 if (eval ":") 2>/dev/null; then
158 as_have_required=yes 177 as_have_required=yes
159else 178else
160 as_have_required=no 179 as_have_required=no
161fi 180fi
162 181
163 if test $as_have_required = yes && (eval ": 182 if test $as_have_required = yes && (eval ":
164(as_func_return () { 183(as_func_return () {
165 (exit \$1) 184 (exit \$1)
166} 185}
167as_func_success () { 186as_func_success () {
168 as_func_return 0 187 as_func_return 0
169} 188}
170as_func_failure () { 189as_func_failure () {
171 as_func_return 1 190 as_func_return 1
172} 191}
173as_func_ret_success () { 192as_func_ret_success () {
174 return 0 193 return 0
175} 194}
176as_func_ret_failure () { 195as_func_ret_failure () {
177 return 1 196 return 1
178} 197}
179 198
180exitcode=0 199exitcode=0
181if as_func_success; then 200if as_func_success; then
182 : 201 :
183else 202else
184 exitcode=1 203 exitcode=1
185 echo as_func_success failed. 204 echo as_func_success failed.
186fi 205fi
187 206
188if as_func_failure; then 207if as_func_failure; then
189 exitcode=1 208 exitcode=1
190 echo as_func_failure succeeded. 209 echo as_func_failure succeeded.
191fi 210fi
192 211
193if as_func_ret_success; then 212if as_func_ret_success; then
194 : 213 :
195else 214else
196 exitcode=1 215 exitcode=1
197 echo as_func_ret_success failed. 216 echo as_func_ret_success failed.
198fi 217fi
199 218
200if as_func_ret_failure; then 219if as_func_ret_failure; then
201 exitcode=1 220 exitcode=1
202 echo as_func_ret_failure succeeded. 221 echo as_func_ret_failure succeeded.
203fi 222fi
204 223
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 : 225 :
207else 226else
208 exitcode=1 227 exitcode=1
209 echo positional parameters were not saved. 228 echo positional parameters were not saved.
210fi 229fi
211 230
212test \$exitcode = 0) || { (exit 1); exit 1; } 231test \$exitcode = 0) || { (exit 1); exit 1; }
213 232
214( 233(
215 as_lineno_1=\$LINENO 234 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO 235 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 236 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; } 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then 238") 2> /dev/null; then
220 : 239 :
221else 240else
222 as_candidate_shells= 241 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do 244do
226 IFS=$as_save_IFS 245 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=. 246 test -z "$as_dir" && as_dir=.
228 case $as_dir in 247 case $as_dir in
229 /*) 248 /*)
230 for as_base in sh bash ksh sh5; do 249 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;; 251 done;;
233 esac 252 esac
234done 253done
235IFS=$as_save_IFS 254IFS=$as_save_IFS
236 255
237 256
238 for as_shell in $as_candidate_shells $SHELL; do 257 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks. 258 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF 260 { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh 262 emulate sh
244 NULLCMD=: 263 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature. 265 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"' 266 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST 267 setopt NO_GLOB_SUBST
249else 268else
250 case `(set -o) 2>/dev/null` in 269 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;; 270 *posix*) set -o posix ;;
252esac 271esac
253 272
254fi 273fi
255 274
256 275
257: 276:
258_ASEOF 277_ASEOF
259}; then 278}; then
260 CONFIG_SHELL=$as_shell 279 CONFIG_SHELL=$as_shell
261 as_have_required=yes 280 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF 281 if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh 283 emulate sh
265 NULLCMD=: 284 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature. 286 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"' 287 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST 288 setopt NO_GLOB_SUBST
270else 289else
271 case `(set -o) 2>/dev/null` in 290 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;; 291 *posix*) set -o posix ;;
273esac 292esac
274 293
275fi 294fi
276 295
277 296
278: 297:
279(as_func_return () { 298(as_func_return () {
280 (exit $1) 299 (exit $1)
281} 300}
282as_func_success () { 301as_func_success () {
283 as_func_return 0 302 as_func_return 0
284} 303}
285as_func_failure () { 304as_func_failure () {
286 as_func_return 1 305 as_func_return 1
287} 306}
288as_func_ret_success () { 307as_func_ret_success () {
289 return 0 308 return 0
290} 309}
291as_func_ret_failure () { 310as_func_ret_failure () {
292 return 1 311 return 1
293} 312}
294 313
295exitcode=0 314exitcode=0
296if as_func_success; then 315if as_func_success; then
297 : 316 :
298else 317else
299 exitcode=1 318 exitcode=1
300 echo as_func_success failed. 319 echo as_func_success failed.
301fi 320fi
302 321
303if as_func_failure; then 322if as_func_failure; then
304 exitcode=1 323 exitcode=1
305 echo as_func_failure succeeded. 324 echo as_func_failure succeeded.
306fi 325fi
307 326
308if as_func_ret_success; then 327if as_func_ret_success; then
309 : 328 :
310else 329else
311 exitcode=1 330 exitcode=1
312 echo as_func_ret_success failed. 331 echo as_func_ret_success failed.
313fi 332fi
314 333
315if as_func_ret_failure; then 334if as_func_ret_failure; then
316 exitcode=1 335 exitcode=1
317 echo as_func_ret_failure succeeded. 336 echo as_func_ret_failure succeeded.
318fi 337fi
319 338
320if ( set x; as_func_ret_success y && test x = "$1" ); then 339if ( set x; as_func_ret_success y && test x = "$1" ); then
321 : 340 :
322else 341else
323 exitcode=1 342 exitcode=1
324 echo positional parameters were not saved. 343 echo positional parameters were not saved.
325fi 344fi
326 345
327test $exitcode = 0) || { (exit 1); exit 1; } 346test $exitcode = 0) || { (exit 1); exit 1; }
328 347
329( 348(
330 as_lineno_1=$LINENO 349 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO 350 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" && 351 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; } 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334 353
335_ASEOF 354_ASEOF
336}; then 355}; then
337 break 356 break
338fi 357fi
339 358
340fi 359fi
341 360
342 done 361 done
343 362
344 if test "x$CONFIG_SHELL" != x; then 363 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV 364 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done 366 done
348 export CONFIG_SHELL 367 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi 369fi
351 370
352 371
353 if test $as_have_required = no; then 372 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the 373 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a 374 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a 375 echo modern shell, or manually run the script under such a
357 echo shell if you do have one. 376 echo shell if you do have one.
358 { (exit 1); exit 1; } 377 { (exit 1); exit 1; }
359fi 378fi
360 379
361 380
362fi 381fi
363 382
364fi 383fi
365 384
366 385
367 386
368(eval "as_func_return () { 387(eval "as_func_return () {
369 (exit \$1) 388 (exit \$1)
370} 389}
371as_func_success () { 390as_func_success () {
372 as_func_return 0 391 as_func_return 0
373} 392}
374as_func_failure () { 393as_func_failure () {
375 as_func_return 1 394 as_func_return 1
376} 395}
377as_func_ret_success () { 396as_func_ret_success () {
378 return 0 397 return 0
379} 398}
380as_func_ret_failure () { 399as_func_ret_failure () {
381 return 1 400 return 1
382} 401}
383 402
384exitcode=0 403exitcode=0
385if as_func_success; then 404if as_func_success; then
386 : 405 :
387else 406else
388 exitcode=1 407 exitcode=1
389 echo as_func_success failed. 408 echo as_func_success failed.
390fi 409fi
391 410
392if as_func_failure; then 411if as_func_failure; then
393 exitcode=1 412 exitcode=1
394 echo as_func_failure succeeded. 413 echo as_func_failure succeeded.
395fi 414fi
396 415
397if as_func_ret_success; then 416if as_func_ret_success; then
398 : 417 :
399else 418else
400 exitcode=1 419 exitcode=1
401 echo as_func_ret_success failed. 420 echo as_func_ret_success failed.
402fi 421fi
403 422
404if as_func_ret_failure; then 423if as_func_ret_failure; then
405 exitcode=1 424 exitcode=1
406 echo as_func_ret_failure succeeded. 425 echo as_func_ret_failure succeeded.
407fi 426fi
408 427
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 : 429 :
411else 430else
412 exitcode=1 431 exitcode=1
413 echo positional parameters were not saved. 432 echo positional parameters were not saved.
414fi 433fi
415 434
416test \$exitcode = 0") || { 435test \$exitcode = 0") || {
417 echo No shell found that supports shell functions. 436 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system, 437 echo Please tell bug-autoconf@gnu.org about your system,
419 echo including any error possibly output before this 438 echo including any error possibly output before this message.
420 echo message 439 echo This can help us improve future autoconf versions.
 440 echo Configuration will now proceed without shell functions.
421} 441}
422 442
423 443
424 444
425 as_lineno_1=$LINENO 445 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO 446 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" && 447 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 449
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 450 # 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 451 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed' 452 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each 453 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends 454 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special 455 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end. 456 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee 458 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-) 459 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n ' 460 sed -n '
441 p 461 p
442 /[$]LINENO/= 462 /[$]LINENO/=
443 ' <$as_myself | 463 ' <$as_myself |
444 sed ' 464 sed '
445 s/[$]LINENO.*/&-/ 465 s/[$]LINENO.*/&-/
446 t lineno 466 t lineno
447 b 467 b
448 :lineno 468 :lineno
449 N 469 N
450 :loop 470 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop 472 t loop
453 s/-\n.*// 473 s/-\n.*//
454 ' >$as_me.lineno && 474 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" || 475 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; } 477 { (exit 1); exit 1; }; }
458 478
459 # Don't try to exec as it changes $[0], causing all sort of problems 479 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the 480 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this). 481 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno" 482 . "./$as_me.lineno"
463 # Exit status is that of the last command. 483 # Exit status is that of the last command.
464 exit 484 exit
465} 485}
466 486
467 487
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname 489 as_dirname=dirname
470else 490else
471 as_dirname=false 491 as_dirname=false
472fi 492fi
473 493
474ECHO_C= ECHO_N= ECHO_T= 494ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in 495case `echo -n x` in
476-n*) 496-n*)
477 case `echo 'x\c'` in 497 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';; 499 *) ECHO_C='\c';;
480 esac;; 500 esac;;
481*) 501*)
482 ECHO_N='-n';; 502 ECHO_N='-n';;
483esac 503esac
484 
485if expr a : '\(a\)' >/dev/null 2>&1 && 504if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr 506 as_expr=expr
488else 507else
489 as_expr=false 508 as_expr=false
490fi 509fi
491 510
492rm -f conf$$ conf$$.exe conf$$.file 511rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then 512if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file 513 rm -f conf$$.dir/conf$$.file
495else 514else
496 rm -f conf$$.dir 515 rm -f conf$$.dir
497 mkdir conf$$.dir 516 mkdir conf$$.dir 2>/dev/null
498fi 517fi
499echo >conf$$.file 518if (echo >conf$$.file) 2>/dev/null; then
500if ln -s conf$$.file conf$$ 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s' 520 as_ln_s='ln -s'
502 # ... but there are two gotchas: 521 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'. 524 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 526 as_ln_s='cp -p'
 527 elif ln conf$$.file conf$$ 2>/dev/null; then
 528 as_ln_s=ln
 529 else
507 as_ln_s='cp -p' 530 as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then 531 fi
509 as_ln_s=ln 
510else 532else
511 as_ln_s='cp -p' 533 as_ln_s='cp -p'
512fi 534fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null 536rmdir conf$$.dir 2>/dev/null
515 537
516if mkdir -p . 2>/dev/null; then 538if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=: 539 as_mkdir_p=:
518else 540else
519 test -d ./-p && rmdir ./-p 541 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false 542 as_mkdir_p=false
521fi 543fi
522 544
523if test -x / >/dev/null 2>&1; then 545if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x' 546 as_test_x='test -x'
525else 547else
526 if ls -dL / >/dev/null 2>&1; then 548 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L 549 as_ls_L_option=L
528 else 550 else
529 as_ls_L_option= 551 as_ls_L_option=
530 fi 552 fi
531 as_test_x=' 553 as_test_x='
532 eval sh -c '\'' 554 eval sh -c '\''
533 if test -d "$1"; then 555 if test -d "$1"; then
534 test -d "$1/."; 556 test -d "$1/.";
535 else 557 else
536 case $1 in 558 case $1 in
537 -*)set "./$1";; 559 -*)set "./$1";;
538 esac; 560 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi 562 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh 563 '\'' sh
542 ' 564 '
543fi 565fi
544as_executable_p=$as_test_x 566as_executable_p=$as_test_x
545 567
546# Sed expression to map a string onto a valid CPP name. 568# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 570
549# Sed expression to map a string onto a valid variable name. 571# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551 573
552 574
553 575
554exec 7<&0 </dev/null 6>&1 576exec 7<&0 </dev/null 6>&1
555 577
556# Name of the host. 578# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too. 580# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 582
561# 583#
562# Initializations. 584# Initializations.
563# 585#
564ac_default_prefix=/usr/local 586ac_default_prefix=/usr/local
565ac_clean_files= 587ac_clean_files=
566ac_config_libobj_dir=. 588ac_config_libobj_dir=.
567LIBOBJS= 589LIBOBJS=
568cross_compiling=no 590cross_compiling=no
569subdirs= 591subdirs=
570MFLAGS= 592MFLAGS=
571MAKEFLAGS= 593MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh} 594SHELL=${CONFIG_SHELL-/bin/sh}
573 595
574# Identity of this package. 596# Identity of this package.
575PACKAGE_NAME='nbsd-digest' 597PACKAGE_NAME='nbsd-digest'
576PACKAGE_TARNAME='nbsd-digest' 598PACKAGE_TARNAME='nbsd-digest'
577PACKAGE_VERSION='20070803' 599PACKAGE_VERSION='20080509'
578PACKAGE_STRING='nbsd-digest 20070803' 600PACKAGE_STRING='nbsd-digest 20080509'
579PACKAGE_BUGREPORT='agc@netbsd.org' 601PACKAGE_BUGREPORT='agc@netbsd.org'
580 602
581ac_unique_file="digest.c" 603ac_unique_file="digest.c"
582# Factoring default headers for most tests. 604# Factoring default headers for most tests.
583ac_includes_default="\ 605ac_includes_default="\
584#include <stdio.h> 606#include <stdio.h>
585#ifdef HAVE_SYS_TYPES_H 607#ifdef HAVE_SYS_TYPES_H
586# include <sys/types.h> 608# include <sys/types.h>
587#endif 609#endif
588#ifdef HAVE_SYS_STAT_H 610#ifdef HAVE_SYS_STAT_H
589# include <sys/stat.h> 611# include <sys/stat.h>
590#endif 612#endif
591#ifdef STDC_HEADERS 613#ifdef STDC_HEADERS
592# include <stdlib.h> 614# include <stdlib.h>
593# include <stddef.h> 615# include <stddef.h>
594#else 616#else
595# ifdef HAVE_STDLIB_H 617# ifdef HAVE_STDLIB_H
596# include <stdlib.h> 618# include <stdlib.h>
597# endif 619# endif
598#endif 620#endif
599#ifdef HAVE_STRING_H 621#ifdef HAVE_STRING_H
600# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601# include <memory.h> 623# include <memory.h>
602# endif 624# endif
603# include <string.h> 625# include <string.h>
604#endif 626#endif
605#ifdef HAVE_STRINGS_H 627#ifdef HAVE_STRINGS_H
606# include <strings.h> 628# include <strings.h>
607#endif 629#endif
608#ifdef HAVE_INTTYPES_H 630#ifdef HAVE_INTTYPES_H
609# include <inttypes.h> 631# include <inttypes.h>
610#endif 632#endif
611#ifdef HAVE_STDINT_H 633#ifdef HAVE_STDINT_H
612# include <stdint.h> 634# include <stdint.h>
613#endif 635#endif
614#ifdef HAVE_UNISTD_H 636#ifdef HAVE_UNISTD_H
615# include <unistd.h> 637# include <unistd.h>
616#endif" 638#endif"
617 639
618ac_subst_vars='SHELL 640ac_subst_vars='SHELL
619PATH_SEPARATOR 641PATH_SEPARATOR
620PACKAGE_NAME 642PACKAGE_NAME
621PACKAGE_TARNAME 643PACKAGE_TARNAME
622PACKAGE_VERSION 644PACKAGE_VERSION
623PACKAGE_STRING 645PACKAGE_STRING
624PACKAGE_BUGREPORT 646PACKAGE_BUGREPORT
625exec_prefix 647exec_prefix
626prefix 648prefix
627program_transform_name 649program_transform_name
628bindir 650bindir
629sbindir 651sbindir
630libexecdir 652libexecdir
631datarootdir 653datarootdir
632datadir 654datadir
633sysconfdir 655sysconfdir
634sharedstatedir 656sharedstatedir
635localstatedir 657localstatedir
636includedir 658includedir
637oldincludedir 659oldincludedir
638docdir 660docdir
639infodir 661infodir
640htmldir 662htmldir
641dvidir 663dvidir
642pdfdir 664pdfdir
643psdir 665psdir
644libdir 666libdir
645localedir 667localedir
646mandir 668mandir
647DEFS 669DEFS
648ECHO_C 670ECHO_C
649ECHO_N 671ECHO_N
650ECHO_T 672ECHO_T
651LIBS 673LIBS
652build_alias 674build_alias
653host_alias 675host_alias
654target_alias 676target_alias
655build 677build
656build_cpu 678build_cpu
657build_vendor 679build_vendor
658build_os 680build_os
659host 681host
660host_cpu 682host_cpu
661host_vendor 683host_vendor
662host_os 684host_os
663CANONICAL_HOST 685CANONICAL_HOST
664SET_MAKE 686SET_MAKE
665AWK 687AWK
666CC 688CC
667CFLAGS 689CFLAGS
668LDFLAGS 690LDFLAGS
669CPPFLAGS 691CPPFLAGS
670ac_ct_CC 692ac_ct_CC
671EXEEXT 693EXEEXT
672OBJEXT 694OBJEXT
673INSTALL_PROGRAM 695INSTALL_PROGRAM
674INSTALL_SCRIPT 696INSTALL_SCRIPT
675INSTALL_DATA 697INSTALL_DATA
676LN_S 698LN_S
677AUTOCONF 699AUTOCONF
678AUTOHEADER 700AUTOHEADER
679CPP 701CPP
680GREP 702GREP
681EGREP 703EGREP
682LIBOBJS 704LIBOBJS
683LTLIBOBJS' 705LTLIBOBJS'
684ac_subst_files='' 706ac_subst_files=''
 707ac_user_opts='
 708enable_option_checking
 709'
685 ac_precious_vars='build_alias 710 ac_precious_vars='build_alias
686host_alias 711host_alias
687target_alias 712target_alias
688CC 713CC
689CFLAGS 714CFLAGS
690LDFLAGS 715LDFLAGS
691LIBS 716LIBS
692CPPFLAGS 717CPPFLAGS
693CPP' 718CPP'
694 719
695 720
696# Initialize some variables set by options. 721# Initialize some variables set by options.
697ac_init_help= 722ac_init_help=
698ac_init_version=false 723ac_init_version=false
 724ac_unrecognized_opts=
 725ac_unrecognized_sep=
699# The variables have the same names as the options, with 726# The variables have the same names as the options, with
700# dashes changed to underlines. 727# dashes changed to underlines.
701cache_file=/dev/null 728cache_file=/dev/null
702exec_prefix=NONE 729exec_prefix=NONE
703no_create= 730no_create=
704no_recursion= 731no_recursion=
705prefix=NONE 732prefix=NONE
706program_prefix=NONE 733program_prefix=NONE
707program_suffix=NONE 734program_suffix=NONE
708program_transform_name=s,x,x, 735program_transform_name=s,x,x,
709silent= 736silent=
710site= 737site=
711srcdir= 738srcdir=
712verbose= 739verbose=
713x_includes=NONE 740x_includes=NONE
714x_libraries=NONE 741x_libraries=NONE
715 742
716# Installation directory options. 743# Installation directory options.
717# These are left unexpanded so users can "make install exec_prefix=/foo" 744# These are left unexpanded so users can "make install exec_prefix=/foo"
718# and all the variables that are supposed to be based on exec_prefix 745# and all the variables that are supposed to be based on exec_prefix
719# by default will actually change. 746# by default will actually change.
720# Use braces instead of parens because sh, perl, etc. also accept them. 747# Use braces instead of parens because sh, perl, etc. also accept them.
721# (The list follows the same order as the GNU Coding Standards.) 748# (The list follows the same order as the GNU Coding Standards.)
722bindir='${exec_prefix}/bin' 749bindir='${exec_prefix}/bin'
723sbindir='${exec_prefix}/sbin' 750sbindir='${exec_prefix}/sbin'
724libexecdir='${exec_prefix}/libexec' 751libexecdir='${exec_prefix}/libexec'
725datarootdir='${prefix}/share' 752datarootdir='${prefix}/share'
726datadir='${datarootdir}' 753datadir='${datarootdir}'
727sysconfdir='${prefix}/etc' 754sysconfdir='${prefix}/etc'
728sharedstatedir='${prefix}/com' 755sharedstatedir='${prefix}/com'
729localstatedir='${prefix}/var' 756localstatedir='${prefix}/var'
730includedir='${prefix}/include' 757includedir='${prefix}/include'
731oldincludedir='/usr/include' 758oldincludedir='/usr/include'
732docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 759docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
733infodir='${datarootdir}/info' 760infodir='${datarootdir}/info'
734htmldir='${docdir}' 761htmldir='${docdir}'
735dvidir='${docdir}' 762dvidir='${docdir}'
736pdfdir='${docdir}' 763pdfdir='${docdir}'
737psdir='${docdir}' 764psdir='${docdir}'
738libdir='${exec_prefix}/lib' 765libdir='${exec_prefix}/lib'
739localedir='${datarootdir}/locale' 766localedir='${datarootdir}/locale'
740mandir='${datarootdir}/man' 767mandir='${datarootdir}/man'
741 768
742ac_prev= 769ac_prev=
743ac_dashdash= 770ac_dashdash=
744for ac_option 771for ac_option
745do 772do
746 # If the previous option needs an argument, assign it. 773 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then 774 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option 775 eval $ac_prev=\$ac_option
749 ac_prev= 776 ac_prev=
750 continue 777 continue
751 fi 778 fi
752 779
753 case $ac_option in 780 case $ac_option in
754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 781 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 *) ac_optarg=yes ;; 782 *) ac_optarg=yes ;;
756 esac 783 esac
757 784
758 # Accept the important Cygnus configure options, so we can diagnose typos. 785 # Accept the important Cygnus configure options, so we can diagnose typos.
759 786
760 case $ac_dashdash$ac_option in 787 case $ac_dashdash$ac_option in
761 --) 788 --)
762 ac_dashdash=yes ;; 789 ac_dashdash=yes ;;
763 790
764 -bindir | --bindir | --bindi | --bind | --bin | --bi) 791 -bindir | --bindir | --bindi | --bind | --bin | --bi)
765 ac_prev=bindir ;; 792 ac_prev=bindir ;;
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 793 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
767 bindir=$ac_optarg ;; 794 bindir=$ac_optarg ;;
768 795
769 -build | --build | --buil | --bui | --bu) 796 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;; 797 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 798 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;; 799 build_alias=$ac_optarg ;;
773 800
774 -cache-file | --cache-file | --cache-fil | --cache-fi \ 801 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 802 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;; 803 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 804 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 805 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;; 806 cache_file=$ac_optarg ;;
780 807
781 --config-cache | -C) 808 --config-cache | -C)
782 cache_file=config.cache ;; 809 cache_file=config.cache ;;
783 810
784 -datadir | --datadir | --datadi | --datad) 811 -datadir | --datadir | --datadi | --datad)
785 ac_prev=datadir ;; 812 ac_prev=datadir ;;
786 -datadir=* | --datadir=* | --datadi=* | --datad=*) 813 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;; 814 datadir=$ac_optarg ;;
788 815
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 816 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar) 817 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;; 818 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 819 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 820 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;; 821 datarootdir=$ac_optarg ;;
795 822
796 -disable-* | --disable-*) 823 -disable-* | --disable-*)
797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names. 825 # Reject names that are not valid shell variable names.
799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 827 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
801 { (exit 1); exit 1; }; } 828 { (exit 1); exit 1; }; }
802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 829 ac_useropt_orig=$ac_useropt
803 eval enable_$ac_feature=no ;; 830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 831 case $ac_user_opts in
 832 *"
 833"enable_$ac_useropt"
 834"*) ;;
 835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 836 ac_unrecognized_sep=', ';;
 837 esac
 838 eval enable_$ac_useropt=no ;;
804 839
805 -docdir | --docdir | --docdi | --doc | --do) 840 -docdir | --docdir | --docdi | --doc | --do)
806 ac_prev=docdir ;; 841 ac_prev=docdir ;;
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 docdir=$ac_optarg ;; 843 docdir=$ac_optarg ;;
809 844
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 ac_prev=dvidir ;; 846 ac_prev=dvidir ;;
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 dvidir=$ac_optarg ;; 848 dvidir=$ac_optarg ;;
814 849
815 -enable-* | --enable-*) 850 -enable-* | --enable-*)
816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names. 852 # Reject names that are not valid shell variable names.
818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 854 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
820 { (exit 1); exit 1; }; } 855 { (exit 1); exit 1; }; }
821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 856 ac_useropt_orig=$ac_useropt
822 eval enable_$ac_feature=\$ac_optarg ;; 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 858 case $ac_user_opts in
 859 *"
 860"enable_$ac_useropt"
 861"*) ;;
 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 863 ac_unrecognized_sep=', ';;
 864 esac
 865 eval enable_$ac_useropt=\$ac_optarg ;;
823 866
824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826 | --exec | --exe | --ex) 869 | --exec | --exe | --ex)
827 ac_prev=exec_prefix ;; 870 ac_prev=exec_prefix ;;
828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830 | --exec=* | --exe=* | --ex=*) 873 | --exec=* | --exe=* | --ex=*)
831 exec_prefix=$ac_optarg ;; 874 exec_prefix=$ac_optarg ;;
832 875
833 -gas | --gas | --ga | --g) 876 -gas | --gas | --ga | --g)
834 # Obsolete; use --with-gas. 877 # Obsolete; use --with-gas.
835 with_gas=yes ;; 878 with_gas=yes ;;
836 879
837 -help | --help | --hel | --he | -h) 880 -help | --help | --hel | --he | -h)
838 ac_init_help=long ;; 881 ac_init_help=long ;;
839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840 ac_init_help=recursive ;; 883 ac_init_help=recursive ;;
841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842 ac_init_help=short ;; 885 ac_init_help=short ;;
843 886
844 -host | --host | --hos | --ho) 887 -host | --host | --hos | --ho)
845 ac_prev=host_alias ;; 888 ac_prev=host_alias ;;
846 -host=* | --host=* | --hos=* | --ho=*) 889 -host=* | --host=* | --hos=* | --ho=*)
847 host_alias=$ac_optarg ;; 890 host_alias=$ac_optarg ;;
848 891
849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
850 ac_prev=htmldir ;; 893 ac_prev=htmldir ;;
851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
852 | --ht=*) 895 | --ht=*)
853 htmldir=$ac_optarg ;; 896 htmldir=$ac_optarg ;;
854 897
855 -includedir | --includedir | --includedi | --included | --include \ 898 -includedir | --includedir | --includedi | --included | --include \
856 | --includ | --inclu | --incl | --inc) 899 | --includ | --inclu | --incl | --inc)
857 ac_prev=includedir ;; 900 ac_prev=includedir ;;
858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859 | --includ=* | --inclu=* | --incl=* | --inc=*) 902 | --includ=* | --inclu=* | --incl=* | --inc=*)
860 includedir=$ac_optarg ;; 903 includedir=$ac_optarg ;;
861 904
862 -infodir | --infodir | --infodi | --infod | --info | --inf) 905 -infodir | --infodir | --infodi | --infod | --info | --inf)
863 ac_prev=infodir ;; 906 ac_prev=infodir ;;
864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865 infodir=$ac_optarg ;; 908 infodir=$ac_optarg ;;
866 909
867 -libdir | --libdir | --libdi | --libd) 910 -libdir | --libdir | --libdi | --libd)
868 ac_prev=libdir ;; 911 ac_prev=libdir ;;
869 -libdir=* | --libdir=* | --libdi=* | --libd=*) 912 -libdir=* | --libdir=* | --libdi=* | --libd=*)
870 libdir=$ac_optarg ;; 913 libdir=$ac_optarg ;;
871 914
872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873 | --libexe | --libex | --libe) 916 | --libexe | --libex | --libe)
874 ac_prev=libexecdir ;; 917 ac_prev=libexecdir ;;
875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876 | --libexe=* | --libex=* | --libe=*) 919 | --libexe=* | --libex=* | --libe=*)
877 libexecdir=$ac_optarg ;; 920 libexecdir=$ac_optarg ;;
878 921
879 -localedir | --localedir | --localedi | --localed | --locale) 922 -localedir | --localedir | --localedi | --localed | --locale)
880 ac_prev=localedir ;; 923 ac_prev=localedir ;;
881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882 localedir=$ac_optarg ;; 925 localedir=$ac_optarg ;;
883 926
884 -localstatedir | --localstatedir | --localstatedi | --localstated \ 927 -localstatedir | --localstatedir | --localstatedi | --localstated \
885 | --localstate | --localstat | --localsta | --localst | --locals) 928 | --localstate | --localstat | --localsta | --localst | --locals)
886 ac_prev=localstatedir ;; 929 ac_prev=localstatedir ;;
887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889 localstatedir=$ac_optarg ;; 932 localstatedir=$ac_optarg ;;
890 933
891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
892 ac_prev=mandir ;; 935 ac_prev=mandir ;;
893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
894 mandir=$ac_optarg ;; 937 mandir=$ac_optarg ;;
895 938
896 -nfp | --nfp | --nf) 939 -nfp | --nfp | --nf)
897 # Obsolete; use --without-fp. 940 # Obsolete; use --without-fp.
898 with_fp=no ;; 941 with_fp=no ;;
899 942
900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
901 | --no-cr | --no-c | -n) 944 | --no-cr | --no-c | -n)
902 no_create=yes ;; 945 no_create=yes ;;
903 946
904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
906 no_recursion=yes ;; 949 no_recursion=yes ;;
907 950
908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910 | --oldin | --oldi | --old | --ol | --o) 953 | --oldin | --oldi | --old | --ol | --o)
911 ac_prev=oldincludedir ;; 954 ac_prev=oldincludedir ;;
912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915 oldincludedir=$ac_optarg ;; 958 oldincludedir=$ac_optarg ;;
916 959
917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
918 ac_prev=prefix ;; 961 ac_prev=prefix ;;
919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
920 prefix=$ac_optarg ;; 963 prefix=$ac_optarg ;;
921 964
922 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 965 -program-prefix | --program-prefix | --program-prefi | --program-pref \
923 | --program-pre | --program-pr | --program-p) 966 | --program-pre | --program-pr | --program-p)
924 ac_prev=program_prefix ;; 967 ac_prev=program_prefix ;;
925 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 968 -program-prefix=* | --program-prefix=* | --program-prefi=* \
926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927 program_prefix=$ac_optarg ;; 970 program_prefix=$ac_optarg ;;
928 971
929 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 972 -program-suffix | --program-suffix | --program-suffi | --program-suff \
930 | --program-suf | --program-su | --program-s) 973 | --program-suf | --program-su | --program-s)
931 ac_prev=program_suffix ;; 974 ac_prev=program_suffix ;;
932 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 975 -program-suffix=* | --program-suffix=* | --program-suffi=* \
933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934 program_suffix=$ac_optarg ;; 977 program_suffix=$ac_optarg ;;
935 978
936 -program-transform-name | --program-transform-name \ 979 -program-transform-name | --program-transform-name \
937 | --program-transform-nam | --program-transform-na \ 980 | --program-transform-nam | --program-transform-na \
938 | --program-transform-n | --program-transform- \ 981 | --program-transform-n | --program-transform- \
939 | --program-transform | --program-transfor \ 982 | --program-transform | --program-transfor \
940 | --program-transfo | --program-transf \ 983 | --program-transfo | --program-transf \
941 | --program-trans | --program-tran \ 984 | --program-trans | --program-tran \
942 | --progr-tra | --program-tr | --program-t) 985 | --progr-tra | --program-tr | --program-t)
943 ac_prev=program_transform_name ;; 986 ac_prev=program_transform_name ;;
944 -program-transform-name=* | --program-transform-name=* \ 987 -program-transform-name=* | --program-transform-name=* \
945 | --program-transform-nam=* | --program-transform-na=* \ 988 | --program-transform-nam=* | --program-transform-na=* \
946 | --program-transform-n=* | --program-transform-=* \ 989 | --program-transform-n=* | --program-transform-=* \
947 | --program-transform=* | --program-transfor=* \ 990 | --program-transform=* | --program-transfor=* \
948 | --program-transfo=* | --program-transf=* \ 991 | --program-transfo=* | --program-transf=* \
949 | --program-trans=* | --program-tran=* \ 992 | --program-trans=* | --program-tran=* \
950 | --progr-tra=* | --program-tr=* | --program-t=*) 993 | --progr-tra=* | --program-tr=* | --program-t=*)
951 program_transform_name=$ac_optarg ;; 994 program_transform_name=$ac_optarg ;;
952 995
953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
954 ac_prev=pdfdir ;; 997 ac_prev=pdfdir ;;
955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
956 pdfdir=$ac_optarg ;; 999 pdfdir=$ac_optarg ;;
957 1000
958 -psdir | --psdir | --psdi | --psd | --ps) 1001 -psdir | --psdir | --psdi | --psd | --ps)
959 ac_prev=psdir ;; 1002 ac_prev=psdir ;;
960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
961 psdir=$ac_optarg ;; 1004 psdir=$ac_optarg ;;
962 1005
963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
964 | -silent | --silent | --silen | --sile | --sil) 1007 | -silent | --silent | --silen | --sile | --sil)
965 silent=yes ;; 1008 silent=yes ;;
966 1009
967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
968 ac_prev=sbindir ;; 1011 ac_prev=sbindir ;;
969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
970 | --sbi=* | --sb=*) 1013 | --sbi=* | --sb=*)
971 sbindir=$ac_optarg ;; 1014 sbindir=$ac_optarg ;;
972 1015
973 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \
974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975 | --sharedst | --shareds | --shared | --share | --shar \ 1018 | --sharedst | --shareds | --shared | --share | --shar \
976 | --sha | --sh) 1019 | --sha | --sh)
977 ac_prev=sharedstatedir ;; 1020 ac_prev=sharedstatedir ;;
978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
981 | --sha=* | --sh=*) 1024 | --sha=* | --sh=*)
982 sharedstatedir=$ac_optarg ;; 1025 sharedstatedir=$ac_optarg ;;
983 1026
984 -site | --site | --sit) 1027 -site | --site | --sit)
985 ac_prev=site ;; 1028 ac_prev=site ;;
986 -site=* | --site=* | --sit=*) 1029 -site=* | --site=* | --sit=*)
987 site=$ac_optarg ;; 1030 site=$ac_optarg ;;
988 1031
989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
990 ac_prev=srcdir ;; 1033 ac_prev=srcdir ;;
991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
992 srcdir=$ac_optarg ;; 1035 srcdir=$ac_optarg ;;
993 1036
994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995 | --syscon | --sysco | --sysc | --sys | --sy) 1038 | --syscon | --sysco | --sysc | --sys | --sy)
996 ac_prev=sysconfdir ;; 1039 ac_prev=sysconfdir ;;
997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999 sysconfdir=$ac_optarg ;; 1042 sysconfdir=$ac_optarg ;;
1000 1043
1001 -target | --target | --targe | --targ | --tar | --ta | --t) 1044 -target | --target | --targe | --targ | --tar | --ta | --t)
1002 ac_prev=target_alias ;; 1045 ac_prev=target_alias ;;
1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004 target_alias=$ac_optarg ;; 1047 target_alias=$ac_optarg ;;
1005 1048
1006 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1049 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1007 verbose=yes ;; 1050 verbose=yes ;;
1008 1051
1009 -version | --version | --versio | --versi | --vers | -V) 1052 -version | --version | --versio | --versi | --vers | -V)
1010 ac_init_version=: ;; 1053 ac_init_version=: ;;
1011 1054
1012 -with-* | --with-*) 1055 -with-* | --with-*)
1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1056 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names. 1057 # Reject names that are not valid shell variable names.
1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid package name: $ac_package" >&2 1059 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1017 { (exit 1); exit 1; }; } 1060 { (exit 1); exit 1; }; }
1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1061 ac_useropt_orig=$ac_useropt
1019 eval with_$ac_package=\$ac_optarg ;; 1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1063 case $ac_user_opts in
 1064 *"
 1065"with_$ac_useropt"
 1066"*) ;;
 1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1068 ac_unrecognized_sep=', ';;
 1069 esac
 1070 eval with_$ac_useropt=\$ac_optarg ;;
1020 1071
1021 -without-* | --without-*) 1072 -without-* | --without-*)
1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023 # Reject names that are not valid shell variable names. 1074 # Reject names that are not valid shell variable names.
1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 { echo "$as_me: error: invalid package name: $ac_package" >&2 1076 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1026 { (exit 1); exit 1; }; } 1077 { (exit 1); exit 1; }; }
1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1078 ac_useropt_orig=$ac_useropt
1028 eval with_$ac_package=no ;; 1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1080 case $ac_user_opts in
 1081 *"
 1082"with_$ac_useropt"
 1083"*) ;;
 1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1085 ac_unrecognized_sep=', ';;
 1086 esac
 1087 eval with_$ac_useropt=no ;;
1029 1088
1030 --x) 1089 --x)
1031 # Obsolete; use --with-x. 1090 # Obsolete; use --with-x.
1032 with_x=yes ;; 1091 with_x=yes ;;
1033 1092
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i) 1094 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;; 1095 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;; 1098 x_includes=$ac_optarg ;;
1040 1099
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1100 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;; 1102 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;; 1105 x_libraries=$ac_optarg ;;
1047 1106
1048 -*) { echo "$as_me: error: unrecognized option: $ac_option 1107 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1049Try \`$0 --help' for more information." >&2 1108Try \`$0 --help' for more information." >&2
1050 { (exit 1); exit 1; }; } 1109 { (exit 1); exit 1; }; }
1051 ;; 1110 ;;
1052 1111
1053 *=*) 1112 *=*)
1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names. 1114 # Reject names that are not valid shell variable names.
1056 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1115 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1116 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1058 { (exit 1); exit 1; }; } 1117 { (exit 1); exit 1; }; }
1059 eval $ac_envvar=\$ac_optarg 1118 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;; 1119 export $ac_envvar ;;
1061 1120
1062 *) 1121 *)
1063 # FIXME: should be removed in autoconf 3.0. 1122 # FIXME: should be removed in autoconf 3.0.
1064 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1126 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1068 ;; 1127 ;;
1069 1128
1070 esac 1129 esac
1071done 1130done
1072 1131
1073if test -n "$ac_prev"; then 1132if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 { echo "$as_me: error: missing argument to $ac_option" >&2 1134 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1076 { (exit 1); exit 1; }; } 1135 { (exit 1); exit 1; }; }
1077fi 1136fi
1078 1137
1079# Be sure to have absolute directory names. 1138if test -n "$ac_unrecognized_opts"; then
 1139 case $enable_option_checking in
 1140 no) ;;
 1141 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 1142 { (exit 1); exit 1; }; } ;;
 1143 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1144 esac
 1145fi
 1146
 1147# Check all directory arguments for consistency.
1080for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1148for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1081 datadir sysconfdir sharedstatedir localstatedir includedir \ 1149 datadir sysconfdir sharedstatedir localstatedir includedir \
1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1150 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1083 libdir localedir mandir 1151 libdir localedir mandir
1084do 1152do
1085 eval ac_val=\$$ac_var 1153 eval ac_val=\$$ac_var
 1154 # Remove trailing slashes.
 1155 case $ac_val in
 1156 */ )
 1157 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1158 eval $ac_var=\$ac_val;;
 1159 esac
 1160 # Be sure to have absolute directory names.
1086 case $ac_val in 1161 case $ac_val in
1087 [\\/$]* | ?:[\\/]* ) continue;; 1162 [\\/$]* | ?:[\\/]* ) continue;;
1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1163 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1089 esac 1164 esac
1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1165 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1091 { (exit 1); exit 1; }; } 1166 { (exit 1); exit 1; }; }
1092done 1167done
1093 1168
1094# There might be people who depend on the old broken behavior: `$host' 1169# There might be people who depend on the old broken behavior: `$host'
1095# used to hold the argument of --host etc. 1170# used to hold the argument of --host etc.
1096# FIXME: To remove some day. 1171# FIXME: To remove some day.
1097build=$build_alias 1172build=$build_alias
1098host=$host_alias 1173host=$host_alias
1099target=$target_alias 1174target=$target_alias
1100 1175
1101# FIXME: To remove some day. 1176# FIXME: To remove some day.
1102if test "x$host_alias" != x; then 1177if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then 1178 if test "x$build_alias" = x; then
1104 cross_compiling=maybe 1179 cross_compiling=maybe
1105 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1180 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used." >&2 1181 If a cross compiler is detected then cross compile mode will be used." >&2
1107 elif test "x$build_alias" != "x$host_alias"; then 1182 elif test "x$build_alias" != "x$host_alias"; then
1108 cross_compiling=yes 1183 cross_compiling=yes
1109 fi 1184 fi
1110fi 1185fi
1111 1186
1112ac_tool_prefix= 1187ac_tool_prefix=
1113test -n "$host_alias" && ac_tool_prefix=$host_alias- 1188test -n "$host_alias" && ac_tool_prefix=$host_alias-
1114 1189
1115test "$silent" = yes && exec 6>/dev/null 1190test "$silent" = yes && exec 6>/dev/null
1116 1191
1117 1192
1118ac_pwd=`pwd` && test -n "$ac_pwd" && 1193ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119ac_ls_di=`ls -di .` && 1194ac_ls_di=`ls -di .` &&
1120ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1195ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 { echo "$as_me: error: Working directory cannot be determined" >&2 1196 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1122 { (exit 1); exit 1; }; } 1197 { (exit 1); exit 1; }; }
1123test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1198test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124 { echo "$as_me: error: pwd does not report name of working directory" >&2 1199 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1125 { (exit 1); exit 1; }; } 1200 { (exit 1); exit 1; }; }
1126 1201
1127 1202
1128# Find the source files, if location was not specified. 1203# Find the source files, if location was not specified.
1129if test -z "$srcdir"; then 1204if test -z "$srcdir"; then
1130 ac_srcdir_defaulted=yes 1205 ac_srcdir_defaulted=yes
1131 # Try the directory containing this script, then the parent directory. 1206 # Try the directory containing this script, then the parent directory.
1132 ac_confdir=`$as_dirname -- "$0" || 1207 ac_confdir=`$as_dirname -- "$as_myself" ||
1133$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1208$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134 X"$0" : 'X\(//\)[^/]' \| \ 1209 X"$as_myself" : 'X\(//\)[^/]' \| \
1135 X"$0" : 'X\(//\)$' \| \ 1210 X"$as_myself" : 'X\(//\)$' \| \
1136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1137echo X"$0" | 1212$as_echo X"$as_myself" |
1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1139 s//\1/ 1214 s//\1/
1140 q 1215 q
1141 } 1216 }
1142 /^X\(\/\/\)[^/].*/{ 1217 /^X\(\/\/\)[^/].*/{
1143 s//\1/ 1218 s//\1/
1144 q 1219 q
1145 } 1220 }
1146 /^X\(\/\/\)$/{ 1221 /^X\(\/\/\)$/{
1147 s//\1/ 1222 s//\1/
1148 q 1223 q
1149 } 1224 }
1150 /^X\(\/\).*/{ 1225 /^X\(\/\).*/{
1151 s//\1/ 1226 s//\1/
1152 q 1227 q
1153 } 1228 }
1154 s/.*/./; q'` 1229 s/.*/./; q'`
1155 srcdir=$ac_confdir 1230 srcdir=$ac_confdir
1156 if test ! -r "$srcdir/$ac_unique_file"; then 1231 if test ! -r "$srcdir/$ac_unique_file"; then
1157 srcdir=.. 1232 srcdir=..
1158 fi 1233 fi
1159else 1234else
1160 ac_srcdir_defaulted=no 1235 ac_srcdir_defaulted=no
1161fi 1236fi
1162if test ! -r "$srcdir/$ac_unique_file"; then 1237if test ! -r "$srcdir/$ac_unique_file"; then
1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1239 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1165 { (exit 1); exit 1; }; } 1240 { (exit 1); exit 1; }; }
1166fi 1241fi
1167ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1242ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1168ac_abs_confdir=`( 1243ac_abs_confdir=`(
1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1244 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1170 { (exit 1); exit 1; }; } 1245 { (exit 1); exit 1; }; }
1171 pwd)` 1246 pwd)`
1172# When building in place, set srcdir=. 1247# When building in place, set srcdir=.
1173if test "$ac_abs_confdir" = "$ac_pwd"; then 1248if test "$ac_abs_confdir" = "$ac_pwd"; then
1174 srcdir=. 1249 srcdir=.
1175fi 1250fi
1176# Remove unnecessary trailing slashes from srcdir. 1251# Remove unnecessary trailing slashes from srcdir.
1177# Double slashes in file names in object file debugging info 1252# Double slashes in file names in object file debugging info
1178# mess up M-x gdb in Emacs. 1253# mess up M-x gdb in Emacs.
1179case $srcdir in 1254case $srcdir in
1180*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1255*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1181esac 1256esac
1182for ac_var in $ac_precious_vars; do 1257for ac_var in $ac_precious_vars; do
1183 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1258 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1184 eval ac_env_${ac_var}_value=\$${ac_var} 1259 eval ac_env_${ac_var}_value=\$${ac_var}
1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1260 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1186 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1261 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1187done 1262done
1188 1263
1189# 1264#
1190# Report the --help message. 1265# Report the --help message.
1191# 1266#
1192if test "$ac_init_help" = "long"; then 1267if test "$ac_init_help" = "long"; then
1193 # Omit some internal or obsolete options to make the list less imposing. 1268 # Omit some internal or obsolete options to make the list less imposing.
1194 # This message is too long to be a string in the A/UX 3.1 sh. 1269 # This message is too long to be a string in the A/UX 3.1 sh.
1195 cat <<_ACEOF 1270 cat <<_ACEOF
1196\`configure' configures nbsd-digest 20070803 to adapt to many kinds of systems. 1271\`configure' configures nbsd-digest 20080509 to adapt to many kinds of systems.
1197 1272
1198Usage: $0 [OPTION]... [VAR=VALUE]... 1273Usage: $0 [OPTION]... [VAR=VALUE]...
1199 1274
1200To assign environment variables (e.g., CC, CFLAGS...), specify them as 1275To assign environment variables (e.g., CC, CFLAGS...), specify them as
1201VAR=VALUE. See below for descriptions of some of the useful variables. 1276VAR=VALUE. See below for descriptions of some of the useful variables.
1202 1277
1203Defaults for the options are specified in brackets. 1278Defaults for the options are specified in brackets.
1204 1279
1205Configuration: 1280Configuration:
1206 -h, --help display this help and exit 1281 -h, --help display this help and exit
1207 --help=short display options specific to this package 1282 --help=short display options specific to this package
1208 --help=recursive display the short help of all the included packages 1283 --help=recursive display the short help of all the included packages
1209 -V, --version display version information and exit 1284 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages 1285 -q, --quiet, --silent do not print \`checking...' messages
1211 --cache-file=FILE cache test results in FILE [disabled] 1286 --cache-file=FILE cache test results in FILE [disabled]
1212 -C, --config-cache alias for \`--cache-file=config.cache' 1287 -C, --config-cache alias for \`--cache-file=config.cache'
1213 -n, --no-create do not create output files 1288 -n, --no-create do not create output files
1214 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1215 1290
1216Installation directories: 1291Installation directories:
1217 --prefix=PREFIX install architecture-independent files in PREFIX 1292 --prefix=PREFIX install architecture-independent files in PREFIX
1218 [$ac_default_prefix] 1293 [$ac_default_prefix]
1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1220 [PREFIX] 1295 [PREFIX]
1221 1296
1222By default, \`make install' will install all the files in 1297By default, \`make install' will install all the files in
1223\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1298\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1224an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1299an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1225for instance \`--prefix=\$HOME'. 1300for instance \`--prefix=\$HOME'.
1226 1301
1227For better control, use the options below. 1302For better control, use the options below.
1228 1303
1229Fine tuning of the installation directories: 1304Fine tuning of the installation directories:
1230 --bindir=DIR user executables [EPREFIX/bin] 1305 --bindir=DIR user executables [EPREFIX/bin]
1231 --sbindir=DIR system admin executables [EPREFIX/sbin] 1306 --sbindir=DIR system admin executables [EPREFIX/sbin]
1232 --libexecdir=DIR program executables [EPREFIX/libexec] 1307 --libexecdir=DIR program executables [EPREFIX/libexec]
1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1236 --libdir=DIR object code libraries [EPREFIX/lib] 1311 --libdir=DIR object code libraries [EPREFIX/lib]
1237 --includedir=DIR C header files [PREFIX/include] 1312 --includedir=DIR C header files [PREFIX/include]
1238 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1313 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1241 --infodir=DIR info documentation [DATAROOTDIR/info] 1316 --infodir=DIR info documentation [DATAROOTDIR/info]
1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1243 --mandir=DIR man documentation [DATAROOTDIR/man] 1318 --mandir=DIR man documentation [DATAROOTDIR/man]
1244 --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest] 1319 --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest]
1245 --htmldir=DIR html documentation [DOCDIR] 1320 --htmldir=DIR html documentation [DOCDIR]
1246 --dvidir=DIR dvi documentation [DOCDIR] 1321 --dvidir=DIR dvi documentation [DOCDIR]
1247 --pdfdir=DIR pdf documentation [DOCDIR] 1322 --pdfdir=DIR pdf documentation [DOCDIR]
1248 --psdir=DIR ps documentation [DOCDIR] 1323 --psdir=DIR ps documentation [DOCDIR]
1249_ACEOF 1324_ACEOF
1250 1325
1251 cat <<\_ACEOF 1326 cat <<\_ACEOF
1252 1327
1253Program names: 1328Program names:
1254 --program-prefix=PREFIX prepend PREFIX to installed program names 1329 --program-prefix=PREFIX prepend PREFIX to installed program names
1255 --program-suffix=SUFFIX append SUFFIX to installed program names 1330 --program-suffix=SUFFIX append SUFFIX to installed program names
1256 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1257 1332
1258System types: 1333System types:
1259 --build=BUILD configure for building on BUILD [guessed] 1334 --build=BUILD configure for building on BUILD [guessed]
1260 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1335 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1261_ACEOF 1336_ACEOF
1262fi 1337fi
1263 1338
1264if test -n "$ac_init_help"; then 1339if test -n "$ac_init_help"; then
1265 case $ac_init_help in 1340 case $ac_init_help in
1266 short | recursive ) echo "Configuration of nbsd-digest 20070803:";; 1341 short | recursive ) echo "Configuration of nbsd-digest 20080509:";;
1267 esac 1342 esac
1268 cat <<\_ACEOF 1343 cat <<\_ACEOF
1269 1344
1270Some influential environment variables: 1345Some influential environment variables:
1271 CC C compiler command 1346 CC C compiler command
1272 CFLAGS C compiler flags 1347 CFLAGS C compiler flags
1273 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1274 nonstandard directory <lib dir> 1349 nonstandard directory <lib dir>
1275 LIBS libraries to pass to the linker, e.g. -l<library> 1350 LIBS libraries to pass to the linker, e.g. -l<library>
1276 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1351 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1277 you have headers in a nonstandard directory <include dir> 1352 you have headers in a nonstandard directory <include dir>
1278 CPP C preprocessor 1353 CPP C preprocessor
1279 1354
1280Use these variables to override the choices made by `configure' or to help 1355Use these variables to override the choices made by `configure' or to help
1281it to find libraries and programs with nonstandard names/locations. 1356it to find libraries and programs with nonstandard names/locations.
1282 1357
1283Report bugs to <agc@netbsd.org>. 1358Report bugs to <agc@netbsd.org>.
1284_ACEOF 1359_ACEOF
1285ac_status=$? 1360ac_status=$?
1286fi 1361fi
1287 1362
1288if test "$ac_init_help" = "recursive"; then 1363if test "$ac_init_help" = "recursive"; then
1289 # If there are subdirs, report their specific --help. 1364 # If there are subdirs, report their specific --help.
1290 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1291 test -d "$ac_dir" || continue 1366 test -d "$ac_dir" ||
 1367 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1368 continue
1292 ac_builddir=. 1369 ac_builddir=.
1293 1370
1294case "$ac_dir" in 1371case "$ac_dir" in
1295.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1372.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296*) 1373*)
1297 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1374 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix. 1375 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1376 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in 1377 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 esac ;; 1380 esac ;;
1304esac 1381esac
1305ac_abs_top_builddir=$ac_pwd 1382ac_abs_top_builddir=$ac_pwd
1306ac_abs_builddir=$ac_pwd$ac_dir_suffix 1383ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307# for backward compatibility: 1384# for backward compatibility:
1308ac_top_builddir=$ac_top_build_prefix 1385ac_top_builddir=$ac_top_build_prefix
1309 1386
1310case $srcdir in 1387case $srcdir in
1311 .) # We are building in place. 1388 .) # We are building in place.
1312 ac_srcdir=. 1389 ac_srcdir=.
1313 ac_top_srcdir=$ac_top_builddir_sub 1390 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;; 1391 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name. 1392 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix; 1393 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir 1394 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;; 1395 ac_abs_top_srcdir=$srcdir ;;
1319 *) # Relative name. 1396 *) # Relative name.
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir 1398 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323esac 1400esac
1324ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1401ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325 1402
1326 cd "$ac_dir" || { ac_status=$?; continue; } 1403 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure. 1404 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then 1405 if test -f "$ac_srcdir/configure.gnu"; then
1329 echo && 1406 echo &&
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then 1408 elif test -f "$ac_srcdir/configure"; then
1332 echo && 1409 echo &&
1333 $SHELL "$ac_srcdir/configure" --help=recursive 1410 $SHELL "$ac_srcdir/configure" --help=recursive
1334 else 1411 else
1335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1412 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi || ac_status=$? 1413 fi || ac_status=$?
1337 cd "$ac_pwd" || { ac_status=$?; break; } 1414 cd "$ac_pwd" || { ac_status=$?; break; }
1338 done 1415 done
1339fi 1416fi
1340 1417
1341test -n "$ac_init_help" && exit $ac_status 1418test -n "$ac_init_help" && exit $ac_status
1342if $ac_init_version; then 1419if $ac_init_version; then
1343 cat <<\_ACEOF 1420 cat <<\_ACEOF
1344nbsd-digest configure 20070803 1421nbsd-digest configure 20080509
1345generated by GNU Autoconf 2.61 1422generated by GNU Autoconf 2.62
1346 1423
1347Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1424Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13482002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 14252002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1349This configure script is free software; the Free Software Foundation 1426This configure script is free software; the Free Software Foundation
1350gives unlimited permission to copy, distribute and modify it. 1427gives unlimited permission to copy, distribute and modify it.
1351_ACEOF 1428_ACEOF
1352 exit 1429 exit
1353fi 1430fi
1354cat >config.log <<_ACEOF 1431cat >config.log <<_ACEOF
1355This file contains any messages produced by compilers while 1432This file contains any messages produced by compilers while
1356running configure, to aid debugging if configure makes a mistake. 1433running configure, to aid debugging if configure makes a mistake.
1357 1434
1358It was created by nbsd-digest $as_me 20070803, which was 1435It was created by nbsd-digest $as_me 20080509, which was
1359generated by GNU Autoconf 2.61. Invocation command line was 1436generated by GNU Autoconf 2.62. Invocation command line was
1360 1437
1361 $ $0 $@ 1438 $ $0 $@
1362 1439
1363_ACEOF 1440_ACEOF
1364exec 5>>config.log 1441exec 5>>config.log
1365{ 1442{
1366cat <<_ASUNAME 1443cat <<_ASUNAME
1367## --------- ## 1444## --------- ##
1368## Platform. ## 1445## Platform. ##
1369## --------- ## 1446## --------- ##
1370 1447
1371hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1448hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1372uname -m = `(uname -m) 2>/dev/null || echo unknown` 1449uname -m = `(uname -m) 2>/dev/null || echo unknown`
1373uname -r = `(uname -r) 2>/dev/null || echo unknown` 1450uname -r = `(uname -r) 2>/dev/null || echo unknown`
1374uname -s = `(uname -s) 2>/dev/null || echo unknown` 1451uname -s = `(uname -s) 2>/dev/null || echo unknown`
1375uname -v = `(uname -v) 2>/dev/null || echo unknown` 1452uname -v = `(uname -v) 2>/dev/null || echo unknown`
1376 1453
1377/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1454/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1378/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1455/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1379 1456
1380/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1457/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1381/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1458/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1382/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1459/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1383/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1460/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1384/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1461/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1385/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1462/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1386/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1463/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1387 1464
1388_ASUNAME 1465_ASUNAME
1389 1466
1390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391for as_dir in $PATH 1468for as_dir in $PATH
1392do 1469do
1393 IFS=$as_save_IFS 1470 IFS=$as_save_IFS
1394 test -z "$as_dir" && as_dir=. 1471 test -z "$as_dir" && as_dir=.
1395 echo "PATH: $as_dir" 1472 $as_echo "PATH: $as_dir"
1396done 1473done
1397IFS=$as_save_IFS 1474IFS=$as_save_IFS
1398 1475
1399} >&5 1476} >&5
1400 1477
1401cat >&5 <<_ACEOF 1478cat >&5 <<_ACEOF
1402 1479
1403 1480
1404## ----------- ## 1481## ----------- ##
1405## Core tests. ## 1482## Core tests. ##
1406## ----------- ## 1483## ----------- ##
1407 1484
1408_ACEOF 1485_ACEOF
1409 1486
1410 1487
1411# Keep a trace of the command line. 1488# Keep a trace of the command line.
1412# Strip out --no-create and --no-recursion so they do not pile up. 1489# Strip out --no-create and --no-recursion so they do not pile up.
1413# Strip out --silent because we don't want to record it for future runs. 1490# Strip out --silent because we don't want to record it for future runs.
1414# Also quote any args containing shell meta-characters. 1491# Also quote any args containing shell meta-characters.
1415# Make two passes to allow for proper duplicate-argument suppression. 1492# Make two passes to allow for proper duplicate-argument suppression.
1416ac_configure_args= 1493ac_configure_args=
1417ac_configure_args0= 1494ac_configure_args0=
1418ac_configure_args1= 1495ac_configure_args1=
1419ac_must_keep_next=false 1496ac_must_keep_next=false
1420for ac_pass in 1 2 1497for ac_pass in 1 2
1421do 1498do
1422 for ac_arg 1499 for ac_arg
1423 do 1500 do
1424 case $ac_arg in 1501 case $ac_arg in
1425 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1502 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1427 | -silent | --silent | --silen | --sile | --sil) 1504 | -silent | --silent | --silen | --sile | --sil)
1428 continue ;; 1505 continue ;;
1429 *\'*) 1506 *\'*)
1430 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1507 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 esac 1508 esac
1432 case $ac_pass in 1509 case $ac_pass in
1433 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1510 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1434 2) 1511 2)
1435 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1512 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1436 if test $ac_must_keep_next = true; then 1513 if test $ac_must_keep_next = true; then
1437 ac_must_keep_next=false # Got value, back to normal. 1514 ac_must_keep_next=false # Got value, back to normal.
1438 else 1515 else
1439 case $ac_arg in 1516 case $ac_arg in
1440 *=* | --config-cache | -C | -disable-* | --disable-* \ 1517 *=* | --config-cache | -C | -disable-* | --disable-* \
1441 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1518 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1442 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1519 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1443 | -with-* | --with-* | -without-* | --without-* | --x) 1520 | -with-* | --with-* | -without-* | --without-* | --x)
1444 case "$ac_configure_args0 " in 1521 case "$ac_configure_args0 " in
1445 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1522 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1446 esac 1523 esac
1447 ;; 1524 ;;
1448 -* ) ac_must_keep_next=true ;; 1525 -* ) ac_must_keep_next=true ;;
1449 esac 1526 esac
1450 fi 1527 fi
1451 ac_configure_args="$ac_configure_args '$ac_arg'" 1528 ac_configure_args="$ac_configure_args '$ac_arg'"
1452 ;; 1529 ;;
1453 esac 1530 esac
1454 done 1531 done
1455done 1532done
1456$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1533$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1457$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1534$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1458 1535
1459# When interrupted or exit'd, cleanup temporary files, and complete 1536# When interrupted or exit'd, cleanup temporary files, and complete
1460# config.log. We remove comments because anyway the quotes in there 1537# config.log. We remove comments because anyway the quotes in there
1461# would cause problems or look ugly. 1538# would cause problems or look ugly.
1462# WARNING: Use '\'' to represent an apostrophe within the trap. 1539# WARNING: Use '\'' to represent an apostrophe within the trap.
1463# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1540# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1464trap 'exit_status=$? 1541trap 'exit_status=$?
1465 # Save into config.log some information that might help in debugging. 1542 # Save into config.log some information that might help in debugging.
1466 { 1543 {
1467 echo 1544 echo
1468 1545
1469 cat <<\_ASBOX 1546 cat <<\_ASBOX
1470## ---------------- ## 1547## ---------------- ##
1471## Cache variables. ## 1548## Cache variables. ##
1472## ---------------- ## 1549## ---------------- ##
1473_ASBOX 1550_ASBOX
1474 echo 1551 echo
1475 # The following way of writing the cache mishandles newlines in values, 1552 # The following way of writing the cache mishandles newlines in values,
1476( 1553(
1477 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1478 eval ac_val=\$$ac_var 1555 eval ac_val=\$$ac_var
1479 case $ac_val in #( 1556 case $ac_val in #(
1480 *${as_nl}*) 1557 *${as_nl}*)
1481 case $ac_var in #( 1558 case $ac_var in #(
1482 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1559 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1483echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1560$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1484 esac 1561 esac
1485 case $ac_var in #( 1562 case $ac_var in #(
1486 _ | IFS | as_nl) ;; #( 1563 _ | IFS | as_nl) ;; #(
 1564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1487 *) $as_unset $ac_var ;; 1565 *) $as_unset $ac_var ;;
1488 esac ;; 1566 esac ;;
1489 esac 1567 esac
1490 done 1568 done
1491 (set) 2>&1 | 1569 (set) 2>&1 |
1492 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1493 *${as_nl}ac_space=\ *) 1571 *${as_nl}ac_space=\ *)
1494 sed -n \ 1572 sed -n \
1495 "s/'\''/'\''\\\\'\'''\''/g; 1573 "s/'\''/'\''\\\\'\'''\''/g;
1496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1497 ;; #( 1575 ;; #(
1498 *) 1576 *)
1499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1500 ;; 1578 ;;
1501 esac | 1579 esac |
1502 sort 1580 sort
1503) 1581)
1504 echo 1582 echo
1505 1583
1506 cat <<\_ASBOX 1584 cat <<\_ASBOX
1507## ----------------- ## 1585## ----------------- ##
1508## Output variables. ## 1586## Output variables. ##
1509## ----------------- ## 1587## ----------------- ##
1510_ASBOX 1588_ASBOX
1511 echo 1589 echo
1512 for ac_var in $ac_subst_vars 1590 for ac_var in $ac_subst_vars
1513 do 1591 do
1514 eval ac_val=\$$ac_var 1592 eval ac_val=\$$ac_var
1515 case $ac_val in 1593 case $ac_val in
1516 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1594 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 esac 1595 esac
1518 echo "$ac_var='\''$ac_val'\''" 1596 $as_echo "$ac_var='\''$ac_val'\''"
1519 done | sort 1597 done | sort
1520 echo 1598 echo
1521 1599
1522 if test -n "$ac_subst_files"; then 1600 if test -n "$ac_subst_files"; then
1523 cat <<\_ASBOX 1601 cat <<\_ASBOX
1524## ------------------- ## 1602## ------------------- ##
1525## File substitutions. ## 1603## File substitutions. ##
1526## ------------------- ## 1604## ------------------- ##
1527_ASBOX 1605_ASBOX
1528 echo 1606 echo
1529 for ac_var in $ac_subst_files 1607 for ac_var in $ac_subst_files
1530 do 1608 do
1531 eval ac_val=\$$ac_var 1609 eval ac_val=\$$ac_var
1532 case $ac_val in 1610 case $ac_val in
1533 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1611 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 esac 1612 esac
1535 echo "$ac_var='\''$ac_val'\''" 1613 $as_echo "$ac_var='\''$ac_val'\''"
1536 done | sort 1614 done | sort
1537 echo 1615 echo
1538 fi 1616 fi
1539 1617
1540 if test -s confdefs.h; then 1618 if test -s confdefs.h; then
1541 cat <<\_ASBOX 1619 cat <<\_ASBOX
1542## ----------- ## 1620## ----------- ##
1543## confdefs.h. ## 1621## confdefs.h. ##
1544## ----------- ## 1622## ----------- ##
1545_ASBOX 1623_ASBOX
1546 echo 1624 echo
1547 cat confdefs.h 1625 cat confdefs.h
1548 echo 1626 echo
1549 fi 1627 fi
1550 test "$ac_signal" != 0 && 1628 test "$ac_signal" != 0 &&
1551 echo "$as_me: caught signal $ac_signal" 1629 $as_echo "$as_me: caught signal $ac_signal"
1552 echo "$as_me: exit $exit_status" 1630 $as_echo "$as_me: exit $exit_status"
1553 } >&5 1631 } >&5
1554 rm -f core *.core core.conftest.* && 1632 rm -f core *.core core.conftest.* &&
1555 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1556 exit $exit_status 1634 exit $exit_status
1557' 0 1635' 0
1558for ac_signal in 1 2 13 15; do 1636for ac_signal in 1 2 13 15; do
1559 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1637 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1560done 1638done
1561ac_signal=0 1639ac_signal=0
1562 1640
1563# confdefs.h avoids OS command line length limits that DEFS can exceed. 1641# confdefs.h avoids OS command line length limits that DEFS can exceed.
1564rm -f -r conftest* confdefs.h 1642rm -f -r conftest* confdefs.h
1565 1643
1566# Predefined preprocessor variables. 1644# Predefined preprocessor variables.
1567 1645
1568cat >>confdefs.h <<_ACEOF 1646cat >>confdefs.h <<_ACEOF
1569#define PACKAGE_NAME "$PACKAGE_NAME" 1647#define PACKAGE_NAME "$PACKAGE_NAME"
1570_ACEOF 1648_ACEOF
1571 1649
1572 1650
1573cat >>confdefs.h <<_ACEOF 1651cat >>confdefs.h <<_ACEOF
1574#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1652#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1575_ACEOF 1653_ACEOF
1576 1654
1577 1655
1578cat >>confdefs.h <<_ACEOF 1656cat >>confdefs.h <<_ACEOF
1579#define PACKAGE_VERSION "$PACKAGE_VERSION" 1657#define PACKAGE_VERSION "$PACKAGE_VERSION"
1580_ACEOF 1658_ACEOF
1581 1659
1582 1660
1583cat >>confdefs.h <<_ACEOF 1661cat >>confdefs.h <<_ACEOF
1584#define PACKAGE_STRING "$PACKAGE_STRING" 1662#define PACKAGE_STRING "$PACKAGE_STRING"
1585_ACEOF 1663_ACEOF
1586 1664
1587 1665
1588cat >>confdefs.h <<_ACEOF 1666cat >>confdefs.h <<_ACEOF
1589#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1667#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1590_ACEOF 1668_ACEOF
1591 1669
1592 1670
1593# Let the site file select an alternate cache file if it wants to. 1671# Let the site file select an alternate cache file if it wants to.
1594# Prefer explicitly selected file to automatically selected ones. 1672# Prefer an explicitly selected file to automatically selected ones.
 1673ac_site_file1=NONE
 1674ac_site_file2=NONE
1595if test -n "$CONFIG_SITE"; then 1675if test -n "$CONFIG_SITE"; then
1596 set x "$CONFIG_SITE" 1676 ac_site_file1=$CONFIG_SITE
1597elif test "x$prefix" != xNONE; then 1677elif test "x$prefix" != xNONE; then
1598 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1678 ac_site_file1=$prefix/share/config.site
 1679 ac_site_file2=$prefix/etc/config.site
1599else 1680else
1600 set x "$ac_default_prefix/share/config.site" \ 1681 ac_site_file1=$ac_default_prefix/share/config.site
1601 "$ac_default_prefix/etc/config.site" 1682 ac_site_file2=$ac_default_prefix/etc/config.site
1602fi 1683fi
1603shift 1684for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1604for ac_site_file 
1605do 1685do
 1686 test "x$ac_site_file" = xNONE && continue
1606 if test -r "$ac_site_file"; then 1687 if test -r "$ac_site_file"; then
1607 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1688 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1608echo "$as_me: loading site script $ac_site_file" >&6;} 1689$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1609 sed 's/^/| /' "$ac_site_file" >&5 1690 sed 's/^/| /' "$ac_site_file" >&5
1610 . "$ac_site_file" 1691 . "$ac_site_file"
1611 fi 1692 fi
1612done 1693done
1613 1694
1614if test -r "$cache_file"; then 1695if test -r "$cache_file"; then
1615 # Some versions of bash will fail to source /dev/null (special 1696 # Some versions of bash will fail to source /dev/null (special
1616 # files actually), so we avoid doing that. 1697 # files actually), so we avoid doing that.
1617 if test -f "$cache_file"; then 1698 if test -f "$cache_file"; then
1618 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1699 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1619echo "$as_me: loading cache $cache_file" >&6;} 1700$as_echo "$as_me: loading cache $cache_file" >&6;}
1620 case $cache_file in 1701 case $cache_file in
1621 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1702 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1622 *) . "./$cache_file";; 1703 *) . "./$cache_file";;
1623 esac 1704 esac
1624 fi 1705 fi
1625else 1706else
1626 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1707 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1627echo "$as_me: creating cache $cache_file" >&6;} 1708$as_echo "$as_me: creating cache $cache_file" >&6;}
1628 >$cache_file 1709 >$cache_file
1629fi 1710fi
1630 1711
1631# Check that the precious variables saved in the cache have kept the same 1712# Check that the precious variables saved in the cache have kept the same
1632# value. 1713# value.
1633ac_cache_corrupted=false 1714ac_cache_corrupted=false
1634for ac_var in $ac_precious_vars; do 1715for ac_var in $ac_precious_vars; do
1635 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1716 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1636 eval ac_new_set=\$ac_env_${ac_var}_set 1717 eval ac_new_set=\$ac_env_${ac_var}_set
1637 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1718 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1638 eval ac_new_val=\$ac_env_${ac_var}_value 1719 eval ac_new_val=\$ac_env_${ac_var}_value
1639 case $ac_old_set,$ac_new_set in 1720 case $ac_old_set,$ac_new_set in
1640 set,) 1721 set,)
1641 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1722 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1642echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1723$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1643 ac_cache_corrupted=: ;; 1724 ac_cache_corrupted=: ;;
1644 ,set) 1725 ,set)
1645 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1726 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1646echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1727$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1647 ac_cache_corrupted=: ;; 1728 ac_cache_corrupted=: ;;
1648 ,);; 1729 ,);;
1649 *) 1730 *)
1650 if test "x$ac_old_val" != "x$ac_new_val"; then 1731 if test "x$ac_old_val" != "x$ac_new_val"; then
1651 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1732 # differences in whitespace do not lead to failure.
1652echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1733 ac_old_val_w=`echo x $ac_old_val`
1653 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1734 ac_new_val_w=`echo x $ac_new_val`
1654echo "$as_me: former value: $ac_old_val" >&2;} 1735 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1655 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1736 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1656echo "$as_me: current value: $ac_new_val" >&2;} 1737$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1657 ac_cache_corrupted=: 1738 ac_cache_corrupted=:
 1739 else
 1740 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 1741$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 1742 eval $ac_var=\$ac_old_val
 1743 fi
 1744 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
 1745$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
 1746 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
 1747$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1658 fi;; 1748 fi;;
1659 esac 1749 esac
1660 # Pass precious variables to config.status. 1750 # Pass precious variables to config.status.
1661 if test "$ac_new_set" = set; then 1751 if test "$ac_new_set" = set; then
1662 case $ac_new_val in 1752 case $ac_new_val in
1663 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1753 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1664 *) ac_arg=$ac_var=$ac_new_val ;; 1754 *) ac_arg=$ac_var=$ac_new_val ;;
1665 esac 1755 esac
1666 case " $ac_configure_args " in 1756 case " $ac_configure_args " in
1667 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1757 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1668 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1758 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1669 esac 1759 esac
1670 fi 1760 fi
1671done 1761done
1672if $ac_cache_corrupted; then 1762if $ac_cache_corrupted; then
1673 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1763 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1674echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1764$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1675 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1765 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1676echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1766$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1677 { (exit 1); exit 1; }; } 1767 { (exit 1); exit 1; }; }
1678fi 1768fi
1679 1769
1680 1770
1681 1771
1682 1772
1683 1773
1684 1774
1685 1775
1686 1776
1687 1777
1688 1778
1689 1779
1690 1780
1691 1781
1692 1782
1693 1783
1694 1784
1695 1785
1696 1786
1697 1787
1698 1788
1699 1789
1700 1790
1701 1791
1702 1792
1703 1793
1704ac_ext=c 1794ac_ext=c
1705ac_cpp='$CPP $CPPFLAGS' 1795ac_cpp='$CPP $CPPFLAGS'
1706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1708ac_compiler_gnu=$ac_cv_c_compiler_gnu 1798ac_compiler_gnu=$ac_cv_c_compiler_gnu
1709 1799
1710 1800
1711 1801
1712ac_config_headers="$ac_config_headers config.h" 1802ac_config_headers="$ac_config_headers config.h"
1713 1803
1714test "$program_prefix" != NONE && 1804test "$program_prefix" != NONE &&
1715 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1805 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1716# Use a double $ so make ignores it. 1806# Use a double $ so make ignores it.
1717test "$program_suffix" != NONE && 1807test "$program_suffix" != NONE &&
1718 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1808 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1719# Double any \ or $. echo might interpret backslashes. 1809# Double any \ or $.
1720# By default was `s,x,x', remove it if useless. 1810# By default was `s,x,x', remove it if useless.
1721cat <<\_ACEOF >conftest.sed 1811ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1722s/[\\$]/&&/g;s/;s,x,x,$// 1812program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1723_ACEOF 
1724program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 
1725rm -f conftest.sed 
1726 1813
1727 1814
1728ac_aux_dir= 1815ac_aux_dir=
1729for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1816for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then 1817 if test -f "$ac_dir/install-sh"; then
1731 ac_aux_dir=$ac_dir 1818 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install-sh -c" 1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1733 break 1820 break
1734 elif test -f "$ac_dir/install.sh"; then 1821 elif test -f "$ac_dir/install.sh"; then
1735 ac_aux_dir=$ac_dir 1822 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/install.sh -c" 1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1737 break 1824 break
1738 elif test -f "$ac_dir/shtool"; then 1825 elif test -f "$ac_dir/shtool"; then
1739 ac_aux_dir=$ac_dir 1826 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/shtool install -c" 1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1741 break 1828 break
1742 fi 1829 fi
1743done 1830done
1744if test -z "$ac_aux_dir"; then 1831if test -z "$ac_aux_dir"; then
1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1832 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1746echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1833$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1747 { (exit 1); exit 1; }; } 1834 { (exit 1); exit 1; }; }
1748fi 1835fi
1749 1836
1750# These three variables are undocumented and unsupported, 1837# These three variables are undocumented and unsupported,
1751# and are intended to be withdrawn in a future Autoconf release. 1838# and are intended to be withdrawn in a future Autoconf release.
1752# They can cause serious problems if a builder's source tree is in a directory 1839# They can cause serious problems if a builder's source tree is in a directory
1753# whose full name contains unusual characters. 1840# whose full name contains unusual characters.
1754ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1841ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1755ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1842ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1756ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1843ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1757 1844
1758 1845
1759# Make sure we can run config.sub. 1846# Make sure we can run config.sub.
1760$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1847$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1761 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1848 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1762echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1849$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1763 { (exit 1); exit 1; }; } 1850 { (exit 1); exit 1; }; }
1764 1851
1765{ echo "$as_me:$LINENO: checking build system type" >&5 1852{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1766echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1853$as_echo_n "checking build system type... " >&6; }
1767if test "${ac_cv_build+set}" = set; then 1854if test "${ac_cv_build+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6 1855 $as_echo_n "(cached) " >&6
1769else 1856else
1770 ac_build_alias=$build_alias 1857 ac_build_alias=$build_alias
1771test "x$ac_build_alias" = x && 1858test "x$ac_build_alias" = x &&
1772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1859 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1773test "x$ac_build_alias" = x && 1860test "x$ac_build_alias" = x &&
1774 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1861 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1775echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1862$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1776 { (exit 1); exit 1; }; } 1863 { (exit 1); exit 1; }; }
1777ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1864ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1865 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1779echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1866$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1780 { (exit 1); exit 1; }; } 1867 { (exit 1); exit 1; }; }
1781 1868
1782fi 1869fi
1783{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1870{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1784echo "${ECHO_T}$ac_cv_build" >&6; } 1871$as_echo "$ac_cv_build" >&6; }
1785case $ac_cv_build in 1872case $ac_cv_build in
1786*-*-*) ;; 1873*-*-*) ;;
1787*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1874*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1788echo "$as_me: error: invalid value of canonical build" >&2;} 1875$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1789 { (exit 1); exit 1; }; };; 1876 { (exit 1); exit 1; }; };;
1790esac 1877esac
1791build=$ac_cv_build 1878build=$ac_cv_build
1792ac_save_IFS=$IFS; IFS='-' 1879ac_save_IFS=$IFS; IFS='-'
1793set x $ac_cv_build 1880set x $ac_cv_build
1794shift 1881shift
1795build_cpu=$1 1882build_cpu=$1
1796build_vendor=$2 1883build_vendor=$2
1797shift; shift 1884shift; shift
1798# Remember, the first character of IFS is used to create $*, 1885# Remember, the first character of IFS is used to create $*,
1799# except with old shells: 1886# except with old shells:
1800build_os=$* 1887build_os=$*
1801IFS=$ac_save_IFS 1888IFS=$ac_save_IFS
1802case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1889case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1803 1890
1804 1891
1805{ echo "$as_me:$LINENO: checking host system type" >&5 1892{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1806echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1893$as_echo_n "checking host system type... " >&6; }
1807if test "${ac_cv_host+set}" = set; then 1894if test "${ac_cv_host+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6 1895 $as_echo_n "(cached) " >&6
1809else 1896else
1810 if test "x$host_alias" = x; then 1897 if test "x$host_alias" = x; then
1811 ac_cv_host=$ac_cv_build 1898 ac_cv_host=$ac_cv_build
1812else 1899else
1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1900 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1901 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1815echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1902$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1816 { (exit 1); exit 1; }; } 1903 { (exit 1); exit 1; }; }
1817fi 1904fi
1818 1905
1819fi 1906fi
1820{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1907{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1821echo "${ECHO_T}$ac_cv_host" >&6; } 1908$as_echo "$ac_cv_host" >&6; }
1822case $ac_cv_host in 1909case $ac_cv_host in
1823*-*-*) ;; 1910*-*-*) ;;
1824*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1911*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1825echo "$as_me: error: invalid value of canonical host" >&2;} 1912$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1826 { (exit 1); exit 1; }; };; 1913 { (exit 1); exit 1; }; };;
1827esac 1914esac
1828host=$ac_cv_host 1915host=$ac_cv_host
1829ac_save_IFS=$IFS; IFS='-' 1916ac_save_IFS=$IFS; IFS='-'
1830set x $ac_cv_host 1917set x $ac_cv_host
1831shift 1918shift
1832host_cpu=$1 1919host_cpu=$1
1833host_vendor=$2 1920host_vendor=$2
1834shift; shift 1921shift; shift
1835# Remember, the first character of IFS is used to create $*, 1922# Remember, the first character of IFS is used to create $*,
1836# except with old shells: 1923# except with old shells:
1837host_os=$* 1924host_os=$*
1838IFS=$ac_save_IFS 1925IFS=$ac_save_IFS
1839case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1926case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1840 1927
1841 1928
1842CANONICAL_HOST=$host 1929CANONICAL_HOST=$host
1843 1930
1844 1931
1845# Checks for programs. 1932# Checks for programs.
1846{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1933{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1847echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1934$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1848set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1935set x ${MAKE-make}
 1936ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1849if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1937if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6 1938 $as_echo_n "(cached) " >&6
1851else 1939else
1852 cat >conftest.make <<\_ACEOF 1940 cat >conftest.make <<\_ACEOF
1853SHELL = /bin/sh 1941SHELL = /bin/sh
1854all: 1942all:
1855 @echo '@@@%%%=$(MAKE)=@@@%%%' 1943 @echo '@@@%%%=$(MAKE)=@@@%%%'
1856_ACEOF 1944_ACEOF
1857# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1945# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1858case `${MAKE-make} -f conftest.make 2>/dev/null` in 1946case `${MAKE-make} -f conftest.make 2>/dev/null` in
1859 *@@@%%%=?*=@@@%%%*) 1947 *@@@%%%=?*=@@@%%%*)
1860 eval ac_cv_prog_make_${ac_make}_set=yes;; 1948 eval ac_cv_prog_make_${ac_make}_set=yes;;
1861 *) 1949 *)
1862 eval ac_cv_prog_make_${ac_make}_set=no;; 1950 eval ac_cv_prog_make_${ac_make}_set=no;;
1863esac 1951esac
1864rm -f conftest.make 1952rm -f conftest.make
1865fi 1953fi
1866if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1954if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1867 { echo "$as_me:$LINENO: result: yes" >&5 1955 { $as_echo "$as_me:$LINENO: result: yes" >&5
1868echo "${ECHO_T}yes" >&6; } 1956$as_echo "yes" >&6; }
1869 SET_MAKE= 1957 SET_MAKE=
1870else 1958else
1871 { echo "$as_me:$LINENO: result: no" >&5 1959 { $as_echo "$as_me:$LINENO: result: no" >&5
1872echo "${ECHO_T}no" >&6; } 1960$as_echo "no" >&6; }
1873 SET_MAKE="MAKE=${MAKE-make}" 1961 SET_MAKE="MAKE=${MAKE-make}"
1874fi 1962fi
1875 1963
1876for ac_prog in gawk mawk nawk awk 1964for ac_prog in gawk mawk nawk awk
1877do 1965do
1878 # Extract the first word of "$ac_prog", so it can be a program name with args. 1966 # Extract the first word of "$ac_prog", so it can be a program name with args.
1879set dummy $ac_prog; ac_word=$2 1967set dummy $ac_prog; ac_word=$2
1880{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1968{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1969$as_echo_n "checking for $ac_word... " >&6; }
1882if test "${ac_cv_prog_AWK+set}" = set; then 1970if test "${ac_cv_prog_AWK+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6 1971 $as_echo_n "(cached) " >&6
1884else 1972else
1885 if test -n "$AWK"; then 1973 if test -n "$AWK"; then
1886 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1974 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1887else 1975else
1888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889for as_dir in $PATH 1977for as_dir in $PATH
1890do 1978do
1891 IFS=$as_save_IFS 1979 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=. 1980 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do 1981 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 ac_cv_prog_AWK="$ac_prog" 1983 ac_cv_prog_AWK="$ac_prog"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1984 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2 1985 break 2
1898 fi 1986 fi
1899done 1987done
1900done 1988done
1901IFS=$as_save_IFS 1989IFS=$as_save_IFS
1902 1990
1903fi 1991fi
1904fi 1992fi
1905AWK=$ac_cv_prog_AWK 1993AWK=$ac_cv_prog_AWK
1906if test -n "$AWK"; then 1994if test -n "$AWK"; then
1907 { echo "$as_me:$LINENO: result: $AWK" >&5 1995 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1908echo "${ECHO_T}$AWK" >&6; } 1996$as_echo "$AWK" >&6; }
1909else 1997else
1910 { echo "$as_me:$LINENO: result: no" >&5 1998 { $as_echo "$as_me:$LINENO: result: no" >&5
1911echo "${ECHO_T}no" >&6; } 1999$as_echo "no" >&6; }
1912fi 2000fi
1913 2001
1914 2002
1915 test -n "$AWK" && break 2003 test -n "$AWK" && break
1916done 2004done
1917 2005
1918ac_ext=c 2006ac_ext=c
1919ac_cpp='$CPP $CPPFLAGS' 2007ac_cpp='$CPP $CPPFLAGS'
1920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1922ac_compiler_gnu=$ac_cv_c_compiler_gnu 2010ac_compiler_gnu=$ac_cv_c_compiler_gnu
1923if test -n "$ac_tool_prefix"; then 2011if test -n "$ac_tool_prefix"; then
1924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1925set dummy ${ac_tool_prefix}gcc; ac_word=$2 2013set dummy ${ac_tool_prefix}gcc; ac_word=$2
1926{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2014{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1927echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2015$as_echo_n "checking for $ac_word... " >&6; }
1928if test "${ac_cv_prog_CC+set}" = set; then 2016if test "${ac_cv_prog_CC+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6 2017 $as_echo_n "(cached) " >&6
1930else 2018else
1931 if test -n "$CC"; then 2019 if test -n "$CC"; then
1932 ac_cv_prog_CC="$CC" # Let the user override the test. 2020 ac_cv_prog_CC="$CC" # Let the user override the test.
1933else 2021else
1934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935for as_dir in $PATH 2023for as_dir in $PATH
1936do 2024do
1937 IFS=$as_save_IFS 2025 IFS=$as_save_IFS
1938 test -z "$as_dir" && as_dir=. 2026 test -z "$as_dir" && as_dir=.
1939 for ac_exec_ext in '' $ac_executable_extensions; do 2027 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1941 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2029 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 break 2 2031 break 2
1944 fi 2032 fi
1945done 2033done
1946done 2034done
1947IFS=$as_save_IFS 2035IFS=$as_save_IFS
1948 2036
1949fi 2037fi
1950fi 2038fi
1951CC=$ac_cv_prog_CC 2039CC=$ac_cv_prog_CC
1952if test -n "$CC"; then 2040if test -n "$CC"; then
1953 { echo "$as_me:$LINENO: result: $CC" >&5 2041 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1954echo "${ECHO_T}$CC" >&6; } 2042$as_echo "$CC" >&6; }
1955else 2043else
1956 { echo "$as_me:$LINENO: result: no" >&5 2044 { $as_echo "$as_me:$LINENO: result: no" >&5
1957echo "${ECHO_T}no" >&6; } 2045$as_echo "no" >&6; }
1958fi 2046fi
1959 2047
1960 2048
1961fi 2049fi
1962if test -z "$ac_cv_prog_CC"; then 2050if test -z "$ac_cv_prog_CC"; then
1963 ac_ct_CC=$CC 2051 ac_ct_CC=$CC
1964 # Extract the first word of "gcc", so it can be a program name with args. 2052 # Extract the first word of "gcc", so it can be a program name with args.
1965set dummy gcc; ac_word=$2 2053set dummy gcc; ac_word=$2
1966{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2054{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1967echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2055$as_echo_n "checking for $ac_word... " >&6; }
1968if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2056if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6 2057 $as_echo_n "(cached) " >&6
1970else 2058else
1971 if test -n "$ac_ct_CC"; then 2059 if test -n "$ac_ct_CC"; then
1972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1973else 2061else
1974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975for as_dir in $PATH 2063for as_dir in $PATH
1976do 2064do
1977 IFS=$as_save_IFS 2065 IFS=$as_save_IFS
1978 test -z "$as_dir" && as_dir=. 2066 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do 2067 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1981 ac_cv_prog_ac_ct_CC="gcc" 2069 ac_cv_prog_ac_ct_CC="gcc"
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2070 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 break 2 2071 break 2
1984 fi 2072 fi
1985done 2073done
1986done 2074done
1987IFS=$as_save_IFS 2075IFS=$as_save_IFS
1988 2076
1989fi 2077fi
1990fi 2078fi
1991ac_ct_CC=$ac_cv_prog_ac_ct_CC 2079ac_ct_CC=$ac_cv_prog_ac_ct_CC
1992if test -n "$ac_ct_CC"; then 2080if test -n "$ac_ct_CC"; then
1993 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2081 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1994echo "${ECHO_T}$ac_ct_CC" >&6; } 2082$as_echo "$ac_ct_CC" >&6; }
1995else 2083else
1996 { echo "$as_me:$LINENO: result: no" >&5 2084 { $as_echo "$as_me:$LINENO: result: no" >&5
1997echo "${ECHO_T}no" >&6; } 2085$as_echo "no" >&6; }
1998fi 2086fi
1999 2087
2000 if test "x$ac_ct_CC" = x; then 2088 if test "x$ac_ct_CC" = x; then
2001 CC="" 2089 CC=""
2002 else 2090 else
2003 case $cross_compiling:$ac_tool_warned in 2091 case $cross_compiling:$ac_tool_warned in
2004yes:) 2092yes:)
2005{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2093{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2006whose name does not start with the host triplet. If you think this 2094whose name does not start with the host triplet. If you think this
2007configuration is useful to you, please write to autoconf@gnu.org." >&5 2095configuration is useful to you, please write to autoconf@gnu.org." >&5
2008echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2096$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2009whose name does not start with the host triplet. If you think this 2097whose name does not start with the host triplet. If you think this
2010configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2098configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2011ac_tool_warned=yes ;; 2099ac_tool_warned=yes ;;
2012esac 2100esac
2013 CC=$ac_ct_CC 2101 CC=$ac_ct_CC
2014 fi 2102 fi
2015else 2103else
2016 CC="$ac_cv_prog_CC" 2104 CC="$ac_cv_prog_CC"
2017fi 2105fi
2018 2106
2019if test -z "$CC"; then 2107if test -z "$CC"; then
2020 if test -n "$ac_tool_prefix"; then 2108 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2109 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2022set dummy ${ac_tool_prefix}cc; ac_word=$2 2110set dummy ${ac_tool_prefix}cc; ac_word=$2
2023{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2111{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2112$as_echo_n "checking for $ac_word... " >&6; }
2025if test "${ac_cv_prog_CC+set}" = set; then 2113if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6 2114 $as_echo_n "(cached) " >&6
2027else 2115else
2028 if test -n "$CC"; then 2116 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test. 2117 ac_cv_prog_CC="$CC" # Let the user override the test.
2030else 2118else
2031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032for as_dir in $PATH 2120for as_dir in $PATH
2033do 2121do
2034 IFS=$as_save_IFS 2122 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=. 2123 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do 2124 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_CC="${ac_tool_prefix}cc" 2126 ac_cv_prog_CC="${ac_tool_prefix}cc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2127 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2 2128 break 2
2041 fi 2129 fi
2042done 2130done
2043done 2131done
2044IFS=$as_save_IFS 2132IFS=$as_save_IFS
2045 2133
2046fi 2134fi
2047fi 2135fi
2048CC=$ac_cv_prog_CC 2136CC=$ac_cv_prog_CC
2049if test -n "$CC"; then 2137if test -n "$CC"; then
2050 { echo "$as_me:$LINENO: result: $CC" >&5 2138 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2051echo "${ECHO_T}$CC" >&6; } 2139$as_echo "$CC" >&6; }
2052else 2140else
2053 { echo "$as_me:$LINENO: result: no" >&5 2141 { $as_echo "$as_me:$LINENO: result: no" >&5
2054echo "${ECHO_T}no" >&6; } 2142$as_echo "no" >&6; }
2055fi 2143fi
2056 2144
2057 2145
2058 fi 2146 fi
2059fi 2147fi
2060if test -z "$CC"; then 2148if test -z "$CC"; then
2061 # Extract the first word of "cc", so it can be a program name with args. 2149 # Extract the first word of "cc", so it can be a program name with args.
2062set dummy cc; ac_word=$2 2150set dummy cc; ac_word=$2
2063{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2151{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2152$as_echo_n "checking for $ac_word... " >&6; }
2065if test "${ac_cv_prog_CC+set}" = set; then 2153if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6 2154 $as_echo_n "(cached) " >&6
2067else 2155else
2068 if test -n "$CC"; then 2156 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test. 2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2070else 2158else
2071 ac_prog_rejected=no 2159 ac_prog_rejected=no
2072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073for as_dir in $PATH 2161for as_dir in $PATH
2074do 2162do
2075 IFS=$as_save_IFS 2163 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=. 2164 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do 2165 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2080 ac_prog_rejected=yes 2168 ac_prog_rejected=yes
2081 continue 2169 continue
2082 fi 2170 fi
2083 ac_cv_prog_CC="cc" 2171 ac_cv_prog_CC="cc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2172 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2 2173 break 2
2086 fi 2174 fi
2087done 2175done
2088done 2176done
2089IFS=$as_save_IFS 2177IFS=$as_save_IFS
2090 2178
2091if test $ac_prog_rejected = yes; then 2179if test $ac_prog_rejected = yes; then
2092 # We found a bogon in the path, so make sure we never use it. 2180 # We found a bogon in the path, so make sure we never use it.
2093 set dummy $ac_cv_prog_CC 2181 set dummy $ac_cv_prog_CC
2094 shift 2182 shift
2095 if test $# != 0; then 2183 if test $# != 0; then
2096 # We chose a different compiler from the bogus one. 2184 # We chose a different compiler from the bogus one.
2097 # However, it has the same basename, so the bogon will be chosen 2185 # However, it has the same basename, so the bogon will be chosen
2098 # first if we set CC to just the basename; use the full file name. 2186 # first if we set CC to just the basename; use the full file name.
2099 shift 2187 shift
2100 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2188 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2101 fi 2189 fi
2102fi 2190fi
2103fi 2191fi
2104fi 2192fi
2105CC=$ac_cv_prog_CC 2193CC=$ac_cv_prog_CC
2106if test -n "$CC"; then 2194if test -n "$CC"; then
2107 { echo "$as_me:$LINENO: result: $CC" >&5 2195 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2108echo "${ECHO_T}$CC" >&6; } 2196$as_echo "$CC" >&6; }
2109else 2197else
2110 { echo "$as_me:$LINENO: result: no" >&5 2198 { $as_echo "$as_me:$LINENO: result: no" >&5
2111echo "${ECHO_T}no" >&6; } 2199$as_echo "no" >&6; }
2112fi 2200fi
2113 2201
2114 2202
2115fi 2203fi
2116if test -z "$CC"; then 2204if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then 2205 if test -n "$ac_tool_prefix"; then
2118 for ac_prog in cl.exe 2206 for ac_prog in cl.exe
2119 do 2207 do
2120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2121set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2209set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2122{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2210{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2123echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2211$as_echo_n "checking for $ac_word... " >&6; }
2124if test "${ac_cv_prog_CC+set}" = set; then 2212if test "${ac_cv_prog_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6 2213 $as_echo_n "(cached) " >&6
2126else 2214else
2127 if test -n "$CC"; then 2215 if test -n "$CC"; then
2128 ac_cv_prog_CC="$CC" # Let the user override the test. 2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2129else 2217else
2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131for as_dir in $PATH 2219for as_dir in $PATH
2132do 2220do
2133 IFS=$as_save_IFS 2221 IFS=$as_save_IFS
2134 test -z "$as_dir" && as_dir=. 2222 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do 2223 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 break 2 2227 break 2
2140 fi 2228 fi
2141done 2229done
2142done 2230done
2143IFS=$as_save_IFS 2231IFS=$as_save_IFS
2144 2232
2145fi 2233fi
2146fi 2234fi
2147CC=$ac_cv_prog_CC 2235CC=$ac_cv_prog_CC
2148if test -n "$CC"; then 2236if test -n "$CC"; then
2149 { echo "$as_me:$LINENO: result: $CC" >&5 2237 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2150echo "${ECHO_T}$CC" >&6; } 2238$as_echo "$CC" >&6; }
2151else 2239else
2152 { echo "$as_me:$LINENO: result: no" >&5 2240 { $as_echo "$as_me:$LINENO: result: no" >&5
2153echo "${ECHO_T}no" >&6; } 2241$as_echo "no" >&6; }
2154fi 2242fi
2155 2243
2156 2244
2157 test -n "$CC" && break 2245 test -n "$CC" && break
2158 done 2246 done
2159fi 2247fi
2160if test -z "$CC"; then 2248if test -z "$CC"; then
2161 ac_ct_CC=$CC 2249 ac_ct_CC=$CC
2162 for ac_prog in cl.exe 2250 for ac_prog in cl.exe
2163do 2251do
2164 # Extract the first word of "$ac_prog", so it can be a program name with args. 2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2165set dummy $ac_prog; ac_word=$2 2253set dummy $ac_prog; ac_word=$2
2166{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2254{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2255$as_echo_n "checking for $ac_word... " >&6; }
2168if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2256if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6 2257 $as_echo_n "(cached) " >&6
2170else 2258else
2171 if test -n "$ac_ct_CC"; then 2259 if test -n "$ac_ct_CC"; then
2172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2173else 2261else
2174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175for as_dir in $PATH 2263for as_dir in $PATH
2176do 2264do
2177 IFS=$as_save_IFS 2265 IFS=$as_save_IFS
2178 test -z "$as_dir" && as_dir=. 2266 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do 2267 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_ac_ct_CC="$ac_prog" 2269 ac_cv_prog_ac_ct_CC="$ac_prog"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2 2271 break 2
2184 fi 2272 fi
2185done 2273done
2186done 2274done
2187IFS=$as_save_IFS 2275IFS=$as_save_IFS
2188 2276
2189fi 2277fi
2190fi 2278fi
2191ac_ct_CC=$ac_cv_prog_ac_ct_CC 2279ac_ct_CC=$ac_cv_prog_ac_ct_CC
2192if test -n "$ac_ct_CC"; then 2280if test -n "$ac_ct_CC"; then
2193 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2281 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2194echo "${ECHO_T}$ac_ct_CC" >&6; } 2282$as_echo "$ac_ct_CC" >&6; }
2195else 2283else
2196 { echo "$as_me:$LINENO: result: no" >&5 2284 { $as_echo "$as_me:$LINENO: result: no" >&5
2197echo "${ECHO_T}no" >&6; } 2285$as_echo "no" >&6; }
2198fi 2286fi
2199 2287
2200 2288
2201 test -n "$ac_ct_CC" && break 2289 test -n "$ac_ct_CC" && break
2202done 2290done
2203 2291
2204 if test "x$ac_ct_CC" = x; then 2292 if test "x$ac_ct_CC" = x; then
2205 CC="" 2293 CC=""
2206 else 2294 else
2207 case $cross_compiling:$ac_tool_warned in 2295 case $cross_compiling:$ac_tool_warned in
2208yes:) 2296yes:)
2209{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2297{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2210whose name does not start with the host triplet. If you think this 2298whose name does not start with the host triplet. If you think this
2211configuration is useful to you, please write to autoconf@gnu.org." >&5 2299configuration is useful to you, please write to autoconf@gnu.org." >&5
2212echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2300$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2213whose name does not start with the host triplet. If you think this 2301whose name does not start with the host triplet. If you think this
2214configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2302configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2215ac_tool_warned=yes ;; 2303ac_tool_warned=yes ;;
2216esac 2304esac
2217 CC=$ac_ct_CC 2305 CC=$ac_ct_CC
2218 fi 2306 fi
2219fi 2307fi
2220 2308
2221fi 2309fi
2222 2310
2223 2311
2224test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2312test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2225See \`config.log' for more details." >&5 2313See \`config.log' for more details." >&5
2226echo "$as_me: error: no acceptable C compiler found in \$PATH 2314$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2227See \`config.log' for more details." >&2;} 2315See \`config.log' for more details." >&2;}
2228 { (exit 1); exit 1; }; } 2316 { (exit 1); exit 1; }; }
2229 2317
2230# Provide some information about the compiler. 2318# Provide some information about the compiler.
2231echo "$as_me:$LINENO: checking for C compiler version" >&5 2319$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2232ac_compiler=`set X $ac_compile; echo $2` 2320set X $ac_compile
 2321ac_compiler=$2
2233{ (ac_try="$ac_compiler --version >&5" 2322{ (ac_try="$ac_compiler --version >&5"
2234case "(($ac_try" in 2323case "(($ac_try" in
2235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2236 *) ac_try_echo=$ac_try;; 2325 *) ac_try_echo=$ac_try;;
2237esac 2326esac
2238eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2327eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2328$as_echo "$ac_try_echo") >&5
2239 (eval "$ac_compiler --version >&5") 2>&5 2329 (eval "$ac_compiler --version >&5") 2>&5
2240 ac_status=$? 2330 ac_status=$?
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); } 2332 (exit $ac_status); }
2243{ (ac_try="$ac_compiler -v >&5" 2333{ (ac_try="$ac_compiler -v >&5"
2244case "(($ac_try" in 2334case "(($ac_try" in
2245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2246 *) ac_try_echo=$ac_try;; 2336 *) ac_try_echo=$ac_try;;
2247esac 2337esac
2248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2338eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2339$as_echo "$ac_try_echo") >&5
2249 (eval "$ac_compiler -v >&5") 2>&5 2340 (eval "$ac_compiler -v >&5") 2>&5
2250 ac_status=$? 2341 ac_status=$?
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } 2343 (exit $ac_status); }
2253{ (ac_try="$ac_compiler -V >&5" 2344{ (ac_try="$ac_compiler -V >&5"
2254case "(($ac_try" in 2345case "(($ac_try" in
2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;; 2347 *) ac_try_echo=$ac_try;;
2257esac 2348esac
2258eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2349eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2350$as_echo "$ac_try_echo") >&5
2259 (eval "$ac_compiler -V >&5") 2>&5 2351 (eval "$ac_compiler -V >&5") 2>&5
2260 ac_status=$? 2352 ac_status=$?
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } 2354 (exit $ac_status); }
2263 2355
2264cat >conftest.$ac_ext <<_ACEOF 2356cat >conftest.$ac_ext <<_ACEOF
2265/* confdefs.h. */ 2357/* confdefs.h. */
2266_ACEOF 2358_ACEOF
2267cat confdefs.h >>conftest.$ac_ext 2359cat confdefs.h >>conftest.$ac_ext
2268cat >>conftest.$ac_ext <<_ACEOF 2360cat >>conftest.$ac_ext <<_ACEOF
2269/* end confdefs.h. */ 2361/* end confdefs.h. */
2270 2362
2271int 2363int
2272main () 2364main ()
2273{ 2365{
2274 2366
2275 ; 2367 ;
2276 return 0; 2368 return 0;
2277} 2369}
2278_ACEOF 2370_ACEOF
2279ac_clean_files_save=$ac_clean_files 2371ac_clean_files_save=$ac_clean_files
2280ac_clean_files="$ac_clean_files a.out a.exe b.out" 2372ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2281# Try to create an executable without -o first, disregard a.out. 2373# Try to create an executable without -o first, disregard a.out.
2282# It will help us diagnose broken compilers, and finding out an intuition 2374# It will help us diagnose broken compilers, and finding out an intuition
2283# of exeext. 2375# of exeext.
2284{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2376{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2285echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2377$as_echo_n "checking for C compiler default output file name... " >&6; }
2286ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2378ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2287# 2379
2288# List of possible output files, starting from the most likely. 2380# The possible output files:
2289# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2381ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2290# only as a last resort. b.out is created by i960 compilers. 2382
2291ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
2292# 
2293# The IRIX 6 linker writes into existing files which may not be 
2294# executable, retaining their permissions. Remove them first so a 
2295# subsequent execution test works. 
2296ac_rmfiles= 2383ac_rmfiles=
2297for ac_file in $ac_files 2384for ac_file in $ac_files
2298do 2385do
2299 case $ac_file in 2386 case $ac_file in
2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2301 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2302 esac 2389 esac
2303done 2390done
2304rm -f $ac_rmfiles 2391rm -f $ac_rmfiles
2305 2392
2306if { (ac_try="$ac_link_default" 2393if { (ac_try="$ac_link_default"
2307case "(($ac_try" in 2394case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;; 2396 *) ac_try_echo=$ac_try;;
2310esac 2397esac
2311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2398eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2399$as_echo "$ac_try_echo") >&5
2312 (eval "$ac_link_default") 2>&5 2400 (eval "$ac_link_default") 2>&5
2313 ac_status=$? 2401 ac_status=$?
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; then 2403 (exit $ac_status); }; then
2316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2317# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2405# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2318# in a Makefile. We should not override ac_cv_exeext if it was cached, 2406# in a Makefile. We should not override ac_cv_exeext if it was cached,
2319# so that the user can short-circuit this test for compilers unknown to 2407# so that the user can short-circuit this test for compilers unknown to
2320# Autoconf. 2408# Autoconf.
2321for ac_file in $ac_files '' 2409for ac_file in $ac_files ''
2322do 2410do
2323 test -f "$ac_file" || continue 2411 test -f "$ac_file" || continue
2324 case $ac_file in 2412 case $ac_file in
2325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2326 ;; 2414 ;;
2327 [ab].out ) 2415 [ab].out )
2328 # We found the default executable, but exeext='' is most 2416 # We found the default executable, but exeext='' is most
2329 # certainly right. 2417 # certainly right.
2330 break;; 2418 break;;
2331 *.* ) 2419 *.* )
2332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2333 then :; else 2421 then :; else
2334 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2335 fi 2423 fi
2336 # We set ac_cv_exeext here because the later test for it is not 2424 # We set ac_cv_exeext here because the later test for it is not
2337 # safe: cross compilers may not add the suffix if given an `-o' 2425 # safe: cross compilers may not add the suffix if given an `-o'
2338 # argument, so we may need to know it at that point already. 2426 # argument, so we may need to know it at that point already.
2339 # Even if this section looks crufty: it has the advantage of 2427 # Even if this section looks crufty: it has the advantage of
2340 # actually working. 2428 # actually working.
2341 break;; 2429 break;;
2342 * ) 2430 * )
2343 break;; 2431 break;;
2344 esac 2432 esac
2345done 2433done
2346test "$ac_cv_exeext" = no && ac_cv_exeext= 2434test "$ac_cv_exeext" = no && ac_cv_exeext=
2347 2435
2348else 2436else
2349 ac_file='' 2437 ac_file=''
2350fi 2438fi
2351 2439
2352{ echo "$as_me:$LINENO: result: $ac_file" >&5 2440{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2353echo "${ECHO_T}$ac_file" >&6; } 2441$as_echo "$ac_file" >&6; }
2354if test -z "$ac_file"; then 2442if test -z "$ac_file"; then
2355 echo "$as_me: failed program was:" >&5 2443 $as_echo "$as_me: failed program was:" >&5
2356sed 's/^/| /' conftest.$ac_ext >&5 2444sed 's/^/| /' conftest.$ac_ext >&5
2357 2445
2358{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2446{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2359See \`config.log' for more details." >&5 2447See \`config.log' for more details." >&5
2360echo "$as_me: error: C compiler cannot create executables 2448$as_echo "$as_me: error: C compiler cannot create executables
2361See \`config.log' for more details." >&2;} 2449See \`config.log' for more details." >&2;}
2362 { (exit 77); exit 77; }; } 2450 { (exit 77); exit 77; }; }
2363fi 2451fi
2364 2452
2365ac_exeext=$ac_cv_exeext 2453ac_exeext=$ac_cv_exeext
2366 2454
2367# Check that the compiler produces executables we can run. If not, either 2455# Check that the compiler produces executables we can run. If not, either
2368# the compiler is broken, or we cross compile. 2456# the compiler is broken, or we cross compile.
2369{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2457{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2370echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2458$as_echo_n "checking whether the C compiler works... " >&6; }
2371# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2459# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2372# If not cross compiling, check that we can run a simple program. 2460# If not cross compiling, check that we can run a simple program.
2373if test "$cross_compiling" != yes; then 2461if test "$cross_compiling" != yes; then
2374 if { ac_try='./$ac_file' 2462 if { ac_try='./$ac_file'
2375 { (case "(($ac_try" in 2463 { (case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;; 2465 *) ac_try_echo=$ac_try;;
2378esac 2466esac
2379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2468$as_echo "$ac_try_echo") >&5
2380 (eval "$ac_try") 2>&5 2469 (eval "$ac_try") 2>&5
2381 ac_status=$? 2470 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then 2472 (exit $ac_status); }; }; then
2384 cross_compiling=no 2473 cross_compiling=no
2385 else 2474 else
2386 if test "$cross_compiling" = maybe; then 2475 if test "$cross_compiling" = maybe; then
2387 cross_compiling=yes 2476 cross_compiling=yes
2388 else 2477 else
2389 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2478 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2390If you meant to cross compile, use \`--host'. 2479If you meant to cross compile, use \`--host'.
2391See \`config.log' for more details." >&5 2480See \`config.log' for more details." >&5
2392echo "$as_me: error: cannot run C compiled programs. 2481$as_echo "$as_me: error: cannot run C compiled programs.
2393If you meant to cross compile, use \`--host'. 2482If you meant to cross compile, use \`--host'.
2394See \`config.log' for more details." >&2;} 2483See \`config.log' for more details." >&2;}
2395 { (exit 1); exit 1; }; } 2484 { (exit 1); exit 1; }; }
2396 fi 2485 fi
2397 fi 2486 fi
2398fi 2487fi
2399{ echo "$as_me:$LINENO: result: yes" >&5 2488{ $as_echo "$as_me:$LINENO: result: yes" >&5
2400echo "${ECHO_T}yes" >&6; } 2489$as_echo "yes" >&6; }
2401 2490
2402rm -f a.out a.exe conftest$ac_cv_exeext b.out 2491rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2403ac_clean_files=$ac_clean_files_save 2492ac_clean_files=$ac_clean_files_save
2404# Check that the compiler produces executables we can run. If not, either 2493# Check that the compiler produces executables we can run. If not, either
2405# the compiler is broken, or we cross compile. 2494# the compiler is broken, or we cross compile.
2406{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2495{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2407echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2496$as_echo_n "checking whether we are cross compiling... " >&6; }
2408{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2497{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2409echo "${ECHO_T}$cross_compiling" >&6; } 2498$as_echo "$cross_compiling" >&6; }
2410 2499
2411{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2500{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2412echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2501$as_echo_n "checking for suffix of executables... " >&6; }
2413if { (ac_try="$ac_link" 2502if { (ac_try="$ac_link"
2414case "(($ac_try" in 2503case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;; 2505 *) ac_try_echo=$ac_try;;
2417esac 2506esac
2418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2508$as_echo "$ac_try_echo") >&5
2419 (eval "$ac_link") 2>&5 2509 (eval "$ac_link") 2>&5
2420 ac_status=$? 2510 ac_status=$?
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then 2512 (exit $ac_status); }; then
2423 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2513 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2424# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2514# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2425# work properly (i.e., refer to `conftest.exe'), while it won't with 2515# work properly (i.e., refer to `conftest.exe'), while it won't with
2426# `rm'. 2516# `rm'.
2427for ac_file in conftest.exe conftest conftest.*; do 2517for ac_file in conftest.exe conftest conftest.*; do
2428 test -f "$ac_file" || continue 2518 test -f "$ac_file" || continue
2429 case $ac_file in 2519 case $ac_file in
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2521 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432 break;; 2522 break;;
2433 * ) break;; 2523 * ) break;;
2434 esac 2524 esac
2435done 2525done
2436else 2526else
2437 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2527 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2438See \`config.log' for more details." >&5 2528See \`config.log' for more details." >&5
2439echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2529$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2440See \`config.log' for more details." >&2;} 2530See \`config.log' for more details." >&2;}
2441 { (exit 1); exit 1; }; } 2531 { (exit 1); exit 1; }; }
2442fi 2532fi
2443 2533
2444rm -f conftest$ac_cv_exeext 2534rm -f conftest$ac_cv_exeext
2445{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2535{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2446echo "${ECHO_T}$ac_cv_exeext" >&6; } 2536$as_echo "$ac_cv_exeext" >&6; }
2447 2537
2448rm -f conftest.$ac_ext 2538rm -f conftest.$ac_ext
2449EXEEXT=$ac_cv_exeext 2539EXEEXT=$ac_cv_exeext
2450ac_exeext=$EXEEXT 2540ac_exeext=$EXEEXT
2451{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2541{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2452echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2542$as_echo_n "checking for suffix of object files... " >&6; }
2453if test "${ac_cv_objext+set}" = set; then 2543if test "${ac_cv_objext+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6 2544 $as_echo_n "(cached) " >&6
2455else 2545else
2456 cat >conftest.$ac_ext <<_ACEOF 2546 cat >conftest.$ac_ext <<_ACEOF
2457/* confdefs.h. */ 2547/* confdefs.h. */
2458_ACEOF 2548_ACEOF
2459cat confdefs.h >>conftest.$ac_ext 2549cat confdefs.h >>conftest.$ac_ext
2460cat >>conftest.$ac_ext <<_ACEOF 2550cat >>conftest.$ac_ext <<_ACEOF
2461/* end confdefs.h. */ 2551/* end confdefs.h. */
2462 2552
2463int 2553int
2464main () 2554main ()
2465{ 2555{
2466 2556
2467 ; 2557 ;
2468 return 0; 2558 return 0;
2469} 2559}
2470_ACEOF 2560_ACEOF
2471rm -f conftest.o conftest.obj 2561rm -f conftest.o conftest.obj
2472if { (ac_try="$ac_compile" 2562if { (ac_try="$ac_compile"
2473case "(($ac_try" in 2563case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;; 2565 *) ac_try_echo=$ac_try;;
2476esac 2566esac
2477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2567eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2568$as_echo "$ac_try_echo") >&5
2478 (eval "$ac_compile") 2>&5 2569 (eval "$ac_compile") 2>&5
2479 ac_status=$? 2570 ac_status=$?
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; then 2572 (exit $ac_status); }; then
2482 for ac_file in conftest.o conftest.obj conftest.*; do 2573 for ac_file in conftest.o conftest.obj conftest.*; do
2483 test -f "$ac_file" || continue; 2574 test -f "$ac_file" || continue;
2484 case $ac_file in 2575 case $ac_file in
2485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2486 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2487 break;; 2578 break;;
2488 esac 2579 esac
2489done 2580done
2490else 2581else
2491 echo "$as_me: failed program was:" >&5 2582 $as_echo "$as_me: failed program was:" >&5
2492sed 's/^/| /' conftest.$ac_ext >&5 2583sed 's/^/| /' conftest.$ac_ext >&5
2493 2584
2494{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2585{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2495See \`config.log' for more details." >&5 2586See \`config.log' for more details." >&5
2496echo "$as_me: error: cannot compute suffix of object files: cannot compile 2587$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2497See \`config.log' for more details." >&2;} 2588See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; } 2589 { (exit 1); exit 1; }; }
2499fi 2590fi
2500 2591
2501rm -f conftest.$ac_cv_objext conftest.$ac_ext 2592rm -f conftest.$ac_cv_objext conftest.$ac_ext
2502fi 2593fi
2503{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2594{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2504echo "${ECHO_T}$ac_cv_objext" >&6; } 2595$as_echo "$ac_cv_objext" >&6; }
2505OBJEXT=$ac_cv_objext 2596OBJEXT=$ac_cv_objext
2506ac_objext=$OBJEXT 2597ac_objext=$OBJEXT
2507{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2598{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2508echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2599$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2509if test "${ac_cv_c_compiler_gnu+set}" = set; then 2600if test "${ac_cv_c_compiler_gnu+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6 2601 $as_echo_n "(cached) " >&6
2511else 2602else
2512 cat >conftest.$ac_ext <<_ACEOF 2603 cat >conftest.$ac_ext <<_ACEOF
2513/* confdefs.h. */ 2604/* confdefs.h. */
2514_ACEOF 2605_ACEOF
2515cat confdefs.h >>conftest.$ac_ext 2606cat confdefs.h >>conftest.$ac_ext
2516cat >>conftest.$ac_ext <<_ACEOF 2607cat >>conftest.$ac_ext <<_ACEOF
2517/* end confdefs.h. */ 2608/* end confdefs.h. */
2518 2609
2519int 2610int
2520main () 2611main ()
2521{ 2612{
2522#ifndef __GNUC__ 2613#ifndef __GNUC__
2523 choke me 2614 choke me
2524#endif 2615#endif
2525 2616
2526 ; 2617 ;
2527 return 0; 2618 return 0;
2528} 2619}
2529_ACEOF 2620_ACEOF
2530rm -f conftest.$ac_objext 2621rm -f conftest.$ac_objext
2531if { (ac_try="$ac_compile" 2622if { (ac_try="$ac_compile"
2532case "(($ac_try" in 2623case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;; 2625 *) ac_try_echo=$ac_try;;
2535esac 2626esac
2536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2628$as_echo "$ac_try_echo") >&5
2537 (eval "$ac_compile") 2>conftest.er1 2629 (eval "$ac_compile") 2>conftest.er1
2538 ac_status=$? 2630 ac_status=$?
2539 grep -v '^ *+' conftest.er1 >conftest.err 2631 grep -v '^ *+' conftest.er1 >conftest.err
2540 rm -f conftest.er1 2632 rm -f conftest.er1
2541 cat conftest.err >&5 2633 cat conftest.err >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); } && { 2635 (exit $ac_status); } && {
2544 test -z "$ac_c_werror_flag" || 2636 test -z "$ac_c_werror_flag" ||
2545 test ! -s conftest.err 2637 test ! -s conftest.err
2546 } && test -s conftest.$ac_objext; then 2638 } && test -s conftest.$ac_objext; then
2547 ac_compiler_gnu=yes 2639 ac_compiler_gnu=yes
2548else 2640else
2549 echo "$as_me: failed program was:" >&5 2641 $as_echo "$as_me: failed program was:" >&5
2550sed 's/^/| /' conftest.$ac_ext >&5 2642sed 's/^/| /' conftest.$ac_ext >&5
2551 2643
2552 ac_compiler_gnu=no 2644 ac_compiler_gnu=no
2553fi 2645fi
2554 2646
2555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556ac_cv_c_compiler_gnu=$ac_compiler_gnu 2648ac_cv_c_compiler_gnu=$ac_compiler_gnu
2557 2649
2558fi 2650fi
2559{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2651{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2560echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2652$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2561GCC=`test $ac_compiler_gnu = yes && echo yes` 2653if test $ac_compiler_gnu = yes; then
 2654 GCC=yes
 2655else
 2656 GCC=
 2657fi
2562ac_test_CFLAGS=${CFLAGS+set} 2658ac_test_CFLAGS=${CFLAGS+set}
2563ac_save_CFLAGS=$CFLAGS 2659ac_save_CFLAGS=$CFLAGS
2564{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2660{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2565echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2661$as_echo_n "checking whether $CC accepts -g... " >&6; }
2566if test "${ac_cv_prog_cc_g+set}" = set; then 2662if test "${ac_cv_prog_cc_g+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6 2663 $as_echo_n "(cached) " >&6
2568else 2664else
2569 ac_save_c_werror_flag=$ac_c_werror_flag 2665 ac_save_c_werror_flag=$ac_c_werror_flag
2570 ac_c_werror_flag=yes 2666 ac_c_werror_flag=yes
2571 ac_cv_prog_cc_g=no 2667 ac_cv_prog_cc_g=no
2572 CFLAGS="-g" 2668 CFLAGS="-g"
2573 cat >conftest.$ac_ext <<_ACEOF 2669 cat >conftest.$ac_ext <<_ACEOF
2574/* confdefs.h. */ 2670/* confdefs.h. */
2575_ACEOF 2671_ACEOF
2576cat confdefs.h >>conftest.$ac_ext 2672cat confdefs.h >>conftest.$ac_ext
2577cat >>conftest.$ac_ext <<_ACEOF 2673cat >>conftest.$ac_ext <<_ACEOF
2578/* end confdefs.h. */ 2674/* end confdefs.h. */
2579 2675
2580int 2676int
2581main () 2677main ()
2582{ 2678{
2583 2679
2584 ; 2680 ;
2585 return 0; 2681 return 0;
2586} 2682}
2587_ACEOF 2683_ACEOF
2588rm -f conftest.$ac_objext 2684rm -f conftest.$ac_objext
2589if { (ac_try="$ac_compile" 2685if { (ac_try="$ac_compile"
2590case "(($ac_try" in 2686case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;; 2688 *) ac_try_echo=$ac_try;;
2593esac 2689esac
2594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2690eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2691$as_echo "$ac_try_echo") >&5
2595 (eval "$ac_compile") 2>conftest.er1 2692 (eval "$ac_compile") 2>conftest.er1
2596 ac_status=$? 2693 ac_status=$?
2597 grep -v '^ *+' conftest.er1 >conftest.err 2694 grep -v '^ *+' conftest.er1 >conftest.err
2598 rm -f conftest.er1 2695 rm -f conftest.er1
2599 cat conftest.err >&5 2696 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } && { 2698 (exit $ac_status); } && {
2602 test -z "$ac_c_werror_flag" || 2699 test -z "$ac_c_werror_flag" ||
2603 test ! -s conftest.err 2700 test ! -s conftest.err
2604 } && test -s conftest.$ac_objext; then 2701 } && test -s conftest.$ac_objext; then
2605 ac_cv_prog_cc_g=yes 2702 ac_cv_prog_cc_g=yes
2606else 2703else
2607 echo "$as_me: failed program was:" >&5 2704 $as_echo "$as_me: failed program was:" >&5
2608sed 's/^/| /' conftest.$ac_ext >&5 2705sed 's/^/| /' conftest.$ac_ext >&5
2609 2706
2610 CFLAGS="" 2707 CFLAGS=""
2611 cat >conftest.$ac_ext <<_ACEOF 2708 cat >conftest.$ac_ext <<_ACEOF
2612/* confdefs.h. */ 2709/* confdefs.h. */
2613_ACEOF 2710_ACEOF
2614cat confdefs.h >>conftest.$ac_ext 2711cat confdefs.h >>conftest.$ac_ext
2615cat >>conftest.$ac_ext <<_ACEOF 2712cat >>conftest.$ac_ext <<_ACEOF
2616/* end confdefs.h. */ 2713/* end confdefs.h. */
2617 2714
2618int 2715int
2619main () 2716main ()
2620{ 2717{
2621 2718
2622 ; 2719 ;
2623 return 0; 2720 return 0;
2624} 2721}
2625_ACEOF 2722_ACEOF
2626rm -f conftest.$ac_objext 2723rm -f conftest.$ac_objext
2627if { (ac_try="$ac_compile" 2724if { (ac_try="$ac_compile"
2628case "(($ac_try" in 2725case "(($ac_try" in
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;; 2727 *) ac_try_echo=$ac_try;;
2631esac 2728esac
2632eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2729eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2730$as_echo "$ac_try_echo") >&5
2633 (eval "$ac_compile") 2>conftest.er1 2731 (eval "$ac_compile") 2>conftest.er1
2634 ac_status=$? 2732 ac_status=$?
2635 grep -v '^ *+' conftest.er1 >conftest.err 2733 grep -v '^ *+' conftest.er1 >conftest.err
2636 rm -f conftest.er1 2734 rm -f conftest.er1
2637 cat conftest.err >&5 2735 cat conftest.err >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); } && { 2737 (exit $ac_status); } && {
2640 test -z "$ac_c_werror_flag" || 2738 test -z "$ac_c_werror_flag" ||
2641 test ! -s conftest.err 2739 test ! -s conftest.err
2642 } && test -s conftest.$ac_objext; then 2740 } && test -s conftest.$ac_objext; then
2643 : 2741 :
2644else 2742else
2645 echo "$as_me: failed program was:" >&5 2743 $as_echo "$as_me: failed program was:" >&5
2646sed 's/^/| /' conftest.$ac_ext >&5 2744sed 's/^/| /' conftest.$ac_ext >&5
2647 2745
2648 ac_c_werror_flag=$ac_save_c_werror_flag 2746 ac_c_werror_flag=$ac_save_c_werror_flag
2649 CFLAGS="-g" 2747 CFLAGS="-g"
2650 cat >conftest.$ac_ext <<_ACEOF 2748 cat >conftest.$ac_ext <<_ACEOF
2651/* confdefs.h. */ 2749/* confdefs.h. */
2652_ACEOF 2750_ACEOF
2653cat confdefs.h >>conftest.$ac_ext 2751cat confdefs.h >>conftest.$ac_ext
2654cat >>conftest.$ac_ext <<_ACEOF 2752cat >>conftest.$ac_ext <<_ACEOF
2655/* end confdefs.h. */ 2753/* end confdefs.h. */
2656 2754
2657int 2755int
2658main () 2756main ()
2659{ 2757{
2660 2758
2661 ; 2759 ;
2662 return 0; 2760 return 0;
2663} 2761}
2664_ACEOF 2762_ACEOF
2665rm -f conftest.$ac_objext 2763rm -f conftest.$ac_objext
2666if { (ac_try="$ac_compile" 2764if { (ac_try="$ac_compile"
2667case "(($ac_try" in 2765case "(($ac_try" in
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;; 2767 *) ac_try_echo=$ac_try;;
2670esac 2768esac
2671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2769eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2770$as_echo "$ac_try_echo") >&5
2672 (eval "$ac_compile") 2>conftest.er1 2771 (eval "$ac_compile") 2>conftest.er1
2673 ac_status=$? 2772 ac_status=$?
2674 grep -v '^ *+' conftest.er1 >conftest.err 2773 grep -v '^ *+' conftest.er1 >conftest.err
2675 rm -f conftest.er1 2774 rm -f conftest.er1
2676 cat conftest.err >&5 2775 cat conftest.err >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } && { 2777 (exit $ac_status); } && {
2679 test -z "$ac_c_werror_flag" || 2778 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err 2779 test ! -s conftest.err
2681 } && test -s conftest.$ac_objext; then 2780 } && test -s conftest.$ac_objext; then
2682 ac_cv_prog_cc_g=yes 2781 ac_cv_prog_cc_g=yes
2683else 2782else
2684 echo "$as_me: failed program was:" >&5 2783 $as_echo "$as_me: failed program was:" >&5
2685sed 's/^/| /' conftest.$ac_ext >&5 2784sed 's/^/| /' conftest.$ac_ext >&5
2686 2785
2687 2786
2688fi 2787fi
2689 2788
2690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2691fi 2790fi
2692 2791
2693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694fi 2793fi
2695 2794
2696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag 2796 ac_c_werror_flag=$ac_save_c_werror_flag
2698fi 2797fi
2699{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2798{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2700echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2799$as_echo "$ac_cv_prog_cc_g" >&6; }
2701if test "$ac_test_CFLAGS" = set; then 2800if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS 2801 CFLAGS=$ac_save_CFLAGS
2703elif test $ac_cv_prog_cc_g = yes; then 2802elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then 2803 if test "$GCC" = yes; then
2705 CFLAGS="-g -O2" 2804 CFLAGS="-g -O2"
2706 else 2805 else
2707 CFLAGS="-g" 2806 CFLAGS="-g"
2708 fi 2807 fi
2709else 2808else
2710 if test "$GCC" = yes; then 2809 if test "$GCC" = yes; then
2711 CFLAGS="-O2" 2810 CFLAGS="-O2"
2712 else 2811 else
2713 CFLAGS= 2812 CFLAGS=
2714 fi 2813 fi
2715fi 2814fi
2716{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2815{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2717echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2816$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718if test "${ac_cv_prog_cc_c89+set}" = set; then 2817if test "${ac_cv_prog_cc_c89+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6 2818 $as_echo_n "(cached) " >&6
2720else 2819else
2721 ac_cv_prog_cc_c89=no 2820 ac_cv_prog_cc_c89=no
2722ac_save_CC=$CC 2821ac_save_CC=$CC
2723cat >conftest.$ac_ext <<_ACEOF 2822cat >conftest.$ac_ext <<_ACEOF
2724/* confdefs.h. */ 2823/* confdefs.h. */
2725_ACEOF 2824_ACEOF
2726cat confdefs.h >>conftest.$ac_ext 2825cat confdefs.h >>conftest.$ac_ext
2727cat >>conftest.$ac_ext <<_ACEOF 2826cat >>conftest.$ac_ext <<_ACEOF
2728/* end confdefs.h. */ 2827/* end confdefs.h. */
2729#include <stdarg.h> 2828#include <stdarg.h>
2730#include <stdio.h> 2829#include <stdio.h>
2731#include <sys/types.h> 2830#include <sys/types.h>
2732#include <sys/stat.h> 2831#include <sys/stat.h>
2733/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2832/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2734struct buf { int x; }; 2833struct buf { int x; };
2735FILE * (*rcsopen) (struct buf *, struct stat *, int); 2834FILE * (*rcsopen) (struct buf *, struct stat *, int);
2736static char *e (p, i) 2835static char *e (p, i)
2737 char **p; 2836 char **p;
2738 int i; 2837 int i;
2739{ 2838{
2740 return p[i]; 2839 return p[i];
2741} 2840}
2742static char *f (char * (*g) (char **, int), char **p, ...) 2841static char *f (char * (*g) (char **, int), char **p, ...)
2743{ 2842{
2744 char *s; 2843 char *s;
2745 va_list v; 2844 va_list v;
2746 va_start (v,p); 2845 va_start (v,p);
2747 s = g (p, va_arg (v,int)); 2846 s = g (p, va_arg (v,int));
2748 va_end (v); 2847 va_end (v);
2749 return s; 2848 return s;
2750} 2849}
2751 2850
2752/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2851/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2753 function prototypes and stuff, but not '\xHH' hex character constants. 2852 function prototypes and stuff, but not '\xHH' hex character constants.
2754 These don't provoke an error unfortunately, instead are silently treated 2853 These don't provoke an error unfortunately, instead are silently treated
2755 as 'x'. The following induces an error, until -std is added to get 2854 as 'x'. The following induces an error, until -std is added to get
2756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2855 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2757 array size at least. It's necessary to write '\x00'==0 to get something 2856 array size at least. It's necessary to write '\x00'==0 to get something
2758 that's true only with -std. */ 2857 that's true only with -std. */
2759int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2858int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2760 2859
2761/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2860/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2762 inside strings and character constants. */ 2861 inside strings and character constants. */
2763#define FOO(x) 'x' 2862#define FOO(x) 'x'
2764int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2863int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2765 2864
2766int test (int i, double x); 2865int test (int i, double x);
2767struct s1 {int (*f) (int a);}; 2866struct s1 {int (*f) (int a);};
2768struct s2 {int (*f) (double a);}; 2867struct s2 {int (*f) (double a);};
2769int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2868int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2770int argc; 2869int argc;
2771char **argv; 2870char **argv;
2772int 2871int
2773main () 2872main ()
2774{ 2873{
2775return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2874return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2776 ; 2875 ;
2777 return 0; 2876 return 0;
2778} 2877}
2779_ACEOF 2878_ACEOF
2780for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2879for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2782do 2881do
2783 CC="$ac_save_CC $ac_arg" 2882 CC="$ac_save_CC $ac_arg"
2784 rm -f conftest.$ac_objext 2883 rm -f conftest.$ac_objext
2785if { (ac_try="$ac_compile" 2884if { (ac_try="$ac_compile"
2786case "(($ac_try" in 2885case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;; 2887 *) ac_try_echo=$ac_try;;
2789esac 2888esac
2790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2890$as_echo "$ac_try_echo") >&5
2791 (eval "$ac_compile") 2>conftest.er1 2891 (eval "$ac_compile") 2>conftest.er1
2792 ac_status=$? 2892 ac_status=$?
2793 grep -v '^ *+' conftest.er1 >conftest.err 2893 grep -v '^ *+' conftest.er1 >conftest.err
2794 rm -f conftest.er1 2894 rm -f conftest.er1
2795 cat conftest.err >&5 2895 cat conftest.err >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } && { 2897 (exit $ac_status); } && {
2798 test -z "$ac_c_werror_flag" || 2898 test -z "$ac_c_werror_flag" ||
2799 test ! -s conftest.err 2899 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then 2900 } && test -s conftest.$ac_objext; then
2801 ac_cv_prog_cc_c89=$ac_arg 2901 ac_cv_prog_cc_c89=$ac_arg
2802else 2902else
2803 echo "$as_me: failed program was:" >&5 2903 $as_echo "$as_me: failed program was:" >&5
2804sed 's/^/| /' conftest.$ac_ext >&5 2904sed 's/^/| /' conftest.$ac_ext >&5
2805 2905
2806 2906
2807fi 2907fi
2808 2908
2809rm -f core conftest.err conftest.$ac_objext 2909rm -f core conftest.err conftest.$ac_objext
2810 test "x$ac_cv_prog_cc_c89" != "xno" && break 2910 test "x$ac_cv_prog_cc_c89" != "xno" && break
2811done 2911done
2812rm -f conftest.$ac_ext 2912rm -f conftest.$ac_ext
2813CC=$ac_save_CC 2913CC=$ac_save_CC
2814 2914
2815fi 2915fi
2816# AC_CACHE_VAL 2916# AC_CACHE_VAL
2817case "x$ac_cv_prog_cc_c89" in 2917case "x$ac_cv_prog_cc_c89" in
2818 x) 2918 x)
2819 { echo "$as_me:$LINENO: result: none needed" >&5 2919 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2820echo "${ECHO_T}none needed" >&6; } ;; 2920$as_echo "none needed" >&6; } ;;
2821 xno) 2921 xno)
2822 { echo "$as_me:$LINENO: result: unsupported" >&5 2922 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2823echo "${ECHO_T}unsupported" >&6; } ;; 2923$as_echo "unsupported" >&6; } ;;
2824 *) 2924 *)
2825 CC="$CC $ac_cv_prog_cc_c89" 2925 CC="$CC $ac_cv_prog_cc_c89"
2826 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2926 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2827echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2927$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2828esac 2928esac
2829 2929
2830 2930
2831ac_ext=c 2931ac_ext=c
2832ac_cpp='$CPP $CPPFLAGS' 2932ac_cpp='$CPP $CPPFLAGS'
2833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835ac_compiler_gnu=$ac_cv_c_compiler_gnu 2935ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 2936
2837# Find a good install program. We prefer a C program (faster), 2937# Find a good install program. We prefer a C program (faster),
2838# so one script is as good as another. But avoid the broken or 2938# so one script is as good as another. But avoid the broken or
2839# incompatible versions: 2939# incompatible versions:
2840# SysV /etc/install, /usr/sbin/install 2940# SysV /etc/install, /usr/sbin/install
2841# SunOS /usr/etc/install 2941# SunOS /usr/etc/install
2842# IRIX /sbin/install 2942# IRIX /sbin/install
2843# AIX /bin/install 2943# AIX /bin/install
2844# AmigaOS /C/install, which installs bootblocks on floppy discs 2944# AmigaOS /C/install, which installs bootblocks on floppy discs
2845# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2945# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2846# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2946# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2847# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2947# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2848# OS/2's system install, which has a completely different semantic 2948# OS/2's system install, which has a completely different semantic
2849# ./install, which can be erroneously created by make from ./install.sh. 2949# ./install, which can be erroneously created by make from ./install.sh.
2850{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2950# Reject install programs that cannot install multiple files.
2851echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2951{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2952$as_echo_n "checking for a BSD-compatible install... " >&6; }
2852if test -z "$INSTALL"; then 2953if test -z "$INSTALL"; then
2853if test "${ac_cv_path_install+set}" = set; then 2954if test "${ac_cv_path_install+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6 2955 $as_echo_n "(cached) " >&6
2855else 2956else
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857for as_dir in $PATH 2958for as_dir in $PATH
2858do 2959do
2859 IFS=$as_save_IFS 2960 IFS=$as_save_IFS
2860 test -z "$as_dir" && as_dir=. 2961 test -z "$as_dir" && as_dir=.
2861 # Account for people who put trailing slashes in PATH elements. 2962 # Account for people who put trailing slashes in PATH elements.
2862case $as_dir/ in 2963case $as_dir/ in
2863 ./ | .// | /cC/* | \ 2964 ./ | .// | /cC/* | \
2864 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2865 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2966 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2866 /usr/ucb/* ) ;; 2967 /usr/ucb/* ) ;;
2867 *) 2968 *)
2868 # OSF1 and SCO ODT 3.0 have their own names for install. 2969 # OSF1 and SCO ODT 3.0 have their own names for install.
2869 # Don't use installbsd from OSF since it installs stuff as root 2970 # Don't use installbsd from OSF since it installs stuff as root
2870 # by default. 2971 # by default.
2871 for ac_prog in ginstall scoinst install; do 2972 for ac_prog in ginstall scoinst install; do
2872 for ac_exec_ext in '' $ac_executable_extensions; do 2973 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2874 if test $ac_prog = install && 2975 if test $ac_prog = install &&
2875 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2876 # AIX install. It has an incompatible calling convention. 2977 # AIX install. It has an incompatible calling convention.
2877 : 2978 :
2878 elif test $ac_prog = install && 2979 elif test $ac_prog = install &&
2879 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2880 # program-specific install script used by HP pwplus--don't use. 2981 # program-specific install script used by HP pwplus--don't use.
2881 : 2982 :
2882 else 2983 else
2883 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2984 rm -rf conftest.one conftest.two conftest.dir
2884 break 3 2985 echo one > conftest.one
 2986 echo two > conftest.two
 2987 mkdir conftest.dir
 2988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2989 test -s conftest.one && test -s conftest.two &&
 2990 test -s conftest.dir/conftest.one &&
 2991 test -s conftest.dir/conftest.two
 2992 then
 2993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2994 break 3
 2995 fi
2885 fi 2996 fi
2886 fi 2997 fi
2887 done 2998 done
2888 done 2999 done
2889 ;; 3000 ;;
2890esac 3001esac
 3002
2891done 3003done
2892IFS=$as_save_IFS 3004IFS=$as_save_IFS
2893 3005
 3006rm -rf conftest.one conftest.two conftest.dir
2894 3007
2895fi 3008fi
2896 if test "${ac_cv_path_install+set}" = set; then 3009 if test "${ac_cv_path_install+set}" = set; then
2897 INSTALL=$ac_cv_path_install 3010 INSTALL=$ac_cv_path_install
2898 else 3011 else
2899 # As a last resort, use the slow shell script. Don't cache a 3012 # As a last resort, use the slow shell script. Don't cache a
2900 # value for INSTALL within a source directory, because that will 3013 # value for INSTALL within a source directory, because that will
2901 # break other packages using the cache if that directory is 3014 # break other packages using the cache if that directory is
2902 # removed, or if the value is a relative name. 3015 # removed, or if the value is a relative name.
2903 INSTALL=$ac_install_sh 3016 INSTALL=$ac_install_sh
2904 fi 3017 fi
2905fi 3018fi
2906{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3019{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2907echo "${ECHO_T}$INSTALL" >&6; } 3020$as_echo "$INSTALL" >&6; }
2908 3021
2909# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3022# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2910# It thinks the first close brace ends the variable substitution. 3023# It thinks the first close brace ends the variable substitution.
2911test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3024test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2912 3025
2913test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3026test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2914 3027
2915test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3028test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2916 3029
2917{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 3030{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2918echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3031$as_echo_n "checking whether ln -s works... " >&6; }
2919LN_S=$as_ln_s 3032LN_S=$as_ln_s
2920if test "$LN_S" = "ln -s"; then 3033if test "$LN_S" = "ln -s"; then
2921 { echo "$as_me:$LINENO: result: yes" >&5 3034 { $as_echo "$as_me:$LINENO: result: yes" >&5
2922echo "${ECHO_T}yes" >&6; } 3035$as_echo "yes" >&6; }
2923else 3036else
2924 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3037 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2925echo "${ECHO_T}no, using $LN_S" >&6; } 3038$as_echo "no, using $LN_S" >&6; }
2926fi 3039fi
2927 3040
2928 3041
2929AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} 3042AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
2930 3043
2931AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} 3044AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
2932 3045
2933 3046
2934 3047
2935ac_ext=c 3048ac_ext=c
2936ac_cpp='$CPP $CPPFLAGS' 3049ac_cpp='$CPP $CPPFLAGS'
2937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939ac_compiler_gnu=$ac_cv_c_compiler_gnu 3052ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3053{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2941echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3054$as_echo_n "checking how to run the C preprocessor... " >&6; }
2942# On Suns, sometimes $CPP names a directory. 3055# On Suns, sometimes $CPP names a directory.
2943if test -n "$CPP" && test -d "$CPP"; then 3056if test -n "$CPP" && test -d "$CPP"; then
2944 CPP= 3057 CPP=
2945fi 3058fi
2946if test -z "$CPP"; then 3059if test -z "$CPP"; then
2947 if test "${ac_cv_prog_CPP+set}" = set; then 3060 if test "${ac_cv_prog_CPP+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6 3061 $as_echo_n "(cached) " >&6
2949else 3062else
2950 # Double quotes because CPP needs to be expanded 3063 # Double quotes because CPP needs to be expanded
2951 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2952 do 3065 do
2953 ac_preproc_ok=false 3066 ac_preproc_ok=false
2954for ac_c_preproc_warn_flag in '' yes 3067for ac_c_preproc_warn_flag in '' yes
2955do 3068do
2956 # Use a header file that comes with gcc, so configuring glibc 3069 # Use a header file that comes with gcc, so configuring glibc
2957 # with a fresh cross-compiler works. 3070 # with a fresh cross-compiler works.
2958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2959 # <limits.h> exists even on freestanding compilers. 3072 # <limits.h> exists even on freestanding compilers.
2960 # On the NeXT, cc -E runs the code through the compiler's parser, 3073 # On the NeXT, cc -E runs the code through the compiler's parser,
2961 # not just through cpp. "Syntax error" is here to catch this case. 3074 # not just through cpp. "Syntax error" is here to catch this case.
2962 cat >conftest.$ac_ext <<_ACEOF 3075 cat >conftest.$ac_ext <<_ACEOF
2963/* confdefs.h. */ 3076/* confdefs.h. */
2964_ACEOF 3077_ACEOF
2965cat confdefs.h >>conftest.$ac_ext 3078cat confdefs.h >>conftest.$ac_ext
2966cat >>conftest.$ac_ext <<_ACEOF 3079cat >>conftest.$ac_ext <<_ACEOF
2967/* end confdefs.h. */ 3080/* end confdefs.h. */
2968#ifdef __STDC__ 3081#ifdef __STDC__
2969# include <limits.h> 3082# include <limits.h>
2970#else 3083#else
2971# include <assert.h> 3084# include <assert.h>
2972#endif 3085#endif
2973 Syntax error 3086 Syntax error
2974_ACEOF 3087_ACEOF
2975if { (ac_try="$ac_cpp conftest.$ac_ext" 3088if { (ac_try="$ac_cpp conftest.$ac_ext"
2976case "(($ac_try" in 3089case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;; 3091 *) ac_try_echo=$ac_try;;
2979esac 3092esac
2980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3093eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3094$as_echo "$ac_try_echo") >&5
2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2982 ac_status=$? 3096 ac_status=$?
2983 grep -v '^ *+' conftest.er1 >conftest.err 3097 grep -v '^ *+' conftest.er1 >conftest.err
2984 rm -f conftest.er1 3098 rm -f conftest.er1
2985 cat conftest.err >&5 3099 cat conftest.err >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } >/dev/null && { 3101 (exit $ac_status); } >/dev/null && {
2988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2989 test ! -s conftest.err 3103 test ! -s conftest.err
2990 }; then 3104 }; then
2991 : 3105 :
2992else 3106else
2993 echo "$as_me: failed program was:" >&5 3107 $as_echo "$as_me: failed program was:" >&5
2994sed 's/^/| /' conftest.$ac_ext >&5 3108sed 's/^/| /' conftest.$ac_ext >&5
2995 3109
2996 # Broken: fails on valid input. 3110 # Broken: fails on valid input.
2997continue 3111continue
2998fi 3112fi
2999 3113
3000rm -f conftest.err conftest.$ac_ext 3114rm -f conftest.err conftest.$ac_ext
3001 3115
3002 # OK, works on sane cases. Now check whether nonexistent headers 3116 # OK, works on sane cases. Now check whether nonexistent headers
3003 # can be detected and how. 3117 # can be detected and how.
3004 cat >conftest.$ac_ext <<_ACEOF 3118 cat >conftest.$ac_ext <<_ACEOF
3005/* confdefs.h. */ 3119/* confdefs.h. */
3006_ACEOF 3120_ACEOF
3007cat confdefs.h >>conftest.$ac_ext 3121cat confdefs.h >>conftest.$ac_ext
3008cat >>conftest.$ac_ext <<_ACEOF 3122cat >>conftest.$ac_ext <<_ACEOF
3009/* end confdefs.h. */ 3123/* end confdefs.h. */
3010#include <ac_nonexistent.h> 3124#include <ac_nonexistent.h>
3011_ACEOF 3125_ACEOF
3012if { (ac_try="$ac_cpp conftest.$ac_ext" 3126if { (ac_try="$ac_cpp conftest.$ac_ext"
3013case "(($ac_try" in 3127case "(($ac_try" in
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;; 3129 *) ac_try_echo=$ac_try;;
3016esac 3130esac
3017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3132$as_echo "$ac_try_echo") >&5
3018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3019 ac_status=$? 3134 ac_status=$?
3020 grep -v '^ *+' conftest.er1 >conftest.err 3135 grep -v '^ *+' conftest.er1 >conftest.err
3021 rm -f conftest.er1 3136 rm -f conftest.er1
3022 cat conftest.err >&5 3137 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } >/dev/null && { 3139 (exit $ac_status); } >/dev/null && {
3025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3026 test ! -s conftest.err 3141 test ! -s conftest.err
3027 }; then 3142 }; then
3028 # Broken: success on invalid input. 3143 # Broken: success on invalid input.
3029continue 3144continue
3030else 3145else
3031 echo "$as_me: failed program was:" >&5 3146 $as_echo "$as_me: failed program was:" >&5
3032sed 's/^/| /' conftest.$ac_ext >&5 3147sed 's/^/| /' conftest.$ac_ext >&5
3033 3148
3034 # Passes both tests. 3149 # Passes both tests.
3035ac_preproc_ok=: 3150ac_preproc_ok=:
3036break 3151break
3037fi 3152fi
3038 3153
3039rm -f conftest.err conftest.$ac_ext 3154rm -f conftest.err conftest.$ac_ext
3040 3155
3041done 3156done
3042# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3157# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3043rm -f conftest.err conftest.$ac_ext 3158rm -f conftest.err conftest.$ac_ext
3044if $ac_preproc_ok; then 3159if $ac_preproc_ok; then
3045 break 3160 break
3046fi 3161fi
3047 3162
3048 done 3163 done
3049 ac_cv_prog_CPP=$CPP 3164 ac_cv_prog_CPP=$CPP
3050 3165
3051fi 3166fi
3052 CPP=$ac_cv_prog_CPP 3167 CPP=$ac_cv_prog_CPP
3053else 3168else
3054 ac_cv_prog_CPP=$CPP 3169 ac_cv_prog_CPP=$CPP
3055fi 3170fi
3056{ echo "$as_me:$LINENO: result: $CPP" >&5 3171{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3057echo "${ECHO_T}$CPP" >&6; } 3172$as_echo "$CPP" >&6; }
3058ac_preproc_ok=false 3173ac_preproc_ok=false
3059for ac_c_preproc_warn_flag in '' yes 3174for ac_c_preproc_warn_flag in '' yes
3060do 3175do
3061 # Use a header file that comes with gcc, so configuring glibc 3176 # Use a header file that comes with gcc, so configuring glibc
3062 # with a fresh cross-compiler works. 3177 # with a fresh cross-compiler works.
3063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064 # <limits.h> exists even on freestanding compilers. 3179 # <limits.h> exists even on freestanding compilers.
3065 # On the NeXT, cc -E runs the code through the compiler's parser, 3180 # On the NeXT, cc -E runs the code through the compiler's parser,
3066 # not just through cpp. "Syntax error" is here to catch this case. 3181 # not just through cpp. "Syntax error" is here to catch this case.
3067 cat >conftest.$ac_ext <<_ACEOF 3182 cat >conftest.$ac_ext <<_ACEOF
3068/* confdefs.h. */ 3183/* confdefs.h. */
3069_ACEOF 3184_ACEOF
3070cat confdefs.h >>conftest.$ac_ext 3185cat confdefs.h >>conftest.$ac_ext
3071cat >>conftest.$ac_ext <<_ACEOF 3186cat >>conftest.$ac_ext <<_ACEOF
3072/* end confdefs.h. */ 3187/* end confdefs.h. */
3073#ifdef __STDC__ 3188#ifdef __STDC__
3074# include <limits.h> 3189# include <limits.h>
3075#else 3190#else
3076# include <assert.h> 3191# include <assert.h>
3077#endif 3192#endif
3078 Syntax error 3193 Syntax error
3079_ACEOF 3194_ACEOF
3080if { (ac_try="$ac_cpp conftest.$ac_ext" 3195if { (ac_try="$ac_cpp conftest.$ac_ext"
3081case "(($ac_try" in 3196case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;; 3198 *) ac_try_echo=$ac_try;;
3084esac 3199esac
3085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3201$as_echo "$ac_try_echo") >&5
3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3087 ac_status=$? 3203 ac_status=$?
3088 grep -v '^ *+' conftest.er1 >conftest.err 3204 grep -v '^ *+' conftest.er1 >conftest.err
3089 rm -f conftest.er1 3205 rm -f conftest.er1
3090 cat conftest.err >&5 3206 cat conftest.err >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev/null && { 3208 (exit $ac_status); } >/dev/null && {
3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3094 test ! -s conftest.err 3210 test ! -s conftest.err
3095 }; then 3211 }; then
3096 : 3212 :
3097else 3213else
3098 echo "$as_me: failed program was:" >&5 3214 $as_echo "$as_me: failed program was:" >&5
3099sed 's/^/| /' conftest.$ac_ext >&5 3215sed 's/^/| /' conftest.$ac_ext >&5
3100 3216
3101 # Broken: fails on valid input. 3217 # Broken: fails on valid input.
3102continue 3218continue
3103fi 3219fi
3104 3220
3105rm -f conftest.err conftest.$ac_ext 3221rm -f conftest.err conftest.$ac_ext
3106 3222
3107 # OK, works on sane cases. Now check whether nonexistent headers 3223 # OK, works on sane cases. Now check whether nonexistent headers
3108 # can be detected and how. 3224 # can be detected and how.
3109 cat >conftest.$ac_ext <<_ACEOF 3225 cat >conftest.$ac_ext <<_ACEOF
3110/* confdefs.h. */ 3226/* confdefs.h. */
3111_ACEOF 3227_ACEOF
3112cat confdefs.h >>conftest.$ac_ext 3228cat confdefs.h >>conftest.$ac_ext
3113cat >>conftest.$ac_ext <<_ACEOF 3229cat >>conftest.$ac_ext <<_ACEOF
3114/* end confdefs.h. */ 3230/* end confdefs.h. */
3115#include <ac_nonexistent.h> 3231#include <ac_nonexistent.h>
3116_ACEOF 3232_ACEOF
3117if { (ac_try="$ac_cpp conftest.$ac_ext" 3233if { (ac_try="$ac_cpp conftest.$ac_ext"
3118case "(($ac_try" in 3234case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;; 3236 *) ac_try_echo=$ac_try;;
3121esac 3237esac
3122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3239$as_echo "$ac_try_echo") >&5
3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3124 ac_status=$? 3241 ac_status=$?
3125 grep -v '^ *+' conftest.er1 >conftest.err 3242 grep -v '^ *+' conftest.er1 >conftest.err
3126 rm -f conftest.er1 3243 rm -f conftest.er1
3127 cat conftest.err >&5 3244 cat conftest.err >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev/null && { 3246 (exit $ac_status); } >/dev/null && {
3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3131 test ! -s conftest.err 3248 test ! -s conftest.err
3132 }; then 3249 }; then
3133 # Broken: success on invalid input. 3250 # Broken: success on invalid input.
3134continue 3251continue
3135else 3252else
3136 echo "$as_me: failed program was:" >&5 3253 $as_echo "$as_me: failed program was:" >&5
3137sed 's/^/| /' conftest.$ac_ext >&5 3254sed 's/^/| /' conftest.$ac_ext >&5
3138 3255
3139 # Passes both tests. 3256 # Passes both tests.
3140ac_preproc_ok=: 3257ac_preproc_ok=:
3141break 3258break
3142fi 3259fi
3143 3260
3144rm -f conftest.err conftest.$ac_ext 3261rm -f conftest.err conftest.$ac_ext
3145 3262
3146done 3263done
3147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3264# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3148rm -f conftest.err conftest.$ac_ext 3265rm -f conftest.err conftest.$ac_ext
3149if $ac_preproc_ok; then 3266if $ac_preproc_ok; then
3150 : 3267 :
3151else 3268else
3152 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3269 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3153See \`config.log' for more details." >&5 3270See \`config.log' for more details." >&5
3154echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3271$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3155See \`config.log' for more details." >&2;} 3272See \`config.log' for more details." >&2;}
3156 { (exit 1); exit 1; }; } 3273 { (exit 1); exit 1; }; }
3157fi 3274fi
3158 3275
3159ac_ext=c 3276ac_ext=c
3160ac_cpp='$CPP $CPPFLAGS' 3277ac_cpp='$CPP $CPPFLAGS'
3161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163ac_compiler_gnu=$ac_cv_c_compiler_gnu 3280ac_compiler_gnu=$ac_cv_c_compiler_gnu
3164 3281
3165 3282
3166{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3283{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3167echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3284$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3168if test "${ac_cv_path_GREP+set}" = set; then 
3169 echo $ECHO_N "(cached) $ECHO_C" >&6 
3170else 
3171 # Extract the first word of "grep ggrep" to use in msg output 
3172if test -z "$GREP"; then 
3173set dummy grep ggrep; ac_prog_name=$2 
3174if test "${ac_cv_path_GREP+set}" = set; then 3285if test "${ac_cv_path_GREP+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6 3286 $as_echo_n "(cached) " >&6
3176else 3287else
 3288 if test -z "$GREP"; then
3177 ac_path_GREP_found=false 3289 ac_path_GREP_found=false
3178# Loop through the user's path and test for each of PROGNAME-LIST 3290 # Loop through the user's path and test for each of PROGNAME-LIST
3179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3292for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3181do 3293do
3182 IFS=$as_save_IFS 3294 IFS=$as_save_IFS
3183 test -z "$as_dir" && as_dir=. 3295 test -z "$as_dir" && as_dir=.
3184 for ac_prog in grep ggrep; do 3296 for ac_prog in grep ggrep; do
3185 for ac_exec_ext in '' $ac_executable_extensions; do 3297 for ac_exec_ext in '' $ac_executable_extensions; do
3186 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3298 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3187 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3299 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3188 # Check for GNU ac_path_GREP and select it if it is found. 3300# Check for GNU ac_path_GREP and select it if it is found.
3189 # Check for GNU $ac_path_GREP 3301 # Check for GNU $ac_path_GREP
3190case `"$ac_path_GREP" --version 2>&1` in 3302case `"$ac_path_GREP" --version 2>&1` in
3191*GNU*) 3303*GNU*)
3192 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3304 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3193*) 3305*)
3194 ac_count=0 3306 ac_count=0
3195 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3307 $as_echo_n 0123456789 >"conftest.in"
3196 while : 3308 while :
3197 do 3309 do
3198 cat "conftest.in" "conftest.in" >"conftest.tmp" 3310 cat "conftest.in" "conftest.in" >"conftest.tmp"
3199 mv "conftest.tmp" "conftest.in" 3311 mv "conftest.tmp" "conftest.in"
3200 cp "conftest.in" "conftest.nl" 3312 cp "conftest.in" "conftest.nl"
3201 echo 'GREP' >> "conftest.nl" 3313 $as_echo 'GREP' >> "conftest.nl"
3202 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3314 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3315 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3204 ac_count=`expr $ac_count + 1` 3316 ac_count=`expr $ac_count + 1`
3205 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3317 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3206 # Best one so far, save it but keep looking for a better one 3318 # Best one so far, save it but keep looking for a better one
3207 ac_cv_path_GREP="$ac_path_GREP" 3319 ac_cv_path_GREP="$ac_path_GREP"
3208 ac_path_GREP_max=$ac_count 3320 ac_path_GREP_max=$ac_count
3209 fi 3321 fi
3210 # 10*(2^10) chars as input seems more than enough 3322 # 10*(2^10) chars as input seems more than enough
3211 test $ac_count -gt 10 && break 3323 test $ac_count -gt 10 && break
3212 done 3324 done
3213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3325 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3214esac 3326esac
3215 3327
3216 3328 $ac_path_GREP_found && break 3
3217 $ac_path_GREP_found && break 3 3329 done
3218 done 3330 done
3219done 3331done
3220 
3221done 
3222IFS=$as_save_IFS 3332IFS=$as_save_IFS
3223 3333 if test -z "$ac_cv_path_GREP"; then
3224 3334 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3225fi 3335$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3226 
3227GREP="$ac_cv_path_GREP" 
3228if test -z "$GREP"; then 
3229 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
3230echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
3231 { (exit 1); exit 1; }; } 3336 { (exit 1); exit 1; }; }
3232fi 3337 fi
3233 
3234else 3338else
3235 ac_cv_path_GREP=$GREP 3339 ac_cv_path_GREP=$GREP
3236fi 3340fi
3237 3341
3238 
3239fi 3342fi
3240{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3343{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3241echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3344$as_echo "$ac_cv_path_GREP" >&6; }
3242 GREP="$ac_cv_path_GREP" 3345 GREP="$ac_cv_path_GREP"
3243 3346
3244 3347
3245{ echo "$as_me:$LINENO: checking for egrep" >&5 3348{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3246echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3349$as_echo_n "checking for egrep... " >&6; }
3247if test "${ac_cv_path_EGREP+set}" = set; then 3350if test "${ac_cv_path_EGREP+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6 3351 $as_echo_n "(cached) " >&6
3249else 3352else
3250 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3251 then ac_cv_path_EGREP="$GREP -E" 3354 then ac_cv_path_EGREP="$GREP -E"
3252 else 3355 else
3253 # Extract the first word of "egrep" to use in msg output 3356 if test -z "$EGREP"; then
3254if test -z "$EGREP"; then 
3255set dummy egrep; ac_prog_name=$2 
3256if test "${ac_cv_path_EGREP+set}" = set; then 
3257 echo $ECHO_N "(cached) $ECHO_C" >&6 
3258else 
3259 ac_path_EGREP_found=false 3357 ac_path_EGREP_found=false
3260# Loop through the user's path and test for each of PROGNAME-LIST 3358 # Loop through the user's path and test for each of PROGNAME-LIST
3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3360for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3263do 3361do
3264 IFS=$as_save_IFS 3362 IFS=$as_save_IFS
3265 test -z "$as_dir" && as_dir=. 3363 test -z "$as_dir" && as_dir=.
3266 for ac_prog in egrep; do 3364 for ac_prog in egrep; do
3267 for ac_exec_ext in '' $ac_executable_extensions; do 3365 for ac_exec_ext in '' $ac_executable_extensions; do
3268 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3269 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3367 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3270 # Check for GNU ac_path_EGREP and select it if it is found. 3368# Check for GNU ac_path_EGREP and select it if it is found.
3271 # Check for GNU $ac_path_EGREP 3369 # Check for GNU $ac_path_EGREP
3272case `"$ac_path_EGREP" --version 2>&1` in 3370case `"$ac_path_EGREP" --version 2>&1` in
3273*GNU*) 3371*GNU*)
3274 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3275*) 3373*)
3276 ac_count=0 3374 ac_count=0
3277 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3375 $as_echo_n 0123456789 >"conftest.in"
3278 while : 3376 while :
3279 do 3377 do
3280 cat "conftest.in" "conftest.in" >"conftest.tmp" 3378 cat "conftest.in" "conftest.in" >"conftest.tmp"
3281 mv "conftest.tmp" "conftest.in" 3379 mv "conftest.tmp" "conftest.in"
3282 cp "conftest.in" "conftest.nl" 3380 cp "conftest.in" "conftest.nl"
3283 echo 'EGREP' >> "conftest.nl" 3381 $as_echo 'EGREP' >> "conftest.nl"
3284 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3285 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3286 ac_count=`expr $ac_count + 1` 3384 ac_count=`expr $ac_count + 1`
3287 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3288 # Best one so far, save it but keep looking for a better one 3386 # Best one so far, save it but keep looking for a better one
3289 ac_cv_path_EGREP="$ac_path_EGREP" 3387 ac_cv_path_EGREP="$ac_path_EGREP"
3290 ac_path_EGREP_max=$ac_count 3388 ac_path_EGREP_max=$ac_count
3291 fi 3389 fi
3292 # 10*(2^10) chars as input seems more than enough 3390 # 10*(2^10) chars as input seems more than enough
3293 test $ac_count -gt 10 && break 3391 test $ac_count -gt 10 && break
3294 done 3392 done
3295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3296esac 3394esac
3297 3395
3298 3396 $ac_path_EGREP_found && break 3
3299 $ac_path_EGREP_found && break 3 3397 done
3300 done 3398 done
3301done 3399done
3302 
3303done 
3304IFS=$as_save_IFS 3400IFS=$as_save_IFS
3305 3401 if test -z "$ac_cv_path_EGREP"; then
3306 3402 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3307fi 3403$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3308 
3309EGREP="$ac_cv_path_EGREP" 
3310if test -z "$EGREP"; then 
3311 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
3312echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
3313 { (exit 1); exit 1; }; } 3404 { (exit 1); exit 1; }; }
3314fi 3405 fi
3315 
3316else 3406else
3317 ac_cv_path_EGREP=$EGREP 3407 ac_cv_path_EGREP=$EGREP
3318fi 3408fi
3319 3409
3320 
3321 fi 3410 fi
3322fi 3411fi
3323{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3412{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3324echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3413$as_echo "$ac_cv_path_EGREP" >&6; }
3325 EGREP="$ac_cv_path_EGREP" 3414 EGREP="$ac_cv_path_EGREP"
3326 3415
3327 3416
3328{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3417{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3329echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3418$as_echo_n "checking for ANSI C header files... " >&6; }
3330if test "${ac_cv_header_stdc+set}" = set; then 3419if test "${ac_cv_header_stdc+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6 3420 $as_echo_n "(cached) " >&6
3332else 3421else
3333 cat >conftest.$ac_ext <<_ACEOF 3422 cat >conftest.$ac_ext <<_ACEOF
3334/* confdefs.h. */ 3423/* confdefs.h. */
3335_ACEOF 3424_ACEOF
3336cat confdefs.h >>conftest.$ac_ext 3425cat confdefs.h >>conftest.$ac_ext
3337cat >>conftest.$ac_ext <<_ACEOF 3426cat >>conftest.$ac_ext <<_ACEOF
3338/* end confdefs.h. */ 3427/* end confdefs.h. */
3339#include <stdlib.h> 3428#include <stdlib.h>
3340#include <stdarg.h> 3429#include <stdarg.h>
3341#include <string.h> 3430#include <string.h>
3342#include <float.h> 3431#include <float.h>
3343 3432
3344int 3433int
3345main () 3434main ()
3346{ 3435{
3347 3436
3348 ; 3437 ;
3349 return 0; 3438 return 0;
3350} 3439}
3351_ACEOF 3440_ACEOF
3352rm -f conftest.$ac_objext 3441rm -f conftest.$ac_objext
3353if { (ac_try="$ac_compile" 3442if { (ac_try="$ac_compile"
3354case "(($ac_try" in 3443case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;; 3445 *) ac_try_echo=$ac_try;;
3357esac 3446esac
3358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3447eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3448$as_echo "$ac_try_echo") >&5
3359 (eval "$ac_compile") 2>conftest.er1 3449 (eval "$ac_compile") 2>conftest.er1
3360 ac_status=$? 3450 ac_status=$?
3361 grep -v '^ *+' conftest.er1 >conftest.err 3451 grep -v '^ *+' conftest.er1 >conftest.err
3362 rm -f conftest.er1 3452 rm -f conftest.er1
3363 cat conftest.err >&5 3453 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } && { 3455 (exit $ac_status); } && {
3366 test -z "$ac_c_werror_flag" || 3456 test -z "$ac_c_werror_flag" ||
3367 test ! -s conftest.err 3457 test ! -s conftest.err
3368 } && test -s conftest.$ac_objext; then 3458 } && test -s conftest.$ac_objext; then
3369 ac_cv_header_stdc=yes 3459 ac_cv_header_stdc=yes
3370else 3460else
3371 echo "$as_me: failed program was:" >&5 3461 $as_echo "$as_me: failed program was:" >&5
3372sed 's/^/| /' conftest.$ac_ext >&5 3462sed 's/^/| /' conftest.$ac_ext >&5
3373 3463
3374 ac_cv_header_stdc=no 3464 ac_cv_header_stdc=no
3375fi 3465fi
3376 3466
3377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 3468
3379if test $ac_cv_header_stdc = yes; then 3469if test $ac_cv_header_stdc = yes; then
3380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3381 cat >conftest.$ac_ext <<_ACEOF 3471 cat >conftest.$ac_ext <<_ACEOF
3382/* confdefs.h. */ 3472/* confdefs.h. */
3383_ACEOF 3473_ACEOF
3384cat confdefs.h >>conftest.$ac_ext 3474cat confdefs.h >>conftest.$ac_ext
3385cat >>conftest.$ac_ext <<_ACEOF 3475cat >>conftest.$ac_ext <<_ACEOF
3386/* end confdefs.h. */ 3476/* end confdefs.h. */
3387#include <string.h> 3477#include <string.h>
3388 3478
3389_ACEOF 3479_ACEOF
3390if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3480if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3391 $EGREP "memchr" >/dev/null 2>&1; then 3481 $EGREP "memchr" >/dev/null 2>&1; then
3392 : 3482 :
3393else 3483else
3394 ac_cv_header_stdc=no 3484 ac_cv_header_stdc=no
3395fi 3485fi
3396rm -f conftest* 3486rm -f conftest*
3397 3487
3398fi 3488fi
3399 3489
3400if test $ac_cv_header_stdc = yes; then 3490if test $ac_cv_header_stdc = yes; then
3401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3491 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3402 cat >conftest.$ac_ext <<_ACEOF 3492 cat >conftest.$ac_ext <<_ACEOF
3403/* confdefs.h. */ 3493/* confdefs.h. */
3404_ACEOF 3494_ACEOF
3405cat confdefs.h >>conftest.$ac_ext 3495cat confdefs.h >>conftest.$ac_ext
3406cat >>conftest.$ac_ext <<_ACEOF 3496cat >>conftest.$ac_ext <<_ACEOF
3407/* end confdefs.h. */ 3497/* end confdefs.h. */
3408#include <stdlib.h> 3498#include <stdlib.h>
3409 3499
3410_ACEOF 3500_ACEOF
3411if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3501if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3412 $EGREP "free" >/dev/null 2>&1; then 3502 $EGREP "free" >/dev/null 2>&1; then
3413 : 3503 :
3414else 3504else
3415 ac_cv_header_stdc=no 3505 ac_cv_header_stdc=no
3416fi 3506fi
3417rm -f conftest* 3507rm -f conftest*
3418 3508
3419fi 3509fi
3420 3510
3421if test $ac_cv_header_stdc = yes; then 3511if test $ac_cv_header_stdc = yes; then
3422 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3512 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3423 if test "$cross_compiling" = yes; then 3513 if test "$cross_compiling" = yes; then
3424 : 3514 :
3425else 3515else
3426 cat >conftest.$ac_ext <<_ACEOF 3516 cat >conftest.$ac_ext <<_ACEOF
3427/* confdefs.h. */ 3517/* confdefs.h. */
3428_ACEOF 3518_ACEOF
3429cat confdefs.h >>conftest.$ac_ext 3519cat confdefs.h >>conftest.$ac_ext
3430cat >>conftest.$ac_ext <<_ACEOF 3520cat >>conftest.$ac_ext <<_ACEOF
3431/* end confdefs.h. */ 3521/* end confdefs.h. */
3432#include <ctype.h> 3522#include <ctype.h>
3433#include <stdlib.h> 3523#include <stdlib.h>
3434#if ((' ' & 0x0FF) == 0x020) 3524#if ((' ' & 0x0FF) == 0x020)
3435# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3525# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3436# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3526# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3437#else 3527#else
3438# define ISLOWER(c) \ 3528# define ISLOWER(c) \
3439 (('a' <= (c) && (c) <= 'i') \ 3529 (('a' <= (c) && (c) <= 'i') \
3440 || ('j' <= (c) && (c) <= 'r') \ 3530 || ('j' <= (c) && (c) <= 'r') \
3441 || ('s' <= (c) && (c) <= 'z')) 3531 || ('s' <= (c) && (c) <= 'z'))
3442# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3532# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3443#endif 3533#endif
3444 3534
3445#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3535#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3446int 3536int
3447main () 3537main ()
3448{ 3538{
3449 int i; 3539 int i;
3450 for (i = 0; i < 256; i++) 3540 for (i = 0; i < 256; i++)
3451 if (XOR (islower (i), ISLOWER (i)) 3541 if (XOR (islower (i), ISLOWER (i))
3452 || toupper (i) != TOUPPER (i)) 3542 || toupper (i) != TOUPPER (i))
3453 return 2; 3543 return 2;
3454 return 0; 3544 return 0;
3455} 3545}
3456_ACEOF 3546_ACEOF
3457rm -f conftest$ac_exeext 3547rm -f conftest$ac_exeext
3458if { (ac_try="$ac_link" 3548if { (ac_try="$ac_link"
3459case "(($ac_try" in 3549case "(($ac_try" in
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;; 3551 *) ac_try_echo=$ac_try;;
3462esac 3552esac
3463eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3553eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3554$as_echo "$ac_try_echo") >&5
3464 (eval "$ac_link") 2>&5 3555 (eval "$ac_link") 2>&5
3465 ac_status=$? 3556 ac_status=$?
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3468 { (case "(($ac_try" in 3559 { (case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;; 3561 *) ac_try_echo=$ac_try;;
3471esac 3562esac
3472eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3564$as_echo "$ac_try_echo") >&5
3473 (eval "$ac_try") 2>&5 3565 (eval "$ac_try") 2>&5
3474 ac_status=$? 3566 ac_status=$?
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; }; then 3568 (exit $ac_status); }; }; then
3477 : 3569 :
3478else 3570else
3479 echo "$as_me: program exited with status $ac_status" >&5 3571 $as_echo "$as_me: program exited with status $ac_status" >&5
3480echo "$as_me: failed program was:" >&5 3572$as_echo "$as_me: failed program was:" >&5
3481sed 's/^/| /' conftest.$ac_ext >&5 3573sed 's/^/| /' conftest.$ac_ext >&5
3482 3574
3483( exit $ac_status ) 3575( exit $ac_status )
3484ac_cv_header_stdc=no 3576ac_cv_header_stdc=no
3485fi 3577fi
 3578rm -rf conftest.dSYM
3486rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3579rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3487fi 3580fi
3488 3581
3489 3582
3490fi 3583fi
3491fi 3584fi
3492{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3585{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3493echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3586$as_echo "$ac_cv_header_stdc" >&6; }
3494if test $ac_cv_header_stdc = yes; then 3587if test $ac_cv_header_stdc = yes; then
3495 3588
3496cat >>confdefs.h <<\_ACEOF 3589cat >>confdefs.h <<\_ACEOF
3497#define STDC_HEADERS 1 3590#define STDC_HEADERS 1
3498_ACEOF 3591_ACEOF
3499 3592
3500fi 3593fi
3501 3594
3502# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3595# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3503 3596
3504 3597
3505 3598
3506 3599
3507 3600
3508 3601
3509 3602
3510 3603
3511 3604
3512for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3605for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3513 inttypes.h stdint.h unistd.h 3606 inttypes.h stdint.h unistd.h
3514do 3607do
3515as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3608as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3516{ echo "$as_me:$LINENO: checking for $ac_header" >&5 3609{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3517echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3610$as_echo_n "checking for $ac_header... " >&6; }
3518if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3611if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6 3612 $as_echo_n "(cached) " >&6
3520else 3613else
3521 cat >conftest.$ac_ext <<_ACEOF 3614 cat >conftest.$ac_ext <<_ACEOF
3522/* confdefs.h. */ 3615/* confdefs.h. */
3523_ACEOF 3616_ACEOF
3524cat confdefs.h >>conftest.$ac_ext 3617cat confdefs.h >>conftest.$ac_ext
3525cat >>conftest.$ac_ext <<_ACEOF 3618cat >>conftest.$ac_ext <<_ACEOF
3526/* end confdefs.h. */ 3619/* end confdefs.h. */
3527$ac_includes_default 3620$ac_includes_default
3528 3621
3529#include <$ac_header> 3622#include <$ac_header>
3530_ACEOF 3623_ACEOF
3531rm -f conftest.$ac_objext 3624rm -f conftest.$ac_objext
3532if { (ac_try="$ac_compile" 3625if { (ac_try="$ac_compile"
3533case "(($ac_try" in 3626case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;; 3628 *) ac_try_echo=$ac_try;;
3536esac 3629esac
3537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3630eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3631$as_echo "$ac_try_echo") >&5
3538 (eval "$ac_compile") 2>conftest.er1 3632 (eval "$ac_compile") 2>conftest.er1
3539 ac_status=$? 3633 ac_status=$?
3540 grep -v '^ *+' conftest.er1 >conftest.err 3634 grep -v '^ *+' conftest.er1 >conftest.err
3541 rm -f conftest.er1 3635 rm -f conftest.er1
3542 cat conftest.err >&5 3636 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } && { 3638 (exit $ac_status); } && {
3545 test -z "$ac_c_werror_flag" || 3639 test -z "$ac_c_werror_flag" ||
3546 test ! -s conftest.err 3640 test ! -s conftest.err
3547 } && test -s conftest.$ac_objext; then 3641 } && test -s conftest.$ac_objext; then
3548 eval "$as_ac_Header=yes" 3642 eval "$as_ac_Header=yes"
3549else 3643else
3550 echo "$as_me: failed program was:" >&5 3644 $as_echo "$as_me: failed program was:" >&5
3551sed 's/^/| /' conftest.$ac_ext >&5 3645sed 's/^/| /' conftest.$ac_ext >&5
3552 3646
3553 eval "$as_ac_Header=no" 3647 eval "$as_ac_Header=no"
3554fi 3648fi
3555 3649
3556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557fi 3651fi
3558ac_res=`eval echo '${'$as_ac_Header'}'` 3652ac_res=`eval 'as_val=${'$as_ac_Header'}
3559 { echo "$as_me:$LINENO: result: $ac_res" >&5 3653 $as_echo "$as_val"'`
3560echo "${ECHO_T}$ac_res" >&6; } 3654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3561if test `eval echo '${'$as_ac_Header'}'` = yes; then 3655$as_echo "$ac_res" >&6; }
 3656if test `eval 'as_val=${'$as_ac_Header'}
 3657 $as_echo "$as_val"'` = yes; then
3562 cat >>confdefs.h <<_ACEOF 3658 cat >>confdefs.h <<_ACEOF
3563#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3659#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3564_ACEOF 3660_ACEOF
3565 3661
3566fi 3662fi
3567 3663
3568done 3664done
3569 3665
3570 3666
3571 3667
3572 3668
3573 3669
3574 3670
3575 3671
3576for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h 3672for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h
3577do 3673do
3578as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3674as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3579if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3675if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3580 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3676 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3581echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3677$as_echo_n "checking for $ac_header... " >&6; }
3582if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3678if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6 3679 $as_echo_n "(cached) " >&6
3584fi 3680fi
3585ac_res=`eval echo '${'$as_ac_Header'}'` 3681ac_res=`eval 'as_val=${'$as_ac_Header'}
3586 { echo "$as_me:$LINENO: result: $ac_res" >&5 3682 $as_echo "$as_val"'`
3587echo "${ECHO_T}$ac_res" >&6; } 3683 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3684$as_echo "$ac_res" >&6; }
3588else 3685else
3589 # Is the header compilable? 3686 # Is the header compilable?
3590{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 3687{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3591echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3688$as_echo_n "checking $ac_header usability... " >&6; }
3592cat >conftest.$ac_ext <<_ACEOF 3689cat >conftest.$ac_ext <<_ACEOF
3593/* confdefs.h. */ 3690/* confdefs.h. */
3594_ACEOF 3691_ACEOF
3595cat confdefs.h >>conftest.$ac_ext 3692cat confdefs.h >>conftest.$ac_ext
3596cat >>conftest.$ac_ext <<_ACEOF 3693cat >>conftest.$ac_ext <<_ACEOF
3597/* end confdefs.h. */ 3694/* end confdefs.h. */
3598$ac_includes_default 3695$ac_includes_default
3599#include <$ac_header> 3696#include <$ac_header>
3600_ACEOF 3697_ACEOF
3601rm -f conftest.$ac_objext 3698rm -f conftest.$ac_objext
3602if { (ac_try="$ac_compile" 3699if { (ac_try="$ac_compile"
3603case "(($ac_try" in 3700case "(($ac_try" in
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;; 3702 *) ac_try_echo=$ac_try;;
3606esac 3703esac
3607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3705$as_echo "$ac_try_echo") >&5
3608 (eval "$ac_compile") 2>conftest.er1 3706 (eval "$ac_compile") 2>conftest.er1
3609 ac_status=$? 3707 ac_status=$?
3610 grep -v '^ *+' conftest.er1 >conftest.err 3708 grep -v '^ *+' conftest.er1 >conftest.err
3611 rm -f conftest.er1 3709 rm -f conftest.er1
3612 cat conftest.err >&5 3710 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } && { 3712 (exit $ac_status); } && {
3615 test -z "$ac_c_werror_flag" || 3713 test -z "$ac_c_werror_flag" ||
3616 test ! -s conftest.err 3714 test ! -s conftest.err
3617 } && test -s conftest.$ac_objext; then 3715 } && test -s conftest.$ac_objext; then
3618 ac_header_compiler=yes 3716 ac_header_compiler=yes
3619else 3717else
3620 echo "$as_me: failed program was:" >&5 3718 $as_echo "$as_me: failed program was:" >&5
3621sed 's/^/| /' conftest.$ac_ext >&5 3719sed 's/^/| /' conftest.$ac_ext >&5
3622 3720
3623 ac_header_compiler=no 3721 ac_header_compiler=no
3624fi 3722fi
3625 3723
3626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3725{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3628echo "${ECHO_T}$ac_header_compiler" >&6; } 3726$as_echo "$ac_header_compiler" >&6; }
3629 3727
3630# Is the header present? 3728# Is the header present?
3631{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 3729{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3632echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3730$as_echo_n "checking $ac_header presence... " >&6; }
3633cat >conftest.$ac_ext <<_ACEOF 3731cat >conftest.$ac_ext <<_ACEOF
3634/* confdefs.h. */ 3732/* confdefs.h. */
3635_ACEOF 3733_ACEOF
3636cat confdefs.h >>conftest.$ac_ext 3734cat confdefs.h >>conftest.$ac_ext
3637cat >>conftest.$ac_ext <<_ACEOF 3735cat >>conftest.$ac_ext <<_ACEOF
3638/* end confdefs.h. */ 3736/* end confdefs.h. */
3639#include <$ac_header> 3737#include <$ac_header>
3640_ACEOF 3738_ACEOF
3641if { (ac_try="$ac_cpp conftest.$ac_ext" 3739if { (ac_try="$ac_cpp conftest.$ac_ext"
3642case "(($ac_try" in 3740case "(($ac_try" in
3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;; 3742 *) ac_try_echo=$ac_try;;
3645esac 3743esac
3646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3744eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3745$as_echo "$ac_try_echo") >&5
3647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3648 ac_status=$? 3747 ac_status=$?
3649 grep -v '^ *+' conftest.er1 >conftest.err 3748 grep -v '^ *+' conftest.er1 >conftest.err
3650 rm -f conftest.er1 3749 rm -f conftest.er1
3651 cat conftest.err >&5 3750 cat conftest.err >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } >/dev/null && { 3752 (exit $ac_status); } >/dev/null && {
3654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3655 test ! -s conftest.err 3754 test ! -s conftest.err
3656 }; then 3755 }; then
3657 ac_header_preproc=yes 3756 ac_header_preproc=yes
3658else 3757else
3659 echo "$as_me: failed program was:" >&5 3758 $as_echo "$as_me: failed program was:" >&5
3660sed 's/^/| /' conftest.$ac_ext >&5 3759sed 's/^/| /' conftest.$ac_ext >&5
3661 3760
3662 ac_header_preproc=no 3761 ac_header_preproc=no
3663fi 3762fi
3664 3763
3665rm -f conftest.err conftest.$ac_ext 3764rm -f conftest.err conftest.$ac_ext
3666{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3765{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3667echo "${ECHO_T}$ac_header_preproc" >&6; } 3766$as_echo "$ac_header_preproc" >&6; }
3668 3767
3669# So? What about this header? 3768# So? What about this header?
3670case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3769case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3671 yes:no: ) 3770 yes:no: )
3672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3673echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3772$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3675echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3774$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3676 ac_header_preproc=yes 3775 ac_header_preproc=yes
3677 ;; 3776 ;;
3678 no:yes:* ) 3777 no:yes:* )
3679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3680echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3779$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3682echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3781$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3684echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3783$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3686echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3785$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3688echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3787$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3690echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3789$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3691 ( cat <<\_ASBOX 3790 ( cat <<\_ASBOX
3692## ----------------------------- ## 3791## ----------------------------- ##
3693## Report this to agc@netbsd.org ## 3792## Report this to agc@netbsd.org ##
3694## ----------------------------- ## 3793## ----------------------------- ##
3695_ASBOX 3794_ASBOX
3696 ) | sed "s/^/$as_me: WARNING: /" >&2 3795 ) | sed "s/^/$as_me: WARNING: /" >&2
3697 ;; 3796 ;;
3698esac 3797esac
3699{ echo "$as_me:$LINENO: checking for $ac_header" >&5 3798{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3700echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3799$as_echo_n "checking for $ac_header... " >&6; }
3701if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3800if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6 3801 $as_echo_n "(cached) " >&6
3703else 3802else
3704 eval "$as_ac_Header=\$ac_header_preproc" 3803 eval "$as_ac_Header=\$ac_header_preproc"
3705fi 3804fi
3706ac_res=`eval echo '${'$as_ac_Header'}'` 3805ac_res=`eval 'as_val=${'$as_ac_Header'}
3707 { echo "$as_me:$LINENO: result: $ac_res" >&5 3806 $as_echo "$as_val"'`
3708echo "${ECHO_T}$ac_res" >&6; } 3807 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3808$as_echo "$ac_res" >&6; }
3709 3809
3710fi 3810fi
3711if test `eval echo '${'$as_ac_Header'}'` = yes; then 3811if test `eval 'as_val=${'$as_ac_Header'}
 3812 $as_echo "$as_val"'` = yes; then
3712 cat >>confdefs.h <<_ACEOF 3813 cat >>confdefs.h <<_ACEOF
3713#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3814#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3714_ACEOF 3815_ACEOF
3715 3816
3716fi 3817fi
3717 3818
3718done 3819done
3719 3820
3720 3821
3721 3822
3722 3823
3723for ac_header in sys/cdefs.h sys/file.h sys/param.h 3824for ac_header in sys/cdefs.h sys/file.h sys/param.h
3724do 3825do
3725as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3826as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3726if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3827if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3727 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3828 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3728echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3829$as_echo_n "checking for $ac_header... " >&6; }
3729if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3830if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6 3831 $as_echo_n "(cached) " >&6
3731fi 3832fi
3732ac_res=`eval echo '${'$as_ac_Header'}'` 3833ac_res=`eval 'as_val=${'$as_ac_Header'}
3733 { echo "$as_me:$LINENO: result: $ac_res" >&5 3834 $as_echo "$as_val"'`
3734echo "${ECHO_T}$ac_res" >&6; } 3835 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3836$as_echo "$ac_res" >&6; }
3735else 3837else
3736 # Is the header compilable? 3838 # Is the header compilable?
3737{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 3839{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3738echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3840$as_echo_n "checking $ac_header usability... " >&6; }
3739cat >conftest.$ac_ext <<_ACEOF 3841cat >conftest.$ac_ext <<_ACEOF
3740/* confdefs.h. */ 3842/* confdefs.h. */
3741_ACEOF 3843_ACEOF
3742cat confdefs.h >>conftest.$ac_ext 3844cat confdefs.h >>conftest.$ac_ext
3743cat >>conftest.$ac_ext <<_ACEOF 3845cat >>conftest.$ac_ext <<_ACEOF
3744/* end confdefs.h. */ 3846/* end confdefs.h. */
3745$ac_includes_default 3847$ac_includes_default
3746#include <$ac_header> 3848#include <$ac_header>
3747_ACEOF 3849_ACEOF
3748rm -f conftest.$ac_objext 3850rm -f conftest.$ac_objext
3749if { (ac_try="$ac_compile" 3851if { (ac_try="$ac_compile"
3750case "(($ac_try" in 3852case "(($ac_try" in
3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752 *) ac_try_echo=$ac_try;; 3854 *) ac_try_echo=$ac_try;;
3753esac 3855esac
3754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3857$as_echo "$ac_try_echo") >&5
3755 (eval "$ac_compile") 2>conftest.er1 3858 (eval "$ac_compile") 2>conftest.er1
3756 ac_status=$? 3859 ac_status=$?
3757 grep -v '^ *+' conftest.er1 >conftest.err 3860 grep -v '^ *+' conftest.er1 >conftest.err
3758 rm -f conftest.er1 3861 rm -f conftest.er1
3759 cat conftest.err >&5 3862 cat conftest.err >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } && { 3864 (exit $ac_status); } && {
3762 test -z "$ac_c_werror_flag" || 3865 test -z "$ac_c_werror_flag" ||
3763 test ! -s conftest.err 3866 test ! -s conftest.err
3764 } && test -s conftest.$ac_objext; then 3867 } && test -s conftest.$ac_objext; then
3765 ac_header_compiler=yes 3868 ac_header_compiler=yes
3766else 3869else
3767 echo "$as_me: failed program was:" >&5 3870 $as_echo "$as_me: failed program was:" >&5
3768sed 's/^/| /' conftest.$ac_ext >&5 3871sed 's/^/| /' conftest.$ac_ext >&5
3769 3872
3770 ac_header_compiler=no 3873 ac_header_compiler=no
3771fi 3874fi
3772 3875
3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3774{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3877{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3775echo "${ECHO_T}$ac_header_compiler" >&6; } 3878$as_echo "$ac_header_compiler" >&6; }
3776 3879
3777# Is the header present? 3880# Is the header present?
3778{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 3881{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3779echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3882$as_echo_n "checking $ac_header presence... " >&6; }
3780cat >conftest.$ac_ext <<_ACEOF 3883cat >conftest.$ac_ext <<_ACEOF
3781/* confdefs.h. */ 3884/* confdefs.h. */
3782_ACEOF 3885_ACEOF
3783cat confdefs.h >>conftest.$ac_ext 3886cat confdefs.h >>conftest.$ac_ext
3784cat >>conftest.$ac_ext <<_ACEOF 3887cat >>conftest.$ac_ext <<_ACEOF
3785/* end confdefs.h. */ 3888/* end confdefs.h. */
3786#include <$ac_header> 3889#include <$ac_header>
3787_ACEOF 3890_ACEOF
3788if { (ac_try="$ac_cpp conftest.$ac_ext" 3891if { (ac_try="$ac_cpp conftest.$ac_ext"
3789case "(($ac_try" in 3892case "(($ac_try" in
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;; 3894 *) ac_try_echo=$ac_try;;
3792esac 3895esac
3793eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3896eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3897$as_echo "$ac_try_echo") >&5
3794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3795 ac_status=$? 3899 ac_status=$?
3796 grep -v '^ *+' conftest.er1 >conftest.err 3900 grep -v '^ *+' conftest.er1 >conftest.err
3797 rm -f conftest.er1 3901 rm -f conftest.er1
3798 cat conftest.err >&5 3902 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } >/dev/null && { 3904 (exit $ac_status); } >/dev/null && {
3801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3905 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3802 test ! -s conftest.err 3906 test ! -s conftest.err
3803 }; then 3907 }; then
3804 ac_header_preproc=yes 3908 ac_header_preproc=yes
3805else 3909else
3806 echo "$as_me: failed program was:" >&5 3910 $as_echo "$as_me: failed program was:" >&5
3807sed 's/^/| /' conftest.$ac_ext >&5 3911sed 's/^/| /' conftest.$ac_ext >&5
3808 3912
3809 ac_header_preproc=no 3913 ac_header_preproc=no
3810fi 3914fi
3811 3915
3812rm -f conftest.err conftest.$ac_ext 3916rm -f conftest.err conftest.$ac_ext
3813{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3917{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3814echo "${ECHO_T}$ac_header_preproc" >&6; } 3918$as_echo "$ac_header_preproc" >&6; }
3815 3919
3816# So? What about this header? 3920# So? What about this header?
3817case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3921case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3818 yes:no: ) 3922 yes:no: )
3819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3923 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3820echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3924$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3822echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3926$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3823 ac_header_preproc=yes 3927 ac_header_preproc=yes
3824 ;; 3928 ;;
3825 no:yes:* ) 3929 no:yes:* )
3826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3827echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3931$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3829echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3933$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3831echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3935$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3833echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3937$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3835echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3939$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3837echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3941$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3838 ( cat <<\_ASBOX 3942 ( cat <<\_ASBOX
3839## ----------------------------- ## 3943## ----------------------------- ##
3840## Report this to agc@netbsd.org ## 3944## Report this to agc@netbsd.org ##
3841## ----------------------------- ## 3945## ----------------------------- ##
3842_ASBOX 3946_ASBOX
3843 ) | sed "s/^/$as_me: WARNING: /" >&2 3947 ) | sed "s/^/$as_me: WARNING: /" >&2
3844 ;; 3948 ;;
3845esac 3949esac
3846{ echo "$as_me:$LINENO: checking for $ac_header" >&5 3950{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3847echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3951$as_echo_n "checking for $ac_header... " >&6; }
3848if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3952if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6 3953 $as_echo_n "(cached) " >&6
3850else 3954else
3851 eval "$as_ac_Header=\$ac_header_preproc" 3955 eval "$as_ac_Header=\$ac_header_preproc"
3852fi 3956fi
3853ac_res=`eval echo '${'$as_ac_Header'}'` 3957ac_res=`eval 'as_val=${'$as_ac_Header'}
3854 { echo "$as_me:$LINENO: result: $ac_res" >&5 3958 $as_echo "$as_val"'`
3855echo "${ECHO_T}$ac_res" >&6; } 3959 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3960$as_echo "$ac_res" >&6; }
3856 3961
3857fi 3962fi
3858if test `eval echo '${'$as_ac_Header'}'` = yes; then 3963if test `eval 'as_val=${'$as_ac_Header'}
 3964 $as_echo "$as_val"'` = yes; then
3859 cat >>confdefs.h <<_ACEOF 3965 cat >>confdefs.h <<_ACEOF
3860#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3966#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3861_ACEOF 3967_ACEOF
3862 3968
3863fi 3969fi
3864 3970
3865done 3971done
3866 3972
3867 3973
3868 3974
3869 { echo "$as_me:$LINENO: checking for uint8_t" >&5 3975 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
3870echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } 3976$as_echo_n "checking for uint8_t... " >&6; }
3871if test "${ac_cv_c_uint8_t+set}" = set; then 3977if test "${ac_cv_c_uint8_t+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6 3978 $as_echo_n "(cached) " >&6
3873else 3979else
3874 ac_cv_c_uint8_t=no 3980 ac_cv_c_uint8_t=no
3875 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ 3981 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
3876 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 3982 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
3877 cat >conftest.$ac_ext <<_ACEOF 3983 cat >conftest.$ac_ext <<_ACEOF
3878/* confdefs.h. */ 3984/* confdefs.h. */
3879_ACEOF 3985_ACEOF
3880cat confdefs.h >>conftest.$ac_ext 3986cat confdefs.h >>conftest.$ac_ext
3881cat >>conftest.$ac_ext <<_ACEOF 3987cat >>conftest.$ac_ext <<_ACEOF
3882/* end confdefs.h. */ 3988/* end confdefs.h. */
3883$ac_includes_default 3989$ac_includes_default
3884int 3990int
3885main () 3991main ()
3886{ 3992{
3887static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; 3993static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
3888test_array [0] = 0 3994test_array [0] = 0
3889 3995
3890 ; 3996 ;
3891 return 0; 3997 return 0;
3892} 3998}
3893_ACEOF 3999_ACEOF
3894rm -f conftest.$ac_objext 4000rm -f conftest.$ac_objext
3895if { (ac_try="$ac_compile" 4001if { (ac_try="$ac_compile"
3896case "(($ac_try" in 4002case "(($ac_try" in
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;; 4004 *) ac_try_echo=$ac_try;;
3899esac 4005esac
3900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4006eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4007$as_echo "$ac_try_echo") >&5
3901 (eval "$ac_compile") 2>conftest.er1 4008 (eval "$ac_compile") 2>conftest.er1
3902 ac_status=$? 4009 ac_status=$?
3903 grep -v '^ *+' conftest.er1 >conftest.err 4010 grep -v '^ *+' conftest.er1 >conftest.err
3904 rm -f conftest.er1 4011 rm -f conftest.er1
3905 cat conftest.err >&5 4012 cat conftest.err >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } && { 4014 (exit $ac_status); } && {
3908 test -z "$ac_c_werror_flag" || 4015 test -z "$ac_c_werror_flag" ||
3909 test ! -s conftest.err 4016 test ! -s conftest.err
3910 } && test -s conftest.$ac_objext; then 4017 } && test -s conftest.$ac_objext; then
3911 case $ac_type in 4018 case $ac_type in
3912 uint8_t) ac_cv_c_uint8_t=yes ;; 4019 uint8_t) ac_cv_c_uint8_t=yes ;;
3913 *) ac_cv_c_uint8_t=$ac_type ;; 4020 *) ac_cv_c_uint8_t=$ac_type ;;
3914esac 4021esac
3915 4022
3916else 4023else
3917 echo "$as_me: failed program was:" >&5 4024 $as_echo "$as_me: failed program was:" >&5
3918sed 's/^/| /' conftest.$ac_ext >&5 4025sed 's/^/| /' conftest.$ac_ext >&5
3919 4026
3920 4027
3921fi 4028fi
3922 4029
3923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 test "$ac_cv_c_uint8_t" != no && break 4031 test "$ac_cv_c_uint8_t" != no && break
3925 done 4032 done
3926fi 4033fi
3927{ echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 4034{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
3928echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; } 4035$as_echo "$ac_cv_c_uint8_t" >&6; }
3929 case $ac_cv_c_uint8_t in #( 4036 case $ac_cv_c_uint8_t in #(
3930 no|yes) ;; #( 4037 no|yes) ;; #(
3931 *) 4038 *)
3932 4039
3933cat >>confdefs.h <<\_ACEOF 4040cat >>confdefs.h <<\_ACEOF
3934#define _UINT8_T 1 4041#define _UINT8_T 1
3935_ACEOF 4042_ACEOF
3936 4043
3937 4044
3938cat >>confdefs.h <<_ACEOF 4045cat >>confdefs.h <<_ACEOF
3939#define uint8_t $ac_cv_c_uint8_t 4046#define uint8_t $ac_cv_c_uint8_t
3940_ACEOF 4047_ACEOF
3941;; 4048;;
3942 esac 4049 esac
3943 4050
3944 4051
3945 { echo "$as_me:$LINENO: checking for uint16_t" >&5 4052 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
3946echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } 4053$as_echo_n "checking for uint16_t... " >&6; }
3947if test "${ac_cv_c_uint16_t+set}" = set; then 4054if test "${ac_cv_c_uint16_t+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6 4055 $as_echo_n "(cached) " >&6
3949else 4056else
3950 ac_cv_c_uint16_t=no 4057 ac_cv_c_uint16_t=no
3951 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ 4058 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
3952 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 4059 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
3953 cat >conftest.$ac_ext <<_ACEOF 4060 cat >conftest.$ac_ext <<_ACEOF
3954/* confdefs.h. */ 4061/* confdefs.h. */
3955_ACEOF 4062_ACEOF
3956cat confdefs.h >>conftest.$ac_ext 4063cat confdefs.h >>conftest.$ac_ext
3957cat >>conftest.$ac_ext <<_ACEOF 4064cat >>conftest.$ac_ext <<_ACEOF
3958/* end confdefs.h. */ 4065/* end confdefs.h. */
3959$ac_includes_default 4066$ac_includes_default
3960int 4067int
3961main () 4068main ()
3962{ 4069{
3963static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; 4070static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
3964test_array [0] = 0 4071test_array [0] = 0
3965 4072
3966 ; 4073 ;
3967 return 0; 4074 return 0;
3968} 4075}
3969_ACEOF 4076_ACEOF
3970rm -f conftest.$ac_objext 4077rm -f conftest.$ac_objext
3971if { (ac_try="$ac_compile" 4078if { (ac_try="$ac_compile"
3972case "(($ac_try" in 4079case "(($ac_try" in
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;; 4081 *) ac_try_echo=$ac_try;;
3975esac 4082esac
3976eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4083eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4084$as_echo "$ac_try_echo") >&5
3977 (eval "$ac_compile") 2>conftest.er1 4085 (eval "$ac_compile") 2>conftest.er1
3978 ac_status=$? 4086 ac_status=$?
3979 grep -v '^ *+' conftest.er1 >conftest.err 4087 grep -v '^ *+' conftest.er1 >conftest.err
3980 rm -f conftest.er1 4088 rm -f conftest.er1
3981 cat conftest.err >&5 4089 cat conftest.err >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } && { 4091 (exit $ac_status); } && {
3984 test -z "$ac_c_werror_flag" || 4092 test -z "$ac_c_werror_flag" ||
3985 test ! -s conftest.err 4093 test ! -s conftest.err
3986 } && test -s conftest.$ac_objext; then 4094 } && test -s conftest.$ac_objext; then
3987 case $ac_type in 4095 case $ac_type in
3988 uint16_t) ac_cv_c_uint16_t=yes ;; 4096 uint16_t) ac_cv_c_uint16_t=yes ;;
3989 *) ac_cv_c_uint16_t=$ac_type ;; 4097 *) ac_cv_c_uint16_t=$ac_type ;;
3990esac 4098esac
3991 4099
3992else 4100else
3993 echo "$as_me: failed program was:" >&5 4101 $as_echo "$as_me: failed program was:" >&5
3994sed 's/^/| /' conftest.$ac_ext >&5 4102sed 's/^/| /' conftest.$ac_ext >&5
3995 4103
3996 4104
3997fi 4105fi
3998 4106
3999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 test "$ac_cv_c_uint16_t" != no && break 4108 test "$ac_cv_c_uint16_t" != no && break
4001 done 4109 done
4002fi 4110fi
4003{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 4111{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
4004echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } 4112$as_echo "$ac_cv_c_uint16_t" >&6; }
4005 case $ac_cv_c_uint16_t in #( 4113 case $ac_cv_c_uint16_t in #(
4006 no|yes) ;; #( 4114 no|yes) ;; #(
4007 *) 4115 *)
4008 4116
4009 4117
4010cat >>confdefs.h <<_ACEOF 4118cat >>confdefs.h <<_ACEOF
4011#define uint16_t $ac_cv_c_uint16_t 4119#define uint16_t $ac_cv_c_uint16_t
4012_ACEOF 4120_ACEOF
4013;; 4121;;
4014 esac 4122 esac
4015 4123
4016 4124
4017 { echo "$as_me:$LINENO: checking for uint32_t" >&5 4125 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
4018echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } 4126$as_echo_n "checking for uint32_t... " >&6; }
4019if test "${ac_cv_c_uint32_t+set}" = set; then 4127if test "${ac_cv_c_uint32_t+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6 4128 $as_echo_n "(cached) " >&6
4021else 4129else
4022 ac_cv_c_uint32_t=no 4130 ac_cv_c_uint32_t=no
4023 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ 4131 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
4024 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 4132 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4025 cat >conftest.$ac_ext <<_ACEOF 4133 cat >conftest.$ac_ext <<_ACEOF
4026/* confdefs.h. */ 4134/* confdefs.h. */
4027_ACEOF 4135_ACEOF
4028cat confdefs.h >>conftest.$ac_ext 4136cat confdefs.h >>conftest.$ac_ext
4029cat >>conftest.$ac_ext <<_ACEOF 4137cat >>conftest.$ac_ext <<_ACEOF
4030/* end confdefs.h. */ 4138/* end confdefs.h. */
4031$ac_includes_default 4139$ac_includes_default
4032int 4140int
4033main () 4141main ()
4034{ 4142{
4035static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; 4143static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
4036test_array [0] = 0 4144test_array [0] = 0
4037 4145
4038 ; 4146 ;
4039 return 0; 4147 return 0;
4040} 4148}
4041_ACEOF 4149_ACEOF
4042rm -f conftest.$ac_objext 4150rm -f conftest.$ac_objext
4043if { (ac_try="$ac_compile" 4151if { (ac_try="$ac_compile"
4044case "(($ac_try" in 4152case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;; 4154 *) ac_try_echo=$ac_try;;
4047esac 4155esac
4048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4157$as_echo "$ac_try_echo") >&5
4049 (eval "$ac_compile") 2>conftest.er1 4158 (eval "$ac_compile") 2>conftest.er1
4050 ac_status=$? 4159 ac_status=$?
4051 grep -v '^ *+' conftest.er1 >conftest.err 4160 grep -v '^ *+' conftest.er1 >conftest.err
4052 rm -f conftest.er1 4161 rm -f conftest.er1
4053 cat conftest.err >&5 4162 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } && { 4164 (exit $ac_status); } && {
4056 test -z "$ac_c_werror_flag" || 4165 test -z "$ac_c_werror_flag" ||
4057 test ! -s conftest.err 4166 test ! -s conftest.err
4058 } && test -s conftest.$ac_objext; then 4167 } && test -s conftest.$ac_objext; then
4059 case $ac_type in 4168 case $ac_type in
4060 uint32_t) ac_cv_c_uint32_t=yes ;; 4169 uint32_t) ac_cv_c_uint32_t=yes ;;
4061 *) ac_cv_c_uint32_t=$ac_type ;; 4170 *) ac_cv_c_uint32_t=$ac_type ;;
4062esac 4171esac
4063 4172
4064else 4173else
4065 echo "$as_me: failed program was:" >&5 4174 $as_echo "$as_me: failed program was:" >&5
4066sed 's/^/| /' conftest.$ac_ext >&5 4175sed 's/^/| /' conftest.$ac_ext >&5
4067 4176
4068 4177
4069fi 4178fi
4070 4179
4071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 test "$ac_cv_c_uint32_t" != no && break 4181 test "$ac_cv_c_uint32_t" != no && break
4073 done 4182 done
4074fi 4183fi
4075{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 4184{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
4076echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } 4185$as_echo "$ac_cv_c_uint32_t" >&6; }
4077 case $ac_cv_c_uint32_t in #( 4186 case $ac_cv_c_uint32_t in #(
4078 no|yes) ;; #( 4187 no|yes) ;; #(
4079 *) 4188 *)
4080 4189
4081cat >>confdefs.h <<\_ACEOF 4190cat >>confdefs.h <<\_ACEOF
4082#define _UINT32_T 1 4191#define _UINT32_T 1
4083_ACEOF 4192_ACEOF
4084 4193
4085 4194
4086cat >>confdefs.h <<_ACEOF 4195cat >>confdefs.h <<_ACEOF
4087#define uint32_t $ac_cv_c_uint32_t 4196#define uint32_t $ac_cv_c_uint32_t
4088_ACEOF 4197_ACEOF
4089;; 4198;;
4090 esac 4199 esac
4091 4200
4092 4201
4093 { echo "$as_me:$LINENO: checking for uint64_t" >&5 4202 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
4094echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } 4203$as_echo_n "checking for uint64_t... " >&6; }
4095if test "${ac_cv_c_uint64_t+set}" = set; then 4204if test "${ac_cv_c_uint64_t+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6 4205 $as_echo_n "(cached) " >&6
4097else 4206else
4098 ac_cv_c_uint64_t=no 4207 ac_cv_c_uint64_t=no
4099 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ 4208 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
4100 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 4209 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4101 cat >conftest.$ac_ext <<_ACEOF 4210 cat >conftest.$ac_ext <<_ACEOF
4102/* confdefs.h. */ 4211/* confdefs.h. */
4103_ACEOF 4212_ACEOF
4104cat confdefs.h >>conftest.$ac_ext 4213cat confdefs.h >>conftest.$ac_ext
4105cat >>conftest.$ac_ext <<_ACEOF 4214cat >>conftest.$ac_ext <<_ACEOF
4106/* end confdefs.h. */ 4215/* end confdefs.h. */
4107$ac_includes_default 4216$ac_includes_default
4108int 4217int
4109main () 4218main ()
4110{ 4219{
4111static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; 4220static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
4112test_array [0] = 0 4221test_array [0] = 0
4113 4222
4114 ; 4223 ;
4115 return 0; 4224 return 0;
4116} 4225}
4117_ACEOF 4226_ACEOF
4118rm -f conftest.$ac_objext 4227rm -f conftest.$ac_objext
4119if { (ac_try="$ac_compile" 4228if { (ac_try="$ac_compile"
4120case "(($ac_try" in 4229case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;; 4231 *) ac_try_echo=$ac_try;;
4123esac 4232esac
4124eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4234$as_echo "$ac_try_echo") >&5
4125 (eval "$ac_compile") 2>conftest.er1 4235 (eval "$ac_compile") 2>conftest.er1
4126 ac_status=$? 4236 ac_status=$?
4127 grep -v '^ *+' conftest.er1 >conftest.err 4237 grep -v '^ *+' conftest.er1 >conftest.err
4128 rm -f conftest.er1 4238 rm -f conftest.er1
4129 cat conftest.err >&5 4239 cat conftest.err >&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); } && { 4241 (exit $ac_status); } && {
4132 test -z "$ac_c_werror_flag" || 4242 test -z "$ac_c_werror_flag" ||
4133 test ! -s conftest.err 4243 test ! -s conftest.err
4134 } && test -s conftest.$ac_objext; then 4244 } && test -s conftest.$ac_objext; then
4135 case $ac_type in 4245 case $ac_type in
4136 uint64_t) ac_cv_c_uint64_t=yes ;; 4246 uint64_t) ac_cv_c_uint64_t=yes ;;
4137 *) ac_cv_c_uint64_t=$ac_type ;; 4247 *) ac_cv_c_uint64_t=$ac_type ;;
4138esac 4248esac
4139 4249
4140else 4250else
4141 echo "$as_me: failed program was:" >&5 4251 $as_echo "$as_me: failed program was:" >&5
4142sed 's/^/| /' conftest.$ac_ext >&5 4252sed 's/^/| /' conftest.$ac_ext >&5
4143 4253
4144 4254
4145fi 4255fi
4146 4256
4147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 test "$ac_cv_c_uint64_t" != no && break 4258 test "$ac_cv_c_uint64_t" != no && break
4149 done 4259 done
4150fi 4260fi
4151{ echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 4261{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
4152echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; } 4262$as_echo "$ac_cv_c_uint64_t" >&6; }
4153 case $ac_cv_c_uint64_t in #( 4263 case $ac_cv_c_uint64_t in #(
4154 no|yes) ;; #( 4264 no|yes) ;; #(
4155 *) 4265 *)
4156 4266
4157cat >>confdefs.h <<\_ACEOF 4267cat >>confdefs.h <<\_ACEOF
4158#define _UINT64_T 1 4268#define _UINT64_T 1
4159_ACEOF 4269_ACEOF
4160 4270
4161 4271
4162cat >>confdefs.h <<_ACEOF 4272cat >>confdefs.h <<_ACEOF
4163#define uint64_t $ac_cv_c_uint64_t 4273#define uint64_t $ac_cv_c_uint64_t
4164_ACEOF 4274_ACEOF
4165;; 4275;;
4166 esac 4276 esac
4167 4277
4168 4278
4169{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4279
4170echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4280 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 4281$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4171if test "${ac_cv_c_bigendian+set}" = set; then 4282if test "${ac_cv_c_bigendian+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6 4283 $as_echo_n "(cached) " >&6
4173else 4284else
4174 # See if sys/param.h defines the BYTE_ORDER macro. 4285 ac_cv_c_bigendian=unknown
4175cat >conftest.$ac_ext <<_ACEOF 4286 # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined.
 4287 cat >conftest.$ac_ext <<_ACEOF
 4288/* confdefs.h. */
 4289_ACEOF
 4290cat confdefs.h >>conftest.$ac_ext
 4291cat >>conftest.$ac_ext <<_ACEOF
 4292/* end confdefs.h. */
 4293#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
 4294 neither is defined;
 4295 #endif
 4296 typedef int dummy;
 4297
 4298_ACEOF
 4299rm -f conftest.$ac_objext
 4300if { (ac_try="$ac_compile"
 4301case "(($ac_try" in
 4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4303 *) ac_try_echo=$ac_try;;
 4304esac
 4305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4306$as_echo "$ac_try_echo") >&5
 4307 (eval "$ac_compile") 2>conftest.er1
 4308 ac_status=$?
 4309 grep -v '^ *+' conftest.er1 >conftest.err
 4310 rm -f conftest.er1
 4311 cat conftest.err >&5
 4312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4313 (exit $ac_status); } && {
 4314 test -z "$ac_c_werror_flag" ||
 4315 test ! -s conftest.err
 4316 } && test -s conftest.$ac_objext; then
 4317 ac_cv_c_bigendian=universal
 4318else
 4319 $as_echo "$as_me: failed program was:" >&5
 4320sed 's/^/| /' conftest.$ac_ext >&5
 4321
 4322
 4323fi
 4324
 4325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4326 if test $ac_cv_c_bigendian = unknown; then
 4327 # See if sys/param.h defines the BYTE_ORDER macro.
 4328 cat >conftest.$ac_ext <<_ACEOF
4176/* confdefs.h. */ 4329/* confdefs.h. */
4177_ACEOF 4330_ACEOF
4178cat confdefs.h >>conftest.$ac_ext 4331cat confdefs.h >>conftest.$ac_ext
4179cat >>conftest.$ac_ext <<_ACEOF 4332cat >>conftest.$ac_ext <<_ACEOF
4180/* end confdefs.h. */ 4333/* end confdefs.h. */
4181#include <sys/types.h> 4334#include <sys/types.h>
4182#include <sys/param.h> 4335 #include <sys/param.h>
4183 4336
4184int 4337int
4185main () 4338main ()
4186{ 4339{
4187#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4340#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4188 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4341 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4189 bogus endian macros 4342 && LITTLE_ENDIAN)
4190#endif 4343 bogus endian macros
 4344 #endif
4191 4345
4192 ; 4346 ;
4193 return 0; 4347 return 0;
4194} 4348}
4195_ACEOF 4349_ACEOF
4196rm -f conftest.$ac_objext 4350rm -f conftest.$ac_objext
4197if { (ac_try="$ac_compile" 4351if { (ac_try="$ac_compile"
4198case "(($ac_try" in 4352case "(($ac_try" in
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;; 4354 *) ac_try_echo=$ac_try;;
4201esac 4355esac
4202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4356eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4357$as_echo "$ac_try_echo") >&5
4203 (eval "$ac_compile") 2>conftest.er1 4358 (eval "$ac_compile") 2>conftest.er1
4204 ac_status=$? 4359 ac_status=$?
4205 grep -v '^ *+' conftest.er1 >conftest.err 4360 grep -v '^ *+' conftest.er1 >conftest.err
4206 rm -f conftest.er1 4361 rm -f conftest.er1
4207 cat conftest.err >&5 4362 cat conftest.err >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } && { 4364 (exit $ac_status); } && {
4210 test -z "$ac_c_werror_flag" || 4365 test -z "$ac_c_werror_flag" ||
4211 test ! -s conftest.err 4366 test ! -s conftest.err
4212 } && test -s conftest.$ac_objext; then 4367 } && test -s conftest.$ac_objext; then
4213 # It does; now see whether it defined to BIG_ENDIAN or not. 4368 # It does; now see whether it defined to BIG_ENDIAN or not.
4214cat >conftest.$ac_ext <<_ACEOF 4369 cat >conftest.$ac_ext <<_ACEOF
4215/* confdefs.h. */ 4370/* confdefs.h. */
4216_ACEOF 4371_ACEOF
4217cat confdefs.h >>conftest.$ac_ext 4372cat confdefs.h >>conftest.$ac_ext
4218cat >>conftest.$ac_ext <<_ACEOF 4373cat >>conftest.$ac_ext <<_ACEOF
4219/* end confdefs.h. */ 4374/* end confdefs.h. */
4220#include <sys/types.h> 4375#include <sys/types.h>
4221#include <sys/param.h> 4376 #include <sys/param.h>
4222 4377
4223int 4378int
4224main () 4379main ()
4225{ 4380{
4226#if BYTE_ORDER != BIG_ENDIAN 4381#if BYTE_ORDER != BIG_ENDIAN
4227 not big endian 4382 not big endian
4228#endif 4383 #endif
4229 4384
4230 ; 4385 ;
4231 return 0; 4386 return 0;
4232} 4387}
4233_ACEOF 4388_ACEOF
4234rm -f conftest.$ac_objext 4389rm -f conftest.$ac_objext
4235if { (ac_try="$ac_compile" 4390if { (ac_try="$ac_compile"
4236case "(($ac_try" in 4391case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;; 4393 *) ac_try_echo=$ac_try;;
4239esac 4394esac
4240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4396$as_echo "$ac_try_echo") >&5
4241 (eval "$ac_compile") 2>conftest.er1 4397 (eval "$ac_compile") 2>conftest.er1
4242 ac_status=$? 4398 ac_status=$?
4243 grep -v '^ *+' conftest.er1 >conftest.err 4399 grep -v '^ *+' conftest.er1 >conftest.err
4244 rm -f conftest.er1 4400 rm -f conftest.er1
4245 cat conftest.err >&5 4401 cat conftest.err >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } && { 4403 (exit $ac_status); } && {
4248 test -z "$ac_c_werror_flag" || 4404 test -z "$ac_c_werror_flag" ||
4249 test ! -s conftest.err 4405 test ! -s conftest.err
4250 } && test -s conftest.$ac_objext; then 4406 } && test -s conftest.$ac_objext; then
4251 ac_cv_c_bigendian=yes 4407 ac_cv_c_bigendian=yes
4252else 4408else
4253 echo "$as_me: failed program was:" >&5 4409 $as_echo "$as_me: failed program was:" >&5
4254sed 's/^/| /' conftest.$ac_ext >&5 4410sed 's/^/| /' conftest.$ac_ext >&5
4255 4411
4256 ac_cv_c_bigendian=no 4412 ac_cv_c_bigendian=no
4257fi 4413fi
4258 4414
4259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260else 4416else
4261 echo "$as_me: failed program was:" >&5 4417 $as_echo "$as_me: failed program was:" >&5
4262sed 's/^/| /' conftest.$ac_ext >&5 4418sed 's/^/| /' conftest.$ac_ext >&5
4263 4419
4264 # It does not; compile a test program. 4420
4265if test "$cross_compiling" = yes; then 4421fi
4266 # try to guess the endianness by grepping values into an object file 4422
4267 ac_cv_c_bigendian=unknown 4423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 cat >conftest.$ac_ext <<_ACEOF 4424 fi
 4425 if test $ac_cv_c_bigendian = unknown; then
 4426 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 4427 cat >conftest.$ac_ext <<_ACEOF
 4428/* confdefs.h. */
 4429_ACEOF
 4430cat confdefs.h >>conftest.$ac_ext
 4431cat >>conftest.$ac_ext <<_ACEOF
 4432/* end confdefs.h. */
 4433#include <limits.h>
 4434
 4435int
 4436main ()
 4437{
 4438#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 4439 bogus endian macros
 4440 #endif
 4441
 4442 ;
 4443 return 0;
 4444}
 4445_ACEOF
 4446rm -f conftest.$ac_objext
 4447if { (ac_try="$ac_compile"
 4448case "(($ac_try" in
 4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4450 *) ac_try_echo=$ac_try;;
 4451esac
 4452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4453$as_echo "$ac_try_echo") >&5
 4454 (eval "$ac_compile") 2>conftest.er1
 4455 ac_status=$?
 4456 grep -v '^ *+' conftest.er1 >conftest.err
 4457 rm -f conftest.er1
 4458 cat conftest.err >&5
 4459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4460 (exit $ac_status); } && {
 4461 test -z "$ac_c_werror_flag" ||
 4462 test ! -s conftest.err
 4463 } && test -s conftest.$ac_objext; then
 4464 # It does; now see whether it defined to _BIG_ENDIAN or not.
 4465 cat >conftest.$ac_ext <<_ACEOF
4269/* confdefs.h. */ 4466/* confdefs.h. */
4270_ACEOF 4467_ACEOF
4271cat confdefs.h >>conftest.$ac_ext 4468cat confdefs.h >>conftest.$ac_ext
4272cat >>conftest.$ac_ext <<_ACEOF 4469cat >>conftest.$ac_ext <<_ACEOF
4273/* end confdefs.h. */ 4470/* end confdefs.h. */
4274short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4471#include <limits.h>
4275short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4472
4276void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
4277short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
4278short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
4279void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
4280int 4473int
4281main () 4474main ()
4282{ 4475{
4283 _ascii (); _ebcdic (); 4476#ifndef _BIG_ENDIAN
 4477 not big endian
 4478 #endif
 4479
4284 ; 4480 ;
4285 return 0; 4481 return 0;
4286} 4482}
4287_ACEOF 4483_ACEOF
4288rm -f conftest.$ac_objext 4484rm -f conftest.$ac_objext
4289if { (ac_try="$ac_compile" 4485if { (ac_try="$ac_compile"
4290case "(($ac_try" in 4486case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;; 4488 *) ac_try_echo=$ac_try;;
4293esac 4489esac
4294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4490eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4491$as_echo "$ac_try_echo") >&5
4295 (eval "$ac_compile") 2>conftest.er1 4492 (eval "$ac_compile") 2>conftest.er1
4296 ac_status=$? 4493 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err 4494 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1 4495 rm -f conftest.er1
4299 cat conftest.err >&5 4496 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && { 4498 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" || 4499 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err 4500 test ! -s conftest.err
4304 } && test -s conftest.$ac_objext; then 4501 } && test -s conftest.$ac_objext; then
4305 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
4306 ac_cv_c_bigendian=yes 4502 ac_cv_c_bigendian=yes
 4503else
 4504 $as_echo "$as_me: failed program was:" >&5
 4505sed 's/^/| /' conftest.$ac_ext >&5
 4506
 4507 ac_cv_c_bigendian=no
4307fi 4508fi
4308if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4509
4309 if test "$ac_cv_c_bigendian" = unknown; then 4510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 ac_cv_c_bigendian=no 4511else
4311 else 4512 $as_echo "$as_me: failed program was:" >&5
4312 # finding both strings is unlikely to happen, but who knows? 4513sed 's/^/| /' conftest.$ac_ext >&5
4313 ac_cv_c_bigendian=unknown 4514
4314 fi 4515
4315fi 4516fi
 4517
 4518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4519 fi
 4520 if test $ac_cv_c_bigendian = unknown; then
 4521 # Compile a test program.
 4522 if test "$cross_compiling" = yes; then
 4523 # Try to guess by grepping values from an object file.
 4524 cat >conftest.$ac_ext <<_ACEOF
 4525/* confdefs.h. */
 4526_ACEOF
 4527cat confdefs.h >>conftest.$ac_ext
 4528cat >>conftest.$ac_ext <<_ACEOF
 4529/* end confdefs.h. */
 4530short int ascii_mm[] =
 4531 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 4532 short int ascii_ii[] =
 4533 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 4534 int use_ascii (int i) {
 4535 return ascii_mm[i] + ascii_ii[i];
 4536 }
 4537 short int ebcdic_ii[] =
 4538 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 4539 short int ebcdic_mm[] =
 4540 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 4541 int use_ebcdic (int i) {
 4542 return ebcdic_mm[i] + ebcdic_ii[i];
 4543 }
 4544 extern int foo;
 4545
 4546int
 4547main ()
 4548{
 4549return use_ascii (foo) == use_ebcdic (foo);
 4550 ;
 4551 return 0;
 4552}
 4553_ACEOF
 4554rm -f conftest.$ac_objext
 4555if { (ac_try="$ac_compile"
 4556case "(($ac_try" in
 4557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4558 *) ac_try_echo=$ac_try;;
 4559esac
 4560eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4561$as_echo "$ac_try_echo") >&5
 4562 (eval "$ac_compile") 2>conftest.er1
 4563 ac_status=$?
 4564 grep -v '^ *+' conftest.er1 >conftest.err
 4565 rm -f conftest.er1
 4566 cat conftest.err >&5
 4567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4568 (exit $ac_status); } && {
 4569 test -z "$ac_c_werror_flag" ||
 4570 test ! -s conftest.err
 4571 } && test -s conftest.$ac_objext; then
 4572 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 4573 ac_cv_c_bigendian=yes
 4574 fi
 4575 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 4576 if test "$ac_cv_c_bigendian" = unknown; then
 4577 ac_cv_c_bigendian=no
 4578 else
 4579 # finding both strings is unlikely to happen, but who knows?
 4580 ac_cv_c_bigendian=unknown
 4581 fi
 4582 fi
4316else 4583else
4317 echo "$as_me: failed program was:" >&5 4584 $as_echo "$as_me: failed program was:" >&5
4318sed 's/^/| /' conftest.$ac_ext >&5 4585sed 's/^/| /' conftest.$ac_ext >&5
4319 4586
4320 4587
4321fi 4588fi
4322 4589
4323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324else 4591else
4325 cat >conftest.$ac_ext <<_ACEOF 4592 cat >conftest.$ac_ext <<_ACEOF
4326/* confdefs.h. */ 4593/* confdefs.h. */
4327_ACEOF 4594_ACEOF
4328cat confdefs.h >>conftest.$ac_ext 4595cat confdefs.h >>conftest.$ac_ext
4329cat >>conftest.$ac_ext <<_ACEOF 4596cat >>conftest.$ac_ext <<_ACEOF
4330/* end confdefs.h. */ 4597/* end confdefs.h. */
4331$ac_includes_default 4598$ac_includes_default
4332int 4599int
4333main () 4600main ()
4334{ 4601{
4335 4602
4336 /* Are we little or big endian? From Harbison&Steele. */ 4603 /* Are we little or big endian? From Harbison&Steele. */
4337 union 4604 union
4338 { 4605 {
4339 long int l; 4606 long int l;
4340 char c[sizeof (long int)]; 4607 char c[sizeof (long int)];
4341 } u; 4608 } u;
4342 u.l = 1; 4609 u.l = 1;
4343 return u.c[sizeof (long int) - 1] == 1; 4610 return u.c[sizeof (long int) - 1] == 1;
4344 4611
4345 ; 4612 ;
4346 return 0; 4613 return 0;
4347} 4614}
4348_ACEOF 4615_ACEOF
4349rm -f conftest$ac_exeext 4616rm -f conftest$ac_exeext
4350if { (ac_try="$ac_link" 4617if { (ac_try="$ac_link"
4351case "(($ac_try" in 4618case "(($ac_try" in
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;; 4620 *) ac_try_echo=$ac_try;;
4354esac 4621esac
4355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4623$as_echo "$ac_try_echo") >&5
4356 (eval "$ac_link") 2>&5 4624 (eval "$ac_link") 2>&5
4357 ac_status=$? 4625 ac_status=$?
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4360 { (case "(($ac_try" in 4628 { (case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;; 4630 *) ac_try_echo=$ac_try;;
4363esac 4631esac
4364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4633$as_echo "$ac_try_echo") >&5
4365 (eval "$ac_try") 2>&5 4634 (eval "$ac_try") 2>&5
4366 ac_status=$? 4635 ac_status=$?
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; }; then 4637 (exit $ac_status); }; }; then
4369 ac_cv_c_bigendian=no 4638 ac_cv_c_bigendian=no
4370else 4639else
4371 echo "$as_me: program exited with status $ac_status" >&5 4640 $as_echo "$as_me: program exited with status $ac_status" >&5
4372echo "$as_me: failed program was:" >&5 4641$as_echo "$as_me: failed program was:" >&5
4373sed 's/^/| /' conftest.$ac_ext >&5 4642sed 's/^/| /' conftest.$ac_ext >&5
4374 4643
4375( exit $ac_status ) 4644( exit $ac_status )
4376ac_cv_c_bigendian=yes 4645ac_cv_c_bigendian=yes
4377fi 4646fi
 4647rm -rf conftest.dSYM
4378rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4648rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4379fi 4649fi
4380 4650
4381 4651
 4652 fi
4382fi 4653fi
4383 4654{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4655$as_echo "$ac_cv_c_bigendian" >&6; }
4385fi 4656 case $ac_cv_c_bigendian in #(
4386{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4657 yes)
4387echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4658 cat >>confdefs.h <<\_ACEOF
4388case $ac_cv_c_bigendian in 
4389 yes) 
4390 
4391cat >>confdefs.h <<\_ACEOF 
4392#define WORDS_BIGENDIAN 1 4659#define WORDS_BIGENDIAN 1
4393_ACEOF 4660_ACEOF
4394 ;; 4661;; #(
4395 no) 4662 no)
4396 ;; 4663 ;; #(
4397 *) 4664 universal)
4398 { { echo "$as_me:$LINENO: error: unknown endianness 4665 ;; #(
4399presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4666 *)
4400echo "$as_me: error: unknown endianness 4667 { { $as_echo "$as_me:$LINENO: error: unknown endianness
4401presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4668 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 4669$as_echo "$as_me: error: unknown endianness
 4670 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4402 { (exit 1); exit 1; }; } ;; 4671 { (exit 1); exit 1; }; } ;;
4403esac 4672 esac
4404 4673
4405 4674
4406# Checks for library functions. 4675# Checks for library functions.
4407{ echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 4676{ $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
4408echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; } 4677$as_echo_n "checking whether strerror_r is declared... " >&6; }
4409if test "${ac_cv_have_decl_strerror_r+set}" = set; then 4678if test "${ac_cv_have_decl_strerror_r+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6 4679 $as_echo_n "(cached) " >&6
4411else 4680else
4412 cat >conftest.$ac_ext <<_ACEOF 4681 cat >conftest.$ac_ext <<_ACEOF
4413/* confdefs.h. */ 4682/* confdefs.h. */
4414_ACEOF 4683_ACEOF
4415cat confdefs.h >>conftest.$ac_ext 4684cat confdefs.h >>conftest.$ac_ext
4416cat >>conftest.$ac_ext <<_ACEOF 4685cat >>conftest.$ac_ext <<_ACEOF
4417/* end confdefs.h. */ 4686/* end confdefs.h. */
4418$ac_includes_default 4687$ac_includes_default
4419int 4688int
4420main () 4689main ()
4421{ 4690{
4422#ifndef strerror_r 4691#ifndef strerror_r
4423 (void) strerror_r; 4692 (void) strerror_r;
4424#endif 4693#endif
4425 4694
4426 ; 4695 ;
4427 return 0; 4696 return 0;
4428} 4697}
4429_ACEOF 4698_ACEOF
4430rm -f conftest.$ac_objext 4699rm -f conftest.$ac_objext
4431if { (ac_try="$ac_compile" 4700if { (ac_try="$ac_compile"
4432case "(($ac_try" in 4701case "(($ac_try" in
4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;; 4703 *) ac_try_echo=$ac_try;;
4435esac 4704esac
4436eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4706$as_echo "$ac_try_echo") >&5
4437 (eval "$ac_compile") 2>conftest.er1 4707 (eval "$ac_compile") 2>conftest.er1
4438 ac_status=$? 4708 ac_status=$?
4439 grep -v '^ *+' conftest.er1 >conftest.err 4709 grep -v '^ *+' conftest.er1 >conftest.err
4440 rm -f conftest.er1 4710 rm -f conftest.er1
4441 cat conftest.err >&5 4711 cat conftest.err >&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } && { 4713 (exit $ac_status); } && {
4444 test -z "$ac_c_werror_flag" || 4714 test -z "$ac_c_werror_flag" ||
4445 test ! -s conftest.err 4715 test ! -s conftest.err
4446 } && test -s conftest.$ac_objext; then 4716 } && test -s conftest.$ac_objext; then
4447 ac_cv_have_decl_strerror_r=yes 4717 ac_cv_have_decl_strerror_r=yes
4448else 4718else
4449 echo "$as_me: failed program was:" >&5 4719 $as_echo "$as_me: failed program was:" >&5
4450sed 's/^/| /' conftest.$ac_ext >&5 4720sed 's/^/| /' conftest.$ac_ext >&5
4451 4721
4452 ac_cv_have_decl_strerror_r=no 4722 ac_cv_have_decl_strerror_r=no
4453fi 4723fi
4454 4724
4455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456fi 4726fi
4457{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 4727{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
4458echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; } 4728$as_echo "$ac_cv_have_decl_strerror_r" >&6; }
4459if test $ac_cv_have_decl_strerror_r = yes; then 4729if test $ac_cv_have_decl_strerror_r = yes; then
4460 4730
4461cat >>confdefs.h <<_ACEOF 4731cat >>confdefs.h <<_ACEOF
4462#define HAVE_DECL_STRERROR_R 1 4732#define HAVE_DECL_STRERROR_R 1
4463_ACEOF 4733_ACEOF
4464 4734
4465 4735
4466else 4736else
4467 cat >>confdefs.h <<_ACEOF 4737 cat >>confdefs.h <<_ACEOF
4468#define HAVE_DECL_STRERROR_R 0 4738#define HAVE_DECL_STRERROR_R 0
4469_ACEOF 4739_ACEOF
4470 4740
4471 4741
4472fi 4742fi
4473 4743
4474 4744
4475 4745
4476for ac_func in strerror_r 4746for ac_func in strerror_r
4477do 4747do
4478as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4748as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4479{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4749{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4480echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4750$as_echo_n "checking for $ac_func... " >&6; }
4481if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4751if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6 4752 $as_echo_n "(cached) " >&6
4483else 4753else
4484 cat >conftest.$ac_ext <<_ACEOF 4754 cat >conftest.$ac_ext <<_ACEOF
4485/* confdefs.h. */ 4755/* confdefs.h. */
4486_ACEOF 4756_ACEOF
4487cat confdefs.h >>conftest.$ac_ext 4757cat confdefs.h >>conftest.$ac_ext
4488cat >>conftest.$ac_ext <<_ACEOF 4758cat >>conftest.$ac_ext <<_ACEOF
4489/* end confdefs.h. */ 4759/* end confdefs.h. */
4490/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4760/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492#define $ac_func innocuous_$ac_func 4762#define $ac_func innocuous_$ac_func
4493 4763
4494/* System header to define __stub macros and hopefully few prototypes, 4764/* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char $ac_func (); below. 4765 which can conflict with char $ac_func (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */ 4767 <limits.h> exists even on freestanding compilers. */
4498 4768
4499#ifdef __STDC__ 4769#ifdef __STDC__
4500# include <limits.h> 4770# include <limits.h>
4501#else 4771#else
4502# include <assert.h> 4772# include <assert.h>
4503#endif 4773#endif
4504 4774
4505#undef $ac_func 4775#undef $ac_func
4506 4776
4507/* Override any GCC internal prototype to avoid an error. 4777/* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC 4778 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */ 4779 builtin and then its argument prototype would still apply. */
4510#ifdef __cplusplus 4780#ifdef __cplusplus
4511extern "C" 4781extern "C"
4512#endif 4782#endif
4513char $ac_func (); 4783char $ac_func ();
4514/* The GNU C library defines this for functions which it implements 4784/* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named 4785 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */ 4786 something starting with __ and the normal name is an alias. */
4517#if defined __stub_$ac_func || defined __stub___$ac_func 4787#if defined __stub_$ac_func || defined __stub___$ac_func
4518choke me 4788choke me
4519#endif 4789#endif
4520 4790
4521int 4791int
4522main () 4792main ()
4523{ 4793{
4524return $ac_func (); 4794return $ac_func ();
4525 ; 4795 ;
4526 return 0; 4796 return 0;
4527} 4797}
4528_ACEOF 4798_ACEOF
4529rm -f conftest.$ac_objext conftest$ac_exeext 4799rm -f conftest.$ac_objext conftest$ac_exeext
4530if { (ac_try="$ac_link" 4800if { (ac_try="$ac_link"
4531case "(($ac_try" in 4801case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;; 4803 *) ac_try_echo=$ac_try;;
4534esac 4804esac
4535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4805eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4806$as_echo "$ac_try_echo") >&5
4536 (eval "$ac_link") 2>conftest.er1 4807 (eval "$ac_link") 2>conftest.er1
4537 ac_status=$? 4808 ac_status=$?
4538 grep -v '^ *+' conftest.er1 >conftest.err 4809 grep -v '^ *+' conftest.er1 >conftest.err
4539 rm -f conftest.er1 4810 rm -f conftest.er1
4540 cat conftest.err >&5 4811 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && { 4813 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" || 4814 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err 4815 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext && 4816 } && test -s conftest$ac_exeext && {
4546 $as_test_x conftest$ac_exeext; then 4817 test "$cross_compiling" = yes ||
 4818 $as_test_x conftest$ac_exeext
 4819 }; then
4547 eval "$as_ac_var=yes" 4820 eval "$as_ac_var=yes"
4548else 4821else
4549 echo "$as_me: failed program was:" >&5 4822 $as_echo "$as_me: failed program was:" >&5
4550sed 's/^/| /' conftest.$ac_ext >&5 4823sed 's/^/| /' conftest.$ac_ext >&5
4551 4824
4552 eval "$as_ac_var=no" 4825 eval "$as_ac_var=no"
4553fi 4826fi
4554 4827
 4828rm -rf conftest.dSYM
4555rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4829rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext 4830 conftest$ac_exeext conftest.$ac_ext
4557fi 4831fi
4558ac_res=`eval echo '${'$as_ac_var'}'` 4832ac_res=`eval 'as_val=${'$as_ac_var'}
4559 { echo "$as_me:$LINENO: result: $ac_res" >&5 4833 $as_echo "$as_val"'`
4560echo "${ECHO_T}$ac_res" >&6; } 4834 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4561if test `eval echo '${'$as_ac_var'}'` = yes; then 4835$as_echo "$ac_res" >&6; }
 4836if test `eval 'as_val=${'$as_ac_var'}
 4837 $as_echo "$as_val"'` = yes; then
4562 cat >>confdefs.h <<_ACEOF 4838 cat >>confdefs.h <<_ACEOF
4563#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4839#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4564_ACEOF 4840_ACEOF
4565 4841
4566fi 4842fi
4567done 4843done
4568 4844
4569{ echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 4845{ $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
4570echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; } 4846$as_echo_n "checking whether strerror_r returns char *... " >&6; }
4571if test "${ac_cv_func_strerror_r_char_p+set}" = set; then 4847if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6 4848 $as_echo_n "(cached) " >&6
4573else 4849else
4574 4850
4575 ac_cv_func_strerror_r_char_p=no 4851 ac_cv_func_strerror_r_char_p=no
4576 if test $ac_cv_have_decl_strerror_r = yes; then 4852 if test $ac_cv_have_decl_strerror_r = yes; then
4577 cat >conftest.$ac_ext <<_ACEOF 4853 cat >conftest.$ac_ext <<_ACEOF
4578/* confdefs.h. */ 4854/* confdefs.h. */
4579_ACEOF 4855_ACEOF
4580cat confdefs.h >>conftest.$ac_ext 4856cat confdefs.h >>conftest.$ac_ext
4581cat >>conftest.$ac_ext <<_ACEOF 4857cat >>conftest.$ac_ext <<_ACEOF
4582/* end confdefs.h. */ 4858/* end confdefs.h. */
4583$ac_includes_default 4859$ac_includes_default
4584int 4860int
4585main () 4861main ()
4586{ 4862{
4587 4863
4588 char buf[100]; 4864 char buf[100];
4589 char x = *strerror_r (0, buf, sizeof buf); 4865 char x = *strerror_r (0, buf, sizeof buf);
4590 char *p = strerror_r (0, buf, sizeof buf); 4866 char *p = strerror_r (0, buf, sizeof buf);
4591 return !p || x; 4867 return !p || x;
4592 4868
4593 ; 4869 ;
4594 return 0; 4870 return 0;
4595} 4871}
4596_ACEOF 4872_ACEOF
4597rm -f conftest.$ac_objext 4873rm -f conftest.$ac_objext
4598if { (ac_try="$ac_compile" 4874if { (ac_try="$ac_compile"
4599case "(($ac_try" in 4875case "(($ac_try" in
4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4601 *) ac_try_echo=$ac_try;; 4877 *) ac_try_echo=$ac_try;;
4602esac 4878esac
4603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4879eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4880$as_echo "$ac_try_echo") >&5
4604 (eval "$ac_compile") 2>conftest.er1 4881 (eval "$ac_compile") 2>conftest.er1
4605 ac_status=$? 4882 ac_status=$?
4606 grep -v '^ *+' conftest.er1 >conftest.err 4883 grep -v '^ *+' conftest.er1 >conftest.err
4607 rm -f conftest.er1 4884 rm -f conftest.er1
4608 cat conftest.err >&5 4885 cat conftest.err >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } && { 4887 (exit $ac_status); } && {
4611 test -z "$ac_c_werror_flag" || 4888 test -z "$ac_c_werror_flag" ||
4612 test ! -s conftest.err 4889 test ! -s conftest.err
4613 } && test -s conftest.$ac_objext; then 4890 } && test -s conftest.$ac_objext; then
4614 ac_cv_func_strerror_r_char_p=yes 4891 ac_cv_func_strerror_r_char_p=yes
4615else 4892else
4616 echo "$as_me: failed program was:" >&5 4893 $as_echo "$as_me: failed program was:" >&5
4617sed 's/^/| /' conftest.$ac_ext >&5 4894sed 's/^/| /' conftest.$ac_ext >&5
4618 4895
4619 4896
4620fi 4897fi
4621 4898
4622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 else 4900 else
4624 # strerror_r is not declared. Choose between 4901 # strerror_r is not declared. Choose between
4625 # systems that have relatively inaccessible declarations for the 4902 # systems that have relatively inaccessible declarations for the
4626 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 4903 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
4627 # former has a strerror_r that returns char*, while the latter 4904 # former has a strerror_r that returns char*, while the latter
4628 # has a strerror_r that returns `int'. 4905 # has a strerror_r that returns `int'.
4629 # This test should segfault on the DEC system. 4906 # This test should segfault on the DEC system.
4630 if test "$cross_compiling" = yes; then 4907 if test "$cross_compiling" = yes; then
4631 : 4908 :
4632else 4909else
4633 cat >conftest.$ac_ext <<_ACEOF 4910 cat >conftest.$ac_ext <<_ACEOF
4634/* confdefs.h. */ 4911/* confdefs.h. */
4635_ACEOF 4912_ACEOF
4636cat confdefs.h >>conftest.$ac_ext 4913cat confdefs.h >>conftest.$ac_ext
4637cat >>conftest.$ac_ext <<_ACEOF 4914cat >>conftest.$ac_ext <<_ACEOF
4638/* end confdefs.h. */ 4915/* end confdefs.h. */
4639$ac_includes_default 4916$ac_includes_default
4640 extern char *strerror_r (); 4917 extern char *strerror_r ();
4641int 4918int
4642main () 4919main ()
4643{ 4920{
4644char buf[100]; 4921char buf[100];
4645 char x = *strerror_r (0, buf, sizeof buf); 4922 char x = *strerror_r (0, buf, sizeof buf);
4646 return ! isalpha (x); 4923 return ! isalpha (x);
4647 ; 4924 ;
4648 return 0; 4925 return 0;
4649} 4926}
4650_ACEOF 4927_ACEOF
4651rm -f conftest$ac_exeext 4928rm -f conftest$ac_exeext
4652if { (ac_try="$ac_link" 4929if { (ac_try="$ac_link"
4653case "(($ac_try" in 4930case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;; 4932 *) ac_try_echo=$ac_try;;
4656esac 4933esac
4657eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4935$as_echo "$ac_try_echo") >&5
4658 (eval "$ac_link") 2>&5 4936 (eval "$ac_link") 2>&5
4659 ac_status=$? 4937 ac_status=$?
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4662 { (case "(($ac_try" in 4940 { (case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;; 4942 *) ac_try_echo=$ac_try;;
4665esac 4943esac
4666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4945$as_echo "$ac_try_echo") >&5
4667 (eval "$ac_try") 2>&5 4946 (eval "$ac_try") 2>&5
4668 ac_status=$? 4947 ac_status=$?
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then 4949 (exit $ac_status); }; }; then
4671 ac_cv_func_strerror_r_char_p=yes 4950 ac_cv_func_strerror_r_char_p=yes
4672else 4951else
4673 echo "$as_me: program exited with status $ac_status" >&5 4952 $as_echo "$as_me: program exited with status $ac_status" >&5
4674echo "$as_me: failed program was:" >&5 4953$as_echo "$as_me: failed program was:" >&5
4675sed 's/^/| /' conftest.$ac_ext >&5 4954sed 's/^/| /' conftest.$ac_ext >&5
4676 4955
4677fi 4956fi
 4957rm -rf conftest.dSYM
4678rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4958rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4679fi 4959fi
4680 4960
4681 4961
4682 fi 4962 fi
4683 4963
4684fi 4964fi
4685{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 4965{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
4686echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; } 4966$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
4687if test $ac_cv_func_strerror_r_char_p = yes; then 4967if test $ac_cv_func_strerror_r_char_p = yes; then
4688 4968
4689cat >>confdefs.h <<\_ACEOF 4969cat >>confdefs.h <<\_ACEOF
4690#define STRERROR_R_CHAR_P 1 4970#define STRERROR_R_CHAR_P 1
4691_ACEOF 4971_ACEOF
4692 4972
4693fi 4973fi
4694 4974
4695 4975
4696for ac_func in vprintf 4976for ac_func in vprintf
4697do 4977do
4698as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4978as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4699{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4979{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4700echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4980$as_echo_n "checking for $ac_func... " >&6; }
4701if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4981if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6 4982 $as_echo_n "(cached) " >&6
4703else 4983else
4704 cat >conftest.$ac_ext <<_ACEOF 4984 cat >conftest.$ac_ext <<_ACEOF
4705/* confdefs.h. */ 4985/* confdefs.h. */
4706_ACEOF 4986_ACEOF
4707cat confdefs.h >>conftest.$ac_ext 4987cat confdefs.h >>conftest.$ac_ext
4708cat >>conftest.$ac_ext <<_ACEOF 4988cat >>conftest.$ac_ext <<_ACEOF
4709/* end confdefs.h. */ 4989/* end confdefs.h. */
4710/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4990/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4711 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4712#define $ac_func innocuous_$ac_func 4992#define $ac_func innocuous_$ac_func
4713 4993
4714/* System header to define __stub macros and hopefully few prototypes, 4994/* System header to define __stub macros and hopefully few prototypes,
4715 which can conflict with char $ac_func (); below. 4995 which can conflict with char $ac_func (); below.
4716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4717 <limits.h> exists even on freestanding compilers. */ 4997 <limits.h> exists even on freestanding compilers. */
4718 4998
4719#ifdef __STDC__ 4999#ifdef __STDC__
4720# include <limits.h> 5000# include <limits.h>
4721#else 5001#else
4722# include <assert.h> 5002# include <assert.h>
4723#endif 5003#endif
4724 5004
4725#undef $ac_func 5005#undef $ac_func
4726 5006
4727/* Override any GCC internal prototype to avoid an error. 5007/* Override any GCC internal prototype to avoid an error.
4728 Use char because int might match the return type of a GCC 5008 Use char because int might match the return type of a GCC
4729 builtin and then its argument prototype would still apply. */ 5009 builtin and then its argument prototype would still apply. */
4730#ifdef __cplusplus 5010#ifdef __cplusplus
4731extern "C" 5011extern "C"
4732#endif 5012#endif
4733char $ac_func (); 5013char $ac_func ();
4734/* The GNU C library defines this for functions which it implements 5014/* The GNU C library defines this for functions which it implements
4735 to always fail with ENOSYS. Some functions are actually named 5015 to always fail with ENOSYS. Some functions are actually named
4736 something starting with __ and the normal name is an alias. */ 5016 something starting with __ and the normal name is an alias. */
4737#if defined __stub_$ac_func || defined __stub___$ac_func 5017#if defined __stub_$ac_func || defined __stub___$ac_func
4738choke me 5018choke me
4739#endif 5019#endif
4740 5020
4741int 5021int
4742main () 5022main ()
4743{ 5023{
4744return $ac_func (); 5024return $ac_func ();
4745 ; 5025 ;
4746 return 0; 5026 return 0;
4747} 5027}
4748_ACEOF 5028_ACEOF
4749rm -f conftest.$ac_objext conftest$ac_exeext 5029rm -f conftest.$ac_objext conftest$ac_exeext
4750if { (ac_try="$ac_link" 5030if { (ac_try="$ac_link"
4751case "(($ac_try" in 5031case "(($ac_try" in
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;; 5033 *) ac_try_echo=$ac_try;;
4754esac 5034esac
4755eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5035eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5036$as_echo "$ac_try_echo") >&5
4756 (eval "$ac_link") 2>conftest.er1 5037 (eval "$ac_link") 2>conftest.er1
4757 ac_status=$? 5038 ac_status=$?
4758 grep -v '^ *+' conftest.er1 >conftest.err 5039 grep -v '^ *+' conftest.er1 >conftest.err
4759 rm -f conftest.er1 5040 rm -f conftest.er1
4760 cat conftest.err >&5 5041 cat conftest.err >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } && { 5043 (exit $ac_status); } && {
4763 test -z "$ac_c_werror_flag" || 5044 test -z "$ac_c_werror_flag" ||
4764 test ! -s conftest.err 5045 test ! -s conftest.err
4765 } && test -s conftest$ac_exeext && 5046 } && test -s conftest$ac_exeext && {
4766 $as_test_x conftest$ac_exeext; then 5047 test "$cross_compiling" = yes ||
 5048 $as_test_x conftest$ac_exeext
 5049 }; then
4767 eval "$as_ac_var=yes" 5050 eval "$as_ac_var=yes"
4768else 5051else
4769 echo "$as_me: failed program was:" >&5 5052 $as_echo "$as_me: failed program was:" >&5
4770sed 's/^/| /' conftest.$ac_ext >&5 5053sed 's/^/| /' conftest.$ac_ext >&5
4771 5054
4772 eval "$as_ac_var=no" 5055 eval "$as_ac_var=no"
4773fi 5056fi
4774 5057
 5058rm -rf conftest.dSYM
4775rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5059rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4776 conftest$ac_exeext conftest.$ac_ext 5060 conftest$ac_exeext conftest.$ac_ext
4777fi 5061fi
4778ac_res=`eval echo '${'$as_ac_var'}'` 5062ac_res=`eval 'as_val=${'$as_ac_var'}
4779 { echo "$as_me:$LINENO: result: $ac_res" >&5 5063 $as_echo "$as_val"'`
4780echo "${ECHO_T}$ac_res" >&6; } 5064 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4781if test `eval echo '${'$as_ac_var'}'` = yes; then 5065$as_echo "$ac_res" >&6; }
 5066if test `eval 'as_val=${'$as_ac_var'}
 5067 $as_echo "$as_val"'` = yes; then
4782 cat >>confdefs.h <<_ACEOF 5068 cat >>confdefs.h <<_ACEOF
4783#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5069#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4784_ACEOF 5070_ACEOF
4785 5071
4786{ echo "$as_me:$LINENO: checking for _doprnt" >&5 5072{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
4787echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 5073$as_echo_n "checking for _doprnt... " >&6; }
4788if test "${ac_cv_func__doprnt+set}" = set; then 5074if test "${ac_cv_func__doprnt+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6 5075 $as_echo_n "(cached) " >&6
4790else 5076else
4791 cat >conftest.$ac_ext <<_ACEOF 5077 cat >conftest.$ac_ext <<_ACEOF
4792/* confdefs.h. */ 5078/* confdefs.h. */
4793_ACEOF 5079_ACEOF
4794cat confdefs.h >>conftest.$ac_ext 5080cat confdefs.h >>conftest.$ac_ext
4795cat >>conftest.$ac_ext <<_ACEOF 5081cat >>conftest.$ac_ext <<_ACEOF
4796/* end confdefs.h. */ 5082/* end confdefs.h. */
4797/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 5083/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799#define _doprnt innocuous__doprnt 5085#define _doprnt innocuous__doprnt
4800 5086
4801/* System header to define __stub macros and hopefully few prototypes, 5087/* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char _doprnt (); below. 5088 which can conflict with char _doprnt (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */ 5090 <limits.h> exists even on freestanding compilers. */
4805 5091
4806#ifdef __STDC__ 5092#ifdef __STDC__
4807# include <limits.h> 5093# include <limits.h>
4808#else 5094#else
4809# include <assert.h> 5095# include <assert.h>
4810#endif 5096#endif
4811 5097
4812#undef _doprnt 5098#undef _doprnt
4813 5099
4814/* Override any GCC internal prototype to avoid an error. 5100/* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC 5101 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */ 5102 builtin and then its argument prototype would still apply. */
4817#ifdef __cplusplus 5103#ifdef __cplusplus
4818extern "C" 5104extern "C"
4819#endif 5105#endif
4820char _doprnt (); 5106char _doprnt ();
4821/* The GNU C library defines this for functions which it implements 5107/* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named 5108 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */ 5109 something starting with __ and the normal name is an alias. */
4824#if defined __stub__doprnt || defined __stub____doprnt 5110#if defined __stub__doprnt || defined __stub____doprnt
4825choke me 5111choke me
4826#endif 5112#endif
4827 5113
4828int 5114int
4829main () 5115main ()
4830{ 5116{
4831return _doprnt (); 5117return _doprnt ();
4832 ; 5118 ;
4833 return 0; 5119 return 0;
4834} 5120}
4835_ACEOF 5121_ACEOF
4836rm -f conftest.$ac_objext conftest$ac_exeext 5122rm -f conftest.$ac_objext conftest$ac_exeext
4837if { (ac_try="$ac_link" 5123if { (ac_try="$ac_link"
4838case "(($ac_try" in 5124case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;; 5126 *) ac_try_echo=$ac_try;;
4841esac 5127esac
4842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5129$as_echo "$ac_try_echo") >&5
4843 (eval "$ac_link") 2>conftest.er1 5130 (eval "$ac_link") 2>conftest.er1
4844 ac_status=$? 5131 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err 5132 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1 5133 rm -f conftest.er1
4847 cat conftest.err >&5 5134 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && { 5136 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" || 5137 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err 5138 test ! -s conftest.err
4852 } && test -s conftest$ac_exeext && 5139 } && test -s conftest$ac_exeext && {
4853 $as_test_x conftest$ac_exeext; then 5140 test "$cross_compiling" = yes ||
 5141 $as_test_x conftest$ac_exeext
 5142 }; then
4854 ac_cv_func__doprnt=yes 5143 ac_cv_func__doprnt=yes
4855else 5144else
4856 echo "$as_me: failed program was:" >&5 5145 $as_echo "$as_me: failed program was:" >&5
4857sed 's/^/| /' conftest.$ac_ext >&5 5146sed 's/^/| /' conftest.$ac_ext >&5
4858 5147
4859 ac_cv_func__doprnt=no 5148 ac_cv_func__doprnt=no
4860fi 5149fi
4861 5150
 5151rm -rf conftest.dSYM
4862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5152rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4863 conftest$ac_exeext conftest.$ac_ext 5153 conftest$ac_exeext conftest.$ac_ext
4864fi 5154fi
4865{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 5155{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4866echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 5156$as_echo "$ac_cv_func__doprnt" >&6; }
4867if test $ac_cv_func__doprnt = yes; then 5157if test $ac_cv_func__doprnt = yes; then
4868 5158
4869cat >>confdefs.h <<\_ACEOF 5159cat >>confdefs.h <<\_ACEOF
4870#define HAVE_DOPRNT 1 5160#define HAVE_DOPRNT 1
4871_ACEOF 5161_ACEOF
4872 5162
4873fi 5163fi
4874 5164
4875fi 5165fi
4876done 5166done
4877 5167
4878 5168
4879 5169
4880 5170
4881 5171
4882 5172
4883 5173
4884for ac_func in bcopy bzero memset memcpy setlocale 5174for ac_func in bcopy bzero memset memcpy setlocale
4885do 5175do
4886as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5176as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4887{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5177{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4888echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5178$as_echo_n "checking for $ac_func... " >&6; }
4889if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5179if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6 5180 $as_echo_n "(cached) " >&6
4891else 5181else
4892 cat >conftest.$ac_ext <<_ACEOF 5182 cat >conftest.$ac_ext <<_ACEOF
4893/* confdefs.h. */ 5183/* confdefs.h. */
4894_ACEOF 5184_ACEOF
4895cat confdefs.h >>conftest.$ac_ext 5185cat confdefs.h >>conftest.$ac_ext
4896cat >>conftest.$ac_ext <<_ACEOF 5186cat >>conftest.$ac_ext <<_ACEOF
4897/* end confdefs.h. */ 5187/* end confdefs.h. */
4898/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5188/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4899 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4900#define $ac_func innocuous_$ac_func 5190#define $ac_func innocuous_$ac_func
4901 5191
4902/* System header to define __stub macros and hopefully few prototypes, 5192/* System header to define __stub macros and hopefully few prototypes,
4903 which can conflict with char $ac_func (); below. 5193 which can conflict with char $ac_func (); below.
4904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4905 <limits.h> exists even on freestanding compilers. */ 5195 <limits.h> exists even on freestanding compilers. */
4906 5196
4907#ifdef __STDC__ 5197#ifdef __STDC__
4908# include <limits.h> 5198# include <limits.h>
4909#else 5199#else
4910# include <assert.h> 5200# include <assert.h>
4911#endif 5201#endif
4912 5202
4913#undef $ac_func 5203#undef $ac_func
4914 5204
4915/* Override any GCC internal prototype to avoid an error. 5205/* Override any GCC internal prototype to avoid an error.
4916 Use char because int might match the return type of a GCC 5206 Use char because int might match the return type of a GCC
4917 builtin and then its argument prototype would still apply. */ 5207 builtin and then its argument prototype would still apply. */
4918#ifdef __cplusplus 5208#ifdef __cplusplus
4919extern "C" 5209extern "C"
4920#endif 5210#endif
4921char $ac_func (); 5211char $ac_func ();
4922/* The GNU C library defines this for functions which it implements 5212/* The GNU C library defines this for functions which it implements
4923 to always fail with ENOSYS. Some functions are actually named 5213 to always fail with ENOSYS. Some functions are actually named
4924 something starting with __ and the normal name is an alias. */ 5214 something starting with __ and the normal name is an alias. */
4925#if defined __stub_$ac_func || defined __stub___$ac_func 5215#if defined __stub_$ac_func || defined __stub___$ac_func
4926choke me 5216choke me
4927#endif 5217#endif
4928 5218
4929int 5219int
4930main () 5220main ()
4931{ 5221{
4932return $ac_func (); 5222return $ac_func ();
4933 ; 5223 ;
4934 return 0; 5224 return 0;
4935} 5225}
4936_ACEOF 5226_ACEOF
4937rm -f conftest.$ac_objext conftest$ac_exeext 5227rm -f conftest.$ac_objext conftest$ac_exeext
4938if { (ac_try="$ac_link" 5228if { (ac_try="$ac_link"
4939case "(($ac_try" in 5229case "(($ac_try" in
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;; 5231 *) ac_try_echo=$ac_try;;
4942esac 5232esac
4943eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5234$as_echo "$ac_try_echo") >&5
4944 (eval "$ac_link") 2>conftest.er1 5235 (eval "$ac_link") 2>conftest.er1
4945 ac_status=$? 5236 ac_status=$?
4946 grep -v '^ *+' conftest.er1 >conftest.err 5237 grep -v '^ *+' conftest.er1 >conftest.err
4947 rm -f conftest.er1 5238 rm -f conftest.er1
4948 cat conftest.err >&5 5239 cat conftest.err >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } && { 5241 (exit $ac_status); } && {
4951 test -z "$ac_c_werror_flag" || 5242 test -z "$ac_c_werror_flag" ||
4952 test ! -s conftest.err 5243 test ! -s conftest.err
4953 } && test -s conftest$ac_exeext && 5244 } && test -s conftest$ac_exeext && {
4954 $as_test_x conftest$ac_exeext; then 5245 test "$cross_compiling" = yes ||
 5246 $as_test_x conftest$ac_exeext
 5247 }; then
4955 eval "$as_ac_var=yes" 5248 eval "$as_ac_var=yes"
4956else 5249else
4957 echo "$as_me: failed program was:" >&5 5250 $as_echo "$as_me: failed program was:" >&5
4958sed 's/^/| /' conftest.$ac_ext >&5 5251sed 's/^/| /' conftest.$ac_ext >&5
4959 5252
4960 eval "$as_ac_var=no" 5253 eval "$as_ac_var=no"
4961fi 5254fi
4962 5255
 5256rm -rf conftest.dSYM
4963rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4964 conftest$ac_exeext conftest.$ac_ext 5258 conftest$ac_exeext conftest.$ac_ext
4965fi 5259fi
4966ac_res=`eval echo '${'$as_ac_var'}'` 5260ac_res=`eval 'as_val=${'$as_ac_var'}
4967 { echo "$as_me:$LINENO: result: $ac_res" >&5 5261 $as_echo "$as_val"'`
4968echo "${ECHO_T}$ac_res" >&6; } 5262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4969if test `eval echo '${'$as_ac_var'}'` = yes; then 5263$as_echo "$ac_res" >&6; }
 5264if test `eval 'as_val=${'$as_ac_var'}
 5265 $as_echo "$as_val"'` = yes; then
4970 cat >>confdefs.h <<_ACEOF 5266 cat >>confdefs.h <<_ACEOF
4971#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5267#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4972_ACEOF 5268_ACEOF
4973 5269
4974fi 5270fi
4975done 5271done
4976 5272
4977# 5273#
4978 5274
4979 5275
4980 5276
4981ac_config_files="$ac_config_files Makefile" 5277ac_config_files="$ac_config_files Makefile"
4982 5278
4983cat >confcache <<\_ACEOF 5279cat >confcache <<\_ACEOF
4984# This file is a shell script that caches the results of configure 5280# This file is a shell script that caches the results of configure
4985# tests run on this system so they can be shared between configure 5281# tests run on this system so they can be shared between configure
4986# scripts and configure runs, see configure's option --config-cache. 5282# scripts and configure runs, see configure's option --config-cache.
4987# It is not useful on other systems. If it contains results you don't 5283# It is not useful on other systems. If it contains results you don't
4988# want to keep, you may remove or edit it. 5284# want to keep, you may remove or edit it.
4989# 5285#
4990# config.status only pays attention to the cache file if you give it 5286# config.status only pays attention to the cache file if you give it
4991# the --recheck option to rerun configure. 5287# the --recheck option to rerun configure.
4992# 5288#
4993# `ac_cv_env_foo' variables (set or unset) will be overridden when 5289# `ac_cv_env_foo' variables (set or unset) will be overridden when
4994# loading this file, other *unset* `ac_cv_foo' will be assigned the 5290# loading this file, other *unset* `ac_cv_foo' will be assigned the
4995# following values. 5291# following values.
4996 5292
4997_ACEOF 5293_ACEOF
4998 5294
4999# The following way of writing the cache mishandles newlines in values, 5295# The following way of writing the cache mishandles newlines in values,
5000# but we know of no workaround that is simple, portable, and efficient. 5296# but we know of no workaround that is simple, portable, and efficient.
5001# So, we kill variables containing newlines. 5297# So, we kill variables containing newlines.
5002# Ultrix sh set writes to stderr and can't be redirected directly, 5298# Ultrix sh set writes to stderr and can't be redirected directly,
5003# and sets the high bit in the cache file unless we assign to the vars. 5299# and sets the high bit in the cache file unless we assign to the vars.
5004( 5300(
5005 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5006 eval ac_val=\$$ac_var 5302 eval ac_val=\$$ac_var
5007 case $ac_val in #( 5303 case $ac_val in #(
5008 *${as_nl}*) 5304 *${as_nl}*)
5009 case $ac_var in #( 5305 case $ac_var in #(
5010 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5306 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5011echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5307$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5012 esac 5308 esac
5013 case $ac_var in #( 5309 case $ac_var in #(
5014 _ | IFS | as_nl) ;; #( 5310 _ | IFS | as_nl) ;; #(
 5311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5015 *) $as_unset $ac_var ;; 5312 *) $as_unset $ac_var ;;
5016 esac ;; 5313 esac ;;
5017 esac 5314 esac
5018 done 5315 done
5019 5316
5020 (set) 2>&1 | 5317 (set) 2>&1 |
5021 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5022 *${as_nl}ac_space=\ *) 5319 *${as_nl}ac_space=\ *)
5023 # `set' does not quote correctly, so add quotes (double-quote 5320 # `set' does not quote correctly, so add quotes (double-quote
5024 # substitution turns \\\\ into \\, and sed turns \\ into \). 5321 # substitution turns \\\\ into \\, and sed turns \\ into \).
5025 sed -n \ 5322 sed -n \
5026 "s/'/'\\\\''/g; 5323 "s/'/'\\\\''/g;
5027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5028 ;; #( 5325 ;; #(
5029 *) 5326 *)
5030 # `set' quotes correctly as required by POSIX, so do not add quotes. 5327 # `set' quotes correctly as required by POSIX, so do not add quotes.
5031 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5032 ;; 5329 ;;
5033 esac | 5330 esac |
5034 sort 5331 sort
5035) | 5332) |
5036 sed ' 5333 sed '
5037 /^ac_cv_env_/b end 5334 /^ac_cv_env_/b end
5038 t clear 5335 t clear
5039 :clear 5336 :clear
5040 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5041 t end 5338 t end
5042 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5043 :end' >>confcache 5340 :end' >>confcache
5044if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5341if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5045 if test -w "$cache_file"; then 5342 if test -w "$cache_file"; then
5046 test "x$cache_file" != "x/dev/null" && 5343 test "x$cache_file" != "x/dev/null" &&
5047 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5344 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5048echo "$as_me: updating cache $cache_file" >&6;} 5345$as_echo "$as_me: updating cache $cache_file" >&6;}
5049 cat confcache >$cache_file 5346 cat confcache >$cache_file
5050 else 5347 else
5051 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5348 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5052echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5349$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5053 fi 5350 fi
5054fi 5351fi
5055rm -f confcache 5352rm -f confcache
5056 5353
5057test "x$prefix" = xNONE && prefix=$ac_default_prefix 5354test "x$prefix" = xNONE && prefix=$ac_default_prefix
5058# Let make expand exec_prefix. 5355# Let make expand exec_prefix.
5059test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5356test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5060 5357
5061DEFS=-DHAVE_CONFIG_H 5358DEFS=-DHAVE_CONFIG_H
5062 5359
5063ac_libobjs= 5360ac_libobjs=
5064ac_ltlibobjs= 5361ac_ltlibobjs=
5065for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5362for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5066 # 1. Remove the extension, and $U if already installed. 5363 # 1. Remove the extension, and $U if already installed.
5067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5068 ac_i=`echo "$ac_i" | sed "$ac_script"` 5365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5070 # will be set to the directory where LIBOBJS objects are built. 5367 # will be set to the directory where LIBOBJS objects are built.
5071 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5368 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5072 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5369 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5073done 5370done
5074LIBOBJS=$ac_libobjs 5371LIBOBJS=$ac_libobjs
5075 5372
5076LTLIBOBJS=$ac_ltlibobjs 5373LTLIBOBJS=$ac_ltlibobjs
5077 5374
5078 5375
5079 5376
5080: ${CONFIG_STATUS=./config.status} 5377: ${CONFIG_STATUS=./config.status}
 5378ac_write_fail=0
5081ac_clean_files_save=$ac_clean_files 5379ac_clean_files_save=$ac_clean_files
5082ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5380ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5083{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5381{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5084echo "$as_me: creating $CONFIG_STATUS" >&6;} 5382$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5085cat >$CONFIG_STATUS <<_ACEOF 5383cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5086#! $SHELL 5384#! $SHELL
5087# Generated by $as_me. 5385# Generated by $as_me.
5088# Run this file to recreate the current configuration. 5386# Run this file to recreate the current configuration.
5089# Compiler output produced by configure, useful for debugging 5387# Compiler output produced by configure, useful for debugging
5090# configure, is in config.log if it exists. 5388# configure, is in config.log if it exists.
5091 5389
5092debug=false 5390debug=false
5093ac_cs_recheck=false 5391ac_cs_recheck=false
5094ac_cs_silent=false 5392ac_cs_silent=false
5095SHELL=\${CONFIG_SHELL-$SHELL} 5393SHELL=\${CONFIG_SHELL-$SHELL}
5096_ACEOF 5394_ACEOF
5097 5395
5098cat >>$CONFIG_STATUS <<\_ACEOF 5396cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5099## --------------------- ## 5397## --------------------- ##
5100## M4sh Initialization. ## 5398## M4sh Initialization. ##
5101## --------------------- ## 5399## --------------------- ##
5102 5400
5103# Be more Bourne compatible 5401# Be more Bourne compatible
5104DUALCASE=1; export DUALCASE # for MKS sh 5402DUALCASE=1; export DUALCASE # for MKS sh
5105if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5403if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5106 emulate sh 5404 emulate sh
5107 NULLCMD=: 5405 NULLCMD=:
5108 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5406 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5109 # is contrary to our usage. Disable this feature. 5407 # is contrary to our usage. Disable this feature.
5110 alias -g '${1+"$@"}'='"$@"' 5408 alias -g '${1+"$@"}'='"$@"'
5111 setopt NO_GLOB_SUBST 5409 setopt NO_GLOB_SUBST
5112else 5410else
5113 case `(set -o) 2>/dev/null` in 5411 case `(set -o) 2>/dev/null` in
5114 *posix*) set -o posix ;; 5412 *posix*) set -o posix ;;
5115esac 5413esac
5116 5414
5117fi 5415fi
5118 5416
5119 5417
5120 5418
5121 5419
5122# PATH needs CR 5420# PATH needs CR
5123# Avoid depending upon Character Ranges. 5421# Avoid depending upon Character Ranges.
5124as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5422as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5125as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5126as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5424as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5127as_cr_digits='0123456789' 5425as_cr_digits='0123456789'
5128as_cr_alnum=$as_cr_Letters$as_cr_digits 5426as_cr_alnum=$as_cr_Letters$as_cr_digits
5129 5427
5130# The user is always right. 5428as_nl='
5131if test "${PATH_SEPARATOR+set}" != set; then 5429'
5132 echo "#! /bin/sh" >conf$$.sh 5430export as_nl
5133 echo "exit 0" >>conf$$.sh 5431# Printing a long string crashes Solaris 7 /usr/bin/printf.
5134 chmod +x conf$$.sh 5432as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5135 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5433as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5136 PATH_SEPARATOR=';' 5434as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 5435if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 5436 as_echo='printf %s\n'
 5437 as_echo_n='printf %s'
 5438else
 5439 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 5440 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 5441 as_echo_n='/usr/ucb/echo -n'
5137 else 5442 else
5138 PATH_SEPARATOR=: 5443 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 5444 as_echo_n_body='eval
 5445 arg=$1;
 5446 case $arg in
 5447 *"$as_nl"*)
 5448 expr "X$arg" : "X\\(.*\\)$as_nl";
 5449 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 5450 esac;
 5451 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 5452 '
 5453 export as_echo_n_body
 5454 as_echo_n='sh -c $as_echo_n_body as_echo'
5139 fi 5455 fi
5140 rm -f conf$$.sh 5456 export as_echo_body
 5457 as_echo='sh -c $as_echo_body as_echo'
 5458fi
 5459
 5460# The user is always right.
 5461if test "${PATH_SEPARATOR+set}" != set; then
 5462 PATH_SEPARATOR=:
 5463 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 5464 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 5465 PATH_SEPARATOR=';'
 5466 }
5141fi 5467fi
5142 5468
5143# Support unset when possible. 5469# Support unset when possible.
5144if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5470if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5145 as_unset=unset 5471 as_unset=unset
5146else 5472else
5147 as_unset=false 5473 as_unset=false
5148fi 5474fi
5149 5475
5150 5476
5151# IFS 5477# IFS
5152# We need space, tab and new line, in precisely that order. Quoting is 5478# We need space, tab and new line, in precisely that order. Quoting is
5153# there to prevent editors from complaining about space-tab. 5479# there to prevent editors from complaining about space-tab.
5154# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5480# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5155# splitting by setting IFS to empty value.) 5481# splitting by setting IFS to empty value.)
5156as_nl=' 
5157' 
5158IFS=" "" $as_nl" 5482IFS=" "" $as_nl"
5159 5483
5160# Find who we are. Look in the path if we contain no directory separator. 5484# Find who we are. Look in the path if we contain no directory separator.
5161case $0 in 5485case $0 in
5162 *[\\/]* ) as_myself=$0 ;; 5486 *[\\/]* ) as_myself=$0 ;;
5163 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5487 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164for as_dir in $PATH 5488for as_dir in $PATH
5165do 5489do
5166 IFS=$as_save_IFS 5490 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=. 5491 test -z "$as_dir" && as_dir=.
5168 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5492 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5169done 5493done
5170IFS=$as_save_IFS 5494IFS=$as_save_IFS
5171 5495
5172 ;; 5496 ;;
5173esac 5497esac
5174# We did not find ourselves, most probably we were run as `sh COMMAND' 5498# We did not find ourselves, most probably we were run as `sh COMMAND'
5175# in which case we are not to be found in the path. 5499# in which case we are not to be found in the path.
5176if test "x$as_myself" = x; then 5500if test "x$as_myself" = x; then
5177 as_myself=$0 5501 as_myself=$0
5178fi 5502fi
5179if test ! -f "$as_myself"; then 5503if test ! -f "$as_myself"; then
5180 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5504 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5181 { (exit 1); exit 1; } 5505 { (exit 1); exit 1; }
5182fi 5506fi
5183 5507
5184# Work around bugs in pre-3.0 UWIN ksh. 5508# Work around bugs in pre-3.0 UWIN ksh.
5185for as_var in ENV MAIL MAILPATH 5509for as_var in ENV MAIL MAILPATH
5186do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5510do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5187done 5511done
5188PS1='$ ' 5512PS1='$ '
5189PS2='> ' 5513PS2='> '
5190PS4='+ ' 5514PS4='+ '
5191 5515
5192# NLS nuisances. 5516# NLS nuisances.
5193for as_var in \ 5517LC_ALL=C
5194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5518export LC_ALL
5195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5519LANGUAGE=C
5196 LC_TELEPHONE LC_TIME 5520export LANGUAGE
5197do 
5198 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
5199 eval $as_var=C; export $as_var 
5200 else 
5201 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
5202 fi 
5203done 
5204 5521
5205# Required to use basename. 5522# Required to use basename.
5206if expr a : '\(a\)' >/dev/null 2>&1 && 5523if expr a : '\(a\)' >/dev/null 2>&1 &&
5207 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5524 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5208 as_expr=expr 5525 as_expr=expr
5209else 5526else
5210 as_expr=false 5527 as_expr=false
5211fi 5528fi
5212 5529
5213if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5530if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5214 as_basename=basename 5531 as_basename=basename
5215else 5532else
5216 as_basename=false 5533 as_basename=false
5217fi 5534fi
5218 5535
5219 5536
5220# Name of the executable. 5537# Name of the executable.
5221as_me=`$as_basename -- "$0" || 5538as_me=`$as_basename -- "$0" ||
5222$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5539$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5223 X"$0" : 'X\(//\)$' \| \ 5540 X"$0" : 'X\(//\)$' \| \
5224 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5541 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5225echo X/"$0" | 5542$as_echo X/"$0" |
5226 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5543 sed '/^.*\/\([^/][^/]*\)\/*$/{
5227 s//\1/ 5544 s//\1/
5228 q 5545 q
5229 } 5546 }
5230 /^X\/\(\/\/\)$/{ 5547 /^X\/\(\/\/\)$/{
5231 s//\1/ 5548 s//\1/
5232 q 5549 q
5233 } 5550 }
5234 /^X\/\(\/\).*/{ 5551 /^X\/\(\/\).*/{
5235 s//\1/ 5552 s//\1/
5236 q 5553 q
5237 } 5554 }
5238 s/.*/./; q'` 5555 s/.*/./; q'`
5239 5556
5240# CDPATH. 5557# CDPATH.
5241$as_unset CDPATH 5558$as_unset CDPATH
5242 5559
5243 5560
5244 5561
5245 as_lineno_1=$LINENO 5562 as_lineno_1=$LINENO
5246 as_lineno_2=$LINENO 5563 as_lineno_2=$LINENO
5247 test "x$as_lineno_1" != "x$as_lineno_2" && 5564 test "x$as_lineno_1" != "x$as_lineno_2" &&
5248 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5565 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5249 5566
5250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5567 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5251 # uniformly replaced by the line number. The first 'sed' inserts a 5568 # uniformly replaced by the line number. The first 'sed' inserts a
5252 # line-number line after each line using $LINENO; the second 'sed' 5569 # line-number line after each line using $LINENO; the second 'sed'
5253 # does the real work. The second script uses 'N' to pair each 5570 # does the real work. The second script uses 'N' to pair each
5254 # line-number line with the line containing $LINENO, and appends 5571 # line-number line with the line containing $LINENO, and appends
5255 # trailing '-' during substitution so that $LINENO is not a special 5572 # trailing '-' during substitution so that $LINENO is not a special
5256 # case at line end. 5573 # case at line end.
5257 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5574 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5258 # scripts with optimization help from Paolo Bonzini. Blame Lee 5575 # scripts with optimization help from Paolo Bonzini. Blame Lee
5259 # E. McMahon (1931-1989) for sed's syntax. :-) 5576 # E. McMahon (1931-1989) for sed's syntax. :-)
5260 sed -n ' 5577 sed -n '
5261 p 5578 p
5262 /[$]LINENO/= 5579 /[$]LINENO/=
5263 ' <$as_myself | 5580 ' <$as_myself |
5264 sed ' 5581 sed '
5265 s/[$]LINENO.*/&-/ 5582 s/[$]LINENO.*/&-/
5266 t lineno 5583 t lineno
5267 b 5584 b
5268 :lineno 5585 :lineno
5269 N 5586 N
5270 :loop 5587 :loop
5271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5588 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5272 t loop 5589 t loop
5273 s/-\n.*// 5590 s/-\n.*//
5274 ' >$as_me.lineno && 5591 ' >$as_me.lineno &&
5275 chmod +x "$as_me.lineno" || 5592 chmod +x "$as_me.lineno" ||
5276 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5593 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5277 { (exit 1); exit 1; }; } 5594 { (exit 1); exit 1; }; }
5278 5595
5279 # Don't try to exec as it changes $[0], causing all sort of problems 5596 # Don't try to exec as it changes $[0], causing all sort of problems
5280 # (the dirname of $[0] is not the place where we might find the 5597 # (the dirname of $[0] is not the place where we might find the
5281 # original and so on. Autoconf is especially sensitive to this). 5598 # original and so on. Autoconf is especially sensitive to this).
5282 . "./$as_me.lineno" 5599 . "./$as_me.lineno"
5283 # Exit status is that of the last command. 5600 # Exit status is that of the last command.
5284 exit 5601 exit
5285} 5602}
5286 5603
5287 5604
5288if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5605if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5289 as_dirname=dirname 5606 as_dirname=dirname
5290else 5607else
5291 as_dirname=false 5608 as_dirname=false
5292fi 5609fi
5293 5610
5294ECHO_C= ECHO_N= ECHO_T= 5611ECHO_C= ECHO_N= ECHO_T=
5295case `echo -n x` in 5612case `echo -n x` in
5296-n*) 5613-n*)
5297 case `echo 'x\c'` in 5614 case `echo 'x\c'` in
5298 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5615 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5299 *) ECHO_C='\c';; 5616 *) ECHO_C='\c';;
5300 esac;; 5617 esac;;
5301*) 5618*)
5302 ECHO_N='-n';; 5619 ECHO_N='-n';;
5303esac 5620esac
5304 
5305if expr a : '\(a\)' >/dev/null 2>&1 && 5621if expr a : '\(a\)' >/dev/null 2>&1 &&
5306 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5622 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5307 as_expr=expr 5623 as_expr=expr
5308else 5624else
5309 as_expr=false 5625 as_expr=false
5310fi 5626fi
5311 5627
5312rm -f conf$$ conf$$.exe conf$$.file 5628rm -f conf$$ conf$$.exe conf$$.file
5313if test -d conf$$.dir; then 5629if test -d conf$$.dir; then
5314 rm -f conf$$.dir/conf$$.file 5630 rm -f conf$$.dir/conf$$.file
5315else 5631else
5316 rm -f conf$$.dir 5632 rm -f conf$$.dir
5317 mkdir conf$$.dir 5633 mkdir conf$$.dir 2>/dev/null
5318fi 5634fi
5319echo >conf$$.file 5635if (echo >conf$$.file) 2>/dev/null; then
5320if ln -s conf$$.file conf$$ 2>/dev/null; then 5636 if ln -s conf$$.file conf$$ 2>/dev/null; then
5321 as_ln_s='ln -s' 5637 as_ln_s='ln -s'
5322 # ... but there are two gotchas: 5638 # ... but there are two gotchas:
5323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5639 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5640 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5325 # In both cases, we have to default to `cp -p'. 5641 # In both cases, we have to default to `cp -p'.
5326 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5642 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 5643 as_ln_s='cp -p'
 5644 elif ln conf$$.file conf$$ 2>/dev/null; then
 5645 as_ln_s=ln
 5646 else
5327 as_ln_s='cp -p' 5647 as_ln_s='cp -p'
5328elif ln conf$$.file conf$$ 2>/dev/null; then 5648 fi
5329 as_ln_s=ln 
5330else 5649else
5331 as_ln_s='cp -p' 5650 as_ln_s='cp -p'
5332fi 5651fi
5333rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5652rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5334rmdir conf$$.dir 2>/dev/null 5653rmdir conf$$.dir 2>/dev/null
5335 5654
5336if mkdir -p . 2>/dev/null; then 5655if mkdir -p . 2>/dev/null; then
5337 as_mkdir_p=: 5656 as_mkdir_p=:
5338else 5657else
5339 test -d ./-p && rmdir ./-p 5658 test -d ./-p && rmdir ./-p
5340 as_mkdir_p=false 5659 as_mkdir_p=false
5341fi 5660fi
5342 5661
5343if test -x / >/dev/null 2>&1; then 5662if test -x / >/dev/null 2>&1; then
5344 as_test_x='test -x' 5663 as_test_x='test -x'
5345else 5664else
5346 if ls -dL / >/dev/null 2>&1; then 5665 if ls -dL / >/dev/null 2>&1; then
5347 as_ls_L_option=L 5666 as_ls_L_option=L
5348 else 5667 else
5349 as_ls_L_option= 5668 as_ls_L_option=
5350 fi 5669 fi
5351 as_test_x=' 5670 as_test_x='
5352 eval sh -c '\'' 5671 eval sh -c '\''
5353 if test -d "$1"; then 5672 if test -d "$1"; then
5354 test -d "$1/."; 5673 test -d "$1/.";
5355 else 5674 else
5356 case $1 in 5675 case $1 in
5357 -*)set "./$1";; 5676 -*)set "./$1";;
5358 esac; 5677 esac;
5359 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5678 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5360 ???[sx]*):;;*)false;;esac;fi 5679 ???[sx]*):;;*)false;;esac;fi
5361 '\'' sh 5680 '\'' sh
5362 ' 5681 '
5363fi 5682fi
5364as_executable_p=$as_test_x 5683as_executable_p=$as_test_x
5365 5684
5366# Sed expression to map a string onto a valid CPP name. 5685# Sed expression to map a string onto a valid CPP name.
5367as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5686as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5368 5687
5369# Sed expression to map a string onto a valid variable name. 5688# Sed expression to map a string onto a valid variable name.
5370as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5689as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5371 5690
5372 5691
5373exec 6>&1 5692exec 6>&1
5374 5693
5375# Save the log message, to keep $[0] and so on meaningful, and to 5694# Save the log message, to keep $[0] and so on meaningful, and to
5376# report actual input values of CONFIG_FILES etc. instead of their 5695# report actual input values of CONFIG_FILES etc. instead of their
5377# values after options handling. 5696# values after options handling.
5378ac_log=" 5697ac_log="
5379This file was extended by nbsd-digest $as_me 20070803, which was 5698This file was extended by nbsd-digest $as_me 20080509, which was
5380generated by GNU Autoconf 2.61. Invocation command line was 5699generated by GNU Autoconf 2.62. Invocation command line was
5381 5700
5382 CONFIG_FILES = $CONFIG_FILES 5701 CONFIG_FILES = $CONFIG_FILES
5383 CONFIG_HEADERS = $CONFIG_HEADERS 5702 CONFIG_HEADERS = $CONFIG_HEADERS
5384 CONFIG_LINKS = $CONFIG_LINKS 5703 CONFIG_LINKS = $CONFIG_LINKS
5385 CONFIG_COMMANDS = $CONFIG_COMMANDS 5704 CONFIG_COMMANDS = $CONFIG_COMMANDS
5386 $ $0 $@ 5705 $ $0 $@
5387 5706
5388on `(hostname || uname -n) 2>/dev/null | sed 1q` 5707on `(hostname || uname -n) 2>/dev/null | sed 1q`
5389" 5708"
5390 5709
5391_ACEOF 5710_ACEOF
5392 5711
5393cat >>$CONFIG_STATUS <<_ACEOF 5712cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5394# Files that config.status was made for. 5713# Files that config.status was made for.
5395config_files="$ac_config_files" 5714config_files="$ac_config_files"
5396config_headers="$ac_config_headers" 5715config_headers="$ac_config_headers"
5397 5716
5398_ACEOF 5717_ACEOF
5399 5718
5400cat >>$CONFIG_STATUS <<\_ACEOF 5719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5401ac_cs_usage="\ 5720ac_cs_usage="\
5402\`$as_me' instantiates files from templates according to the 5721\`$as_me' instantiates files from templates according to the
5403current configuration. 5722current configuration.
5404 5723
5405Usage: $0 [OPTIONS] [FILE]... 5724Usage: $0 [OPTIONS] [FILE]...
5406 5725
5407 -h, --help print this help, then exit 5726 -h, --help print this help, then exit
5408 -V, --version print version number and configuration settings, then exit 5727 -V, --version print version number and configuration settings, then exit
5409 -q, --quiet do not print progress messages 5728 -q, --quiet do not print progress messages
5410 -d, --debug don't remove temporary files 5729 -d, --debug don't remove temporary files
5411 --recheck update $as_me by reconfiguring in the same conditions 5730 --recheck update $as_me by reconfiguring in the same conditions
5412 --file=FILE[:TEMPLATE] 5731 --file=FILE[:TEMPLATE]
5413 instantiate the configuration file FILE 5732 instantiate the configuration file FILE
5414 --header=FILE[:TEMPLATE] 5733 --header=FILE[:TEMPLATE]
5415 instantiate the configuration header FILE 5734 instantiate the configuration header FILE
5416 5735
5417Configuration files: 5736Configuration files:
5418$config_files 5737$config_files
5419 5738
5420Configuration headers: 5739Configuration headers:
5421$config_headers 5740$config_headers
5422 5741
5423Report bugs to <bug-autoconf@gnu.org>." 5742Report bugs to <bug-autoconf@gnu.org>."
5424 5743
5425_ACEOF 5744_ACEOF
5426cat >>$CONFIG_STATUS <<_ACEOF 5745cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5427ac_cs_version="\\ 5746ac_cs_version="\\
5428nbsd-digest config.status 20070803 5747nbsd-digest config.status 20080509
5429configured by $0, generated by GNU Autoconf 2.61, 5748configured by $0, generated by GNU Autoconf 2.62,
5430 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5749 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5431 5750
5432Copyright (C) 2006 Free Software Foundation, Inc. 5751Copyright (C) 2008 Free Software Foundation, Inc.
5433This config.status script is free software; the Free Software Foundation 5752This config.status script is free software; the Free Software Foundation
5434gives unlimited permission to copy, distribute and modify it." 5753gives unlimited permission to copy, distribute and modify it."
5435 5754
5436ac_pwd='$ac_pwd' 5755ac_pwd='$ac_pwd'
5437srcdir='$srcdir' 5756srcdir='$srcdir'
5438INSTALL='$INSTALL' 5757INSTALL='$INSTALL'
 5758AWK='$AWK'
 5759test -n "\$AWK" || AWK=awk
5439_ACEOF 5760_ACEOF
5440 5761
5441cat >>$CONFIG_STATUS <<\_ACEOF 5762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5442# If no file are specified by the user, then we need to provide default 5763# The default lists apply if the user does not specify any file.
5443# value. By we need to know if files were specified by the user. 
5444ac_need_defaults=: 5764ac_need_defaults=:
5445while test $# != 0 5765while test $# != 0
5446do 5766do
5447 case $1 in 5767 case $1 in
5448 --*=*) 5768 --*=*)
5449 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5450 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5451 ac_shift=: 5771 ac_shift=:
5452 ;; 5772 ;;
5453 *) 5773 *)
5454 ac_option=$1 5774 ac_option=$1
5455 ac_optarg=$2 5775 ac_optarg=$2
5456 ac_shift=shift 5776 ac_shift=shift
5457 ;; 5777 ;;
5458 esac 5778 esac
5459 5779
5460 case $ac_option in 5780 case $ac_option in
5461 # Handling of the options. 5781 # Handling of the options.
5462 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5463 ac_cs_recheck=: ;; 5783 ac_cs_recheck=: ;;
5464 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5784 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5465 echo "$ac_cs_version"; exit ;; 5785 $as_echo "$ac_cs_version"; exit ;;
5466 --debug | --debu | --deb | --de | --d | -d ) 5786 --debug | --debu | --deb | --de | --d | -d )
5467 debug=: ;; 5787 debug=: ;;
5468 --file | --fil | --fi | --f ) 5788 --file | --fil | --fi | --f )
5469 $ac_shift 5789 $ac_shift
5470 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5790 case $ac_optarg in
 5791 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 5792 esac
 5793 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5471 ac_need_defaults=false;; 5794 ac_need_defaults=false;;
5472 --header | --heade | --head | --hea ) 5795 --header | --heade | --head | --hea )
5473 $ac_shift 5796 $ac_shift
5474 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5797 case $ac_optarg in
 5798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 5799 esac
 5800 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5475 ac_need_defaults=false;; 5801 ac_need_defaults=false;;
5476 --he | --h) 5802 --he | --h)
5477 # Conflict between --help and --header 5803 # Conflict between --help and --header
5478 { echo "$as_me: error: ambiguous option: $1 5804 { $as_echo "$as_me: error: ambiguous option: $1
5479Try \`$0 --help' for more information." >&2 5805Try \`$0 --help' for more information." >&2
5480 { (exit 1); exit 1; }; };; 5806 { (exit 1); exit 1; }; };;
5481 --help | --hel | -h ) 5807 --help | --hel | -h )
5482 echo "$ac_cs_usage"; exit ;; 5808 $as_echo "$ac_cs_usage"; exit ;;
5483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5484 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5810 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5485 ac_cs_silent=: ;; 5811 ac_cs_silent=: ;;
5486 5812
5487 # This is an error. 5813 # This is an error.
5488 -*) { echo "$as_me: error: unrecognized option: $1 5814 -*) { $as_echo "$as_me: error: unrecognized option: $1
5489Try \`$0 --help' for more information." >&2 5815Try \`$0 --help' for more information." >&2
5490 { (exit 1); exit 1; }; } ;; 5816 { (exit 1); exit 1; }; } ;;
5491 5817
5492 *) ac_config_targets="$ac_config_targets $1" 5818 *) ac_config_targets="$ac_config_targets $1"
5493 ac_need_defaults=false ;; 5819 ac_need_defaults=false ;;
5494 5820
5495 esac 5821 esac
5496 shift 5822 shift
5497done 5823done
5498 5824
5499ac_configure_extra_args= 5825ac_configure_extra_args=
5500 5826
5501if $ac_cs_silent; then 5827if $ac_cs_silent; then
5502 exec 6>/dev/null 5828 exec 6>/dev/null
5503 ac_configure_extra_args="$ac_configure_extra_args --silent" 5829 ac_configure_extra_args="$ac_configure_extra_args --silent"
5504fi 5830fi
5505 5831
5506_ACEOF 5832_ACEOF
5507cat >>$CONFIG_STATUS <<_ACEOF 5833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5508if \$ac_cs_recheck; then 5834if \$ac_cs_recheck; then
5509 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5835 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5510 CONFIG_SHELL=$SHELL 5836 shift
 5837 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 5838 CONFIG_SHELL='$SHELL'
5511 export CONFIG_SHELL 5839 export CONFIG_SHELL
5512 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5840 exec "\$@"
5513fi 5841fi
5514 5842
5515_ACEOF 5843_ACEOF
5516cat >>$CONFIG_STATUS <<\_ACEOF 5844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5517exec 5>>config.log 5845exec 5>>config.log
5518{ 5846{
5519 echo 5847 echo
5520 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5848 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5521## Running $as_me. ## 5849## Running $as_me. ##
5522_ASBOX 5850_ASBOX
5523 echo "$ac_log" 5851 $as_echo "$ac_log"
5524} >&5 5852} >&5
5525 5853
5526_ACEOF 5854_ACEOF
5527cat >>$CONFIG_STATUS <<_ACEOF 5855cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5528_ACEOF 5856_ACEOF
5529 5857
5530cat >>$CONFIG_STATUS <<\_ACEOF 5858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5531 5859
5532# Handling of arguments. 5860# Handling of arguments.
5533for ac_config_target in $ac_config_targets 5861for ac_config_target in $ac_config_targets
5534do 5862do
5535 case $ac_config_target in 5863 case $ac_config_target in
5536 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5864 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5537 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5865 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5538 5866
5539 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5867 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5540echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5868$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5541 { (exit 1); exit 1; }; };; 5869 { (exit 1); exit 1; }; };;
5542 esac 5870 esac
5543done 5871done
5544 5872
5545 5873
5546# If the user did not use the arguments to specify the items to instantiate, 5874# If the user did not use the arguments to specify the items to instantiate,
5547# then the envvar interface is used. Set only those that are not. 5875# then the envvar interface is used. Set only those that are not.
5548# We use the long form for the default assignment because of an extremely 5876# We use the long form for the default assignment because of an extremely
5549# bizarre bug on SunOS 4.1.3. 5877# bizarre bug on SunOS 4.1.3.
5550if $ac_need_defaults; then 5878if $ac_need_defaults; then
5551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5552 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5880 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5553fi 5881fi
5554 5882
5555# Have a temporary directory for convenience. Make it in the build tree 5883# Have a temporary directory for convenience. Make it in the build tree
5556# simply because there is no reason against having it here, and in addition, 5884# simply because there is no reason against having it here, and in addition,
5557# creating and moving files from /tmp can sometimes cause problems. 5885# creating and moving files from /tmp can sometimes cause problems.
5558# Hook for its removal unless debugging. 5886# Hook for its removal unless debugging.
5559# Note that there is a small window in which the directory will not be cleaned: 5887# Note that there is a small window in which the directory will not be cleaned:
5560# after its creation but before its name has been assigned to `$tmp'. 5888# after its creation but before its name has been assigned to `$tmp'.
5561$debug || 5889$debug ||
5562{ 5890{
5563 tmp= 5891 tmp=
5564 trap 'exit_status=$? 5892 trap 'exit_status=$?
5565 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5893 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5566' 0 5894' 0
5567 trap '{ (exit 1); exit 1; }' 1 2 13 15 5895 trap '{ (exit 1); exit 1; }' 1 2 13 15
5568} 5896}
5569# Create a (secure) tmp directory for tmp files. 5897# Create a (secure) tmp directory for tmp files.
5570 5898
5571{ 5899{
5572 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5900 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5573 test -n "$tmp" && test -d "$tmp" 5901 test -n "$tmp" && test -d "$tmp"
5574} || 5902} ||
5575{ 5903{
5576 tmp=./conf$$-$RANDOM 5904 tmp=./conf$$-$RANDOM
5577 (umask 077 && mkdir "$tmp") 5905 (umask 077 && mkdir "$tmp")
5578} || 5906} ||
5579{ 5907{
5580 echo "$me: cannot create a temporary directory in ." >&2 5908 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5581 { (exit 1); exit 1; } 5909 { (exit 1); exit 1; }
5582} 5910}
5583 5911
5584# 5912# Set up the scripts for CONFIG_FILES section.
5585# Set up the sed scripts for CONFIG_FILES section. 5913# No need to generate them if there are no CONFIG_FILES.
5586# 5914# This happens for instance with `./config.status config.h'.
5587 
5588# No need to generate the scripts if there are no CONFIG_FILES. 
5589# This happens for instance when ./config.status config.h 
5590if test -n "$CONFIG_FILES"; then 5915if test -n "$CONFIG_FILES"; then
5591 5916
5592_ACEOF 
5593 5917
 5918ac_cr=' '
 5919ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 5920if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 5921 ac_cs_awk_cr='\\r'
 5922else
 5923 ac_cs_awk_cr=$ac_cr
 5924fi
 5925
 5926echo 'BEGIN {' >"$tmp/subs1.awk" &&
 5927_ACEOF
5594 5928
5595 5929
 5930{
 5931 echo "cat >conf$$subs.awk <<_ACEOF" &&
 5932 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 5933 echo "_ACEOF"
 5934} >conf$$subs.sh ||
 5935 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 5936$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 5937 { (exit 1); exit 1; }; }
 5938ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5596ac_delim='%!_!# ' 5939ac_delim='%!_!# '
5597for ac_last_try in false false false false false :; do 5940for ac_last_try in false false false false false :; do
5598 cat >conf$$subs.sed <<_ACEOF 5941 . ./conf$$subs.sh ||
5599SHELL!$SHELL$ac_delim 5942 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5600PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 5943$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5601PACKAGE_NAME!$PACKAGE_NAME$ac_delim 5944 { (exit 1); exit 1; }; }
5602PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
5603PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
5604PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
5605PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
5606exec_prefix!$exec_prefix$ac_delim 
5607prefix!$prefix$ac_delim 
5608program_transform_name!$program_transform_name$ac_delim 
5609bindir!$bindir$ac_delim 
5610sbindir!$sbindir$ac_delim 
5611libexecdir!$libexecdir$ac_delim 
5612datarootdir!$datarootdir$ac_delim 
5613datadir!$datadir$ac_delim 
5614sysconfdir!$sysconfdir$ac_delim 
5615sharedstatedir!$sharedstatedir$ac_delim 
5616localstatedir!$localstatedir$ac_delim 
5617includedir!$includedir$ac_delim 
5618oldincludedir!$oldincludedir$ac_delim 
5619docdir!$docdir$ac_delim 
5620infodir!$infodir$ac_delim 
5621htmldir!$htmldir$ac_delim 
5622dvidir!$dvidir$ac_delim 
5623pdfdir!$pdfdir$ac_delim 
5624psdir!$psdir$ac_delim 
5625libdir!$libdir$ac_delim 
5626localedir!$localedir$ac_delim 
5627mandir!$mandir$ac_delim 
5628DEFS!$DEFS$ac_delim 
5629ECHO_C!$ECHO_C$ac_delim 
5630ECHO_N!$ECHO_N$ac_delim 
5631ECHO_T!$ECHO_T$ac_delim 
5632LIBS!$LIBS$ac_delim 
5633build_alias!$build_alias$ac_delim 
5634host_alias!$host_alias$ac_delim 
5635target_alias!$target_alias$ac_delim 
5636build!$build$ac_delim 
5637build_cpu!$build_cpu$ac_delim 
5638build_vendor!$build_vendor$ac_delim 
5639build_os!$build_os$ac_delim 
5640host!$host$ac_delim 
5641host_cpu!$host_cpu$ac_delim 
5642host_vendor!$host_vendor$ac_delim 
5643host_os!$host_os$ac_delim 
5644CANONICAL_HOST!$CANONICAL_HOST$ac_delim 
5645SET_MAKE!$SET_MAKE$ac_delim 
5646AWK!$AWK$ac_delim 
5647CC!$CC$ac_delim 
5648CFLAGS!$CFLAGS$ac_delim 
5649LDFLAGS!$LDFLAGS$ac_delim 
5650CPPFLAGS!$CPPFLAGS$ac_delim 
5651ac_ct_CC!$ac_ct_CC$ac_delim 
5652EXEEXT!$EXEEXT$ac_delim 
5653OBJEXT!$OBJEXT$ac_delim 
5654INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 
5655INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 
5656INSTALL_DATA!$INSTALL_DATA$ac_delim 
5657LN_S!$LN_S$ac_delim 
5658AUTOCONF!$AUTOCONF$ac_delim 
5659AUTOHEADER!$AUTOHEADER$ac_delim 
5660CPP!$CPP$ac_delim 
5661GREP!$GREP$ac_delim 
5662EGREP!$EGREP$ac_delim 
5663LIBOBJS!$LIBOBJS$ac_delim 
5664LTLIBOBJS!$LTLIBOBJS$ac_delim 
5665_ACEOF 
5666 5945
5667 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then 5946 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
5668 break 5947 break
5669 elif $ac_last_try; then 5948 elif $ac_last_try; then
5670 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5949 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5671echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5950$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5672 { (exit 1); exit 1; }; } 5951 { (exit 1); exit 1; }; }
5673 else 5952 else
5674 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5953 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5675 fi 5954 fi
5676done 5955done
 5956rm -f conf$$subs.sh
5677 5957
5678ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 5958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5679if test -n "$ac_eof"; then 5959cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5680 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
5681 ac_eof=`expr $ac_eof + 1` 
5682fi 
5683 
5684cat >>$CONFIG_STATUS <<_ACEOF 
5685cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
5686/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
5687_ACEOF 
5688sed ' 
5689s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
5690s/^/s,@/; s/!/@,|#_!!_#|/ 
5691:n 
5692t n 
5693s/'"$ac_delim"'$/,g/; t 
5694s/$/\\/; p 
5695N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
5696' >>$CONFIG_STATUS <conf$$subs.sed 
5697rm -f conf$$subs.sed 
5698cat >>$CONFIG_STATUS <<_ACEOF 
5699:end 
5700s/|#_!!_#|//g 
5701CEOF$ac_eof 
5702_ACEOF 5960_ACEOF
 5961sed -n '
 5962h
 5963s/^/S["/; s/!.*/"]=/
 5964p
 5965g
 5966s/^[^!]*!//
 5967:repl
 5968t repl
 5969s/'"$ac_delim"'$//
 5970t delim
 5971:nl
 5972h
 5973s/\(.\{148\}\).*/\1/
 5974t more1
 5975s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 5976p
 5977n
 5978b repl
 5979:more1
 5980s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5981p
 5982g
 5983s/.\{148\}//
 5984t nl
 5985:delim
 5986h
 5987s/\(.\{148\}\).*/\1/
 5988t more2
 5989s/["\\]/\\&/g; s/^/"/; s/$/"/
 5990p
 5991b
 5992:more2
 5993s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5994p
 5995g
 5996s/.\{148\}//
 5997t delim
 5998' <conf$$subs.awk | sed '
 5999/^[^""]/{
 6000 N
 6001 s/\n//
 6002}
 6003' >>$CONFIG_STATUS || ac_write_fail=1
 6004rm -f conf$$subs.awk
 6005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6006_ACAWK
 6007cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 6008 for (key in S) S_is_set[key] = 1
 6009 FS = ""
5703 6010
 6011}
 6012{
 6013 line = $ 0
 6014 nfields = split(line, field, "@")
 6015 substed = 0
 6016 len = length(field[1])
 6017 for (i = 2; i < nfields; i++) {
 6018 key = field[i]
 6019 keylen = length(key)
 6020 if (S_is_set[key]) {
 6021 value = S[key]
 6022 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 6023 len += length(value) + length(field[++i])
 6024 substed = 1
 6025 } else
 6026 len += 1 + keylen
 6027 }
 6028
 6029 print line
 6030}
 6031
 6032_ACAWK
 6033_ACEOF
 6034cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6035if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 6036 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 6037else
 6038 cat
 6039fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 6040 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 6041$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 6042 { (exit 1); exit 1; }; }
 6043_ACEOF
5704 6044
5705# VPATH may cause trouble with some makes, so we remove $(srcdir), 6045# VPATH may cause trouble with some makes, so we remove $(srcdir),
5706# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6046# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5707# trailing colons and then remove the whole line if VPATH becomes empty 6047# trailing colons and then remove the whole line if VPATH becomes empty
5708# (actually we leave an empty line to preserve line numbers). 6048# (actually we leave an empty line to preserve line numbers).
5709if test "x$srcdir" = x.; then 6049if test "x$srcdir" = x.; then
5710 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6050 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5711s/:*\$(srcdir):*/:/ 6051s/:*\$(srcdir):*/:/
5712s/:*\${srcdir}:*/:/ 6052s/:*\${srcdir}:*/:/
5713s/:*@srcdir@:*/:/ 6053s/:*@srcdir@:*/:/
5714s/^\([^=]*=[ ]*\):*/\1/ 6054s/^\([^=]*=[ ]*\):*/\1/
5715s/:*$// 6055s/:*$//
5716s/^[^=]*=[ ]*$// 6056s/^[^=]*=[ ]*$//
5717}' 6057}'
5718fi 6058fi
5719 6059
5720cat >>$CONFIG_STATUS <<\_ACEOF 6060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5721fi # test -n "$CONFIG_FILES" 6061fi # test -n "$CONFIG_FILES"
5722 6062
 6063# Set up the scripts for CONFIG_HEADERS section.
 6064# No need to generate them if there are no CONFIG_HEADERS.
 6065# This happens for instance with `./config.status Makefile'.
 6066if test -n "$CONFIG_HEADERS"; then
 6067cat >"$tmp/defines.awk" <<\_ACAWK ||
 6068BEGIN {
 6069_ACEOF
5723 6070
5724for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 6071# Transform confdefs.h into an awk script `defines.awk', embedded as
 6072# here-document in config.status, that substitutes the proper values into
 6073# config.h.in to produce config.h.
 6074
 6075# Create a delimiter string that does not exist in confdefs.h, to ease
 6076# handling of long lines.
 6077ac_delim='%!_!# '
 6078for ac_last_try in false false :; do
 6079 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 6080 if test -z "$ac_t"; then
 6081 break
 6082 elif $ac_last_try; then
 6083 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 6084$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 6085 { (exit 1); exit 1; }; }
 6086 else
 6087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 6088 fi
 6089done
 6090
 6091# For the awk script, D is an array of macro values keyed by name,
 6092# likewise P contains macro parameters if any. Preserve backslash
 6093# newline sequences.
 6094
 6095ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 6096sed -n '
 6097s/.\{148\}/&'"$ac_delim"'/g
 6098t rset
 6099:rset
 6100s/^[ ]*#[ ]*define[ ][ ]*/ /
 6101t def
 6102d
 6103:def
 6104s/\\$//
 6105t bsnl
 6106s/["\\]/\\&/g
 6107s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
 6108D["\1"]=" \3"/p
 6109s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
 6110d
 6111:bsnl
 6112s/["\\]/\\&/g
 6113s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
 6114D["\1"]=" \3\\\\\\n"\\/p
 6115t cont
 6116s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 6117t cont
 6118d
 6119:cont
 6120n
 6121s/.\{148\}/&'"$ac_delim"'/g
 6122t clear
 6123:clear
 6124s/\\$//
 6125t bsnlc
 6126s/["\\]/\\&/g; s/^/"/; s/$/"/p
 6127d
 6128:bsnlc
 6129s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 6130b cont
 6131' <confdefs.h | sed '
 6132s/'"$ac_delim"'/"\\\
 6133"/g' >>$CONFIG_STATUS || ac_write_fail=1
 6134
 6135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6136 for (key in D) D_is_set[key] = 1
 6137 FS = ""
 6138}
 6139/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 6140 line = \$ 0
 6141 split(line, arg, " ")
 6142 if (arg[1] == "#") {
 6143 defundef = arg[2]
 6144 mac1 = arg[3]
 6145 } else {
 6146 defundef = substr(arg[1], 2)
 6147 mac1 = arg[2]
 6148 }
 6149 split(mac1, mac2, "(") #)
 6150 macro = mac2[1]
 6151 if (D_is_set[macro]) {
 6152 # Preserve the white space surrounding the "#".
 6153 prefix = substr(line, 1, index(line, defundef) - 1)
 6154 print prefix "define", macro P[macro] D[macro]
 6155 next
 6156 } else {
 6157 # Replace #undef with comments. This is necessary, for example,
 6158 # in the case of _POSIX_SOURCE, which is predefined and required
 6159 # on some systems where configure will not decide to define it.
 6160 if (defundef == "undef") {
 6161 print "/*", line, "*/"
 6162 next
 6163 }
 6164 }
 6165}
 6166{ print }
 6167_ACAWK
 6168_ACEOF
 6169cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6170 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 6171$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 6172 { (exit 1); exit 1; }; }
 6173fi # test -n "$CONFIG_HEADERS"
 6174
 6175
 6176eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
 6177shift
 6178for ac_tag
5725do 6179do
5726 case $ac_tag in 6180 case $ac_tag in
5727 :[FHLC]) ac_mode=$ac_tag; continue;; 6181 :[FHLC]) ac_mode=$ac_tag; continue;;
5728 esac 6182 esac
5729 case $ac_mode$ac_tag in 6183 case $ac_mode$ac_tag in
5730 :[FHL]*:*);; 6184 :[FHL]*:*);;
5731 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6185 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5732echo "$as_me: error: Invalid tag $ac_tag." >&2;} 6186$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5733 { (exit 1); exit 1; }; };; 6187 { (exit 1); exit 1; }; };;
5734 :[FH]-) ac_tag=-:-;; 6188 :[FH]-) ac_tag=-:-;;
5735 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6189 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5736 esac 6190 esac
5737 ac_save_IFS=$IFS 6191 ac_save_IFS=$IFS
5738 IFS=: 6192 IFS=:
5739 set x $ac_tag 6193 set x $ac_tag
5740 IFS=$ac_save_IFS 6194 IFS=$ac_save_IFS
5741 shift 6195 shift
5742 ac_file=$1 6196 ac_file=$1
5743 shift 6197 shift
5744 6198
5745 case $ac_mode in 6199 case $ac_mode in
5746 :L) ac_source=$1;; 6200 :L) ac_source=$1;;
5747 :[FH]) 6201 :[FH])
5748 ac_file_inputs= 6202 ac_file_inputs=
5749 for ac_f 6203 for ac_f
5750 do 6204 do
5751 case $ac_f in 6205 case $ac_f in
5752 -) ac_f="$tmp/stdin";; 6206 -) ac_f="$tmp/stdin";;
5753 *) # Look for the file first in the build tree, then in the source tree 6207 *) # Look for the file first in the build tree, then in the source tree
5754 # (if the path is not absolute). The absolute path cannot be DOS-style, 6208 # (if the path is not absolute). The absolute path cannot be DOS-style,
5755 # because $ac_f cannot contain `:'. 6209 # because $ac_f cannot contain `:'.
5756 test -f "$ac_f" || 6210 test -f "$ac_f" ||
5757 case $ac_f in 6211 case $ac_f in
5758 [\\/$]*) false;; 6212 [\\/$]*) false;;
5759 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6213 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5760 esac || 6214 esac ||
5761 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6215 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5762echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6216$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5763 { (exit 1); exit 1; }; };; 6217 { (exit 1); exit 1; }; };;
5764 esac 6218 esac
5765 ac_file_inputs="$ac_file_inputs $ac_f" 6219 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 6220 ac_file_inputs="$ac_file_inputs '$ac_f'"
5766 done 6221 done
5767 6222
5768 # Let's still pretend it is `configure' which instantiates (i.e., don't 6223 # Let's still pretend it is `configure' which instantiates (i.e., don't
5769 # use $as_me), people would be surprised to read: 6224 # use $as_me), people would be surprised to read:
5770 # /* config.h. Generated by config.status. */ 6225 # /* config.h. Generated by config.status. */
5771 configure_input="Generated from "`IFS=: 6226 configure_input='Generated from '`
5772 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 6227 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 6228 `' by configure.'
5773 if test x"$ac_file" != x-; then 6229 if test x"$ac_file" != x-; then
5774 configure_input="$ac_file. $configure_input" 6230 configure_input="$ac_file. $configure_input"
5775 { echo "$as_me:$LINENO: creating $ac_file" >&5 6231 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5776echo "$as_me: creating $ac_file" >&6;} 6232$as_echo "$as_me: creating $ac_file" >&6;}
5777 fi 6233 fi
 6234 # Neutralize special characters interpreted by sed in replacement strings.
 6235 case $configure_input in #(
 6236 *\&* | *\|* | *\\* )
 6237 ac_sed_conf_input=`$as_echo "$configure_input" |
 6238 sed 's/[\\\\&|]/\\\\&/g'`;; #(
 6239 *) ac_sed_conf_input=$configure_input;;
 6240 esac
5778 6241
5779 case $ac_tag in 6242 case $ac_tag in
5780 *:-:* | *:-) cat >"$tmp/stdin";; 6243 *:-:* | *:-) cat >"$tmp/stdin" \
 6244 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 6245$as_echo "$as_me: error: could not create $ac_file" >&2;}
 6246 { (exit 1); exit 1; }; } ;;
5781 esac 6247 esac
5782 ;; 6248 ;;
5783 esac 6249 esac
5784 6250
5785 ac_dir=`$as_dirname -- "$ac_file" || 6251 ac_dir=`$as_dirname -- "$ac_file" ||
5786$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6252$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5787 X"$ac_file" : 'X\(//\)[^/]' \| \ 6253 X"$ac_file" : 'X\(//\)[^/]' \| \
5788 X"$ac_file" : 'X\(//\)$' \| \ 6254 X"$ac_file" : 'X\(//\)$' \| \
5789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6255 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5790echo X"$ac_file" | 6256$as_echo X"$ac_file" |
5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5792 s//\1/ 6258 s//\1/
5793 q 6259 q
5794 } 6260 }
5795 /^X\(\/\/\)[^/].*/{ 6261 /^X\(\/\/\)[^/].*/{
5796 s//\1/ 6262 s//\1/
5797 q 6263 q
5798 } 6264 }
5799 /^X\(\/\/\)$/{ 6265 /^X\(\/\/\)$/{
5800 s//\1/ 6266 s//\1/
5801 q 6267 q
5802 } 6268 }
5803 /^X\(\/\).*/{ 6269 /^X\(\/\).*/{
5804 s//\1/ 6270 s//\1/
5805 q 6271 q
5806 } 6272 }
5807 s/.*/./; q'` 6273 s/.*/./; q'`
5808 { as_dir="$ac_dir" 6274 { as_dir="$ac_dir"
5809 case $as_dir in #( 6275 case $as_dir in #(
5810 -*) as_dir=./$as_dir;; 6276 -*) as_dir=./$as_dir;;
5811 esac 6277 esac
5812 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6278 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5813 as_dirs= 6279 as_dirs=
5814 while :; do 6280 while :; do
5815 case $as_dir in #( 6281 case $as_dir in #(
5816 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 6282 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5817 *) as_qdir=$as_dir;; 6283 *) as_qdir=$as_dir;;
5818 esac 6284 esac
5819 as_dirs="'$as_qdir' $as_dirs" 6285 as_dirs="'$as_qdir' $as_dirs"
5820 as_dir=`$as_dirname -- "$as_dir" || 6286 as_dir=`$as_dirname -- "$as_dir" ||
5821$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6287$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5822 X"$as_dir" : 'X\(//\)[^/]' \| \ 6288 X"$as_dir" : 'X\(//\)[^/]' \| \
5823 X"$as_dir" : 'X\(//\)$' \| \ 6289 X"$as_dir" : 'X\(//\)$' \| \
5824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5825echo X"$as_dir" | 6291$as_echo X"$as_dir" |
5826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5827 s//\1/ 6293 s//\1/
5828 q 6294 q
5829 } 6295 }
5830 /^X\(\/\/\)[^/].*/{ 6296 /^X\(\/\/\)[^/].*/{
5831 s//\1/ 6297 s//\1/
5832 q 6298 q
5833 } 6299 }
5834 /^X\(\/\/\)$/{ 6300 /^X\(\/\/\)$/{
5835 s//\1/ 6301 s//\1/
5836 q 6302 q
5837 } 6303 }
5838 /^X\(\/\).*/{ 6304 /^X\(\/\).*/{
5839 s//\1/ 6305 s//\1/
5840 q 6306 q
5841 } 6307 }
5842 s/.*/./; q'` 6308 s/.*/./; q'`
5843 test -d "$as_dir" && break 6309 test -d "$as_dir" && break
5844 done 6310 done
5845 test -z "$as_dirs" || eval "mkdir $as_dirs" 6311 test -z "$as_dirs" || eval "mkdir $as_dirs"
5846 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6312 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5847echo "$as_me: error: cannot create directory $as_dir" >&2;} 6313$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5848 { (exit 1); exit 1; }; }; } 6314 { (exit 1); exit 1; }; }; }
5849 ac_builddir=. 6315 ac_builddir=.
5850 6316
5851case "$ac_dir" in 6317case "$ac_dir" in
5852.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6318.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5853*) 6319*)
5854 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6320 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5855 # A ".." for each directory in $ac_dir_suffix. 6321 # A ".." for each directory in $ac_dir_suffix.
5856 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6322 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5857 case $ac_top_builddir_sub in 6323 case $ac_top_builddir_sub in
5858 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6324 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5859 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6325 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5860 esac ;; 6326 esac ;;
5861esac 6327esac
5862ac_abs_top_builddir=$ac_pwd 6328ac_abs_top_builddir=$ac_pwd
5863ac_abs_builddir=$ac_pwd$ac_dir_suffix 6329ac_abs_builddir=$ac_pwd$ac_dir_suffix
5864# for backward compatibility: 6330# for backward compatibility:
5865ac_top_builddir=$ac_top_build_prefix 6331ac_top_builddir=$ac_top_build_prefix
5866 6332
5867case $srcdir in 6333case $srcdir in
5868 .) # We are building in place. 6334 .) # We are building in place.
5869 ac_srcdir=. 6335 ac_srcdir=.
5870 ac_top_srcdir=$ac_top_builddir_sub 6336 ac_top_srcdir=$ac_top_builddir_sub
5871 ac_abs_top_srcdir=$ac_pwd ;; 6337 ac_abs_top_srcdir=$ac_pwd ;;
5872 [\\/]* | ?:[\\/]* ) # Absolute name. 6338 [\\/]* | ?:[\\/]* ) # Absolute name.
5873 ac_srcdir=$srcdir$ac_dir_suffix; 6339 ac_srcdir=$srcdir$ac_dir_suffix;
5874 ac_top_srcdir=$srcdir 6340 ac_top_srcdir=$srcdir
5875 ac_abs_top_srcdir=$srcdir ;; 6341 ac_abs_top_srcdir=$srcdir ;;
5876 *) # Relative name. 6342 *) # Relative name.
5877 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6343 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5878 ac_top_srcdir=$ac_top_build_prefix$srcdir 6344 ac_top_srcdir=$ac_top_build_prefix$srcdir
5879 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6345 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5880esac 6346esac
5881ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6347ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5882 6348
5883 6349
5884 case $ac_mode in 6350 case $ac_mode in
5885 :F) 6351 :F)
5886 # 6352 #
5887 # CONFIG_FILE 6353 # CONFIG_FILE
5888 # 6354 #
5889 6355
5890 case $INSTALL in 6356 case $INSTALL in
5891 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6357 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5892 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6358 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5893 esac 6359 esac
5894_ACEOF 6360_ACEOF
5895 6361
5896cat >>$CONFIG_STATUS <<\_ACEOF 6362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5897# If the template does not know about datarootdir, expand it. 6363# If the template does not know about datarootdir, expand it.
5898# FIXME: This hack should be removed a few years after 2.60. 6364# FIXME: This hack should be removed a few years after 2.60.
5899ac_datarootdir_hack=; ac_datarootdir_seen= 6365ac_datarootdir_hack=; ac_datarootdir_seen=
5900 6366
5901case `sed -n '/datarootdir/ { 6367ac_sed_dataroot='
 6368/datarootdir/ {
5902 p 6369 p
5903 q 6370 q
5904} 6371}
5905/@datadir@/p 6372/@datadir@/p
5906/@docdir@/p 6373/@docdir@/p
5907/@infodir@/p 6374/@infodir@/p
5908/@localedir@/p 6375/@localedir@/p
5909/@mandir@/p 6376/@mandir@/p
5910' $ac_file_inputs` in 6377'
 6378case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5911*datarootdir*) ac_datarootdir_seen=yes;; 6379*datarootdir*) ac_datarootdir_seen=yes;;
5912*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6380*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5913 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6381 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5914echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6382$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5915_ACEOF 6383_ACEOF
5916cat >>$CONFIG_STATUS <<_ACEOF 6384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5917 ac_datarootdir_hack=' 6385 ac_datarootdir_hack='
5918 s&@datadir@&$datadir&g 6386 s&@datadir@&$datadir&g
5919 s&@docdir@&$docdir&g 6387 s&@docdir@&$docdir&g
5920 s&@infodir@&$infodir&g 6388 s&@infodir@&$infodir&g
5921 s&@localedir@&$localedir&g 6389 s&@localedir@&$localedir&g
5922 s&@mandir@&$mandir&g 6390 s&@mandir@&$mandir&g
5923 s&\\\${datarootdir}&$datarootdir&g' ;; 6391 s&\\\${datarootdir}&$datarootdir&g' ;;
5924esac 6392esac
5925_ACEOF 6393_ACEOF
5926 6394
5927# Neutralize VPATH when `$srcdir' = `.'. 6395# Neutralize VPATH when `$srcdir' = `.'.
5928# Shell code in configure.ac might set extrasub. 6396# Shell code in configure.ac might set extrasub.
5929# FIXME: do we really want to maintain this feature? 6397# FIXME: do we really want to maintain this feature?
5930cat >>$CONFIG_STATUS <<_ACEOF 6398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5931 sed "$ac_vpsub 6399ac_sed_extra="$ac_vpsub
5932$extrasub 6400$extrasub
5933_ACEOF 6401_ACEOF
5934cat >>$CONFIG_STATUS <<\_ACEOF 6402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5935:t 6403:t
5936/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6404/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5937s&@configure_input@&$configure_input&;t t 6405s|@configure_input@|$ac_sed_conf_input|;t t
5938s&@top_builddir@&$ac_top_builddir_sub&;t t 6406s&@top_builddir@&$ac_top_builddir_sub&;t t
 6407s&@top_build_prefix@&$ac_top_build_prefix&;t t
5939s&@srcdir@&$ac_srcdir&;t t 6408s&@srcdir@&$ac_srcdir&;t t
5940s&@abs_srcdir@&$ac_abs_srcdir&;t t 6409s&@abs_srcdir@&$ac_abs_srcdir&;t t
5941s&@top_srcdir@&$ac_top_srcdir&;t t 6410s&@top_srcdir@&$ac_top_srcdir&;t t
5942s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6411s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5943s&@builddir@&$ac_builddir&;t t 6412s&@builddir@&$ac_builddir&;t t
5944s&@abs_builddir@&$ac_abs_builddir&;t t 6413s&@abs_builddir@&$ac_abs_builddir&;t t
5945s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6414s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5946s&@INSTALL@&$ac_INSTALL&;t t 6415s&@INSTALL@&$ac_INSTALL&;t t
5947$ac_datarootdir_hack 6416$ac_datarootdir_hack
5948" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6417"
 6418eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 6419 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 6420$as_echo "$as_me: error: could not create $ac_file" >&2;}
 6421 { (exit 1); exit 1; }; }
5949 6422
5950test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6423test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5951 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6424 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6425 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5953 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6426 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5954which seems to be undefined. Please make sure it is defined." >&5 6427which seems to be undefined. Please make sure it is defined." >&5
5955echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6428$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5956which seems to be undefined. Please make sure it is defined." >&2;} 6429which seems to be undefined. Please make sure it is defined." >&2;}
5957 6430
5958 rm -f "$tmp/stdin" 6431 rm -f "$tmp/stdin"
5959 case $ac_file in 6432 case $ac_file in
5960 -) cat "$tmp/out"; rm -f "$tmp/out";; 6433 -) cat "$tmp/out" && rm -f "$tmp/out";;
5961 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6434 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5962 esac 6435 esac \
 6436 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 6437$as_echo "$as_me: error: could not create $ac_file" >&2;}
 6438 { (exit 1); exit 1; }; }
5963 ;; 6439 ;;
5964 :H) 6440 :H)
5965 # 6441 #
5966 # CONFIG_HEADER 6442 # CONFIG_HEADER
5967 # 6443 #
5968_ACEOF 
5969 
5970# Transform confdefs.h into a sed script `conftest.defines', that 
5971# substitutes the proper values into config.h.in to produce config.h. 
5972rm -f conftest.defines conftest.tail 
5973# First, append a space to every undef/define line, to ease matching. 
5974echo 's/$/ /' >conftest.defines 
5975# Then, protect against being on the right side of a sed subst, or in 
5976# an unquoted here document, in config.status. If some macros were 
5977# called several times there might be several #defines for the same 
5978# symbol, which is useless. But do not sort them, since the last 
5979# AC_DEFINE must be honored. 
5980ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
5981# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
5982# NAME is the cpp macro being defined, VALUE is the value it is being given. 
5983# PARAMS is the parameter list in the macro definition--in most cases, it's 
5984# just an empty string. 
5985ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 
5986ac_dB='\\)[ (].*,\\1define\\2' 
5987ac_dC=' ' 
5988ac_dD=' ,' 
5989 
5990uniq confdefs.h | 
5991 sed -n ' 
5992 t rset 
5993 :rset 
5994 s/^[ ]*#[ ]*define[ ][ ]*// 
5995 t ok 
5996 d 
5997 :ok 
5998 s/[\\&,]/\\&/g 
5999 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
6000 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
6001 ' >>conftest.defines 
6002 
6003# Remove the space that was appended to ease matching. 
6004# Then replace #undef with comments. This is necessary, for 
6005# example, in the case of _POSIX_SOURCE, which is predefined and required 
6006# on some systems where configure will not decide to define it. 
6007# (The regexp can be short, since the line contains either #define or #undef.) 
6008echo 's/ $// 
6009s,^[ #]*u.*,/* & */,' >>conftest.defines 
6010 
6011# Break up conftest.defines: 
6012ac_max_sed_lines=50 
6013 
6014# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
6015# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
6016# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
6017# et cetera. 
6018ac_in='$ac_file_inputs' 
6019ac_out='"$tmp/out1"' 
6020ac_nxt='"$tmp/out2"' 
6021 
6022while : 
6023do 
6024 # Write a here document: 
6025 cat >>$CONFIG_STATUS <<_ACEOF 
6026 # First, check the format of the line: 
6027 cat >"\$tmp/defines.sed" <<\\CEOF 
6028/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 
6029/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 
6030b 
6031:def 
6032_ACEOF 
6033 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
6034 echo 'CEOF 
6035 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
6036 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
6037 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
6038 grep . conftest.tail >/dev/null || break 
6039 rm -f conftest.defines 
6040 mv conftest.tail conftest.defines 
6041done 
6042rm -f conftest.defines conftest.tail 
6043 
6044echo "ac_result=$ac_in" >>$CONFIG_STATUS 
6045cat >>$CONFIG_STATUS <<\_ACEOF 
6046 if test x"$ac_file" != x-; then 6444 if test x"$ac_file" != x-; then
6047 echo "/* $configure_input */" >"$tmp/config.h" 6445 {
6048 cat "$ac_result" >>"$tmp/config.h" 6446 $as_echo "/* $configure_input */" \
6049 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6447 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6050 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6448 } >"$tmp/config.h" \
6051echo "$as_me: $ac_file is unchanged" >&6;} 6449 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 6450$as_echo "$as_me: error: could not create $ac_file" >&2;}
 6451 { (exit 1); exit 1; }; }
 6452 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 6453 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 6454$as_echo "$as_me: $ac_file is unchanged" >&6;}
6052 else 6455 else
6053 rm -f $ac_file 6456 rm -f "$ac_file"
6054 mv "$tmp/config.h" $ac_file 6457 mv "$tmp/config.h" "$ac_file" \
 6458 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 6459$as_echo "$as_me: error: could not create $ac_file" >&2;}
 6460 { (exit 1); exit 1; }; }
6055 fi 6461 fi
6056 else 6462 else
6057 echo "/* $configure_input */" 6463 $as_echo "/* $configure_input */" \
6058 cat "$ac_result" 6464 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 6465 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 6466$as_echo "$as_me: error: could not create -" >&2;}
 6467 { (exit 1); exit 1; }; }
6059 fi 6468 fi
6060 rm -f "$tmp/out12" 
6061 ;; 6469 ;;
6062 6470
6063 6471
6064 esac 6472 esac
6065 6473
6066done # for ac_tag 6474done # for ac_tag
6067 6475
6068 6476
6069{ (exit 0); exit 0; } 6477{ (exit 0); exit 0; }
6070_ACEOF 6478_ACEOF
6071chmod +x $CONFIG_STATUS 6479chmod +x $CONFIG_STATUS
6072ac_clean_files=$ac_clean_files_save 6480ac_clean_files=$ac_clean_files_save
6073 6481
 6482test $ac_write_fail = 0 ||
 6483 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 6484$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 6485 { (exit 1); exit 1; }; }
 6486
6074 6487
6075# configure is writing to config.log, and then calls config.status. 6488# configure is writing to config.log, and then calls config.status.
6076# config.status does its own redirection, appending to config.log. 6489# config.status does its own redirection, appending to config.log.
6077# Unfortunately, on DOS this fails, as config.log is still kept open 6490# Unfortunately, on DOS this fails, as config.log is still kept open
6078# by configure, so config.status won't be able to write to it; its 6491# by configure, so config.status won't be able to write to it; its
6079# output is simply discarded. So we exec the FD to /dev/null, 6492# output is simply discarded. So we exec the FD to /dev/null,
6080# effectively closing config.log, so it can be properly (re)opened and 6493# effectively closing config.log, so it can be properly (re)opened and
6081# appended to by config.status. When coming back to configure, we 6494# appended to by config.status. When coming back to configure, we
6082# need to make the FD available again. 6495# need to make the FD available again.
6083if test "$no_create" != yes; then 6496if test "$no_create" != yes; then
6084 ac_cs_success=: 6497 ac_cs_success=:
6085 ac_config_status_args= 6498 ac_config_status_args=
6086 test "$silent" = yes && 6499 test "$silent" = yes &&
6087 ac_config_status_args="$ac_config_status_args --quiet" 6500 ac_config_status_args="$ac_config_status_args --quiet"
6088 exec 5>/dev/null 6501 exec 5>/dev/null
6089 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6502 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6090 exec 5>>config.log 6503 exec 5>>config.log
6091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6504 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6092 # would make configure fail if this is the last instruction. 6505 # would make configure fail if this is the last instruction.
6093 $ac_cs_success || { (exit 1); exit 1; } 6506 $ac_cs_success || { (exit 1); exit 1; }
6094fi 6507fi
 6508if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 6509 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 6510$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 6511fi
6095 6512

cvs diff -r1.13 -r1.13.6.1 pkgsrc/pkgtools/digest/files/configure.ac (switch to unified diff)

--- pkgsrc/pkgtools/digest/files/configure.ac 2007/09/21 18:44:36 1.13
+++ pkgsrc/pkgtools/digest/files/configure.ac 2008/05/10 00:53:12 1.13.6.1
@@ -1,117 +1,117 @@ @@ -1,117 +1,117 @@
1dnl $Id: configure.ac,v 1.13 2007/09/21 18:44:36 joerg Exp $ 1dnl $Id: configure.ac,v 1.13.6.1 2008/05/10 00:53:12 rtr Exp $
2dnl Process this file with autoconf to produce a configure script. 2dnl Process this file with autoconf to produce a configure script.
3AC_PREREQ(2.57) 3AC_PREREQ(2.57)
4AC_INIT([nbsd-digest],[20070803],[agc@netbsd.org]) 4AC_INIT([nbsd-digest],[20080509],[agc@netbsd.org])
5AC_CONFIG_SRCDIR([digest.c]) 5AC_CONFIG_SRCDIR([digest.c])
6AC_CONFIG_HEADER(config.h) 6AC_CONFIG_HEADER(config.h)
7AC_ARG_PROGRAM 7AC_ARG_PROGRAM
8 8
9AC_CANONICAL_HOST 9AC_CANONICAL_HOST
10CANONICAL_HOST=$host 10CANONICAL_HOST=$host
11AC_SUBST(CANONICAL_HOST) 11AC_SUBST(CANONICAL_HOST)
12 12
13# Checks for programs. 13# Checks for programs.
14AC_PROG_MAKE_SET 14AC_PROG_MAKE_SET
15AC_PROG_AWK 15AC_PROG_AWK
16AC_PROG_CC 16AC_PROG_CC
17AC_PROG_INSTALL 17AC_PROG_INSTALL
18AC_PROG_LN_S 18AC_PROG_LN_S
19 19
20AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} 20AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
21AC_SUBST(AUTOCONF) 21AC_SUBST(AUTOCONF)
22AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} 22AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
23AC_SUBST(AUTOHEADER) 23AC_SUBST(AUTOHEADER)
24 24
25dnl Checks for header files. 25dnl Checks for header files.
26AC_HEADER_STDC 26AC_HEADER_STDC
27AC_CHECK_HEADERS([errno.h fcntl.h inttypes.h locale.h stdlib.h]) 27AC_CHECK_HEADERS([errno.h fcntl.h inttypes.h locale.h stdlib.h])
28AC_CHECK_HEADERS([sys/cdefs.h sys/file.h sys/param.h]) 28AC_CHECK_HEADERS([sys/cdefs.h sys/file.h sys/param.h])
29 29
30AC_TYPE_UINT8_T 30AC_TYPE_UINT8_T
31AC_TYPE_UINT16_T 31AC_TYPE_UINT16_T
32AC_TYPE_UINT32_T 32AC_TYPE_UINT32_T
33AC_TYPE_UINT64_T 33AC_TYPE_UINT64_T
34 34
35AC_C_BIGENDIAN 35AC_C_BIGENDIAN
36 36
37# Checks for library functions. 37# Checks for library functions.
38AC_FUNC_STRERROR_R 38AC_FUNC_STRERROR_R
39AC_FUNC_VPRINTF 39AC_FUNC_VPRINTF
40AC_CHECK_FUNCS([bcopy bzero memset memcpy setlocale]) 40AC_CHECK_FUNCS([bcopy bzero memset memcpy setlocale])
41# 41#
42AH_BOTTOM([ 42AH_BOTTOM([
43#ifdef HAVE_SYS_CDEFS_H 43#ifdef HAVE_SYS_CDEFS_H
44#include <sys/cdefs.h> 44#include <sys/cdefs.h>
45#endif 45#endif
46 46
47#if defined(__GNUC__) && !defined(__IDSTRING) 47#if defined(__GNUC__) && !defined(__IDSTRING)
48#if (__GNUC__ == 2 && __GNUC_MINOR >= 7) || (__GNUC__ > 2) 48#if (__GNUC__ == 2 && __GNUC_MINOR >= 7) || (__GNUC__ > 2)
49# define __IDSTRING(name,string) \ 49# define __IDSTRING(name,string) \
50 static const char name[] __attribute__((__unused__)) = string 50 static const char name[] __attribute__((__unused__)) = string
51#endif 51#endif
52#endif 52#endif
53 53
54#ifndef __IDSTRING 54#ifndef __IDSTRING
55# define __IDSTRING(name,string) \ 55# define __IDSTRING(name,string) \
56 static const char name[] = string 56 static const char name[] = string
57#endif 57#endif
58 58
59#ifndef __RCSID 59#ifndef __RCSID
60# define __RCSID(_s) __IDSTRING(rcsid,_s) 60# define __RCSID(_s) __IDSTRING(rcsid,_s)
61#endif 61#endif
62 62
63#ifndef __COPYRIGHT 63#ifndef __COPYRIGHT
64# define __COPYRIGHT(_s) __IDSTRING(copyright,_s) 64# define __COPYRIGHT(_s) __IDSTRING(copyright,_s)
65#endif 65#endif
66 66
67#ifndef __CONCAT 67#ifndef __CONCAT
68# if defined(__STDC__) || defined(__cplusplus) 68# if defined(__STDC__) || defined(__cplusplus)
69# define __CONCAT(x,y) x ## y 69# define __CONCAT(x,y) x ## y
70# else 70# else
71# define __CONCAT(x,y) x/**/y 71# define __CONCAT(x,y) x/**/y
72# endif 72# endif
73#endif 73#endif
74 74
75#ifndef __BEGIN_DECLS 75#ifndef __BEGIN_DECLS
76# if defined(__cplusplus) 76# if defined(__cplusplus)
77# define __BEGIN_DECLS extern "C" { 77# define __BEGIN_DECLS extern "C" {
78# else 78# else
79# define __BEGIN_DECLS 79# define __BEGIN_DECLS
80# endif 80# endif
81#endif 81#endif
82 82
83#ifndef __END_DECLS 83#ifndef __END_DECLS
84# if defined(__cplusplus) 84# if defined(__cplusplus)
85# define __END_DECLS }; 85# define __END_DECLS };
86# else 86# else
87# define __END_DECLS 87# define __END_DECLS
88# endif 88# endif
89#endif 89#endif
90 90
91#ifdef HAVE_SYS_PARAM_H 91#ifdef HAVE_SYS_PARAM_H
92#include <sys/param.h> 92#include <sys/param.h>
93#endif 93#endif
94 94
95#if defined(HAVE_MEMSET) 95#if defined(HAVE_MEMSET)
96#define MEMSET_BZERO(p,l) memset((p), 0, (l)) 96#define MEMSET_BZERO(p,l) memset((p), 0, (l))
97#else 97#else
98# if defined(HAVE_BZERO) 98# if defined(HAVE_BZERO)
99#define MEMSET_BZERO(p,l) bzero((p), (l)) 99#define MEMSET_BZERO(p,l) bzero((p), (l))
100# else 100# else
101#error You need either memset or bzero 101#error You need either memset or bzero
102# endif 102# endif
103#endif 103#endif
104 104
105#if defined(HAVE_MEMCPY) 105#if defined(HAVE_MEMCPY)
106#define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) 106#define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l))
107#else 107#else
108# if defined(HAVE_BCOPY) 108# if defined(HAVE_BCOPY)
109#define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) 109#define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l))
110# else 110# else
111#error You need either memcpy or bcopy 111#error You need either memcpy or bcopy
112# endif 112# endif
113#endif 113#endif
114]) 114])
115 115
116AC_CONFIG_FILES([Makefile]) 116AC_CONFIG_FILES([Makefile])
117AC_OUTPUT 117AC_OUTPUT

cvs diff -r1.8 -r1.8.6.1 pkgsrc/pkgtools/digest/files/sha2.c (switch to unified diff)

--- pkgsrc/pkgtools/digest/files/sha2.c 2007/09/21 18:44:37 1.8
+++ pkgsrc/pkgtools/digest/files/sha2.c 2008/05/10 00:53:12 1.8.6.1
@@ -1,917 +1,917 @@ @@ -1,917 +1,917 @@
1/* 1/*
2 * sha2.c 2 * sha2.c
3 * 3 *
4 * Version 1.0.0beta1 4 * Version 1.0.0beta1
5 * 5 *
6 * Written by Aaron D. Gifford <me@aarongifford.com> 6 * Written by Aaron D. Gifford <me@aarongifford.com>
7 * 7 *
8 * Copyright 2000 Aaron D. Gifford. All rights reserved. 8 * Copyright 2000 Aaron D. Gifford. All rights reserved.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright 15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the 16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution. 17 * documentation and/or other materials provided with the distribution.
18 * 3. Neither the name of the copyright holder nor the names of contributors 18 * 3. Neither the name of the copyright holder nor the names of contributors
19 * may be used to endorse or promote products derived from this software 19 * may be used to endorse or promote products derived from this software
20 * without specific prior written permission. 20 * without specific prior written permission.
21 *  21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND 22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND
23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE
26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE. 32 * SUCH DAMAGE.
33 * 33 *
34 */ 34 */
35 35
36 36
37#ifdef HAVE_CONFIG_H 37#ifdef HAVE_CONFIG_H
38#include <config.h> 38#include <config.h>
39#endif 39#endif
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */ 42#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */
43#include <assert.h> /* assert() */ 43#include <assert.h> /* assert() */
44#include "sha2.h" 44#include "sha2.h"
45 45
46/* 46/*
47 * ASSERT NOTE: 47 * ASSERT NOTE:
48 * Some sanity checking code is included using assert(). On my FreeBSD 48 * Some sanity checking code is included using assert(). On my FreeBSD
49 * system, this additional code can be removed by compiling with NDEBUG 49 * system, this additional code can be removed by compiling with NDEBUG
50 * defined. Check your own systems manpage on assert() to see how to 50 * defined. Check your own systems manpage on assert() to see how to
51 * compile WITHOUT the sanity checking code on your system. 51 * compile WITHOUT the sanity checking code on your system.
52 * 52 *
53 * UNROLLED TRANSFORM LOOP NOTE: 53 * UNROLLED TRANSFORM LOOP NOTE:
54 * You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform 54 * You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform
55 * loop version for the hash transform rounds (defined using macros 55 * loop version for the hash transform rounds (defined using macros
56 * later in this file). Either define on the command line, for example: 56 * later in this file). Either define on the command line, for example:
57 * 57 *
58 * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c 58 * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c
59 * 59 *
60 * or define below: 60 * or define below:
61 * 61 *
62 * #define SHA2_UNROLL_TRANSFORM 62 * #define SHA2_UNROLL_TRANSFORM
63 * 63 *
64 */ 64 */
65 65
66 66
67/*** SHA-256/384/512 Machine Architecture Definitions *****************/ 67/*** SHA-256/384/512 Machine Architecture Definitions *****************/
68 68
69/*** SHA-256/384/512 Various Length Definitions ***********************/ 69/*** SHA-256/384/512 Various Length Definitions ***********************/
70/* NOTE: Most of these are in sha2.h */ 70/* NOTE: Most of these are in sha2.h */
71#define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) 71#define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
72#define SHA384_SHORT_BLOCK_LENGTH (SHA384_BLOCK_LENGTH - 16) 72#define SHA384_SHORT_BLOCK_LENGTH (SHA384_BLOCK_LENGTH - 16)
73#define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) 73#define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
74 74
75 75
76/*** ENDIAN REVERSAL MACROS *******************************************/ 76/*** ENDIAN REVERSAL MACROS *******************************************/
77#ifndef WORDS_BIGENDIAN 77#ifndef WORDS_BIGENDIAN
78#define REVERSE32(w,x) { \ 78#define REVERSE32(w,x) { \
79 sha2_word32 tmp = (w); \ 79 sha2_word32 tmp = (w); \
80 tmp = (tmp >> 16) | (tmp << 16); \ 80 tmp = (tmp >> 16) | (tmp << 16); \
81 (x) = ((tmp & 0xff00ff00UL) >> 8) | ((tmp & 0x00ff00ffUL) << 8); \ 81 (x) = ((tmp & 0xff00ff00UL) >> 8) | ((tmp & 0x00ff00ffUL) << 8); \
82} 82}
83#define REVERSE64(w,x) { \ 83#define REVERSE64(w,x) { \
84 sha2_word64 tmp = (w); \ 84 sha2_word64 tmp = (w); \
85 tmp = (tmp >> 32) | (tmp << 32); \ 85 tmp = (tmp >> 32) | (tmp << 32); \
86 tmp = ((tmp & 0xff00ff00ff00ff00ULL) >> 8) | \ 86 tmp = ((tmp & 0xff00ff00ff00ff00ULL) >> 8) | \
87 ((tmp & 0x00ff00ff00ff00ffULL) << 8); \ 87 ((tmp & 0x00ff00ff00ff00ffULL) << 8); \
88 (x) = ((tmp & 0xffff0000ffff0000ULL) >> 16) | \ 88 (x) = ((tmp & 0xffff0000ffff0000ULL) >> 16) | \
89 ((tmp & 0x0000ffff0000ffffULL) << 16); \ 89 ((tmp & 0x0000ffff0000ffffULL) << 16); \
90} 90}
91#endif /* WORDS_BIGENDIAN */ 91#endif /* WORDS_BIGENDIAN */
92 92
93/* 93/*
94 * Macro for incrementally adding the unsigned 64-bit integer n to the 94 * Macro for incrementally adding the unsigned 64-bit integer n to the
95 * unsigned 128-bit integer (represented using a two-element array of 95 * unsigned 128-bit integer (represented using a two-element array of
96 * 64-bit words): 96 * 64-bit words):
97 */ 97 */
98#define ADDINC128(w,n) { \ 98#define ADDINC128(w,n) { \
99 (w)[0] += (sha2_word64)(n); \ 99 (w)[0] += (sha2_word64)(n); \
100 if ((w)[0] < (n)) { \ 100 if ((w)[0] < (n)) { \
101 (w)[1]++; \ 101 (w)[1]++; \
102 } \ 102 } \
103} 103}
104 104
105#if !defined(MEMSET_BZERO) && !defined(MEMCPY_BCOPY) 105#if !defined(MEMSET_BZERO) && !defined(MEMCPY_BCOPY)
106/* 106/*
107 * Macros for copying blocks of memory and for zeroing out ranges 107 * Macros for copying blocks of memory and for zeroing out ranges
108 * of memory. Using these macros makes it easy to switch from 108 * of memory. Using these macros makes it easy to switch from
109 * using memset()/memcpy() and using bzero()/bcopy(). 109 * using memset()/memcpy() and using bzero()/bcopy().
110 * 110 *
111 * Please define either SHA2_USE_MEMSET_MEMCPY or define 111 * Please define either SHA2_USE_MEMSET_MEMCPY or define
112 * SHA2_USE_BZERO_BCOPY depending on which function set you 112 * SHA2_USE_BZERO_BCOPY depending on which function set you
113 * choose to use: 113 * choose to use:
114 */ 114 */
115#if !defined(SHA2_USE_MEMSET_MEMCPY) && !defined(SHA2_USE_BZERO_BCOPY) 115#if !defined(SHA2_USE_MEMSET_MEMCPY) && !defined(SHA2_USE_BZERO_BCOPY)
116/* Default to memset()/memcpy() if no option is specified */ 116/* Default to memset()/memcpy() if no option is specified */
117#define SHA2_USE_MEMSET_MEMCPY 1 117#define SHA2_USE_MEMSET_MEMCPY 1
118#endif 118#endif
119#if defined(SHA2_USE_MEMSET_MEMCPY) && defined(SHA2_USE_BZERO_BCOPY) 119#if defined(SHA2_USE_MEMSET_MEMCPY) && defined(SHA2_USE_BZERO_BCOPY)
120/* Abort with an error if BOTH options are defined */ 120/* Abort with an error if BOTH options are defined */
121#error Define either SHA2_USE_MEMSET_MEMCPY or SHA2_USE_BZERO_BCOPY, not both! 121#error Define either SHA2_USE_MEMSET_MEMCPY or SHA2_USE_BZERO_BCOPY, not both!
122#endif 122#endif
123 123
124#ifdef SHA2_USE_MEMSET_MEMCPY 124#ifdef SHA2_USE_MEMSET_MEMCPY
125#define MEMSET_BZERO(p,l) memset((p), 0, (l)) 125#define MEMSET_BZERO(p,l) memset((p), 0, (l))
126#define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) 126#define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l))
127#endif 127#endif
128#ifdef SHA2_USE_BZERO_BCOPY 128#ifdef SHA2_USE_BZERO_BCOPY
129#define MEMSET_BZERO(p,l) bzero((p), (l)) 129#define MEMSET_BZERO(p,l) bzero((p), (l))
130#define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) 130#define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l))
131#endif 131#endif
132#endif /* !defined(MEMSET_BZERO) && !defined(MEMCPY_BCOPY) */ 132#endif /* !defined(MEMSET_BZERO) && !defined(MEMCPY_BCOPY) */
133 133
134/*** THE SIX LOGICAL FUNCTIONS ****************************************/ 134/*** THE SIX LOGICAL FUNCTIONS ****************************************/
135/* 135/*
136 * Bit shifting and rotation (used by the six SHA-XYZ logical functions: 136 * Bit shifting and rotation (used by the six SHA-XYZ logical functions:
137 * 137 *
138 * NOTE: The naming of R and S appears backwards here (R is a SHIFT and 138 * NOTE: The naming of R and S appears backwards here (R is a SHIFT and
139 * S is a ROTATION) because the SHA-256/384/512 description document 139 * S is a ROTATION) because the SHA-256/384/512 description document
140 * (see http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf) uses this 140 * (see http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf) uses this
141 * same "backwards" definition. 141 * same "backwards" definition.
142 */ 142 */
143/* Shift-right (used in SHA-256, SHA-384, and SHA-512): */ 143/* Shift-right (used in SHA-256, SHA-384, and SHA-512): */
144#define R(b,x) ((x) >> (b)) 144#define R(b,x) ((x) >> (b))
145/* 32-bit Rotate-right (used in SHA-256): */ 145/* 32-bit Rotate-right (used in SHA-256): */
146#define S32(b,x) (((x) >> (b)) | ((x) << (32 - (b)))) 146#define S32(b,x) (((x) >> (b)) | ((x) << (32 - (b))))
147/* 64-bit Rotate-right (used in SHA-384 and SHA-512): */ 147/* 64-bit Rotate-right (used in SHA-384 and SHA-512): */
148#define S64(b,x) (((x) >> (b)) | ((x) << (64 - (b)))) 148#define S64(b,x) (((x) >> (b)) | ((x) << (64 - (b))))
149 149
150/* Two of six logical functions used in SHA-256, SHA-384, and SHA-512: */ 150/* Two of six logical functions used in SHA-256, SHA-384, and SHA-512: */
151#define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) 151#define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z)))
152#define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) 152#define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z)))
153 153
154/* Four of six logical functions used in SHA-256: */ 154/* Four of six logical functions used in SHA-256: */
155#define Sigma0_256(x) (S32(2, (x)) ^ S32(13, (x)) ^ S32(22, (x))) 155#define Sigma0_256(x) (S32(2, (x)) ^ S32(13, (x)) ^ S32(22, (x)))
156#define Sigma1_256(x) (S32(6, (x)) ^ S32(11, (x)) ^ S32(25, (x))) 156#define Sigma1_256(x) (S32(6, (x)) ^ S32(11, (x)) ^ S32(25, (x)))
157#define sigma0_256(x) (S32(7, (x)) ^ S32(18, (x)) ^ R(3 , (x))) 157#define sigma0_256(x) (S32(7, (x)) ^ S32(18, (x)) ^ R(3 , (x)))
158#define sigma1_256(x) (S32(17, (x)) ^ S32(19, (x)) ^ R(10, (x))) 158#define sigma1_256(x) (S32(17, (x)) ^ S32(19, (x)) ^ R(10, (x)))
159 159
160/* Four of six logical functions used in SHA-384 and SHA-512: */ 160/* Four of six logical functions used in SHA-384 and SHA-512: */
161#define Sigma0_512(x) (S64(28, (x)) ^ S64(34, (x)) ^ S64(39, (x))) 161#define Sigma0_512(x) (S64(28, (x)) ^ S64(34, (x)) ^ S64(39, (x)))
162#define Sigma1_512(x) (S64(14, (x)) ^ S64(18, (x)) ^ S64(41, (x))) 162#define Sigma1_512(x) (S64(14, (x)) ^ S64(18, (x)) ^ S64(41, (x)))
163#define sigma0_512(x) (S64( 1, (x)) ^ S64( 8, (x)) ^ R( 7, (x))) 163#define sigma0_512(x) (S64( 1, (x)) ^ S64( 8, (x)) ^ R( 7, (x)))
164#define sigma1_512(x) (S64(19, (x)) ^ S64(61, (x)) ^ R( 6, (x))) 164#define sigma1_512(x) (S64(19, (x)) ^ S64(61, (x)) ^ R( 6, (x)))
165 165
166/*** INTERNAL FUNCTION PROTOTYPES *************************************/ 166/*** INTERNAL FUNCTION PROTOTYPES *************************************/
167/* NOTE: These should not be accessed directly from outside this 167/* NOTE: These should not be accessed directly from outside this
168 * library -- they are intended for private internal visibility/use 168 * library -- they are intended for private internal visibility/use
169 * only. 169 * only.
170 */ 170 */
171void SHA512_Last(SHA512_CTX*); 171void SHA512_Last(SHA512_CTX*);
172void SHA256_Transform(SHA256_CTX*, const sha2_word32*); 172void SHA256_Transform(SHA256_CTX*, const sha2_word32*);
173void SHA512_Transform(SHA512_CTX*, const sha2_word64*); 173void SHA512_Transform(SHA512_CTX*, const sha2_word64*);
174 174
175 175
176/*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/ 176/*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/
177/* Hash constant words K for SHA-256: */ 177/* Hash constant words K for SHA-256: */
178const static sha2_word32 K256[64] = { 178const static sha2_word32 K256[64] = {
179 0x428a2f98UL, 0x71374491UL, 0xb5c0fbcfUL, 0xe9b5dba5UL, 179 0x428a2f98UL, 0x71374491UL, 0xb5c0fbcfUL, 0xe9b5dba5UL,
180 0x3956c25bUL, 0x59f111f1UL, 0x923f82a4UL, 0xab1c5ed5UL, 180 0x3956c25bUL, 0x59f111f1UL, 0x923f82a4UL, 0xab1c5ed5UL,
181 0xd807aa98UL, 0x12835b01UL, 0x243185beUL, 0x550c7dc3UL, 181 0xd807aa98UL, 0x12835b01UL, 0x243185beUL, 0x550c7dc3UL,
182 0x72be5d74UL, 0x80deb1feUL, 0x9bdc06a7UL, 0xc19bf174UL, 182 0x72be5d74UL, 0x80deb1feUL, 0x9bdc06a7UL, 0xc19bf174UL,
183 0xe49b69c1UL, 0xefbe4786UL, 0x0fc19dc6UL, 0x240ca1ccUL, 183 0xe49b69c1UL, 0xefbe4786UL, 0x0fc19dc6UL, 0x240ca1ccUL,
184 0x2de92c6fUL, 0x4a7484aaUL, 0x5cb0a9dcUL, 0x76f988daUL, 184 0x2de92c6fUL, 0x4a7484aaUL, 0x5cb0a9dcUL, 0x76f988daUL,
185 0x983e5152UL, 0xa831c66dUL, 0xb00327c8UL, 0xbf597fc7UL, 185 0x983e5152UL, 0xa831c66dUL, 0xb00327c8UL, 0xbf597fc7UL,
186 0xc6e00bf3UL, 0xd5a79147UL, 0x06ca6351UL, 0x14292967UL, 186 0xc6e00bf3UL, 0xd5a79147UL, 0x06ca6351UL, 0x14292967UL,
187 0x27b70a85UL, 0x2e1b2138UL, 0x4d2c6dfcUL, 0x53380d13UL, 187 0x27b70a85UL, 0x2e1b2138UL, 0x4d2c6dfcUL, 0x53380d13UL,
188 0x650a7354UL, 0x766a0abbUL, 0x81c2c92eUL, 0x92722c85UL, 188 0x650a7354UL, 0x766a0abbUL, 0x81c2c92eUL, 0x92722c85UL,
189 0xa2bfe8a1UL, 0xa81a664bUL, 0xc24b8b70UL, 0xc76c51a3UL, 189 0xa2bfe8a1UL, 0xa81a664bUL, 0xc24b8b70UL, 0xc76c51a3UL,
190 0xd192e819UL, 0xd6990624UL, 0xf40e3585UL, 0x106aa070UL, 190 0xd192e819UL, 0xd6990624UL, 0xf40e3585UL, 0x106aa070UL,
191 0x19a4c116UL, 0x1e376c08UL, 0x2748774cUL, 0x34b0bcb5UL, 191 0x19a4c116UL, 0x1e376c08UL, 0x2748774cUL, 0x34b0bcb5UL,
192 0x391c0cb3UL, 0x4ed8aa4aUL, 0x5b9cca4fUL, 0x682e6ff3UL, 192 0x391c0cb3UL, 0x4ed8aa4aUL, 0x5b9cca4fUL, 0x682e6ff3UL,
193 0x748f82eeUL, 0x78a5636fUL, 0x84c87814UL, 0x8cc70208UL, 193 0x748f82eeUL, 0x78a5636fUL, 0x84c87814UL, 0x8cc70208UL,
194 0x90befffaUL, 0xa4506cebUL, 0xbef9a3f7UL, 0xc67178f2UL 194 0x90befffaUL, 0xa4506cebUL, 0xbef9a3f7UL, 0xc67178f2UL
195}; 195};
196 196
197/* Initial hash value H for SHA-256: */ 197/* Initial hash value H for SHA-256: */
198const static sha2_word32 sha256_initial_hash_value[8] = { 198const static sha2_word32 sha256_initial_hash_value[8] = {
199 0x6a09e667UL, 199 0x6a09e667UL,
200 0xbb67ae85UL, 200 0xbb67ae85UL,
201 0x3c6ef372UL, 201 0x3c6ef372UL,
202 0xa54ff53aUL, 202 0xa54ff53aUL,
203 0x510e527fUL, 203 0x510e527fUL,
204 0x9b05688cUL, 204 0x9b05688cUL,
205 0x1f83d9abUL, 205 0x1f83d9abUL,
206 0x5be0cd19UL 206 0x5be0cd19UL
207}; 207};
208 208
209/* Hash constant words K for SHA-384 and SHA-512: */ 209/* Hash constant words K for SHA-384 and SHA-512: */
210const static sha2_word64 K512[80] = { 210const static sha2_word64 K512[80] = {
211 0x428a2f98d728ae22ULL, 0x7137449123ef65cdULL, 211 0x428a2f98d728ae22ULL, 0x7137449123ef65cdULL,
212 0xb5c0fbcfec4d3b2fULL, 0xe9b5dba58189dbbcULL, 212 0xb5c0fbcfec4d3b2fULL, 0xe9b5dba58189dbbcULL,
213 0x3956c25bf348b538ULL, 0x59f111f1b605d019ULL, 213 0x3956c25bf348b538ULL, 0x59f111f1b605d019ULL,
214 0x923f82a4af194f9bULL, 0xab1c5ed5da6d8118ULL, 214 0x923f82a4af194f9bULL, 0xab1c5ed5da6d8118ULL,
215 0xd807aa98a3030242ULL, 0x12835b0145706fbeULL, 215 0xd807aa98a3030242ULL, 0x12835b0145706fbeULL,
216 0x243185be4ee4b28cULL, 0x550c7dc3d5ffb4e2ULL, 216 0x243185be4ee4b28cULL, 0x550c7dc3d5ffb4e2ULL,
217 0x72be5d74f27b896fULL, 0x80deb1fe3b1696b1ULL, 217 0x72be5d74f27b896fULL, 0x80deb1fe3b1696b1ULL,
218 0x9bdc06a725c71235ULL, 0xc19bf174cf692694ULL, 218 0x9bdc06a725c71235ULL, 0xc19bf174cf692694ULL,
219 0xe49b69c19ef14ad2ULL, 0xefbe4786384f25e3ULL, 219 0xe49b69c19ef14ad2ULL, 0xefbe4786384f25e3ULL,
220 0x0fc19dc68b8cd5b5ULL, 0x240ca1cc77ac9c65ULL, 220 0x0fc19dc68b8cd5b5ULL, 0x240ca1cc77ac9c65ULL,
221 0x2de92c6f592b0275ULL, 0x4a7484aa6ea6e483ULL, 221 0x2de92c6f592b0275ULL, 0x4a7484aa6ea6e483ULL,
222 0x5cb0a9dcbd41fbd4ULL, 0x76f988da831153b5ULL, 222 0x5cb0a9dcbd41fbd4ULL, 0x76f988da831153b5ULL,
223 0x983e5152ee66dfabULL, 0xa831c66d2db43210ULL, 223 0x983e5152ee66dfabULL, 0xa831c66d2db43210ULL,
224 0xb00327c898fb213fULL, 0xbf597fc7beef0ee4ULL, 224 0xb00327c898fb213fULL, 0xbf597fc7beef0ee4ULL,
225 0xc6e00bf33da88fc2ULL, 0xd5a79147930aa725ULL, 225 0xc6e00bf33da88fc2ULL, 0xd5a79147930aa725ULL,
226 0x06ca6351e003826fULL, 0x142929670a0e6e70ULL, 226 0x06ca6351e003826fULL, 0x142929670a0e6e70ULL,
227 0x27b70a8546d22ffcULL, 0x2e1b21385c26c926ULL, 227 0x27b70a8546d22ffcULL, 0x2e1b21385c26c926ULL,
228 0x4d2c6dfc5ac42aedULL, 0x53380d139d95b3dfULL, 228 0x4d2c6dfc5ac42aedULL, 0x53380d139d95b3dfULL,
229 0x650a73548baf63deULL, 0x766a0abb3c77b2a8ULL, 229 0x650a73548baf63deULL, 0x766a0abb3c77b2a8ULL,
230 0x81c2c92e47edaee6ULL, 0x92722c851482353bULL, 230 0x81c2c92e47edaee6ULL, 0x92722c851482353bULL,
231 0xa2bfe8a14cf10364ULL, 0xa81a664bbc423001ULL, 231 0xa2bfe8a14cf10364ULL, 0xa81a664bbc423001ULL,
232 0xc24b8b70d0f89791ULL, 0xc76c51a30654be30ULL, 232 0xc24b8b70d0f89791ULL, 0xc76c51a30654be30ULL,
233 0xd192e819d6ef5218ULL, 0xd69906245565a910ULL, 233 0xd192e819d6ef5218ULL, 0xd69906245565a910ULL,
234 0xf40e35855771202aULL, 0x106aa07032bbd1b8ULL, 234 0xf40e35855771202aULL, 0x106aa07032bbd1b8ULL,
235 0x19a4c116b8d2d0c8ULL, 0x1e376c085141ab53ULL, 235 0x19a4c116b8d2d0c8ULL, 0x1e376c085141ab53ULL,
236 0x2748774cdf8eeb99ULL, 0x34b0bcb5e19b48a8ULL, 236 0x2748774cdf8eeb99ULL, 0x34b0bcb5e19b48a8ULL,
237 0x391c0cb3c5c95a63ULL, 0x4ed8aa4ae3418acbULL, 237 0x391c0cb3c5c95a63ULL, 0x4ed8aa4ae3418acbULL,
238 0x5b9cca4f7763e373ULL, 0x682e6ff3d6b2b8a3ULL, 238 0x5b9cca4f7763e373ULL, 0x682e6ff3d6b2b8a3ULL,
239 0x748f82ee5defb2fcULL, 0x78a5636f43172f60ULL, 239 0x748f82ee5defb2fcULL, 0x78a5636f43172f60ULL,
240 0x84c87814a1f0ab72ULL, 0x8cc702081a6439ecULL, 240 0x84c87814a1f0ab72ULL, 0x8cc702081a6439ecULL,
241 0x90befffa23631e28ULL, 0xa4506cebde82bde9ULL, 241 0x90befffa23631e28ULL, 0xa4506cebde82bde9ULL,
242 0xbef9a3f7b2c67915ULL, 0xc67178f2e372532bULL, 242 0xbef9a3f7b2c67915ULL, 0xc67178f2e372532bULL,
243 0xca273eceea26619cULL, 0xd186b8c721c0c207ULL, 243 0xca273eceea26619cULL, 0xd186b8c721c0c207ULL,
244 0xeada7dd6cde0eb1eULL, 0xf57d4f7fee6ed178ULL, 244 0xeada7dd6cde0eb1eULL, 0xf57d4f7fee6ed178ULL,
245 0x06f067aa72176fbaULL, 0x0a637dc5a2c898a6ULL, 245 0x06f067aa72176fbaULL, 0x0a637dc5a2c898a6ULL,
246 0x113f9804bef90daeULL, 0x1b710b35131c471bULL, 246 0x113f9804bef90daeULL, 0x1b710b35131c471bULL,
247 0x28db77f523047d84ULL, 0x32caab7b40c72493ULL, 247 0x28db77f523047d84ULL, 0x32caab7b40c72493ULL,
248 0x3c9ebe0a15c9bebcULL, 0x431d67c49c100d4cULL, 248 0x3c9ebe0a15c9bebcULL, 0x431d67c49c100d4cULL,
249 0x4cc5d4becb3e42b6ULL, 0x597f299cfc657e2aULL, 249 0x4cc5d4becb3e42b6ULL, 0x597f299cfc657e2aULL,
250 0x5fcb6fab3ad6faecULL, 0x6c44198c4a475817ULL 250 0x5fcb6fab3ad6faecULL, 0x6c44198c4a475817ULL
251}; 251};
252 252
253/* Initial hash value H for SHA-384 */ 253/* Initial hash value H for SHA-384 */
254const static sha2_word64 sha384_initial_hash_value[8] = { 254const static sha2_word64 sha384_initial_hash_value[8] = {
255 0xcbbb9d5dc1059ed8ULL, 255 0xcbbb9d5dc1059ed8ULL,
256 0x629a292a367cd507ULL, 256 0x629a292a367cd507ULL,
257 0x9159015a3070dd17ULL, 257 0x9159015a3070dd17ULL,
258 0x152fecd8f70e5939ULL, 258 0x152fecd8f70e5939ULL,
259 0x67332667ffc00b31ULL, 259 0x67332667ffc00b31ULL,
260 0x8eb44a8768581511ULL, 260 0x8eb44a8768581511ULL,
261 0xdb0c2e0d64f98fa7ULL, 261 0xdb0c2e0d64f98fa7ULL,
262 0x47b5481dbefa4fa4ULL 262 0x47b5481dbefa4fa4ULL
263}; 263};
264 264
265/* Initial hash value H for SHA-512 */ 265/* Initial hash value H for SHA-512 */
266const static sha2_word64 sha512_initial_hash_value[8] = { 266const static sha2_word64 sha512_initial_hash_value[8] = {
267 0x6a09e667f3bcc908ULL, 267 0x6a09e667f3bcc908ULL,
268 0xbb67ae8584caa73bULL, 268 0xbb67ae8584caa73bULL,
269 0x3c6ef372fe94f82bULL, 269 0x3c6ef372fe94f82bULL,
270 0xa54ff53a5f1d36f1ULL, 270 0xa54ff53a5f1d36f1ULL,
271 0x510e527fade682d1ULL, 271 0x510e527fade682d1ULL,
272 0x9b05688c2b3e6c1fULL, 272 0x9b05688c2b3e6c1fULL,
273 0x1f83d9abfb41bd6bULL, 273 0x1f83d9abfb41bd6bULL,
274 0x5be0cd19137e2179ULL 274 0x5be0cd19137e2179ULL
275}; 275};
276 276
277 277
278/*** SHA-256: *********************************************************/ 278/*** SHA-256: *********************************************************/
279void SHA256_Init(SHA256_CTX* context) { 279void SHA256_Init(SHA256_CTX* context) {
280 if (context == (SHA256_CTX*)0) { 280 if (context == (SHA256_CTX*)0) {
281 return; 281 return;
282 } 282 }
283 MEMCPY_BCOPY(context->state, sha256_initial_hash_value, SHA256_DIGEST_LENGTH); 283 MEMCPY_BCOPY(context->state, sha256_initial_hash_value, SHA256_DIGEST_LENGTH);
284 MEMSET_BZERO(context->buffer, SHA256_BLOCK_LENGTH); 284 MEMSET_BZERO(context->buffer, SHA256_BLOCK_LENGTH);
285 context->bitcount = 0; 285 context->bitcount = 0;
286} 286}
287 287
288#ifdef SHA2_UNROLL_TRANSFORM 288#ifdef SHA2_UNROLL_TRANSFORM
289 289
290/* Unrolled SHA-256 round macros: */ 290/* Unrolled SHA-256 round macros: */
291 291
292#ifndef WORDS_BIGENDIAN 292#ifndef WORDS_BIGENDIAN
293 293
294#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ 294#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \
295 REVERSE32(*data++, W256[j]); \ 295 REVERSE32(*data++, W256[j]); \
296 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \ 296 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
297 K256[j] + W256[j]; \ 297 K256[j] + W256[j]; \
298 (d) += T1; \ 298 (d) += T1; \
299 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ 299 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
300 j++ 300 j++
301 301
302 302
303#else /* WORDS__BIGENDIAN */ 303#else /* WORDS__BIGENDIAN */
304 304
305#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ 305#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \
306 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \ 306 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
307 K256[j] + (W256[j] = *data++); \ 307 K256[j] + (W256[j] = *data++); \
308 (d) += T1; \ 308 (d) += T1; \
309 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ 309 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
310 j++ 310 j++
311 311
312#endif /* WORDS_BIGENDIAN */ 312#endif /* WORDS_BIGENDIAN */
313 313
314#define ROUND256(a,b,c,d,e,f,g,h) \ 314#define ROUND256(a,b,c,d,e,f,g,h) \
315 s0 = W256[(j+1)&0x0f]; \ 315 s0 = W256[(j+1)&0x0f]; \
316 s0 = sigma0_256(s0); \ 316 s0 = sigma0_256(s0); \
317 s1 = W256[(j+14)&0x0f]; \ 317 s1 = W256[(j+14)&0x0f]; \
318 s1 = sigma1_256(s1); \ 318 s1 = sigma1_256(s1); \
319 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \ 319 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \
320 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \ 320 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \
321 (d) += T1; \ 321 (d) += T1; \
322 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ 322 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
323 j++ 323 j++
324 324
325void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { 325void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) {
326 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; 326 sha2_word32 a, b, c, d, e, f, g, h, s0, s1;
327 sha2_word32 T1, *W256; 327 sha2_word32 T1, *W256;
328 int j; 328 int j;
329 329
330 W256 = (sha2_word32*)context->buffer; 330 W256 = (sha2_word32*)context->buffer;
331 331
332 /* Initialize registers with the prev. intermediate value */ 332 /* Initialize registers with the prev. intermediate value */
333 a = context->state[0]; 333 a = context->state[0];
334 b = context->state[1]; 334 b = context->state[1];
335 c = context->state[2]; 335 c = context->state[2];
336 d = context->state[3]; 336 d = context->state[3];
337 e = context->state[4]; 337 e = context->state[4];
338 f = context->state[5]; 338 f = context->state[5];
339 g = context->state[6]; 339 g = context->state[6];
340 h = context->state[7]; 340 h = context->state[7];
341 341
342 j = 0; 342 j = 0;
343 do { 343 do {
344 /* Rounds 0 to 15 (unrolled): */ 344 /* Rounds 0 to 15 (unrolled): */
345 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); 345 ROUND256_0_TO_15(a,b,c,d,e,f,g,h);
346 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); 346 ROUND256_0_TO_15(h,a,b,c,d,e,f,g);
347 ROUND256_0_TO_15(g,h,a,b,c,d,e,f); 347 ROUND256_0_TO_15(g,h,a,b,c,d,e,f);
348 ROUND256_0_TO_15(f,g,h,a,b,c,d,e); 348 ROUND256_0_TO_15(f,g,h,a,b,c,d,e);
349 ROUND256_0_TO_15(e,f,g,h,a,b,c,d); 349 ROUND256_0_TO_15(e,f,g,h,a,b,c,d);
350 ROUND256_0_TO_15(d,e,f,g,h,a,b,c); 350 ROUND256_0_TO_15(d,e,f,g,h,a,b,c);
351 ROUND256_0_TO_15(c,d,e,f,g,h,a,b); 351 ROUND256_0_TO_15(c,d,e,f,g,h,a,b);
352 ROUND256_0_TO_15(b,c,d,e,f,g,h,a); 352 ROUND256_0_TO_15(b,c,d,e,f,g,h,a);
353 } while (j < 16); 353 } while (j < 16);
354 354
355 /* Now for the remaining rounds to 64: */ 355 /* Now for the remaining rounds to 64: */
356 do { 356 do {
357 ROUND256(a,b,c,d,e,f,g,h); 357 ROUND256(a,b,c,d,e,f,g,h);
358 ROUND256(h,a,b,c,d,e,f,g); 358 ROUND256(h,a,b,c,d,e,f,g);
359 ROUND256(g,h,a,b,c,d,e,f); 359 ROUND256(g,h,a,b,c,d,e,f);
360 ROUND256(f,g,h,a,b,c,d,e); 360 ROUND256(f,g,h,a,b,c,d,e);
361 ROUND256(e,f,g,h,a,b,c,d); 361 ROUND256(e,f,g,h,a,b,c,d);
362 ROUND256(d,e,f,g,h,a,b,c); 362 ROUND256(d,e,f,g,h,a,b,c);
363 ROUND256(c,d,e,f,g,h,a,b); 363 ROUND256(c,d,e,f,g,h,a,b);
364 ROUND256(b,c,d,e,f,g,h,a); 364 ROUND256(b,c,d,e,f,g,h,a);
365 } while (j < 64); 365 } while (j < 64);
366 366
367 /* Compute the current intermediate hash value */ 367 /* Compute the current intermediate hash value */
368 context->state[0] += a; 368 context->state[0] += a;
369 context->state[1] += b; 369 context->state[1] += b;
370 context->state[2] += c; 370 context->state[2] += c;
371 context->state[3] += d; 371 context->state[3] += d;
372 context->state[4] += e; 372 context->state[4] += e;
373 context->state[5] += f; 373 context->state[5] += f;
374 context->state[6] += g; 374 context->state[6] += g;
375 context->state[7] += h; 375 context->state[7] += h;
376 376
377 /* Clean up */ 377 /* Clean up */
378 a = b = c = d = e = f = g = h = T1 = 0; 378 a = b = c = d = e = f = g = h = T1 = 0;
379} 379}
380 380
381#else /* SHA2_UNROLL_TRANSFORM */ 381#else /* SHA2_UNROLL_TRANSFORM */
382 382
383void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { 383void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) {
384 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; 384 sha2_word32 a, b, c, d, e, f, g, h, s0, s1;
385 sha2_word32 T1, T2, *W256; 385 sha2_word32 T1, T2, *W256;
386 int j; 386 int j;
387 387
388 W256 = (sha2_word32*)context->buffer; 388 W256 = (sha2_word32*)context->buffer;
389 389
390 /* Initialize registers with the prev. intermediate value */ 390 /* Initialize registers with the prev. intermediate value */
391 a = context->state[0]; 391 a = context->state[0];
392 b = context->state[1]; 392 b = context->state[1];
393 c = context->state[2]; 393 c = context->state[2];
394 d = context->state[3]; 394 d = context->state[3];
395 e = context->state[4]; 395 e = context->state[4];
396 f = context->state[5]; 396 f = context->state[5];
397 g = context->state[6]; 397 g = context->state[6];
398 h = context->state[7]; 398 h = context->state[7];
399 399
400 j = 0; 400 j = 0;
401 do { 401 do {
402#ifndef WORDS_BIGENDIAN 402#ifndef WORDS_BIGENDIAN
403 /* Copy data while converting to host byte order */ 403 /* Copy data while converting to host byte order */
404 REVERSE32(*data++,W256[j]); 404 REVERSE32(*data++,W256[j]);
405 /* Apply the SHA-256 compression function to update a..h */ 405 /* Apply the SHA-256 compression function to update a..h */
406 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + W256[j]; 406 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + W256[j];
407#else /* WORDS_BIGENDIAN */ 407#else /* WORDS_BIGENDIAN */
408 /* Apply the SHA-256 compression function to update a..h with copy */ 408 /* Apply the SHA-256 compression function to update a..h with copy */
409 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j] = *data++); 409 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j] = *data++);
410#endif /* WORDS_BIGENDIAN */ 410#endif /* WORDS_BIGENDIAN */
411 T2 = Sigma0_256(a) + Maj(a, b, c); 411 T2 = Sigma0_256(a) + Maj(a, b, c);
412 h = g; 412 h = g;
413 g = f; 413 g = f;
414 f = e; 414 f = e;
415 e = d + T1; 415 e = d + T1;
416 d = c; 416 d = c;
417 c = b; 417 c = b;
418 b = a; 418 b = a;
419 a = T1 + T2; 419 a = T1 + T2;
420 420
421 j++; 421 j++;
422 } while (j < 16); 422 } while (j < 16);
423 423
424 do { 424 do {
425 /* Part of the message block expansion: */ 425 /* Part of the message block expansion: */
426 s0 = W256[(j+1)&0x0f]; 426 s0 = W256[(j+1)&0x0f];
427 s0 = sigma0_256(s0); 427 s0 = sigma0_256(s0);
428 s1 = W256[(j+14)&0x0f];  428 s1 = W256[(j+14)&0x0f];
429 s1 = sigma1_256(s1); 429 s1 = sigma1_256(s1);
430 430
431 /* Apply the SHA-256 compression function to update a..h */ 431 /* Apply the SHA-256 compression function to update a..h */
432 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] +  432 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] +
433 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); 433 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0);
434 T2 = Sigma0_256(a) + Maj(a, b, c); 434 T2 = Sigma0_256(a) + Maj(a, b, c);
435 h = g; 435 h = g;
436 g = f; 436 g = f;
437 f = e; 437 f = e;
438 e = d + T1; 438 e = d + T1;
439 d = c; 439 d = c;
440 c = b; 440 c = b;
441 b = a; 441 b = a;
442 a = T1 + T2; 442 a = T1 + T2;
443 443
444 j++; 444 j++;
445 } while (j < 64); 445 } while (j < 64);
446 446
447 /* Compute the current intermediate hash value */ 447 /* Compute the current intermediate hash value */
448 context->state[0] += a; 448 context->state[0] += a;
449 context->state[1] += b; 449 context->state[1] += b;
450 context->state[2] += c; 450 context->state[2] += c;
451 context->state[3] += d; 451 context->state[3] += d;
452 context->state[4] += e; 452 context->state[4] += e;
453 context->state[5] += f; 453 context->state[5] += f;
454 context->state[6] += g; 454 context->state[6] += g;
455 context->state[7] += h; 455 context->state[7] += h;
456 456
457 /* Clean up */ 457 /* Clean up */
458 a = b = c = d = e = f = g = h = T1 = T2 = 0; 458 a = b = c = d = e = f = g = h = T1 = T2 = 0;
459} 459}
460 460
461#endif /* SHA2_UNROLL_TRANSFORM */ 461#endif /* SHA2_UNROLL_TRANSFORM */
462 462
463void SHA256_Update(SHA256_CTX* context, const uint8_t *data, size_t len) 463void SHA256_Update(SHA256_CTX* context, const uint8_t *data, size_t len)
464{ 464{
465 unsigned int freespace, usedspace; 465 unsigned int freespace, usedspace;
466 466
467 if (len == 0) { 467 if (len == 0) {
468 /* Calling with no data is valid - we do nothing */ 468 /* Calling with no data is valid - we do nothing */
469 return; 469 return;
470 } 470 }
471 471
472 /* Sanity check: */ 472 /* Sanity check: */
473 assert(context != NULL && data != NULL); 473 assert(context != NULL && data != NULL);
474 474
475 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; 475 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
476 if (usedspace > 0) { 476 if (usedspace > 0) {
477 /* Calculate how much free space is available in the buffer */ 477 /* Calculate how much free space is available in the buffer */
478 freespace = SHA256_BLOCK_LENGTH - usedspace; 478 freespace = SHA256_BLOCK_LENGTH - usedspace;
479 479
480 if (len >= freespace) { 480 if (len >= freespace) {
481 /* Fill the buffer completely and process it */ 481 /* Fill the buffer completely and process it */
482 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); 482 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace);
483 context->bitcount += freespace << 3; 483 context->bitcount += freespace << 3;
484 len -= freespace; 484 len -= freespace;
485 data += freespace; 485 data += freespace;
486 SHA256_Transform(context, (sha2_word32*)context->buffer); 486 SHA256_Transform(context, (sha2_word32*)context->buffer);
487 } else { 487 } else {
488 /* The buffer is not yet full */ 488 /* The buffer is not yet full */
489 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); 489 MEMCPY_BCOPY(&context->buffer[usedspace], data, len);
490 context->bitcount += len << 3; 490 context->bitcount += len << 3;
491 /* Clean up: */ 491 /* Clean up: */
492 usedspace = freespace = 0; 492 usedspace = freespace = 0;
493 return; 493 return;
494 } 494 }
495 } 495 }
496 while (len >= SHA256_BLOCK_LENGTH) { 496 while (len >= SHA256_BLOCK_LENGTH) {
497 /* Process as many complete blocks as we can */ 497 /* Process as many complete blocks as we can */
498 SHA256_Transform(context, (const sha2_word32*)data); 498 SHA256_Transform(context, (const sha2_word32*)data);
499 context->bitcount += SHA256_BLOCK_LENGTH << 3; 499 context->bitcount += SHA256_BLOCK_LENGTH << 3;
500 len -= SHA256_BLOCK_LENGTH; 500 len -= SHA256_BLOCK_LENGTH;
501 data += SHA256_BLOCK_LENGTH; 501 data += SHA256_BLOCK_LENGTH;
502 } 502 }
503 if (len > 0) { 503 if (len > 0) {
504 /* There's left-overs, so save 'em */ 504 /* There's left-overs, so save 'em */
505 MEMCPY_BCOPY(context->buffer, data, len); 505 MEMCPY_BCOPY(context->buffer, data, len);
506 context->bitcount += len << 3; 506 context->bitcount += len << 3;
507 } 507 }
508 /* Clean up: */ 508 /* Clean up: */
509 usedspace = freespace = 0; 509 usedspace = freespace = 0;
510} 510}
511 511
512void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { 512void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
513 sha2_word32 *d = (sha2_word32*)digest; 513 sha2_word32 *d = (sha2_word32*)digest;
514 unsigned int usedspace; 514 unsigned int usedspace;
515 515
516 /* Sanity check: */ 516 /* Sanity check: */
517 assert(context != NULL); 517 assert(context != NULL);
518 518
519 /* If no digest buffer is passed, we don't bother doing this: */ 519 /* If no digest buffer is passed, we don't bother doing this: */
520 if (digest != (sha2_byte*)0) { 520 if (digest != (sha2_byte*)0) {
521 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; 521 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
522#ifndef WORDS_BIGENDIAN 522#ifndef WORDS_BIGENDIAN
523 /* Convert FROM host byte order */ 523 /* Convert FROM host byte order */
524 REVERSE64(context->bitcount,context->bitcount); 524 REVERSE64(context->bitcount,context->bitcount);
525#endif 525#endif
526 if (usedspace > 0) { 526 if (usedspace > 0) {
527 /* Begin padding with a 1 bit: */ 527 /* Begin padding with a 1 bit: */
528 context->buffer[usedspace++] = 0x80; 528 context->buffer[usedspace++] = 0x80;
529 529
530 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { 530 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) {
531 /* Set-up for the last transform: */ 531 /* Set-up for the last transform: */
532 MEMSET_BZERO(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace); 532 MEMSET_BZERO(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace);
533 } else { 533 } else {
534 if (usedspace < SHA256_BLOCK_LENGTH) { 534 if (usedspace < SHA256_BLOCK_LENGTH) {
535 MEMSET_BZERO(&context->buffer[usedspace], SHA256_BLOCK_LENGTH - usedspace); 535 MEMSET_BZERO(&context->buffer[usedspace], SHA256_BLOCK_LENGTH - usedspace);
536 } 536 }
537 /* Do second-to-last transform: */ 537 /* Do second-to-last transform: */
538 SHA256_Transform(context, (sha2_word32*)context->buffer); 538 SHA256_Transform(context, (sha2_word32*)context->buffer);
539 539
540 /* And set-up for the last transform: */ 540 /* And set-up for the last transform: */
541 MEMSET_BZERO(context->buffer, SHA256_SHORT_BLOCK_LENGTH); 541 MEMSET_BZERO(context->buffer, SHA256_SHORT_BLOCK_LENGTH);
542 } 542 }
543 } else { 543 } else {
544 /* Set-up for the last transform: */ 544 /* Set-up for the last transform: */
545 MEMSET_BZERO(context->buffer, SHA256_SHORT_BLOCK_LENGTH); 545 MEMSET_BZERO(context->buffer, SHA256_SHORT_BLOCK_LENGTH);
546 546
547 /* Begin padding with a 1 bit: */ 547 /* Begin padding with a 1 bit: */
548 *context->buffer = 0x80; 548 *context->buffer = 0x80;
549 } 549 }
550 /* Set the bit count: */ 550 /* Set the bit count: */
551 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; 551 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
552 552
553 /* Final transform: */ 553 /* Final transform: */
554 SHA256_Transform(context, (sha2_word32*)context->buffer); 554 SHA256_Transform(context, (sha2_word32*)context->buffer);
555 555
556#ifndef WORDS_BIGENDIAN 556#ifndef WORDS_BIGENDIAN
557 { 557 {
558 /* Convert TO host byte order */ 558 /* Convert TO host byte order */
559 int j; 559 int j;
560 for (j = 0; j < 8; j++) { 560 for (j = 0; j < 8; j++) {
561 REVERSE32(context->state[j],context->state[j]); 561 REVERSE32(context->state[j],context->state[j]);
562 *d++ = context->state[j]; 562 *d++ = context->state[j];
563 } 563 }
564 } 564 }
565#else 565#else
566 MEMCPY_BCOPY(d, context->state, SHA256_DIGEST_LENGTH); 566 MEMCPY_BCOPY(d, context->state, SHA256_DIGEST_LENGTH);
567#endif 567#endif
568 } 568 }
569 569
570 /* Clean up state data: */ 570 /* Clean up state data: */
571 MEMSET_BZERO(context, sizeof(SHA256_CTX)); 571 MEMSET_BZERO(context, sizeof(SHA256_CTX));
572 usedspace = 0; 572 usedspace = 0;
573} 573}
574 574
575/*** SHA-512: *********************************************************/ 575/*** SHA-512: *********************************************************/
576void SHA512_Init(SHA512_CTX* context) { 576void SHA512_Init(SHA512_CTX* context) {
577 if (context == (SHA512_CTX*)0) { 577 if (context == (SHA512_CTX*)0) {
578 return; 578 return;
579 } 579 }
580 MEMCPY_BCOPY(context->state, sha512_initial_hash_value, SHA512_DIGEST_LENGTH); 580 MEMCPY_BCOPY(context->state, sha512_initial_hash_value, SHA512_DIGEST_LENGTH);
581 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH); 581 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH);
582 context->bitcount[0] = context->bitcount[1] = 0; 582 context->bitcount[0] = context->bitcount[1] = 0;
583} 583}
584 584
585#ifdef SHA2_UNROLL_TRANSFORM 585#ifdef SHA2_UNROLL_TRANSFORM
586 586
587/* Unrolled SHA-512 round macros: */ 587/* Unrolled SHA-512 round macros: */
588#ifndef WORDS_BIGENDIAN 588#ifndef WORDS_BIGENDIAN
589 589
590#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ 590#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \
591 REVERSE64(*data++, W512[j]); \ 591 REVERSE64(*data++, W512[j]); \
592 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \ 592 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \
593 K512[j] + W512[j]; \ 593 K512[j] + W512[j]; \
594 (d) += T1, \ 594 (d) += T1, \
595 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \ 595 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \
596 j++ 596 j++
597 597
598 598
599#else /* !WORDS_BIGENDIAN */ 599#else /* !WORDS_BIGENDIAN */
600 600
601#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ 601#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \
602 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \ 602 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \
603 K512[j] + (W512[j] = *data++); \ 603 K512[j] + (W512[j] = *data++); \
604 (d) += T1; \ 604 (d) += T1; \
605 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ 605 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
606 j++ 606 j++
607 607
608#endif /* WORDS_BIGENDIAN */ 608#endif /* WORDS_BIGENDIAN */
609 609
610#define ROUND512(a,b,c,d,e,f,g,h) \ 610#define ROUND512(a,b,c,d,e,f,g,h) \
611 s0 = W512[(j+1)&0x0f]; \ 611 s0 = W512[(j+1)&0x0f]; \
612 s0 = sigma0_512(s0); \ 612 s0 = sigma0_512(s0); \
613 s1 = W512[(j+14)&0x0f]; \ 613 s1 = W512[(j+14)&0x0f]; \
614 s1 = sigma1_512(s1); \ 614 s1 = sigma1_512(s1); \
615 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + K512[j] + \ 615 T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + K512[j] + \
616 (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); \ 616 (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); \
617 (d) += T1; \ 617 (d) += T1; \
618 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ 618 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
619 j++ 619 j++
620 620
621void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { 621void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) {
622 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; 622 sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
623 sha2_word64 T1, *W512 = (sha2_word64*)context->buffer; 623 sha2_word64 T1, *W512 = (sha2_word64*)context->buffer;
624 int j; 624 int j;
625 625
626 /* Initialize registers with the prev. intermediate value */ 626 /* Initialize registers with the prev. intermediate value */
627 a = context->state[0]; 627 a = context->state[0];
628 b = context->state[1]; 628 b = context->state[1];
629 c = context->state[2]; 629 c = context->state[2];
630 d = context->state[3]; 630 d = context->state[3];
631 e = context->state[4]; 631 e = context->state[4];
632 f = context->state[5]; 632 f = context->state[5];
633 g = context->state[6]; 633 g = context->state[6];
634 h = context->state[7]; 634 h = context->state[7];
635 635
636 j = 0; 636 j = 0;
637 do { 637 do {
638 ROUND512_0_TO_15(a,b,c,d,e,f,g,h); 638 ROUND512_0_TO_15(a,b,c,d,e,f,g,h);
639 ROUND512_0_TO_15(h,a,b,c,d,e,f,g); 639 ROUND512_0_TO_15(h,a,b,c,d,e,f,g);
640 ROUND512_0_TO_15(g,h,a,b,c,d,e,f); 640 ROUND512_0_TO_15(g,h,a,b,c,d,e,f);
641 ROUND512_0_TO_15(f,g,h,a,b,c,d,e); 641 ROUND512_0_TO_15(f,g,h,a,b,c,d,e);
642 ROUND512_0_TO_15(e,f,g,h,a,b,c,d); 642 ROUND512_0_TO_15(e,f,g,h,a,b,c,d);
643 ROUND512_0_TO_15(d,e,f,g,h,a,b,c); 643 ROUND512_0_TO_15(d,e,f,g,h,a,b,c);
644 ROUND512_0_TO_15(c,d,e,f,g,h,a,b); 644 ROUND512_0_TO_15(c,d,e,f,g,h,a,b);
645 ROUND512_0_TO_15(b,c,d,e,f,g,h,a); 645 ROUND512_0_TO_15(b,c,d,e,f,g,h,a);
646 } while (j < 16); 646 } while (j < 16);
647 647
648 /* Now for the remaining rounds up to 79: */ 648 /* Now for the remaining rounds up to 79: */
649 do { 649 do {
650 ROUND512(a,b,c,d,e,f,g,h); 650 ROUND512(a,b,c,d,e,f,g,h);
651 ROUND512(h,a,b,c,d,e,f,g); 651 ROUND512(h,a,b,c,d,e,f,g);
652 ROUND512(g,h,a,b,c,d,e,f); 652 ROUND512(g,h,a,b,c,d,e,f);
653 ROUND512(f,g,h,a,b,c,d,e); 653 ROUND512(f,g,h,a,b,c,d,e);
654 ROUND512(e,f,g,h,a,b,c,d); 654 ROUND512(e,f,g,h,a,b,c,d);
655 ROUND512(d,e,f,g,h,a,b,c); 655 ROUND512(d,e,f,g,h,a,b,c);
656 ROUND512(c,d,e,f,g,h,a,b); 656 ROUND512(c,d,e,f,g,h,a,b);
657 ROUND512(b,c,d,e,f,g,h,a); 657 ROUND512(b,c,d,e,f,g,h,a);
658 } while (j < 80); 658 } while (j < 80);
659 659
660 /* Compute the current intermediate hash value */ 660 /* Compute the current intermediate hash value */
661 context->state[0] += a; 661 context->state[0] += a;
662 context->state[1] += b; 662 context->state[1] += b;
663 context->state[2] += c; 663 context->state[2] += c;
664 context->state[3] += d; 664 context->state[3] += d;
665 context->state[4] += e; 665 context->state[4] += e;
666 context->state[5] += f; 666 context->state[5] += f;
667 context->state[6] += g; 667 context->state[6] += g;
668 context->state[7] += h; 668 context->state[7] += h;
669 669
670 /* Clean up */ 670 /* Clean up */
671 a = b = c = d = e = f = g = h = T1 = 0; 671 a = b = c = d = e = f = g = h = T1 = 0;
672} 672}
673 673
674#else /* SHA2_UNROLL_TRANSFORM */ 674#else /* SHA2_UNROLL_TRANSFORM */
675 675
676void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { 676void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) {
677 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; 677 sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
678 sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer; 678 sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer;
679 int j; 679 int j;
680 680
681 /* Initialize registers with the prev. intermediate value */ 681 /* Initialize registers with the prev. intermediate value */
682 a = context->state[0]; 682 a = context->state[0];
683 b = context->state[1]; 683 b = context->state[1];
684 c = context->state[2]; 684 c = context->state[2];
685 d = context->state[3]; 685 d = context->state[3];
686 e = context->state[4]; 686 e = context->state[4];
687 f = context->state[5]; 687 f = context->state[5];
688 g = context->state[6]; 688 g = context->state[6];
689 h = context->state[7]; 689 h = context->state[7];
690 690
691 j = 0; 691 j = 0;
692 do { 692 do {
693#ifndef WORDS_BIGENDIAN 693#ifndef WORDS_BIGENDIAN
694 /* Convert TO host byte order */ 694 /* Convert TO host byte order */
695 REVERSE64(*data++, W512[j]); 695 REVERSE64(*data++, W512[j]);
696 /* Apply the SHA-512 compression function to update a..h */ 696 /* Apply the SHA-512 compression function to update a..h */
697 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + W512[j]; 697 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + W512[j];
698#else 698#else
699 /* Apply the SHA-512 compression function to update a..h with copy */ 699 /* Apply the SHA-512 compression function to update a..h with copy */
700 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j] = *data++); 700 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j] = *data++);
701#endif /* WORDS_BIGENDIAN */ 701#endif /* WORDS_BIGENDIAN */
702 T2 = Sigma0_512(a) + Maj(a, b, c); 702 T2 = Sigma0_512(a) + Maj(a, b, c);
703 h = g; 703 h = g;
704 g = f; 704 g = f;
705 f = e; 705 f = e;
706 e = d + T1; 706 e = d + T1;
707 d = c; 707 d = c;
708 c = b; 708 c = b;
709 b = a; 709 b = a;
710 a = T1 + T2; 710 a = T1 + T2;
711 711
712 j++; 712 j++;
713 } while (j < 16); 713 } while (j < 16);
714 714
715 do { 715 do {
716 /* Part of the message block expansion: */ 716 /* Part of the message block expansion: */
717 s0 = W512[(j+1)&0x0f]; 717 s0 = W512[(j+1)&0x0f];
718 s0 = sigma0_512(s0); 718 s0 = sigma0_512(s0);
719 s1 = W512[(j+14)&0x0f]; 719 s1 = W512[(j+14)&0x0f];
720 s1 = sigma1_512(s1); 720 s1 = sigma1_512(s1);
721 721
722 /* Apply the SHA-512 compression function to update a..h */ 722 /* Apply the SHA-512 compression function to update a..h */
723 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + 723 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] +
724 (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); 724 (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0);
725 T2 = Sigma0_512(a) + Maj(a, b, c); 725 T2 = Sigma0_512(a) + Maj(a, b, c);
726 h = g; 726 h = g;
727 g = f; 727 g = f;
728 f = e; 728 f = e;
729 e = d + T1; 729 e = d + T1;
730 d = c; 730 d = c;
731 c = b; 731 c = b;
732 b = a; 732 b = a;
733 a = T1 + T2; 733 a = T1 + T2;
734 734
735 j++; 735 j++;
736 } while (j < 80); 736 } while (j < 80);
737 737
738 /* Compute the current intermediate hash value */ 738 /* Compute the current intermediate hash value */
739 context->state[0] += a; 739 context->state[0] += a;
740 context->state[1] += b; 740 context->state[1] += b;
741 context->state[2] += c; 741 context->state[2] += c;
742 context->state[3] += d; 742 context->state[3] += d;
743 context->state[4] += e; 743 context->state[4] += e;
744 context->state[5] += f; 744 context->state[5] += f;
745 context->state[6] += g; 745 context->state[6] += g;
746 context->state[7] += h; 746 context->state[7] += h;
747 747
748 /* Clean up */ 748 /* Clean up */
749 a = b = c = d = e = f = g = h = T1 = T2 = 0; 749 a = b = c = d = e = f = g = h = T1 = T2 = 0;
750} 750}
751 751
752#endif /* SHA2_UNROLL_TRANSFORM */ 752#endif /* SHA2_UNROLL_TRANSFORM */
753 753
754void 754void
755SHA512_Update(SHA512_CTX* context, const uint8_t *data, size_t len) 755SHA512_Update(SHA512_CTX* context, const uint8_t *data, size_t len)
756{ 756{
757 unsigned int freespace, usedspace; 757 unsigned int freespace, usedspace;
758 758
759 if (len == 0) { 759 if (len == 0) {
760 /* Calling with no data is valid - we do nothing */ 760 /* Calling with no data is valid - we do nothing */
761 return; 761 return;
762 } 762 }
763 763
764 /* Sanity check: */ 764 /* Sanity check: */
765 assert(context != NULL && data != NULL); 765 assert(context != NULL && data != NULL);
766 766
767 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; 767 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
768 if (usedspace > 0) { 768 if (usedspace > 0) {
769 /* Calculate how much free space is available in the buffer */ 769 /* Calculate how much free space is available in the buffer */
770 freespace = SHA512_BLOCK_LENGTH - usedspace; 770 freespace = SHA512_BLOCK_LENGTH - usedspace;
771 771
772 if (len >= freespace) { 772 if (len >= freespace) {
773 /* Fill the buffer completely and process it */ 773 /* Fill the buffer completely and process it */
774 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); 774 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace);
775 ADDINC128(context->bitcount, freespace << 3); 775 ADDINC128(context->bitcount, freespace << 3);
776 len -= freespace; 776 len -= freespace;
777 data += freespace; 777 data += freespace;
778 SHA512_Transform(context, (const sha2_word64*)context->buffer); 778 SHA512_Transform(context, (const sha2_word64*)context->buffer);
779 } else { 779 } else {
780 /* The buffer is not yet full */ 780 /* The buffer is not yet full */
781 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); 781 MEMCPY_BCOPY(&context->buffer[usedspace], data, len);
782 ADDINC128(context->bitcount, len << 3); 782 ADDINC128(context->bitcount, len << 3);
783 /* Clean up: */ 783 /* Clean up: */
784 usedspace = freespace = 0; 784 usedspace = freespace = 0;
785 return; 785 return;
786 } 786 }
787 } 787 }
788 while (len >= SHA512_BLOCK_LENGTH) { 788 while (len >= SHA512_BLOCK_LENGTH) {
789 /* Process as many complete blocks as we can */ 789 /* Process as many complete blocks as we can */
790 SHA512_Transform(context, (const sha2_word64*)data); 790 SHA512_Transform(context, (const sha2_word64*)data);
791 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); 791 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3);
792 len -= SHA512_BLOCK_LENGTH; 792 len -= SHA512_BLOCK_LENGTH;
793 data += SHA512_BLOCK_LENGTH; 793 data += SHA512_BLOCK_LENGTH;
794 } 794 }
795 if (len > 0) { 795 if (len > 0) {
796 /* There's left-overs, so save 'em */ 796 /* There's left-overs, so save 'em */
797 MEMCPY_BCOPY(context->buffer, data, len); 797 MEMCPY_BCOPY(context->buffer, data, len);
798 ADDINC128(context->bitcount, len << 3); 798 ADDINC128(context->bitcount, len << 3);
799 } 799 }
800 /* Clean up: */ 800 /* Clean up: */
801 usedspace = freespace = 0; 801 usedspace = freespace = 0;
802} 802}
803 803
804void SHA512_Last(SHA512_CTX* context) { 804void SHA512_Last(SHA512_CTX* context) {
805 unsigned int usedspace; 805 unsigned int usedspace;
806 806
807 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; 807 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
808#ifndef WORDS_BIGENDIAN 808#ifndef WORDS_BIGENDIAN
809 /* Convert FROM host byte order */ 809 /* Convert FROM host byte order */
810 REVERSE64(context->bitcount[0],context->bitcount[0]); 810 REVERSE64(context->bitcount[0],context->bitcount[0]);
811 REVERSE64(context->bitcount[1],context->bitcount[1]); 811 REVERSE64(context->bitcount[1],context->bitcount[1]);
812#endif 812#endif
813 if (usedspace > 0) { 813 if (usedspace > 0) {
814 /* Begin padding with a 1 bit: */ 814 /* Begin padding with a 1 bit: */
815 context->buffer[usedspace++] = 0x80; 815 context->buffer[usedspace++] = 0x80;
816 816
817 if (usedspace < SHA512_SHORT_BLOCK_LENGTH) { 817 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
818 /* Set-up for the last transform: */ 818 /* Set-up for the last transform: */
819 MEMSET_BZERO(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace); 819 MEMSET_BZERO(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace);
820 } else { 820 } else {
821 if (usedspace < SHA512_BLOCK_LENGTH) { 821 if (usedspace < SHA512_BLOCK_LENGTH) {
822 MEMSET_BZERO(&context->buffer[usedspace], SHA512_BLOCK_LENGTH - usedspace); 822 MEMSET_BZERO(&context->buffer[usedspace], SHA512_BLOCK_LENGTH - usedspace);
823 } 823 }
824 /* Do second-to-last transform: */ 824 /* Do second-to-last transform: */
825 SHA512_Transform(context, (const sha2_word64*)context->buffer); 825 SHA512_Transform(context, (const sha2_word64*)context->buffer);
826 826
827 /* And set-up for the last transform: */ 827 /* And set-up for the last transform: */
828 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH - 2); 828 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH - 2);
829 } 829 }
830 } else { 830 } else {
831 /* Prepare for final transform: */ 831 /* Prepare for final transform: */
832 MEMSET_BZERO(context->buffer, SHA512_SHORT_BLOCK_LENGTH); 832 MEMSET_BZERO(context->buffer, SHA512_SHORT_BLOCK_LENGTH);
833 833
834 /* Begin padding with a 1 bit: */ 834 /* Begin padding with a 1 bit: */
835 *context->buffer = 0x80; 835 *context->buffer = 0x80;
836 } 836 }
837 /* Store the length of input data (in bits): */ 837 /* Store the length of input data (in bits): */
838 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1]; 838 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
839 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0]; 839 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];
840 840
841 /* Final transform: */ 841 /* Final transform: */
842 SHA512_Transform(context, (const sha2_word64*)context->buffer); 842 SHA512_Transform(context, (const sha2_word64*)context->buffer);
843} 843}
844 844
845void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { 845void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
846 sha2_word64 *d = (sha2_word64*)digest; 846 sha2_word64 *d = (sha2_word64*)digest;
847 847
848 /* Sanity check: */ 848 /* Sanity check: */
849 assert(context != NULL); 849 assert(context != NULL);
850 850
851 /* If no digest buffer is passed, we don't bother doing this: */ 851 /* If no digest buffer is passed, we don't bother doing this: */
852 if (digest != (sha2_byte*)0) { 852 if (digest != (sha2_byte*)0) {
853 SHA512_Last(context); 853 SHA512_Last(context);
854 854
855 /* Save the hash data for output: */ 855 /* Save the hash data for output: */
856#ifndef WORDS_BIGENDIAN 856#ifndef WORDS_BIGENDIAN
857 { 857 {
858 /* Convert TO host byte order */ 858 /* Convert TO host byte order */
859 int j; 859 int j;
860 for (j = 0; j < 8; j++) { 860 for (j = 0; j < 8; j++) {
861 REVERSE64(context->state[j],context->state[j]); 861 REVERSE64(context->state[j],context->state[j]);
862 *d++ = context->state[j]; 862 *d++ = context->state[j];
863 } 863 }
864 } 864 }
865#else 865#else
866 MEMCPY_BCOPY(d, context->state, SHA512_DIGEST_LENGTH); 866 MEMCPY_BCOPY(d, context->state, SHA512_DIGEST_LENGTH);
867#endif 867#endif
868 } 868 }
869 869
870 /* Zero out state data */ 870 /* Zero out state data */
871 MEMSET_BZERO(context, sizeof(SHA512_CTX)); 871 MEMSET_BZERO(context, sizeof(SHA512_CTX));
872} 872}
873 873
874 874
875/*** SHA-384: *********************************************************/ 875/*** SHA-384: *********************************************************/
876void SHA384_Init(SHA384_CTX* context) { 876void SHA384_Init(SHA384_CTX* context) {
877 if (context == (SHA384_CTX*)0) { 877 if (context == (SHA384_CTX*)0) {
878 return; 878 return;
879 } 879 }
880 MEMCPY_BCOPY(context->state, sha384_initial_hash_value, SHA512_DIGEST_LENGTH); 880 MEMCPY_BCOPY(context->state, sha384_initial_hash_value, SHA512_DIGEST_LENGTH);
881 MEMSET_BZERO(context->buffer, SHA384_BLOCK_LENGTH); 881 MEMSET_BZERO(context->buffer, SHA384_BLOCK_LENGTH);
882 context->bitcount[0] = context->bitcount[1] = 0; 882 context->bitcount[0] = context->bitcount[1] = 0;
883} 883}
884 884
885void SHA384_Update(SHA384_CTX* context, const uint8_t * data, size_t len) 885void SHA384_Update(SHA384_CTX* context, const uint8_t * data, size_t len)
886{ 886{
887 SHA512_Update((SHA512_CTX*)context, data, len); 887 SHA512_Update((SHA512_CTX*)context, data, len);
888} 888}
889 889
890void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) { 890void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
891 sha2_word64 *d = (sha2_word64*)digest; 891 sha2_word64 *d = (sha2_word64*)digest;
892 892
893 /* Sanity check: */ 893 /* Sanity check: */
894 assert(context != NULL); 894 assert(context != NULL);
895 895
896 /* If no digest buffer is passed, we don't bother doing this: */ 896 /* If no digest buffer is passed, we don't bother doing this: */
897 if (digest != (sha2_byte*)0) { 897 if (digest != (sha2_byte*)0) {
898 SHA512_Last((SHA512_CTX*)context); 898 SHA512_Last((SHA512_CTX*)context);
899 899
900 /* Save the hash data for output: */ 900 /* Save the hash data for output: */
901#ifndef WORDS_BIGENDIAN 901#ifndef WORDS_BIGENDIAN
902 { 902 {
903 /* Convert TO host byte order */ 903 /* Convert TO host byte order */
904 int j; 904 int j;
905 for (j = 0; j < 6; j++) { 905 for (j = 0; j < 6; j++) {
906 REVERSE64(context->state[j],context->state[j]); 906 REVERSE64(context->state[j],context->state[j]);
907 *d++ = context->state[j]; 907 *d++ = context->state[j];
908 } 908 }
909 } 909 }
910#else 910#else
911 MEMCPY_BCOPY(d, context->state, SHA384_DIGEST_LENGTH); 911 MEMCPY_BCOPY(d, context->state, SHA384_DIGEST_LENGTH);
912#endif 912#endif
913 } 913 }
914 914
915 /* Zero out state data */ 915 /* Zero out state data */
916 MEMSET_BZERO(context, sizeof(SHA384_CTX)); 916 MEMSET_BZERO(context, sizeof(SHA384_CTX));
917} 917}

cvs diff -r1.5 -r1.5.6.1 pkgsrc/pkgtools/digest/files/tiger.c (switch to unified diff)

--- pkgsrc/pkgtools/digest/files/tiger.c 2007/09/21 18:44:38 1.5
+++ pkgsrc/pkgtools/digest/files/tiger.c 2008/05/10 00:53:12 1.5.6.1
@@ -1,779 +1,785 @@ @@ -1,779 +1,785 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2#include "config.h" 2#include "config.h"
3#endif 3#endif
4 4
5#include <sys/types.h> 5#include <sys/types.h>
6 6
7#include <errno.h> 7#include <errno.h>
8#include <fcntl.h> 8#include <fcntl.h>
9#include <stdio.h> 9#include <stdio.h>
10#include <stdlib.h> 10#include <stdlib.h>
11#include <string.h> 11#include <string.h>
12#include <unistd.h> 12#include <unistd.h>
13 13
14#include "tiger.h" 14#include "tiger.h"
15 15
16/* NOTE that this code is NOT FULLY OPTIMIZED for any */ 16/* NOTE that this code is NOT FULLY OPTIMIZED for any */
17/* machine. Assembly code might be much faster on some */ 17/* machine. Assembly code might be much faster on some */
18/* machines, especially if the code is compiled with */ 18/* machines, especially if the code is compiled with */
19/* gcc. */ 19/* gcc. */
20 20
21/* The number of passes of the hash function. */ 21/* The number of passes of the hash function. */
22/* Three passes are recommended. */ 22/* Three passes are recommended. */
23/* Use four passes when you need extra security. */ 23/* Use four passes when you need extra security. */
24/* Must be at least three. */ 24/* Must be at least three. */
25#define PASSES 3 25#define PASSES 3
26 26
27/* from sboxes.c: Tiger S boxes */ 27/* from sboxes.c: Tiger S boxes */
28uint64_t table[4*256] = { 28uint64_t table[4*256] = {
29 0x02AAB17CF7E90C5ELL /* 0 */, 0xAC424B03E243A8ECLL /* 1 */, 29 0x02AAB17CF7E90C5ELL /* 0 */, 0xAC424B03E243A8ECLL /* 1 */,
30 0x72CD5BE30DD5FCD3LL /* 2 */, 0x6D019B93F6F97F3ALL /* 3 */, 30 0x72CD5BE30DD5FCD3LL /* 2 */, 0x6D019B93F6F97F3ALL /* 3 */,
31 0xCD9978FFD21F9193LL /* 4 */, 0x7573A1C9708029E2LL /* 5 */, 31 0xCD9978FFD21F9193LL /* 4 */, 0x7573A1C9708029E2LL /* 5 */,
32 0xB164326B922A83C3LL /* 6 */, 0x46883EEE04915870LL /* 7 */, 32 0xB164326B922A83C3LL /* 6 */, 0x46883EEE04915870LL /* 7 */,
33 0xEAACE3057103ECE6LL /* 8 */, 0xC54169B808A3535CLL /* 9 */, 33 0xEAACE3057103ECE6LL /* 8 */, 0xC54169B808A3535CLL /* 9 */,
34 0x4CE754918DDEC47CLL /* 10 */, 0x0AA2F4DFDC0DF40CLL /* 11 */, 34 0x4CE754918DDEC47CLL /* 10 */, 0x0AA2F4DFDC0DF40CLL /* 11 */,
35 0x10B76F18A74DBEFALL /* 12 */, 0xC6CCB6235AD1AB6ALL /* 13 */, 35 0x10B76F18A74DBEFALL /* 12 */, 0xC6CCB6235AD1AB6ALL /* 13 */,
36 0x13726121572FE2FFLL /* 14 */, 0x1A488C6F199D921ELL /* 15 */, 36 0x13726121572FE2FFLL /* 14 */, 0x1A488C6F199D921ELL /* 15 */,
37 0x4BC9F9F4DA0007CALL /* 16 */, 0x26F5E6F6E85241C7LL /* 17 */, 37 0x4BC9F9F4DA0007CALL /* 16 */, 0x26F5E6F6E85241C7LL /* 17 */,
38 0x859079DBEA5947B6LL /* 18 */, 0x4F1885C5C99E8C92LL /* 19 */, 38 0x859079DBEA5947B6LL /* 18 */, 0x4F1885C5C99E8C92LL /* 19 */,
39 0xD78E761EA96F864BLL /* 20 */, 0x8E36428C52B5C17DLL /* 21 */, 39 0xD78E761EA96F864BLL /* 20 */, 0x8E36428C52B5C17DLL /* 21 */,
40 0x69CF6827373063C1LL /* 22 */, 0xB607C93D9BB4C56ELL /* 23 */, 40 0x69CF6827373063C1LL /* 22 */, 0xB607C93D9BB4C56ELL /* 23 */,
41 0x7D820E760E76B5EALL /* 24 */, 0x645C9CC6F07FDC42LL /* 25 */, 41 0x7D820E760E76B5EALL /* 24 */, 0x645C9CC6F07FDC42LL /* 25 */,
42 0xBF38A078243342E0LL /* 26 */, 0x5F6B343C9D2E7D04LL /* 27 */, 42 0xBF38A078243342E0LL /* 26 */, 0x5F6B343C9D2E7D04LL /* 27 */,
43 0xF2C28AEB600B0EC6LL /* 28 */, 0x6C0ED85F7254BCACLL /* 29 */, 43 0xF2C28AEB600B0EC6LL /* 28 */, 0x6C0ED85F7254BCACLL /* 29 */,
44 0x71592281A4DB4FE5LL /* 30 */, 0x1967FA69CE0FED9FLL /* 31 */, 44 0x71592281A4DB4FE5LL /* 30 */, 0x1967FA69CE0FED9FLL /* 31 */,
45 0xFD5293F8B96545DBLL /* 32 */, 0xC879E9D7F2A7600BLL /* 33 */, 45 0xFD5293F8B96545DBLL /* 32 */, 0xC879E9D7F2A7600BLL /* 33 */,
46 0x860248920193194ELL /* 34 */, 0xA4F9533B2D9CC0B3LL /* 35 */, 46 0x860248920193194ELL /* 34 */, 0xA4F9533B2D9CC0B3LL /* 35 */,
47 0x9053836C15957613LL /* 36 */, 0xDB6DCF8AFC357BF1LL /* 37 */, 47 0x9053836C15957613LL /* 36 */, 0xDB6DCF8AFC357BF1LL /* 37 */,
48 0x18BEEA7A7A370F57LL /* 38 */, 0x037117CA50B99066LL /* 39 */, 48 0x18BEEA7A7A370F57LL /* 38 */, 0x037117CA50B99066LL /* 39 */,
49 0x6AB30A9774424A35LL /* 40 */, 0xF4E92F02E325249BLL /* 41 */, 49 0x6AB30A9774424A35LL /* 40 */, 0xF4E92F02E325249BLL /* 41 */,
50 0x7739DB07061CCAE1LL /* 42 */, 0xD8F3B49CECA42A05LL /* 43 */, 50 0x7739DB07061CCAE1LL /* 42 */, 0xD8F3B49CECA42A05LL /* 43 */,
51 0xBD56BE3F51382F73LL /* 44 */, 0x45FAED5843B0BB28LL /* 45 */, 51 0xBD56BE3F51382F73LL /* 44 */, 0x45FAED5843B0BB28LL /* 45 */,
52 0x1C813D5C11BF1F83LL /* 46 */, 0x8AF0E4B6D75FA169LL /* 47 */, 52 0x1C813D5C11BF1F83LL /* 46 */, 0x8AF0E4B6D75FA169LL /* 47 */,
53 0x33EE18A487AD9999LL /* 48 */, 0x3C26E8EAB1C94410LL /* 49 */, 53 0x33EE18A487AD9999LL /* 48 */, 0x3C26E8EAB1C94410LL /* 49 */,
54 0xB510102BC0A822F9LL /* 50 */, 0x141EEF310CE6123BLL /* 51 */, 54 0xB510102BC0A822F9LL /* 50 */, 0x141EEF310CE6123BLL /* 51 */,
55 0xFC65B90059DDB154LL /* 52 */, 0xE0158640C5E0E607LL /* 53 */, 55 0xFC65B90059DDB154LL /* 52 */, 0xE0158640C5E0E607LL /* 53 */,
56 0x884E079826C3A3CFLL /* 54 */, 0x930D0D9523C535FDLL /* 55 */, 56 0x884E079826C3A3CFLL /* 54 */, 0x930D0D9523C535FDLL /* 55 */,
57 0x35638D754E9A2B00LL /* 56 */, 0x4085FCCF40469DD5LL /* 57 */, 57 0x35638D754E9A2B00LL /* 56 */, 0x4085FCCF40469DD5LL /* 57 */,
58 0xC4B17AD28BE23A4CLL /* 58 */, 0xCAB2F0FC6A3E6A2ELL /* 59 */, 58 0xC4B17AD28BE23A4CLL /* 58 */, 0xCAB2F0FC6A3E6A2ELL /* 59 */,
59 0x2860971A6B943FCDLL /* 60 */, 0x3DDE6EE212E30446LL /* 61 */, 59 0x2860971A6B943FCDLL /* 60 */, 0x3DDE6EE212E30446LL /* 61 */,
60 0x6222F32AE01765AELL /* 62 */, 0x5D550BB5478308FELL /* 63 */, 60 0x6222F32AE01765AELL /* 62 */, 0x5D550BB5478308FELL /* 63 */,
61 0xA9EFA98DA0EDA22ALL /* 64 */, 0xC351A71686C40DA7LL /* 65 */, 61 0xA9EFA98DA0EDA22ALL /* 64 */, 0xC351A71686C40DA7LL /* 65 */,
62 0x1105586D9C867C84LL /* 66 */, 0xDCFFEE85FDA22853LL /* 67 */, 62 0x1105586D9C867C84LL /* 66 */, 0xDCFFEE85FDA22853LL /* 67 */,
63 0xCCFBD0262C5EEF76LL /* 68 */, 0xBAF294CB8990D201LL /* 69 */, 63 0xCCFBD0262C5EEF76LL /* 68 */, 0xBAF294CB8990D201LL /* 69 */,
64 0xE69464F52AFAD975LL /* 70 */, 0x94B013AFDF133E14LL /* 71 */, 64 0xE69464F52AFAD975LL /* 70 */, 0x94B013AFDF133E14LL /* 71 */,
65 0x06A7D1A32823C958LL /* 72 */, 0x6F95FE5130F61119LL /* 73 */, 65 0x06A7D1A32823C958LL /* 72 */, 0x6F95FE5130F61119LL /* 73 */,
66 0xD92AB34E462C06C0LL /* 74 */, 0xED7BDE33887C71D2LL /* 75 */, 66 0xD92AB34E462C06C0LL /* 74 */, 0xED7BDE33887C71D2LL /* 75 */,
67 0x79746D6E6518393ELL /* 76 */, 0x5BA419385D713329LL /* 77 */, 67 0x79746D6E6518393ELL /* 76 */, 0x5BA419385D713329LL /* 77 */,
68 0x7C1BA6B948A97564LL /* 78 */, 0x31987C197BFDAC67LL /* 79 */, 68 0x7C1BA6B948A97564LL /* 78 */, 0x31987C197BFDAC67LL /* 79 */,
69 0xDE6C23C44B053D02LL /* 80 */, 0x581C49FED002D64DLL /* 81 */, 69 0xDE6C23C44B053D02LL /* 80 */, 0x581C49FED002D64DLL /* 81 */,
70 0xDD474D6338261571LL /* 82 */, 0xAA4546C3E473D062LL /* 83 */, 70 0xDD474D6338261571LL /* 82 */, 0xAA4546C3E473D062LL /* 83 */,
71 0x928FCE349455F860LL /* 84 */, 0x48161BBACAAB94D9LL /* 85 */, 71 0x928FCE349455F860LL /* 84 */, 0x48161BBACAAB94D9LL /* 85 */,
72 0x63912430770E6F68LL /* 86 */, 0x6EC8A5E602C6641CLL /* 87 */, 72 0x63912430770E6F68LL /* 86 */, 0x6EC8A5E602C6641CLL /* 87 */,
73 0x87282515337DDD2BLL /* 88 */, 0x2CDA6B42034B701BLL /* 89 */, 73 0x87282515337DDD2BLL /* 88 */, 0x2CDA6B42034B701BLL /* 89 */,
74 0xB03D37C181CB096DLL /* 90 */, 0xE108438266C71C6FLL /* 91 */, 74 0xB03D37C181CB096DLL /* 90 */, 0xE108438266C71C6FLL /* 91 */,
75 0x2B3180C7EB51B255LL /* 92 */, 0xDF92B82F96C08BBCLL /* 93 */, 75 0x2B3180C7EB51B255LL /* 92 */, 0xDF92B82F96C08BBCLL /* 93 */,
76 0x5C68C8C0A632F3BALL /* 94 */, 0x5504CC861C3D0556LL /* 95 */, 76 0x5C68C8C0A632F3BALL /* 94 */, 0x5504CC861C3D0556LL /* 95 */,
77 0xABBFA4E55FB26B8FLL /* 96 */, 0x41848B0AB3BACEB4LL /* 97 */, 77 0xABBFA4E55FB26B8FLL /* 96 */, 0x41848B0AB3BACEB4LL /* 97 */,
78 0xB334A273AA445D32LL /* 98 */, 0xBCA696F0A85AD881LL /* 99 */, 78 0xB334A273AA445D32LL /* 98 */, 0xBCA696F0A85AD881LL /* 99 */,
79 0x24F6EC65B528D56CLL /* 100 */, 0x0CE1512E90F4524ALL /* 101 */, 79 0x24F6EC65B528D56CLL /* 100 */, 0x0CE1512E90F4524ALL /* 101 */,
80 0x4E9DD79D5506D35ALL /* 102 */, 0x258905FAC6CE9779LL /* 103 */, 80 0x4E9DD79D5506D35ALL /* 102 */, 0x258905FAC6CE9779LL /* 103 */,
81 0x2019295B3E109B33LL /* 104 */, 0xF8A9478B73A054CCLL /* 105 */, 81 0x2019295B3E109B33LL /* 104 */, 0xF8A9478B73A054CCLL /* 105 */,
82 0x2924F2F934417EB0LL /* 106 */, 0x3993357D536D1BC4LL /* 107 */, 82 0x2924F2F934417EB0LL /* 106 */, 0x3993357D536D1BC4LL /* 107 */,
83 0x38A81AC21DB6FF8BLL /* 108 */, 0x47C4FBF17D6016BFLL /* 109 */, 83 0x38A81AC21DB6FF8BLL /* 108 */, 0x47C4FBF17D6016BFLL /* 109 */,
84 0x1E0FAADD7667E3F5LL /* 110 */, 0x7ABCFF62938BEB96LL /* 111 */, 84 0x1E0FAADD7667E3F5LL /* 110 */, 0x7ABCFF62938BEB96LL /* 111 */,
85 0xA78DAD948FC179C9LL /* 112 */, 0x8F1F98B72911E50DLL /* 113 */, 85 0xA78DAD948FC179C9LL /* 112 */, 0x8F1F98B72911E50DLL /* 113 */,
86 0x61E48EAE27121A91LL /* 114 */, 0x4D62F7AD31859808LL /* 115 */, 86 0x61E48EAE27121A91LL /* 114 */, 0x4D62F7AD31859808LL /* 115 */,
87 0xECEBA345EF5CEAEBLL /* 116 */, 0xF5CEB25EBC9684CELL /* 117 */, 87 0xECEBA345EF5CEAEBLL /* 116 */, 0xF5CEB25EBC9684CELL /* 117 */,
88 0xF633E20CB7F76221LL /* 118 */, 0xA32CDF06AB8293E4LL /* 119 */, 88 0xF633E20CB7F76221LL /* 118 */, 0xA32CDF06AB8293E4LL /* 119 */,
89 0x985A202CA5EE2CA4LL /* 120 */, 0xCF0B8447CC8A8FB1LL /* 121 */, 89 0x985A202CA5EE2CA4LL /* 120 */, 0xCF0B8447CC8A8FB1LL /* 121 */,
90 0x9F765244979859A3LL /* 122 */, 0xA8D516B1A1240017LL /* 123 */, 90 0x9F765244979859A3LL /* 122 */, 0xA8D516B1A1240017LL /* 123 */,
91 0x0BD7BA3EBB5DC726LL /* 124 */, 0xE54BCA55B86ADB39LL /* 125 */, 91 0x0BD7BA3EBB5DC726LL /* 124 */, 0xE54BCA55B86ADB39LL /* 125 */,
92 0x1D7A3AFD6C478063LL /* 126 */, 0x519EC608E7669EDDLL /* 127 */, 92 0x1D7A3AFD6C478063LL /* 126 */, 0x519EC608E7669EDDLL /* 127 */,
93 0x0E5715A2D149AA23LL /* 128 */, 0x177D4571848FF194LL /* 129 */, 93 0x0E5715A2D149AA23LL /* 128 */, 0x177D4571848FF194LL /* 129 */,
94 0xEEB55F3241014C22LL /* 130 */, 0x0F5E5CA13A6E2EC2LL /* 131 */, 94 0xEEB55F3241014C22LL /* 130 */, 0x0F5E5CA13A6E2EC2LL /* 131 */,
95 0x8029927B75F5C361LL /* 132 */, 0xAD139FABC3D6E436LL /* 133 */, 95 0x8029927B75F5C361LL /* 132 */, 0xAD139FABC3D6E436LL /* 133 */,
96 0x0D5DF1A94CCF402FLL /* 134 */, 0x3E8BD948BEA5DFC8LL /* 135 */, 96 0x0D5DF1A94CCF402FLL /* 134 */, 0x3E8BD948BEA5DFC8LL /* 135 */,
97 0xA5A0D357BD3FF77ELL /* 136 */, 0xA2D12E251F74F645LL /* 137 */, 97 0xA5A0D357BD3FF77ELL /* 136 */, 0xA2D12E251F74F645LL /* 137 */,
98 0x66FD9E525E81A082LL /* 138 */, 0x2E0C90CE7F687A49LL /* 139 */, 98 0x66FD9E525E81A082LL /* 138 */, 0x2E0C90CE7F687A49LL /* 139 */,
99 0xC2E8BCBEBA973BC5LL /* 140 */, 0x000001BCE509745FLL /* 141 */, 99 0xC2E8BCBEBA973BC5LL /* 140 */, 0x000001BCE509745FLL /* 141 */,
100 0x423777BBE6DAB3D6LL /* 142 */, 0xD1661C7EAEF06EB5LL /* 143 */, 100 0x423777BBE6DAB3D6LL /* 142 */, 0xD1661C7EAEF06EB5LL /* 143 */,
101 0xA1781F354DAACFD8LL /* 144 */, 0x2D11284A2B16AFFCLL /* 145 */, 101 0xA1781F354DAACFD8LL /* 144 */, 0x2D11284A2B16AFFCLL /* 145 */,
102 0xF1FC4F67FA891D1FLL /* 146 */, 0x73ECC25DCB920ADALL /* 147 */, 102 0xF1FC4F67FA891D1FLL /* 146 */, 0x73ECC25DCB920ADALL /* 147 */,
103 0xAE610C22C2A12651LL /* 148 */, 0x96E0A810D356B78ALL /* 149 */, 103 0xAE610C22C2A12651LL /* 148 */, 0x96E0A810D356B78ALL /* 149 */,
104 0x5A9A381F2FE7870FLL /* 150 */, 0xD5AD62EDE94E5530LL /* 151 */, 104 0x5A9A381F2FE7870FLL /* 150 */, 0xD5AD62EDE94E5530LL /* 151 */,
105 0xD225E5E8368D1427LL /* 152 */, 0x65977B70C7AF4631LL /* 153 */, 105 0xD225E5E8368D1427LL /* 152 */, 0x65977B70C7AF4631LL /* 153 */,
106 0x99F889B2DE39D74FLL /* 154 */, 0x233F30BF54E1D143LL /* 155 */, 106 0x99F889B2DE39D74FLL /* 154 */, 0x233F30BF54E1D143LL /* 155 */,
107 0x9A9675D3D9A63C97LL /* 156 */, 0x5470554FF334F9A8LL /* 157 */, 107 0x9A9675D3D9A63C97LL /* 156 */, 0x5470554FF334F9A8LL /* 157 */,
108 0x166ACB744A4F5688LL /* 158 */, 0x70C74CAAB2E4AEADLL /* 159 */, 108 0x166ACB744A4F5688LL /* 158 */, 0x70C74CAAB2E4AEADLL /* 159 */,
109 0xF0D091646F294D12LL /* 160 */, 0x57B82A89684031D1LL /* 161 */, 109 0xF0D091646F294D12LL /* 160 */, 0x57B82A89684031D1LL /* 161 */,
110 0xEFD95A5A61BE0B6BLL /* 162 */, 0x2FBD12E969F2F29ALL /* 163 */, 110 0xEFD95A5A61BE0B6BLL /* 162 */, 0x2FBD12E969F2F29ALL /* 163 */,
111 0x9BD37013FEFF9FE8LL /* 164 */, 0x3F9B0404D6085A06LL /* 165 */, 111 0x9BD37013FEFF9FE8LL /* 164 */, 0x3F9B0404D6085A06LL /* 165 */,
112 0x4940C1F3166CFE15LL /* 166 */, 0x09542C4DCDF3DEFBLL /* 167 */, 112 0x4940C1F3166CFE15LL /* 166 */, 0x09542C4DCDF3DEFBLL /* 167 */,
113 0xB4C5218385CD5CE3LL /* 168 */, 0xC935B7DC4462A641LL /* 169 */, 113 0xB4C5218385CD5CE3LL /* 168 */, 0xC935B7DC4462A641LL /* 169 */,
114 0x3417F8A68ED3B63FLL /* 170 */, 0xB80959295B215B40LL /* 171 */, 114 0x3417F8A68ED3B63FLL /* 170 */, 0xB80959295B215B40LL /* 171 */,
115 0xF99CDAEF3B8C8572LL /* 172 */, 0x018C0614F8FCB95DLL /* 173 */, 115 0xF99CDAEF3B8C8572LL /* 172 */, 0x018C0614F8FCB95DLL /* 173 */,
116 0x1B14ACCD1A3ACDF3LL /* 174 */, 0x84D471F200BB732DLL /* 175 */, 116 0x1B14ACCD1A3ACDF3LL /* 174 */, 0x84D471F200BB732DLL /* 175 */,
117 0xC1A3110E95E8DA16LL /* 176 */, 0x430A7220BF1A82B8LL /* 177 */, 117 0xC1A3110E95E8DA16LL /* 176 */, 0x430A7220BF1A82B8LL /* 177 */,
118 0xB77E090D39DF210ELL /* 178 */, 0x5EF4BD9F3CD05E9DLL /* 179 */, 118 0xB77E090D39DF210ELL /* 178 */, 0x5EF4BD9F3CD05E9DLL /* 179 */,
119 0x9D4FF6DA7E57A444LL /* 180 */, 0xDA1D60E183D4A5F8LL /* 181 */, 119 0x9D4FF6DA7E57A444LL /* 180 */, 0xDA1D60E183D4A5F8LL /* 181 */,
120 0xB287C38417998E47LL /* 182 */, 0xFE3EDC121BB31886LL /* 183 */, 120 0xB287C38417998E47LL /* 182 */, 0xFE3EDC121BB31886LL /* 183 */,
121 0xC7FE3CCC980CCBEFLL /* 184 */, 0xE46FB590189BFD03LL /* 185 */, 121 0xC7FE3CCC980CCBEFLL /* 184 */, 0xE46FB590189BFD03LL /* 185 */,
122 0x3732FD469A4C57DCLL /* 186 */, 0x7EF700A07CF1AD65LL /* 187 */, 122 0x3732FD469A4C57DCLL /* 186 */, 0x7EF700A07CF1AD65LL /* 187 */,
123 0x59C64468A31D8859LL /* 188 */, 0x762FB0B4D45B61F6LL /* 189 */, 123 0x59C64468A31D8859LL /* 188 */, 0x762FB0B4D45B61F6LL /* 189 */,
124 0x155BAED099047718LL /* 190 */, 0x68755E4C3D50BAA6LL /* 191 */, 124 0x155BAED099047718LL /* 190 */, 0x68755E4C3D50BAA6LL /* 191 */,
125 0xE9214E7F22D8B4DFLL /* 192 */, 0x2ADDBF532EAC95F4LL /* 193 */, 125 0xE9214E7F22D8B4DFLL /* 192 */, 0x2ADDBF532EAC95F4LL /* 193 */,
126 0x32AE3909B4BD0109LL /* 194 */, 0x834DF537B08E3450LL /* 195 */, 126 0x32AE3909B4BD0109LL /* 194 */, 0x834DF537B08E3450LL /* 195 */,
127 0xFA209DA84220728DLL /* 196 */, 0x9E691D9B9EFE23F7LL /* 197 */, 127 0xFA209DA84220728DLL /* 196 */, 0x9E691D9B9EFE23F7LL /* 197 */,
128 0x0446D288C4AE8D7FLL /* 198 */, 0x7B4CC524E169785BLL /* 199 */, 128 0x0446D288C4AE8D7FLL /* 198 */, 0x7B4CC524E169785BLL /* 199 */,
129 0x21D87F0135CA1385LL /* 200 */, 0xCEBB400F137B8AA5LL /* 201 */, 129 0x21D87F0135CA1385LL /* 200 */, 0xCEBB400F137B8AA5LL /* 201 */,
130 0x272E2B66580796BELL /* 202 */, 0x3612264125C2B0DELL /* 203 */, 130 0x272E2B66580796BELL /* 202 */, 0x3612264125C2B0DELL /* 203 */,
131 0x057702BDAD1EFBB2LL /* 204 */, 0xD4BABB8EACF84BE9LL /* 205 */, 131 0x057702BDAD1EFBB2LL /* 204 */, 0xD4BABB8EACF84BE9LL /* 205 */,
132 0x91583139641BC67BLL /* 206 */, 0x8BDC2DE08036E024LL /* 207 */, 132 0x91583139641BC67BLL /* 206 */, 0x8BDC2DE08036E024LL /* 207 */,
133 0x603C8156F49F68EDLL /* 208 */, 0xF7D236F7DBEF5111LL /* 209 */, 133 0x603C8156F49F68EDLL /* 208 */, 0xF7D236F7DBEF5111LL /* 209 */,
134 0x9727C4598AD21E80LL /* 210 */, 0xA08A0896670A5FD7LL /* 211 */, 134 0x9727C4598AD21E80LL /* 210 */, 0xA08A0896670A5FD7LL /* 211 */,
135 0xCB4A8F4309EBA9CBLL /* 212 */, 0x81AF564B0F7036A1LL /* 213 */, 135 0xCB4A8F4309EBA9CBLL /* 212 */, 0x81AF564B0F7036A1LL /* 213 */,
136 0xC0B99AA778199ABDLL /* 214 */, 0x959F1EC83FC8E952LL /* 215 */, 136 0xC0B99AA778199ABDLL /* 214 */, 0x959F1EC83FC8E952LL /* 215 */,
137 0x8C505077794A81B9LL /* 216 */, 0x3ACAAF8F056338F0LL /* 217 */, 137 0x8C505077794A81B9LL /* 216 */, 0x3ACAAF8F056338F0LL /* 217 */,
138 0x07B43F50627A6778LL /* 218 */, 0x4A44AB49F5ECCC77LL /* 219 */, 138 0x07B43F50627A6778LL /* 218 */, 0x4A44AB49F5ECCC77LL /* 219 */,
139 0x3BC3D6E4B679EE98LL /* 220 */, 0x9CC0D4D1CF14108CLL /* 221 */, 139 0x3BC3D6E4B679EE98LL /* 220 */, 0x9CC0D4D1CF14108CLL /* 221 */,
140 0x4406C00B206BC8A0LL /* 222 */, 0x82A18854C8D72D89LL /* 223 */, 140 0x4406C00B206BC8A0LL /* 222 */, 0x82A18854C8D72D89LL /* 223 */,
141 0x67E366B35C3C432CLL /* 224 */, 0xB923DD61102B37F2LL /* 225 */, 141 0x67E366B35C3C432CLL /* 224 */, 0xB923DD61102B37F2LL /* 225 */,
142 0x56AB2779D884271DLL /* 226 */, 0xBE83E1B0FF1525AFLL /* 227 */, 142 0x56AB2779D884271DLL /* 226 */, 0xBE83E1B0FF1525AFLL /* 227 */,
143 0xFB7C65D4217E49A9LL /* 228 */, 0x6BDBE0E76D48E7D4LL /* 229 */, 143 0xFB7C65D4217E49A9LL /* 228 */, 0x6BDBE0E76D48E7D4LL /* 229 */,
144 0x08DF828745D9179ELL /* 230 */, 0x22EA6A9ADD53BD34LL /* 231 */, 144 0x08DF828745D9179ELL /* 230 */, 0x22EA6A9ADD53BD34LL /* 231 */,
145 0xE36E141C5622200ALL /* 232 */, 0x7F805D1B8CB750EELL /* 233 */, 145 0xE36E141C5622200ALL /* 232 */, 0x7F805D1B8CB750EELL /* 233 */,
146 0xAFE5C7A59F58E837LL /* 234 */, 0xE27F996A4FB1C23CLL /* 235 */, 146 0xAFE5C7A59F58E837LL /* 234 */, 0xE27F996A4FB1C23CLL /* 235 */,
147 0xD3867DFB0775F0D0LL /* 236 */, 0xD0E673DE6E88891ALL /* 237 */, 147 0xD3867DFB0775F0D0LL /* 236 */, 0xD0E673DE6E88891ALL /* 237 */,
148 0x123AEB9EAFB86C25LL /* 238 */, 0x30F1D5D5C145B895LL /* 239 */, 148 0x123AEB9EAFB86C25LL /* 238 */, 0x30F1D5D5C145B895LL /* 239 */,
149 0xBB434A2DEE7269E7LL /* 240 */, 0x78CB67ECF931FA38LL /* 241 */, 149 0xBB434A2DEE7269E7LL /* 240 */, 0x78CB67ECF931FA38LL /* 241 */,
150 0xF33B0372323BBF9CLL /* 242 */, 0x52D66336FB279C74LL /* 243 */, 150 0xF33B0372323BBF9CLL /* 242 */, 0x52D66336FB279C74LL /* 243 */,
151 0x505F33AC0AFB4EAALL /* 244 */, 0xE8A5CD99A2CCE187LL /* 245 */, 151 0x505F33AC0AFB4EAALL /* 244 */, 0xE8A5CD99A2CCE187LL /* 245 */,
152 0x534974801E2D30BBLL /* 246 */, 0x8D2D5711D5876D90LL /* 247 */, 152 0x534974801E2D30BBLL /* 246 */, 0x8D2D5711D5876D90LL /* 247 */,
153 0x1F1A412891BC038ELL /* 248 */, 0xD6E2E71D82E56648LL /* 249 */, 153 0x1F1A412891BC038ELL /* 248 */, 0xD6E2E71D82E56648LL /* 249 */,
154 0x74036C3A497732B7LL /* 250 */, 0x89B67ED96361F5ABLL /* 251 */, 154 0x74036C3A497732B7LL /* 250 */, 0x89B67ED96361F5ABLL /* 251 */,
155 0xFFED95D8F1EA02A2LL /* 252 */, 0xE72B3BD61464D43DLL /* 253 */, 155 0xFFED95D8F1EA02A2LL /* 252 */, 0xE72B3BD61464D43DLL /* 253 */,
156 0xA6300F170BDC4820LL /* 254 */, 0xEBC18760ED78A77ALL /* 255 */, 156 0xA6300F170BDC4820LL /* 254 */, 0xEBC18760ED78A77ALL /* 255 */,
157 0xE6A6BE5A05A12138LL /* 256 */, 0xB5A122A5B4F87C98LL /* 257 */, 157 0xE6A6BE5A05A12138LL /* 256 */, 0xB5A122A5B4F87C98LL /* 257 */,
158 0x563C6089140B6990LL /* 258 */, 0x4C46CB2E391F5DD5LL /* 259 */, 158 0x563C6089140B6990LL /* 258 */, 0x4C46CB2E391F5DD5LL /* 259 */,
159 0xD932ADDBC9B79434LL /* 260 */, 0x08EA70E42015AFF5LL /* 261 */, 159 0xD932ADDBC9B79434LL /* 260 */, 0x08EA70E42015AFF5LL /* 261 */,
160 0xD765A6673E478CF1LL /* 262 */, 0xC4FB757EAB278D99LL /* 263 */, 160 0xD765A6673E478CF1LL /* 262 */, 0xC4FB757EAB278D99LL /* 263 */,
161 0xDF11C6862D6E0692LL /* 264 */, 0xDDEB84F10D7F3B16LL /* 265 */, 161 0xDF11C6862D6E0692LL /* 264 */, 0xDDEB84F10D7F3B16LL /* 265 */,
162 0x6F2EF604A665EA04LL /* 266 */, 0x4A8E0F0FF0E0DFB3LL /* 267 */, 162 0x6F2EF604A665EA04LL /* 266 */, 0x4A8E0F0FF0E0DFB3LL /* 267 */,
163 0xA5EDEEF83DBCBA51LL /* 268 */, 0xFC4F0A2A0EA4371ELL /* 269 */, 163 0xA5EDEEF83DBCBA51LL /* 268 */, 0xFC4F0A2A0EA4371ELL /* 269 */,
164 0xE83E1DA85CB38429LL /* 270 */, 0xDC8FF882BA1B1CE2LL /* 271 */, 164 0xE83E1DA85CB38429LL /* 270 */, 0xDC8FF882BA1B1CE2LL /* 271 */,
165 0xCD45505E8353E80DLL /* 272 */, 0x18D19A00D4DB0717LL /* 273 */, 165 0xCD45505E8353E80DLL /* 272 */, 0x18D19A00D4DB0717LL /* 273 */,
166 0x34A0CFEDA5F38101LL /* 274 */, 0x0BE77E518887CAF2LL /* 275 */, 166 0x34A0CFEDA5F38101LL /* 274 */, 0x0BE77E518887CAF2LL /* 275 */,
167 0x1E341438B3C45136LL /* 276 */, 0xE05797F49089CCF9LL /* 277 */, 167 0x1E341438B3C45136LL /* 276 */, 0xE05797F49089CCF9LL /* 277 */,
168 0xFFD23F9DF2591D14LL /* 278 */, 0x543DDA228595C5CDLL /* 279 */, 168 0xFFD23F9DF2591D14LL /* 278 */, 0x543DDA228595C5CDLL /* 279 */,
169 0x661F81FD99052A33LL /* 280 */, 0x8736E641DB0F7B76LL /* 281 */, 169 0x661F81FD99052A33LL /* 280 */, 0x8736E641DB0F7B76LL /* 281 */,
170 0x15227725418E5307LL /* 282 */, 0xE25F7F46162EB2FALL /* 283 */, 170 0x15227725418E5307LL /* 282 */, 0xE25F7F46162EB2FALL /* 283 */,
171 0x48A8B2126C13D9FELL /* 284 */, 0xAFDC541792E76EEALL /* 285 */, 171 0x48A8B2126C13D9FELL /* 284 */, 0xAFDC541792E76EEALL /* 285 */,
172 0x03D912BFC6D1898FLL /* 286 */, 0x31B1AAFA1B83F51BLL /* 287 */, 172 0x03D912BFC6D1898FLL /* 286 */, 0x31B1AAFA1B83F51BLL /* 287 */,
173 0xF1AC2796E42AB7D9LL /* 288 */, 0x40A3A7D7FCD2EBACLL /* 289 */, 173 0xF1AC2796E42AB7D9LL /* 288 */, 0x40A3A7D7FCD2EBACLL /* 289 */,
174 0x1056136D0AFBBCC5LL /* 290 */, 0x7889E1DD9A6D0C85LL /* 291 */, 174 0x1056136D0AFBBCC5LL /* 290 */, 0x7889E1DD9A6D0C85LL /* 291 */,
175 0xD33525782A7974AALL /* 292 */, 0xA7E25D09078AC09BLL /* 293 */, 175 0xD33525782A7974AALL /* 292 */, 0xA7E25D09078AC09BLL /* 293 */,
176 0xBD4138B3EAC6EDD0LL /* 294 */, 0x920ABFBE71EB9E70LL /* 295 */, 176 0xBD4138B3EAC6EDD0LL /* 294 */, 0x920ABFBE71EB9E70LL /* 295 */,
177 0xA2A5D0F54FC2625CLL /* 296 */, 0xC054E36B0B1290A3LL /* 297 */, 177 0xA2A5D0F54FC2625CLL /* 296 */, 0xC054E36B0B1290A3LL /* 297 */,
178 0xF6DD59FF62FE932BLL /* 298 */, 0x3537354511A8AC7DLL /* 299 */, 178 0xF6DD59FF62FE932BLL /* 298 */, 0x3537354511A8AC7DLL /* 299 */,
179 0xCA845E9172FADCD4LL /* 300 */, 0x84F82B60329D20DCLL /* 301 */, 179 0xCA845E9172FADCD4LL /* 300 */, 0x84F82B60329D20DCLL /* 301 */,
180 0x79C62CE1CD672F18LL /* 302 */, 0x8B09A2ADD124642CLL /* 303 */, 180 0x79C62CE1CD672F18LL /* 302 */, 0x8B09A2ADD124642CLL /* 303 */,
181 0xD0C1E96A19D9E726LL /* 304 */, 0x5A786A9B4BA9500CLL /* 305 */, 181 0xD0C1E96A19D9E726LL /* 304 */, 0x5A786A9B4BA9500CLL /* 305 */,
182 0x0E020336634C43F3LL /* 306 */, 0xC17B474AEB66D822LL /* 307 */, 182 0x0E020336634C43F3LL /* 306 */, 0xC17B474AEB66D822LL /* 307 */,
183 0x6A731AE3EC9BAAC2LL /* 308 */, 0x8226667AE0840258LL /* 309 */, 183 0x6A731AE3EC9BAAC2LL /* 308 */, 0x8226667AE0840258LL /* 309 */,
184 0x67D4567691CAECA5LL /* 310 */, 0x1D94155C4875ADB5LL /* 311 */, 184 0x67D4567691CAECA5LL /* 310 */, 0x1D94155C4875ADB5LL /* 311 */,
185 0x6D00FD985B813FDFLL /* 312 */, 0x51286EFCB774CD06LL /* 313 */, 185 0x6D00FD985B813FDFLL /* 312 */, 0x51286EFCB774CD06LL /* 313 */,
186 0x5E8834471FA744AFLL /* 314 */, 0xF72CA0AEE761AE2ELL /* 315 */, 186 0x5E8834471FA744AFLL /* 314 */, 0xF72CA0AEE761AE2ELL /* 315 */,
187 0xBE40E4CDAEE8E09ALL /* 316 */, 0xE9970BBB5118F665LL /* 317 */, 187 0xBE40E4CDAEE8E09ALL /* 316 */, 0xE9970BBB5118F665LL /* 317 */,
188 0x726E4BEB33DF1964LL /* 318 */, 0x703B000729199762LL /* 319 */, 188 0x726E4BEB33DF1964LL /* 318 */, 0x703B000729199762LL /* 319 */,
189 0x4631D816F5EF30A7LL /* 320 */, 0xB880B5B51504A6BELL /* 321 */, 189 0x4631D816F5EF30A7LL /* 320 */, 0xB880B5B51504A6BELL /* 321 */,
190 0x641793C37ED84B6CLL /* 322 */, 0x7B21ED77F6E97D96LL /* 323 */, 190 0x641793C37ED84B6CLL /* 322 */, 0x7B21ED77F6E97D96LL /* 323 */,
191 0x776306312EF96B73LL /* 324 */, 0xAE528948E86FF3F4LL /* 325 */, 191 0x776306312EF96B73LL /* 324 */, 0xAE528948E86FF3F4LL /* 325 */,
192 0x53DBD7F286A3F8F8LL /* 326 */, 0x16CADCE74CFC1063LL /* 327 */, 192 0x53DBD7F286A3F8F8LL /* 326 */, 0x16CADCE74CFC1063LL /* 327 */,
193 0x005C19BDFA52C6DDLL /* 328 */, 0x68868F5D64D46AD3LL /* 329 */, 193 0x005C19BDFA52C6DDLL /* 328 */, 0x68868F5D64D46AD3LL /* 329 */,
194 0x3A9D512CCF1E186ALL /* 330 */, 0x367E62C2385660AELL /* 331 */, 194 0x3A9D512CCF1E186ALL /* 330 */, 0x367E62C2385660AELL /* 331 */,
195 0xE359E7EA77DCB1D7LL /* 332 */, 0x526C0773749ABE6ELL /* 333 */, 195 0xE359E7EA77DCB1D7LL /* 332 */, 0x526C0773749ABE6ELL /* 333 */,
196 0x735AE5F9D09F734BLL /* 334 */, 0x493FC7CC8A558BA8LL /* 335 */, 196 0x735AE5F9D09F734BLL /* 334 */, 0x493FC7CC8A558BA8LL /* 335 */,
197 0xB0B9C1533041AB45LL /* 336 */, 0x321958BA470A59BDLL /* 337 */, 197 0xB0B9C1533041AB45LL /* 336 */, 0x321958BA470A59BDLL /* 337 */,
198 0x852DB00B5F46C393LL /* 338 */, 0x91209B2BD336B0E5LL /* 339 */, 198 0x852DB00B5F46C393LL /* 338 */, 0x91209B2BD336B0E5LL /* 339 */,
199 0x6E604F7D659EF19FLL /* 340 */, 0xB99A8AE2782CCB24LL /* 341 */, 199 0x6E604F7D659EF19FLL /* 340 */, 0xB99A8AE2782CCB24LL /* 341 */,
200 0xCCF52AB6C814C4C7LL /* 342 */, 0x4727D9AFBE11727BLL /* 343 */, 200 0xCCF52AB6C814C4C7LL /* 342 */, 0x4727D9AFBE11727BLL /* 343 */,
201 0x7E950D0C0121B34DLL /* 344 */, 0x756F435670AD471FLL /* 345 */, 201 0x7E950D0C0121B34DLL /* 344 */, 0x756F435670AD471FLL /* 345 */,
202 0xF5ADD442615A6849LL /* 346 */, 0x4E87E09980B9957ALL /* 347 */, 202 0xF5ADD442615A6849LL /* 346 */, 0x4E87E09980B9957ALL /* 347 */,
203 0x2ACFA1DF50AEE355LL /* 348 */, 0xD898263AFD2FD556LL /* 349 */, 203 0x2ACFA1DF50AEE355LL /* 348 */, 0xD898263AFD2FD556LL /* 349 */,
204 0xC8F4924DD80C8FD6LL /* 350 */, 0xCF99CA3D754A173ALL /* 351 */, 204 0xC8F4924DD80C8FD6LL /* 350 */, 0xCF99CA3D754A173ALL /* 351 */,
205 0xFE477BACAF91BF3CLL /* 352 */, 0xED5371F6D690C12DLL /* 353 */, 205 0xFE477BACAF91BF3CLL /* 352 */, 0xED5371F6D690C12DLL /* 353 */,
206 0x831A5C285E687094LL /* 354 */, 0xC5D3C90A3708A0A4LL /* 355 */, 206 0x831A5C285E687094LL /* 354 */, 0xC5D3C90A3708A0A4LL /* 355 */,
207 0x0F7F903717D06580LL /* 356 */, 0x19F9BB13B8FDF27FLL /* 357 */, 207 0x0F7F903717D06580LL /* 356 */, 0x19F9BB13B8FDF27FLL /* 357 */,
208 0xB1BD6F1B4D502843LL /* 358 */, 0x1C761BA38FFF4012LL /* 359 */, 208 0xB1BD6F1B4D502843LL /* 358 */, 0x1C761BA38FFF4012LL /* 359 */,
209 0x0D1530C4E2E21F3BLL /* 360 */, 0x8943CE69A7372C8ALL /* 361 */, 209 0x0D1530C4E2E21F3BLL /* 360 */, 0x8943CE69A7372C8ALL /* 361 */,
210 0xE5184E11FEB5CE66LL /* 362 */, 0x618BDB80BD736621LL /* 363 */, 210 0xE5184E11FEB5CE66LL /* 362 */, 0x618BDB80BD736621LL /* 363 */,
211 0x7D29BAD68B574D0BLL /* 364 */, 0x81BB613E25E6FE5BLL /* 365 */, 211 0x7D29BAD68B574D0BLL /* 364 */, 0x81BB613E25E6FE5BLL /* 365 */,
212 0x071C9C10BC07913FLL /* 366 */, 0xC7BEEB7909AC2D97LL /* 367 */, 212 0x071C9C10BC07913FLL /* 366 */, 0xC7BEEB7909AC2D97LL /* 367 */,
213 0xC3E58D353BC5D757LL /* 368 */, 0xEB017892F38F61E8LL /* 369 */, 213 0xC3E58D353BC5D757LL /* 368 */, 0xEB017892F38F61E8LL /* 369 */,
214 0xD4EFFB9C9B1CC21ALL /* 370 */, 0x99727D26F494F7ABLL /* 371 */, 214 0xD4EFFB9C9B1CC21ALL /* 370 */, 0x99727D26F494F7ABLL /* 371 */,
215 0xA3E063A2956B3E03LL /* 372 */, 0x9D4A8B9A4AA09C30LL /* 373 */, 215 0xA3E063A2956B3E03LL /* 372 */, 0x9D4A8B9A4AA09C30LL /* 373 */,
216 0x3F6AB7D500090FB4LL /* 374 */, 0x9CC0F2A057268AC0LL /* 375 */, 216 0x3F6AB7D500090FB4LL /* 374 */, 0x9CC0F2A057268AC0LL /* 375 */,
217 0x3DEE9D2DEDBF42D1LL /* 376 */, 0x330F49C87960A972LL /* 377 */, 217 0x3DEE9D2DEDBF42D1LL /* 376 */, 0x330F49C87960A972LL /* 377 */,
218 0xC6B2720287421B41LL /* 378 */, 0x0AC59EC07C00369CLL /* 379 */, 218 0xC6B2720287421B41LL /* 378 */, 0x0AC59EC07C00369CLL /* 379 */,
219 0xEF4EAC49CB353425LL /* 380 */, 0xF450244EEF0129D8LL /* 381 */, 219 0xEF4EAC49CB353425LL /* 380 */, 0xF450244EEF0129D8LL /* 381 */,
220 0x8ACC46E5CAF4DEB6LL /* 382 */, 0x2FFEAB63989263F7LL /* 383 */, 220 0x8ACC46E5CAF4DEB6LL /* 382 */, 0x2FFEAB63989263F7LL /* 383 */,
221 0x8F7CB9FE5D7A4578LL /* 384 */, 0x5BD8F7644E634635LL /* 385 */, 221 0x8F7CB9FE5D7A4578LL /* 384 */, 0x5BD8F7644E634635LL /* 385 */,
222 0x427A7315BF2DC900LL /* 386 */, 0x17D0C4AA2125261CLL /* 387 */, 222 0x427A7315BF2DC900LL /* 386 */, 0x17D0C4AA2125261CLL /* 387 */,
223 0x3992486C93518E50LL /* 388 */, 0xB4CBFEE0A2D7D4C3LL /* 389 */, 223 0x3992486C93518E50LL /* 388 */, 0xB4CBFEE0A2D7D4C3LL /* 389 */,
224 0x7C75D6202C5DDD8DLL /* 390 */, 0xDBC295D8E35B6C61LL /* 391 */, 224 0x7C75D6202C5DDD8DLL /* 390 */, 0xDBC295D8E35B6C61LL /* 391 */,
225 0x60B369D302032B19LL /* 392 */, 0xCE42685FDCE44132LL /* 393 */, 225 0x60B369D302032B19LL /* 392 */, 0xCE42685FDCE44132LL /* 393 */,
226 0x06F3DDB9DDF65610LL /* 394 */, 0x8EA4D21DB5E148F0LL /* 395 */, 226 0x06F3DDB9DDF65610LL /* 394 */, 0x8EA4D21DB5E148F0LL /* 395 */,
227 0x20B0FCE62FCD496FLL /* 396 */, 0x2C1B912358B0EE31LL /* 397 */, 227 0x20B0FCE62FCD496FLL /* 396 */, 0x2C1B912358B0EE31LL /* 397 */,
228 0xB28317B818F5A308LL /* 398 */, 0xA89C1E189CA6D2CFLL /* 399 */, 228 0xB28317B818F5A308LL /* 398 */, 0xA89C1E189CA6D2CFLL /* 399 */,
229 0x0C6B18576AAADBC8LL /* 400 */, 0xB65DEAA91299FAE3LL /* 401 */, 229 0x0C6B18576AAADBC8LL /* 400 */, 0xB65DEAA91299FAE3LL /* 401 */,
230 0xFB2B794B7F1027E7LL /* 402 */, 0x04E4317F443B5BEBLL /* 403 */, 230 0xFB2B794B7F1027E7LL /* 402 */, 0x04E4317F443B5BEBLL /* 403 */,
231 0x4B852D325939D0A6LL /* 404 */, 0xD5AE6BEEFB207FFCLL /* 405 */, 231 0x4B852D325939D0A6LL /* 404 */, 0xD5AE6BEEFB207FFCLL /* 405 */,
232 0x309682B281C7D374LL /* 406 */, 0xBAE309A194C3B475LL /* 407 */, 232 0x309682B281C7D374LL /* 406 */, 0xBAE309A194C3B475LL /* 407 */,
233 0x8CC3F97B13B49F05LL /* 408 */, 0x98A9422FF8293967LL /* 409 */, 233 0x8CC3F97B13B49F05LL /* 408 */, 0x98A9422FF8293967LL /* 409 */,
234 0x244B16B01076FF7CLL /* 410 */, 0xF8BF571C663D67EELL /* 411 */, 234 0x244B16B01076FF7CLL /* 410 */, 0xF8BF571C663D67EELL /* 411 */,
235 0x1F0D6758EEE30DA1LL /* 412 */, 0xC9B611D97ADEB9B7LL /* 413 */, 235 0x1F0D6758EEE30DA1LL /* 412 */, 0xC9B611D97ADEB9B7LL /* 413 */,
236 0xB7AFD5887B6C57A2LL /* 414 */, 0x6290AE846B984FE1LL /* 415 */, 236 0xB7AFD5887B6C57A2LL /* 414 */, 0x6290AE846B984FE1LL /* 415 */,
237 0x94DF4CDEACC1A5FDLL /* 416 */, 0x058A5BD1C5483AFFLL /* 417 */, 237 0x94DF4CDEACC1A5FDLL /* 416 */, 0x058A5BD1C5483AFFLL /* 417 */,
238 0x63166CC142BA3C37LL /* 418 */, 0x8DB8526EB2F76F40LL /* 419 */, 238 0x63166CC142BA3C37LL /* 418 */, 0x8DB8526EB2F76F40LL /* 419 */,
239 0xE10880036F0D6D4ELL /* 420 */, 0x9E0523C9971D311DLL /* 421 */, 239 0xE10880036F0D6D4ELL /* 420 */, 0x9E0523C9971D311DLL /* 421 */,
240 0x45EC2824CC7CD691LL /* 422 */, 0x575B8359E62382C9LL /* 423 */, 240 0x45EC2824CC7CD691LL /* 422 */, 0x575B8359E62382C9LL /* 423 */,
241 0xFA9E400DC4889995LL /* 424 */, 0xD1823ECB45721568LL /* 425 */, 241 0xFA9E400DC4889995LL /* 424 */, 0xD1823ECB45721568LL /* 425 */,
242 0xDAFD983B8206082FLL /* 426 */, 0xAA7D29082386A8CBLL /* 427 */, 242 0xDAFD983B8206082FLL /* 426 */, 0xAA7D29082386A8CBLL /* 427 */,
243 0x269FCD4403B87588LL /* 428 */, 0x1B91F5F728BDD1E0LL /* 429 */, 243 0x269FCD4403B87588LL /* 428 */, 0x1B91F5F728BDD1E0LL /* 429 */,
244 0xE4669F39040201F6LL /* 430 */, 0x7A1D7C218CF04ADELL /* 431 */, 244 0xE4669F39040201F6LL /* 430 */, 0x7A1D7C218CF04ADELL /* 431 */,
245 0x65623C29D79CE5CELL /* 432 */, 0x2368449096C00BB1LL /* 433 */, 245 0x65623C29D79CE5CELL /* 432 */, 0x2368449096C00BB1LL /* 433 */,
246 0xAB9BF1879DA503BALL /* 434 */, 0xBC23ECB1A458058ELL /* 435 */, 246 0xAB9BF1879DA503BALL /* 434 */, 0xBC23ECB1A458058ELL /* 435 */,
247 0x9A58DF01BB401ECCLL /* 436 */, 0xA070E868A85F143DLL /* 437 */, 247 0x9A58DF01BB401ECCLL /* 436 */, 0xA070E868A85F143DLL /* 437 */,
248 0x4FF188307DF2239ELL /* 438 */, 0x14D565B41A641183LL /* 439 */, 248 0x4FF188307DF2239ELL /* 438 */, 0x14D565B41A641183LL /* 439 */,
249 0xEE13337452701602LL /* 440 */, 0x950E3DCF3F285E09LL /* 441 */, 249 0xEE13337452701602LL /* 440 */, 0x950E3DCF3F285E09LL /* 441 */,
250 0x59930254B9C80953LL /* 442 */, 0x3BF299408930DA6DLL /* 443 */, 250 0x59930254B9C80953LL /* 442 */, 0x3BF299408930DA6DLL /* 443 */,
251 0xA955943F53691387LL /* 444 */, 0xA15EDECAA9CB8784LL /* 445 */, 251 0xA955943F53691387LL /* 444 */, 0xA15EDECAA9CB8784LL /* 445 */,
252 0x29142127352BE9A0LL /* 446 */, 0x76F0371FFF4E7AFBLL /* 447 */, 252 0x29142127352BE9A0LL /* 446 */, 0x76F0371FFF4E7AFBLL /* 447 */,
253 0x0239F450274F2228LL /* 448 */, 0xBB073AF01D5E868BLL /* 449 */, 253 0x0239F450274F2228LL /* 448 */, 0xBB073AF01D5E868BLL /* 449 */,
254 0xBFC80571C10E96C1LL /* 450 */, 0xD267088568222E23LL /* 451 */, 254 0xBFC80571C10E96C1LL /* 450 */, 0xD267088568222E23LL /* 451 */,
255 0x9671A3D48E80B5B0LL /* 452 */, 0x55B5D38AE193BB81LL /* 453 */, 255 0x9671A3D48E80B5B0LL /* 452 */, 0x55B5D38AE193BB81LL /* 453 */,
256 0x693AE2D0A18B04B8LL /* 454 */, 0x5C48B4ECADD5335FLL /* 455 */, 256 0x693AE2D0A18B04B8LL /* 454 */, 0x5C48B4ECADD5335FLL /* 455 */,
257 0xFD743B194916A1CALL /* 456 */, 0x2577018134BE98C4LL /* 457 */, 257 0xFD743B194916A1CALL /* 456 */, 0x2577018134BE98C4LL /* 457 */,
258 0xE77987E83C54A4ADLL /* 458 */, 0x28E11014DA33E1B9LL /* 459 */, 258 0xE77987E83C54A4ADLL /* 458 */, 0x28E11014DA33E1B9LL /* 459 */,
259 0x270CC59E226AA213LL /* 460 */, 0x71495F756D1A5F60LL /* 461 */, 259 0x270CC59E226AA213LL /* 460 */, 0x71495F756D1A5F60LL /* 461 */,
260 0x9BE853FB60AFEF77LL /* 462 */, 0xADC786A7F7443DBFLL /* 463 */, 260 0x9BE853FB60AFEF77LL /* 462 */, 0xADC786A7F7443DBFLL /* 463 */,
261 0x0904456173B29A82LL /* 464 */, 0x58BC7A66C232BD5ELL /* 465 */, 261 0x0904456173B29A82LL /* 464 */, 0x58BC7A66C232BD5ELL /* 465 */,
262 0xF306558C673AC8B2LL /* 466 */, 0x41F639C6B6C9772ALL /* 467 */, 262 0xF306558C673AC8B2LL /* 466 */, 0x41F639C6B6C9772ALL /* 467 */,
263 0x216DEFE99FDA35DALL /* 468 */, 0x11640CC71C7BE615LL /* 469 */, 263 0x216DEFE99FDA35DALL /* 468 */, 0x11640CC71C7BE615LL /* 469 */,
264 0x93C43694565C5527LL /* 470 */, 0xEA038E6246777839LL /* 471 */, 264 0x93C43694565C5527LL /* 470 */, 0xEA038E6246777839LL /* 471 */,
265 0xF9ABF3CE5A3E2469LL /* 472 */, 0x741E768D0FD312D2LL /* 473 */, 265 0xF9ABF3CE5A3E2469LL /* 472 */, 0x741E768D0FD312D2LL /* 473 */,
266 0x0144B883CED652C6LL /* 474 */, 0xC20B5A5BA33F8552LL /* 475 */, 266 0x0144B883CED652C6LL /* 474 */, 0xC20B5A5BA33F8552LL /* 475 */,
267 0x1AE69633C3435A9DLL /* 476 */, 0x97A28CA4088CFDECLL /* 477 */, 267 0x1AE69633C3435A9DLL /* 476 */, 0x97A28CA4088CFDECLL /* 477 */,
268 0x8824A43C1E96F420LL /* 478 */, 0x37612FA66EEEA746LL /* 479 */, 268 0x8824A43C1E96F420LL /* 478 */, 0x37612FA66EEEA746LL /* 479 */,
269 0x6B4CB165F9CF0E5ALL /* 480 */, 0x43AA1C06A0ABFB4ALL /* 481 */, 269 0x6B4CB165F9CF0E5ALL /* 480 */, 0x43AA1C06A0ABFB4ALL /* 481 */,
270 0x7F4DC26FF162796BLL /* 482 */, 0x6CBACC8E54ED9B0FLL /* 483 */, 270 0x7F4DC26FF162796BLL /* 482 */, 0x6CBACC8E54ED9B0FLL /* 483 */,
271 0xA6B7FFEFD2BB253ELL /* 484 */, 0x2E25BC95B0A29D4FLL /* 485 */, 271 0xA6B7FFEFD2BB253ELL /* 484 */, 0x2E25BC95B0A29D4FLL /* 485 */,
272 0x86D6A58BDEF1388CLL /* 486 */, 0xDED74AC576B6F054LL /* 487 */, 272 0x86D6A58BDEF1388CLL /* 486 */, 0xDED74AC576B6F054LL /* 487 */,
273 0x8030BDBC2B45805DLL /* 488 */, 0x3C81AF70E94D9289LL /* 489 */, 273 0x8030BDBC2B45805DLL /* 488 */, 0x3C81AF70E94D9289LL /* 489 */,
274 0x3EFF6DDA9E3100DBLL /* 490 */, 0xB38DC39FDFCC8847LL /* 491 */, 274 0x3EFF6DDA9E3100DBLL /* 490 */, 0xB38DC39FDFCC8847LL /* 491 */,
275 0x123885528D17B87ELL /* 492 */, 0xF2DA0ED240B1B642LL /* 493 */, 275 0x123885528D17B87ELL /* 492 */, 0xF2DA0ED240B1B642LL /* 493 */,
276 0x44CEFADCD54BF9A9LL /* 494 */, 0x1312200E433C7EE6LL /* 495 */, 276 0x44CEFADCD54BF9A9LL /* 494 */, 0x1312200E433C7EE6LL /* 495 */,
277 0x9FFCC84F3A78C748LL /* 496 */, 0xF0CD1F72248576BBLL /* 497 */, 277 0x9FFCC84F3A78C748LL /* 496 */, 0xF0CD1F72248576BBLL /* 497 */,
278 0xEC6974053638CFE4LL /* 498 */, 0x2BA7B67C0CEC4E4CLL /* 499 */, 278 0xEC6974053638CFE4LL /* 498 */, 0x2BA7B67C0CEC4E4CLL /* 499 */,
279 0xAC2F4DF3E5CE32EDLL /* 500 */, 0xCB33D14326EA4C11LL /* 501 */, 279 0xAC2F4DF3E5CE32EDLL /* 500 */, 0xCB33D14326EA4C11LL /* 501 */,
280 0xA4E9044CC77E58BCLL /* 502 */, 0x5F513293D934FCEFLL /* 503 */, 280 0xA4E9044CC77E58BCLL /* 502 */, 0x5F513293D934FCEFLL /* 503 */,
281 0x5DC9645506E55444LL /* 504 */, 0x50DE418F317DE40ALL /* 505 */, 281 0x5DC9645506E55444LL /* 504 */, 0x50DE418F317DE40ALL /* 505 */,
282 0x388CB31A69DDE259LL /* 506 */, 0x2DB4A83455820A86LL /* 507 */, 282 0x388CB31A69DDE259LL /* 506 */, 0x2DB4A83455820A86LL /* 507 */,
283 0x9010A91E84711AE9LL /* 508 */, 0x4DF7F0B7B1498371LL /* 509 */, 283 0x9010A91E84711AE9LL /* 508 */, 0x4DF7F0B7B1498371LL /* 509 */,
284 0xD62A2EABC0977179LL /* 510 */, 0x22FAC097AA8D5C0ELL /* 511 */, 284 0xD62A2EABC0977179LL /* 510 */, 0x22FAC097AA8D5C0ELL /* 511 */,
285 0xF49FCC2FF1DAF39BLL /* 512 */, 0x487FD5C66FF29281LL /* 513 */, 285 0xF49FCC2FF1DAF39BLL /* 512 */, 0x487FD5C66FF29281LL /* 513 */,
286 0xE8A30667FCDCA83FLL /* 514 */, 0x2C9B4BE3D2FCCE63LL /* 515 */, 286 0xE8A30667FCDCA83FLL /* 514 */, 0x2C9B4BE3D2FCCE63LL /* 515 */,
287 0xDA3FF74B93FBBBC2LL /* 516 */, 0x2FA165D2FE70BA66LL /* 517 */, 287 0xDA3FF74B93FBBBC2LL /* 516 */, 0x2FA165D2FE70BA66LL /* 517 */,
288 0xA103E279970E93D4LL /* 518 */, 0xBECDEC77B0E45E71LL /* 519 */, 288 0xA103E279970E93D4LL /* 518 */, 0xBECDEC77B0E45E71LL /* 519 */,
289 0xCFB41E723985E497LL /* 520 */, 0xB70AAA025EF75017LL /* 521 */, 289 0xCFB41E723985E497LL /* 520 */, 0xB70AAA025EF75017LL /* 521 */,
290 0xD42309F03840B8E0LL /* 522 */, 0x8EFC1AD035898579LL /* 523 */, 290 0xD42309F03840B8E0LL /* 522 */, 0x8EFC1AD035898579LL /* 523 */,
291 0x96C6920BE2B2ABC5LL /* 524 */, 0x66AF4163375A9172LL /* 525 */, 291 0x96C6920BE2B2ABC5LL /* 524 */, 0x66AF4163375A9172LL /* 525 */,
292 0x2174ABDCCA7127FBLL /* 526 */, 0xB33CCEA64A72FF41LL /* 527 */, 292 0x2174ABDCCA7127FBLL /* 526 */, 0xB33CCEA64A72FF41LL /* 527 */,
293 0xF04A4933083066A5LL /* 528 */, 0x8D970ACDD7289AF5LL /* 529 */, 293 0xF04A4933083066A5LL /* 528 */, 0x8D970ACDD7289AF5LL /* 529 */,
294 0x8F96E8E031C8C25ELL /* 530 */, 0xF3FEC02276875D47LL /* 531 */, 294 0x8F96E8E031C8C25ELL /* 530 */, 0xF3FEC02276875D47LL /* 531 */,
295 0xEC7BF310056190DDLL /* 532 */, 0xF5ADB0AEBB0F1491LL /* 533 */, 295 0xEC7BF310056190DDLL /* 532 */, 0xF5ADB0AEBB0F1491LL /* 533 */,
296 0x9B50F8850FD58892LL /* 534 */, 0x4975488358B74DE8LL /* 535 */, 296 0x9B50F8850FD58892LL /* 534 */, 0x4975488358B74DE8LL /* 535 */,
297 0xA3354FF691531C61LL /* 536 */, 0x0702BBE481D2C6EELL /* 537 */, 297 0xA3354FF691531C61LL /* 536 */, 0x0702BBE481D2C6EELL /* 537 */,
298 0x89FB24057DEDED98LL /* 538 */, 0xAC3075138596E902LL /* 539 */, 298 0x89FB24057DEDED98LL /* 538 */, 0xAC3075138596E902LL /* 539 */,
299 0x1D2D3580172772EDLL /* 540 */, 0xEB738FC28E6BC30DLL /* 541 */, 299 0x1D2D3580172772EDLL /* 540 */, 0xEB738FC28E6BC30DLL /* 541 */,
300 0x5854EF8F63044326LL /* 542 */, 0x9E5C52325ADD3BBELL /* 543 */, 300 0x5854EF8F63044326LL /* 542 */, 0x9E5C52325ADD3BBELL /* 543 */,
301 0x90AA53CF325C4623LL /* 544 */, 0xC1D24D51349DD067LL /* 545 */, 301 0x90AA53CF325C4623LL /* 544 */, 0xC1D24D51349DD067LL /* 545 */,
302 0x2051CFEEA69EA624LL /* 546 */, 0x13220F0A862E7E4FLL /* 547 */, 302 0x2051CFEEA69EA624LL /* 546 */, 0x13220F0A862E7E4FLL /* 547 */,
303 0xCE39399404E04864LL /* 548 */, 0xD9C42CA47086FCB7LL /* 549 */, 303 0xCE39399404E04864LL /* 548 */, 0xD9C42CA47086FCB7LL /* 549 */,
304 0x685AD2238A03E7CCLL /* 550 */, 0x066484B2AB2FF1DBLL /* 551 */, 304 0x685AD2238A03E7CCLL /* 550 */, 0x066484B2AB2FF1DBLL /* 551 */,
305 0xFE9D5D70EFBF79ECLL /* 552 */, 0x5B13B9DD9C481854LL /* 553 */, 305 0xFE9D5D70EFBF79ECLL /* 552 */, 0x5B13B9DD9C481854LL /* 553 */,
306 0x15F0D475ED1509ADLL /* 554 */, 0x0BEBCD060EC79851LL /* 555 */, 306 0x15F0D475ED1509ADLL /* 554 */, 0x0BEBCD060EC79851LL /* 555 */,
307 0xD58C6791183AB7F8LL /* 556 */, 0xD1187C5052F3EEE4LL /* 557 */, 307 0xD58C6791183AB7F8LL /* 556 */, 0xD1187C5052F3EEE4LL /* 557 */,
308 0xC95D1192E54E82FFLL /* 558 */, 0x86EEA14CB9AC6CA2LL /* 559 */, 308 0xC95D1192E54E82FFLL /* 558 */, 0x86EEA14CB9AC6CA2LL /* 559 */,
309 0x3485BEB153677D5DLL /* 560 */, 0xDD191D781F8C492ALL /* 561 */, 309 0x3485BEB153677D5DLL /* 560 */, 0xDD191D781F8C492ALL /* 561 */,
310 0xF60866BAA784EBF9LL /* 562 */, 0x518F643BA2D08C74LL /* 563 */, 310 0xF60866BAA784EBF9LL /* 562 */, 0x518F643BA2D08C74LL /* 563 */,
311 0x8852E956E1087C22LL /* 564 */, 0xA768CB8DC410AE8DLL /* 565 */, 311 0x8852E956E1087C22LL /* 564 */, 0xA768CB8DC410AE8DLL /* 565 */,
312 0x38047726BFEC8E1ALL /* 566 */, 0xA67738B4CD3B45AALL /* 567 */, 312 0x38047726BFEC8E1ALL /* 566 */, 0xA67738B4CD3B45AALL /* 567 */,
313 0xAD16691CEC0DDE19LL /* 568 */, 0xC6D4319380462E07LL /* 569 */, 313 0xAD16691CEC0DDE19LL /* 568 */, 0xC6D4319380462E07LL /* 569 */,
314 0xC5A5876D0BA61938LL /* 570 */, 0x16B9FA1FA58FD840LL /* 571 */, 314 0xC5A5876D0BA61938LL /* 570 */, 0x16B9FA1FA58FD840LL /* 571 */,
315 0x188AB1173CA74F18LL /* 572 */, 0xABDA2F98C99C021FLL /* 573 */, 315 0x188AB1173CA74F18LL /* 572 */, 0xABDA2F98C99C021FLL /* 573 */,
316 0x3E0580AB134AE816LL /* 574 */, 0x5F3B05B773645ABBLL /* 575 */, 316 0x3E0580AB134AE816LL /* 574 */, 0x5F3B05B773645ABBLL /* 575 */,
317 0x2501A2BE5575F2F6LL /* 576 */, 0x1B2F74004E7E8BA9LL /* 577 */, 317 0x2501A2BE5575F2F6LL /* 576 */, 0x1B2F74004E7E8BA9LL /* 577 */,
318 0x1CD7580371E8D953LL /* 578 */, 0x7F6ED89562764E30LL /* 579 */, 318 0x1CD7580371E8D953LL /* 578 */, 0x7F6ED89562764E30LL /* 579 */,
319 0xB15926FF596F003DLL /* 580 */, 0x9F65293DA8C5D6B9LL /* 581 */, 319 0xB15926FF596F003DLL /* 580 */, 0x9F65293DA8C5D6B9LL /* 581 */,
320 0x6ECEF04DD690F84CLL /* 582 */, 0x4782275FFF33AF88LL /* 583 */, 320 0x6ECEF04DD690F84CLL /* 582 */, 0x4782275FFF33AF88LL /* 583 */,
321 0xE41433083F820801LL /* 584 */, 0xFD0DFE409A1AF9B5LL /* 585 */, 321 0xE41433083F820801LL /* 584 */, 0xFD0DFE409A1AF9B5LL /* 585 */,
322 0x4325A3342CDB396BLL /* 586 */, 0x8AE77E62B301B252LL /* 587 */, 322 0x4325A3342CDB396BLL /* 586 */, 0x8AE77E62B301B252LL /* 587 */,
323 0xC36F9E9F6655615ALL /* 588 */, 0x85455A2D92D32C09LL /* 589 */, 323 0xC36F9E9F6655615ALL /* 588 */, 0x85455A2D92D32C09LL /* 589 */,
324 0xF2C7DEA949477485LL /* 590 */, 0x63CFB4C133A39EBALL /* 591 */, 324 0xF2C7DEA949477485LL /* 590 */, 0x63CFB4C133A39EBALL /* 591 */,
325 0x83B040CC6EBC5462LL /* 592 */, 0x3B9454C8FDB326B0LL /* 593 */, 325 0x83B040CC6EBC5462LL /* 592 */, 0x3B9454C8FDB326B0LL /* 593 */,
326 0x56F56A9E87FFD78CLL /* 594 */, 0x2DC2940D99F42BC6LL /* 595 */, 326 0x56F56A9E87FFD78CLL /* 594 */, 0x2DC2940D99F42BC6LL /* 595 */,
327 0x98F7DF096B096E2DLL /* 596 */, 0x19A6E01E3AD852BFLL /* 597 */, 327 0x98F7DF096B096E2DLL /* 596 */, 0x19A6E01E3AD852BFLL /* 597 */,
328 0x42A99CCBDBD4B40BLL /* 598 */, 0xA59998AF45E9C559LL /* 599 */, 328 0x42A99CCBDBD4B40BLL /* 598 */, 0xA59998AF45E9C559LL /* 599 */,
329 0x366295E807D93186LL /* 600 */, 0x6B48181BFAA1F773LL /* 601 */, 329 0x366295E807D93186LL /* 600 */, 0x6B48181BFAA1F773LL /* 601 */,
330 0x1FEC57E2157A0A1DLL /* 602 */, 0x4667446AF6201AD5LL /* 603 */, 330 0x1FEC57E2157A0A1DLL /* 602 */, 0x4667446AF6201AD5LL /* 603 */,
331 0xE615EBCACFB0F075LL /* 604 */, 0xB8F31F4F68290778LL /* 605 */, 331 0xE615EBCACFB0F075LL /* 604 */, 0xB8F31F4F68290778LL /* 605 */,
332 0x22713ED6CE22D11ELL /* 606 */, 0x3057C1A72EC3C93BLL /* 607 */, 332 0x22713ED6CE22D11ELL /* 606 */, 0x3057C1A72EC3C93BLL /* 607 */,
333 0xCB46ACC37C3F1F2FLL /* 608 */, 0xDBB893FD02AAF50ELL /* 609 */, 333 0xCB46ACC37C3F1F2FLL /* 608 */, 0xDBB893FD02AAF50ELL /* 609 */,
334 0x331FD92E600B9FCFLL /* 610 */, 0xA498F96148EA3AD6LL /* 611 */, 334 0x331FD92E600B9FCFLL /* 610 */, 0xA498F96148EA3AD6LL /* 611 */,
335 0xA8D8426E8B6A83EALL /* 612 */, 0xA089B274B7735CDCLL /* 613 */, 335 0xA8D8426E8B6A83EALL /* 612 */, 0xA089B274B7735CDCLL /* 613 */,
336 0x87F6B3731E524A11LL /* 614 */, 0x118808E5CBC96749LL /* 615 */, 336 0x87F6B3731E524A11LL /* 614 */, 0x118808E5CBC96749LL /* 615 */,
337 0x9906E4C7B19BD394LL /* 616 */, 0xAFED7F7E9B24A20CLL /* 617 */, 337 0x9906E4C7B19BD394LL /* 616 */, 0xAFED7F7E9B24A20CLL /* 617 */,
338 0x6509EADEEB3644A7LL /* 618 */, 0x6C1EF1D3E8EF0EDELL /* 619 */, 338 0x6509EADEEB3644A7LL /* 618 */, 0x6C1EF1D3E8EF0EDELL /* 619 */,
339 0xB9C97D43E9798FB4LL /* 620 */, 0xA2F2D784740C28A3LL /* 621 */, 339 0xB9C97D43E9798FB4LL /* 620 */, 0xA2F2D784740C28A3LL /* 621 */,
340 0x7B8496476197566FLL /* 622 */, 0x7A5BE3E6B65F069DLL /* 623 */, 340 0x7B8496476197566FLL /* 622 */, 0x7A5BE3E6B65F069DLL /* 623 */,
341 0xF96330ED78BE6F10LL /* 624 */, 0xEEE60DE77A076A15LL /* 625 */, 341 0xF96330ED78BE6F10LL /* 624 */, 0xEEE60DE77A076A15LL /* 625 */,
342 0x2B4BEE4AA08B9BD0LL /* 626 */, 0x6A56A63EC7B8894ELL /* 627 */, 342 0x2B4BEE4AA08B9BD0LL /* 626 */, 0x6A56A63EC7B8894ELL /* 627 */,
343 0x02121359BA34FEF4LL /* 628 */, 0x4CBF99F8283703FCLL /* 629 */, 343 0x02121359BA34FEF4LL /* 628 */, 0x4CBF99F8283703FCLL /* 629 */,
344 0x398071350CAF30C8LL /* 630 */, 0xD0A77A89F017687ALL /* 631 */, 344 0x398071350CAF30C8LL /* 630 */, 0xD0A77A89F017687ALL /* 631 */,
345 0xF1C1A9EB9E423569LL /* 632 */, 0x8C7976282DEE8199LL /* 633 */, 345 0xF1C1A9EB9E423569LL /* 632 */, 0x8C7976282DEE8199LL /* 633 */,
346 0x5D1737A5DD1F7ABDLL /* 634 */, 0x4F53433C09A9FA80LL /* 635 */, 346 0x5D1737A5DD1F7ABDLL /* 634 */, 0x4F53433C09A9FA80LL /* 635 */,
347 0xFA8B0C53DF7CA1D9LL /* 636 */, 0x3FD9DCBC886CCB77LL /* 637 */, 347 0xFA8B0C53DF7CA1D9LL /* 636 */, 0x3FD9DCBC886CCB77LL /* 637 */,
348 0xC040917CA91B4720LL /* 638 */, 0x7DD00142F9D1DCDFLL /* 639 */, 348 0xC040917CA91B4720LL /* 638 */, 0x7DD00142F9D1DCDFLL /* 639 */,
349 0x8476FC1D4F387B58LL /* 640 */, 0x23F8E7C5F3316503LL /* 641 */, 349 0x8476FC1D4F387B58LL /* 640 */, 0x23F8E7C5F3316503LL /* 641 */,
350 0x032A2244E7E37339LL /* 642 */, 0x5C87A5D750F5A74BLL /* 643 */, 350 0x032A2244E7E37339LL /* 642 */, 0x5C87A5D750F5A74BLL /* 643 */,
351 0x082B4CC43698992ELL /* 644 */, 0xDF917BECB858F63CLL /* 645 */, 351 0x082B4CC43698992ELL /* 644 */, 0xDF917BECB858F63CLL /* 645 */,
352 0x3270B8FC5BF86DDALL /* 646 */, 0x10AE72BB29B5DD76LL /* 647 */, 352 0x3270B8FC5BF86DDALL /* 646 */, 0x10AE72BB29B5DD76LL /* 647 */,
353 0x576AC94E7700362BLL /* 648 */, 0x1AD112DAC61EFB8FLL /* 649 */, 353 0x576AC94E7700362BLL /* 648 */, 0x1AD112DAC61EFB8FLL /* 649 */,
354 0x691BC30EC5FAA427LL /* 650 */, 0xFF246311CC327143LL /* 651 */, 354 0x691BC30EC5FAA427LL /* 650 */, 0xFF246311CC327143LL /* 651 */,
355 0x3142368E30E53206LL /* 652 */, 0x71380E31E02CA396LL /* 653 */, 355 0x3142368E30E53206LL /* 652 */, 0x71380E31E02CA396LL /* 653 */,
356 0x958D5C960AAD76F1LL /* 654 */, 0xF8D6F430C16DA536LL /* 655 */, 356 0x958D5C960AAD76F1LL /* 654 */, 0xF8D6F430C16DA536LL /* 655 */,
357 0xC8FFD13F1BE7E1D2LL /* 656 */, 0x7578AE66004DDBE1LL /* 657 */, 357 0xC8FFD13F1BE7E1D2LL /* 656 */, 0x7578AE66004DDBE1LL /* 657 */,
358 0x05833F01067BE646LL /* 658 */, 0xBB34B5AD3BFE586DLL /* 659 */, 358 0x05833F01067BE646LL /* 658 */, 0xBB34B5AD3BFE586DLL /* 659 */,
359 0x095F34C9A12B97F0LL /* 660 */, 0x247AB64525D60CA8LL /* 661 */, 359 0x095F34C9A12B97F0LL /* 660 */, 0x247AB64525D60CA8LL /* 661 */,
360 0xDCDBC6F3017477D1LL /* 662 */, 0x4A2E14D4DECAD24DLL /* 663 */, 360 0xDCDBC6F3017477D1LL /* 662 */, 0x4A2E14D4DECAD24DLL /* 663 */,
361 0xBDB5E6D9BE0A1EEBLL /* 664 */, 0x2A7E70F7794301ABLL /* 665 */, 361 0xBDB5E6D9BE0A1EEBLL /* 664 */, 0x2A7E70F7794301ABLL /* 665 */,
362 0xDEF42D8A270540FDLL /* 666 */, 0x01078EC0A34C22C1LL /* 667 */, 362 0xDEF42D8A270540FDLL /* 666 */, 0x01078EC0A34C22C1LL /* 667 */,
363 0xE5DE511AF4C16387LL /* 668 */, 0x7EBB3A52BD9A330ALL /* 669 */, 363 0xE5DE511AF4C16387LL /* 668 */, 0x7EBB3A52BD9A330ALL /* 669 */,
364 0x77697857AA7D6435LL /* 670 */, 0x004E831603AE4C32LL /* 671 */, 364 0x77697857AA7D6435LL /* 670 */, 0x004E831603AE4C32LL /* 671 */,
365 0xE7A21020AD78E312LL /* 672 */, 0x9D41A70C6AB420F2LL /* 673 */, 365 0xE7A21020AD78E312LL /* 672 */, 0x9D41A70C6AB420F2LL /* 673 */,
366 0x28E06C18EA1141E6LL /* 674 */, 0xD2B28CBD984F6B28LL /* 675 */, 366 0x28E06C18EA1141E6LL /* 674 */, 0xD2B28CBD984F6B28LL /* 675 */,
367 0x26B75F6C446E9D83LL /* 676 */, 0xBA47568C4D418D7FLL /* 677 */, 367 0x26B75F6C446E9D83LL /* 676 */, 0xBA47568C4D418D7FLL /* 677 */,
368 0xD80BADBFE6183D8ELL /* 678 */, 0x0E206D7F5F166044LL /* 679 */, 368 0xD80BADBFE6183D8ELL /* 678 */, 0x0E206D7F5F166044LL /* 679 */,
369 0xE258A43911CBCA3ELL /* 680 */, 0x723A1746B21DC0BCLL /* 681 */, 369 0xE258A43911CBCA3ELL /* 680 */, 0x723A1746B21DC0BCLL /* 681 */,
370 0xC7CAA854F5D7CDD3LL /* 682 */, 0x7CAC32883D261D9CLL /* 683 */, 370 0xC7CAA854F5D7CDD3LL /* 682 */, 0x7CAC32883D261D9CLL /* 683 */,
371 0x7690C26423BA942CLL /* 684 */, 0x17E55524478042B8LL /* 685 */, 371 0x7690C26423BA942CLL /* 684 */, 0x17E55524478042B8LL /* 685 */,
372 0xE0BE477656A2389FLL /* 686 */, 0x4D289B5E67AB2DA0LL /* 687 */, 372 0xE0BE477656A2389FLL /* 686 */, 0x4D289B5E67AB2DA0LL /* 687 */,
373 0x44862B9C8FBBFD31LL /* 688 */, 0xB47CC8049D141365LL /* 689 */, 373 0x44862B9C8FBBFD31LL /* 688 */, 0xB47CC8049D141365LL /* 689 */,
374 0x822C1B362B91C793LL /* 690 */, 0x4EB14655FB13DFD8LL /* 691 */, 374 0x822C1B362B91C793LL /* 690 */, 0x4EB14655FB13DFD8LL /* 691 */,
375 0x1ECBBA0714E2A97BLL /* 692 */, 0x6143459D5CDE5F14LL /* 693 */, 375 0x1ECBBA0714E2A97BLL /* 692 */, 0x6143459D5CDE5F14LL /* 693 */,
376 0x53A8FBF1D5F0AC89LL /* 694 */, 0x97EA04D81C5E5B00LL /* 695 */, 376 0x53A8FBF1D5F0AC89LL /* 694 */, 0x97EA04D81C5E5B00LL /* 695 */,
377 0x622181A8D4FDB3F3LL /* 696 */, 0xE9BCD341572A1208LL /* 697 */, 377 0x622181A8D4FDB3F3LL /* 696 */, 0xE9BCD341572A1208LL /* 697 */,
378 0x1411258643CCE58ALL /* 698 */, 0x9144C5FEA4C6E0A4LL /* 699 */, 378 0x1411258643CCE58ALL /* 698 */, 0x9144C5FEA4C6E0A4LL /* 699 */,
379 0x0D33D06565CF620FLL /* 700 */, 0x54A48D489F219CA1LL /* 701 */, 379 0x0D33D06565CF620FLL /* 700 */, 0x54A48D489F219CA1LL /* 701 */,
380 0xC43E5EAC6D63C821LL /* 702 */, 0xA9728B3A72770DAFLL /* 703 */, 380 0xC43E5EAC6D63C821LL /* 702 */, 0xA9728B3A72770DAFLL /* 703 */,
381 0xD7934E7B20DF87EFLL /* 704 */, 0xE35503B61A3E86E5LL /* 705 */, 381 0xD7934E7B20DF87EFLL /* 704 */, 0xE35503B61A3E86E5LL /* 705 */,
382 0xCAE321FBC819D504LL /* 706 */, 0x129A50B3AC60BFA6LL /* 707 */, 382 0xCAE321FBC819D504LL /* 706 */, 0x129A50B3AC60BFA6LL /* 707 */,
383 0xCD5E68EA7E9FB6C3LL /* 708 */, 0xB01C90199483B1C7LL /* 709 */, 383 0xCD5E68EA7E9FB6C3LL /* 708 */, 0xB01C90199483B1C7LL /* 709 */,
384 0x3DE93CD5C295376CLL /* 710 */, 0xAED52EDF2AB9AD13LL /* 711 */, 384 0x3DE93CD5C295376CLL /* 710 */, 0xAED52EDF2AB9AD13LL /* 711 */,
385 0x2E60F512C0A07884LL /* 712 */, 0xBC3D86A3E36210C9LL /* 713 */, 385 0x2E60F512C0A07884LL /* 712 */, 0xBC3D86A3E36210C9LL /* 713 */,
386 0x35269D9B163951CELL /* 714 */, 0x0C7D6E2AD0CDB5FALL /* 715 */, 386 0x35269D9B163951CELL /* 714 */, 0x0C7D6E2AD0CDB5FALL /* 715 */,
387 0x59E86297D87F5733LL /* 716 */, 0x298EF221898DB0E7LL /* 717 */, 387 0x59E86297D87F5733LL /* 716 */, 0x298EF221898DB0E7LL /* 717 */,
388 0x55000029D1A5AA7ELL /* 718 */, 0x8BC08AE1B5061B45LL /* 719 */, 388 0x55000029D1A5AA7ELL /* 718 */, 0x8BC08AE1B5061B45LL /* 719 */,
389 0xC2C31C2B6C92703ALL /* 720 */, 0x94CC596BAF25EF42LL /* 721 */, 389 0xC2C31C2B6C92703ALL /* 720 */, 0x94CC596BAF25EF42LL /* 721 */,
390 0x0A1D73DB22540456LL /* 722 */, 0x04B6A0F9D9C4179ALL /* 723 */, 390 0x0A1D73DB22540456LL /* 722 */, 0x04B6A0F9D9C4179ALL /* 723 */,
391 0xEFFDAFA2AE3D3C60LL /* 724 */, 0xF7C8075BB49496C4LL /* 725 */, 391 0xEFFDAFA2AE3D3C60LL /* 724 */, 0xF7C8075BB49496C4LL /* 725 */,
392 0x9CC5C7141D1CD4E3LL /* 726 */, 0x78BD1638218E5534LL /* 727 */, 392 0x9CC5C7141D1CD4E3LL /* 726 */, 0x78BD1638218E5534LL /* 727 */,
393 0xB2F11568F850246ALL /* 728 */, 0xEDFABCFA9502BC29LL /* 729 */, 393 0xB2F11568F850246ALL /* 728 */, 0xEDFABCFA9502BC29LL /* 729 */,
394 0x796CE5F2DA23051BLL /* 730 */, 0xAAE128B0DC93537CLL /* 731 */, 394 0x796CE5F2DA23051BLL /* 730 */, 0xAAE128B0DC93537CLL /* 731 */,
395 0x3A493DA0EE4B29AELL /* 732 */, 0xB5DF6B2C416895D7LL /* 733 */, 395 0x3A493DA0EE4B29AELL /* 732 */, 0xB5DF6B2C416895D7LL /* 733 */,
396 0xFCABBD25122D7F37LL /* 734 */, 0x70810B58105DC4B1LL /* 735 */, 396 0xFCABBD25122D7F37LL /* 734 */, 0x70810B58105DC4B1LL /* 735 */,
397 0xE10FDD37F7882A90LL /* 736 */, 0x524DCAB5518A3F5CLL /* 737 */, 397 0xE10FDD37F7882A90LL /* 736 */, 0x524DCAB5518A3F5CLL /* 737 */,
398 0x3C9E85878451255BLL /* 738 */, 0x4029828119BD34E2LL /* 739 */, 398 0x3C9E85878451255BLL /* 738 */, 0x4029828119BD34E2LL /* 739 */,
399 0x74A05B6F5D3CECCBLL /* 740 */, 0xB610021542E13ECALL /* 741 */, 399 0x74A05B6F5D3CECCBLL /* 740 */, 0xB610021542E13ECALL /* 741 */,
400 0x0FF979D12F59E2ACLL /* 742 */, 0x6037DA27E4F9CC50LL /* 743 */, 400 0x0FF979D12F59E2ACLL /* 742 */, 0x6037DA27E4F9CC50LL /* 743 */,
401 0x5E92975A0DF1847DLL /* 744 */, 0xD66DE190D3E623FELL /* 745 */, 401 0x5E92975A0DF1847DLL /* 744 */, 0xD66DE190D3E623FELL /* 745 */,
402 0x5032D6B87B568048LL /* 746 */, 0x9A36B7CE8235216ELL /* 747 */, 402 0x5032D6B87B568048LL /* 746 */, 0x9A36B7CE8235216ELL /* 747 */,
403 0x80272A7A24F64B4ALL /* 748 */, 0x93EFED8B8C6916F7LL /* 749 */, 403 0x80272A7A24F64B4ALL /* 748 */, 0x93EFED8B8C6916F7LL /* 749 */,
404 0x37DDBFF44CCE1555LL /* 750 */, 0x4B95DB5D4B99BD25LL /* 751 */, 404 0x37DDBFF44CCE1555LL /* 750 */, 0x4B95DB5D4B99BD25LL /* 751 */,
405 0x92D3FDA169812FC0LL /* 752 */, 0xFB1A4A9A90660BB6LL /* 753 */, 405 0x92D3FDA169812FC0LL /* 752 */, 0xFB1A4A9A90660BB6LL /* 753 */,
406 0x730C196946A4B9B2LL /* 754 */, 0x81E289AA7F49DA68LL /* 755 */, 406 0x730C196946A4B9B2LL /* 754 */, 0x81E289AA7F49DA68LL /* 755 */,
407 0x64669A0F83B1A05FLL /* 756 */, 0x27B3FF7D9644F48BLL /* 757 */, 407 0x64669A0F83B1A05FLL /* 756 */, 0x27B3FF7D9644F48BLL /* 757 */,
408 0xCC6B615C8DB675B3LL /* 758 */, 0x674F20B9BCEBBE95LL /* 759 */, 408 0xCC6B615C8DB675B3LL /* 758 */, 0x674F20B9BCEBBE95LL /* 759 */,
409 0x6F31238275655982LL /* 760 */, 0x5AE488713E45CF05LL /* 761 */, 409 0x6F31238275655982LL /* 760 */, 0x5AE488713E45CF05LL /* 761 */,
410 0xBF619F9954C21157LL /* 762 */, 0xEABAC46040A8EAE9LL /* 763 */, 410 0xBF619F9954C21157LL /* 762 */, 0xEABAC46040A8EAE9LL /* 763 */,
411 0x454C6FE9F2C0C1CDLL /* 764 */, 0x419CF6496412691CLL /* 765 */, 411 0x454C6FE9F2C0C1CDLL /* 764 */, 0x419CF6496412691CLL /* 765 */,
412 0xD3DC3BEF265B0F70LL /* 766 */, 0x6D0E60F5C3578A9ELL /* 767 */, 412 0xD3DC3BEF265B0F70LL /* 766 */, 0x6D0E60F5C3578A9ELL /* 767 */,
413 0x5B0E608526323C55LL /* 768 */, 0x1A46C1A9FA1B59F5LL /* 769 */, 413 0x5B0E608526323C55LL /* 768 */, 0x1A46C1A9FA1B59F5LL /* 769 */,
414 0xA9E245A17C4C8FFALL /* 770 */, 0x65CA5159DB2955D7LL /* 771 */, 414 0xA9E245A17C4C8FFALL /* 770 */, 0x65CA5159DB2955D7LL /* 771 */,
415 0x05DB0A76CE35AFC2LL /* 772 */, 0x81EAC77EA9113D45LL /* 773 */, 415 0x05DB0A76CE35AFC2LL /* 772 */, 0x81EAC77EA9113D45LL /* 773 */,
416 0x528EF88AB6AC0A0DLL /* 774 */, 0xA09EA253597BE3FFLL /* 775 */, 416 0x528EF88AB6AC0A0DLL /* 774 */, 0xA09EA253597BE3FFLL /* 775 */,
417 0x430DDFB3AC48CD56LL /* 776 */, 0xC4B3A67AF45CE46FLL /* 777 */, 417 0x430DDFB3AC48CD56LL /* 776 */, 0xC4B3A67AF45CE46FLL /* 777 */,
418 0x4ECECFD8FBE2D05ELL /* 778 */, 0x3EF56F10B39935F0LL /* 779 */, 418 0x4ECECFD8FBE2D05ELL /* 778 */, 0x3EF56F10B39935F0LL /* 779 */,
419 0x0B22D6829CD619C6LL /* 780 */, 0x17FD460A74DF2069LL /* 781 */, 419 0x0B22D6829CD619C6LL /* 780 */, 0x17FD460A74DF2069LL /* 781 */,
420 0x6CF8CC8E8510ED40LL /* 782 */, 0xD6C824BF3A6ECAA7LL /* 783 */, 420 0x6CF8CC8E8510ED40LL /* 782 */, 0xD6C824BF3A6ECAA7LL /* 783 */,
421 0x61243D581A817049LL /* 784 */, 0x048BACB6BBC163A2LL /* 785 */, 421 0x61243D581A817049LL /* 784 */, 0x048BACB6BBC163A2LL /* 785 */,
422 0xD9A38AC27D44CC32LL /* 786 */, 0x7FDDFF5BAAF410ABLL /* 787 */, 422 0xD9A38AC27D44CC32LL /* 786 */, 0x7FDDFF5BAAF410ABLL /* 787 */,
423 0xAD6D495AA804824BLL /* 788 */, 0xE1A6A74F2D8C9F94LL /* 789 */, 423 0xAD6D495AA804824BLL /* 788 */, 0xE1A6A74F2D8C9F94LL /* 789 */,
424 0xD4F7851235DEE8E3LL /* 790 */, 0xFD4B7F886540D893LL /* 791 */, 424 0xD4F7851235DEE8E3LL /* 790 */, 0xFD4B7F886540D893LL /* 791 */,
425 0x247C20042AA4BFDALL /* 792 */, 0x096EA1C517D1327CLL /* 793 */, 425 0x247C20042AA4BFDALL /* 792 */, 0x096EA1C517D1327CLL /* 793 */,
426 0xD56966B4361A6685LL /* 794 */, 0x277DA5C31221057DLL /* 795 */, 426 0xD56966B4361A6685LL /* 794 */, 0x277DA5C31221057DLL /* 795 */,
427 0x94D59893A43ACFF7LL /* 796 */, 0x64F0C51CCDC02281LL /* 797 */, 427 0x94D59893A43ACFF7LL /* 796 */, 0x64F0C51CCDC02281LL /* 797 */,
428 0x3D33BCC4FF6189DBLL /* 798 */, 0xE005CB184CE66AF1LL /* 799 */, 428 0x3D33BCC4FF6189DBLL /* 798 */, 0xE005CB184CE66AF1LL /* 799 */,
429 0xFF5CCD1D1DB99BEALL /* 800 */, 0xB0B854A7FE42980FLL /* 801 */, 429 0xFF5CCD1D1DB99BEALL /* 800 */, 0xB0B854A7FE42980FLL /* 801 */,
430 0x7BD46A6A718D4B9FLL /* 802 */, 0xD10FA8CC22A5FD8CLL /* 803 */, 430 0x7BD46A6A718D4B9FLL /* 802 */, 0xD10FA8CC22A5FD8CLL /* 803 */,
431 0xD31484952BE4BD31LL /* 804 */, 0xC7FA975FCB243847LL /* 805 */, 431 0xD31484952BE4BD31LL /* 804 */, 0xC7FA975FCB243847LL /* 805 */,
432 0x4886ED1E5846C407LL /* 806 */, 0x28CDDB791EB70B04LL /* 807 */, 432 0x4886ED1E5846C407LL /* 806 */, 0x28CDDB791EB70B04LL /* 807 */,
433 0xC2B00BE2F573417FLL /* 808 */, 0x5C9590452180F877LL /* 809 */, 433 0xC2B00BE2F573417FLL /* 808 */, 0x5C9590452180F877LL /* 809 */,
434 0x7A6BDDFFF370EB00LL /* 810 */, 0xCE509E38D6D9D6A4LL /* 811 */, 434 0x7A6BDDFFF370EB00LL /* 810 */, 0xCE509E38D6D9D6A4LL /* 811 */,
435 0xEBEB0F00647FA702LL /* 812 */, 0x1DCC06CF76606F06LL /* 813 */, 435 0xEBEB0F00647FA702LL /* 812 */, 0x1DCC06CF76606F06LL /* 813 */,
436 0xE4D9F28BA286FF0ALL /* 814 */, 0xD85A305DC918C262LL /* 815 */, 436 0xE4D9F28BA286FF0ALL /* 814 */, 0xD85A305DC918C262LL /* 815 */,
437 0x475B1D8732225F54LL /* 816 */, 0x2D4FB51668CCB5FELL /* 817 */, 437 0x475B1D8732225F54LL /* 816 */, 0x2D4FB51668CCB5FELL /* 817 */,
438 0xA679B9D9D72BBA20LL /* 818 */, 0x53841C0D912D43A5LL /* 819 */, 438 0xA679B9D9D72BBA20LL /* 818 */, 0x53841C0D912D43A5LL /* 819 */,
439 0x3B7EAA48BF12A4E8LL /* 820 */, 0x781E0E47F22F1DDFLL /* 821 */, 439 0x3B7EAA48BF12A4E8LL /* 820 */, 0x781E0E47F22F1DDFLL /* 821 */,
440 0xEFF20CE60AB50973LL /* 822 */, 0x20D261D19DFFB742LL /* 823 */, 440 0xEFF20CE60AB50973LL /* 822 */, 0x20D261D19DFFB742LL /* 823 */,
441 0x16A12B03062A2E39LL /* 824 */, 0x1960EB2239650495LL /* 825 */, 441 0x16A12B03062A2E39LL /* 824 */, 0x1960EB2239650495LL /* 825 */,
442 0x251C16FED50EB8B8LL /* 826 */, 0x9AC0C330F826016ELL /* 827 */, 442 0x251C16FED50EB8B8LL /* 826 */, 0x9AC0C330F826016ELL /* 827 */,
443 0xED152665953E7671LL /* 828 */, 0x02D63194A6369570LL /* 829 */, 443 0xED152665953E7671LL /* 828 */, 0x02D63194A6369570LL /* 829 */,
444 0x5074F08394B1C987LL /* 830 */, 0x70BA598C90B25CE1LL /* 831 */, 444 0x5074F08394B1C987LL /* 830 */, 0x70BA598C90B25CE1LL /* 831 */,
445 0x794A15810B9742F6LL /* 832 */, 0x0D5925E9FCAF8C6CLL /* 833 */, 445 0x794A15810B9742F6LL /* 832 */, 0x0D5925E9FCAF8C6CLL /* 833 */,
446 0x3067716CD868744ELL /* 834 */, 0x910AB077E8D7731BLL /* 835 */, 446 0x3067716CD868744ELL /* 834 */, 0x910AB077E8D7731BLL /* 835 */,
447 0x6A61BBDB5AC42F61LL /* 836 */, 0x93513EFBF0851567LL /* 837 */, 447 0x6A61BBDB5AC42F61LL /* 836 */, 0x93513EFBF0851567LL /* 837 */,
448 0xF494724B9E83E9D5LL /* 838 */, 0xE887E1985C09648DLL /* 839 */, 448 0xF494724B9E83E9D5LL /* 838 */, 0xE887E1985C09648DLL /* 839 */,
449 0x34B1D3C675370CFDLL /* 840 */, 0xDC35E433BC0D255DLL /* 841 */, 449 0x34B1D3C675370CFDLL /* 840 */, 0xDC35E433BC0D255DLL /* 841 */,
450 0xD0AAB84234131BE0LL /* 842 */, 0x08042A50B48B7EAFLL /* 843 */, 450 0xD0AAB84234131BE0LL /* 842 */, 0x08042A50B48B7EAFLL /* 843 */,
451 0x9997C4EE44A3AB35LL /* 844 */, 0x829A7B49201799D0LL /* 845 */, 451 0x9997C4EE44A3AB35LL /* 844 */, 0x829A7B49201799D0LL /* 845 */,
452 0x263B8307B7C54441LL /* 846 */, 0x752F95F4FD6A6CA6LL /* 847 */, 452 0x263B8307B7C54441LL /* 846 */, 0x752F95F4FD6A6CA6LL /* 847 */,
453 0x927217402C08C6E5LL /* 848 */, 0x2A8AB754A795D9EELL /* 849 */, 453 0x927217402C08C6E5LL /* 848 */, 0x2A8AB754A795D9EELL /* 849 */,
454 0xA442F7552F72943DLL /* 850 */, 0x2C31334E19781208LL /* 851 */, 454 0xA442F7552F72943DLL /* 850 */, 0x2C31334E19781208LL /* 851 */,
455 0x4FA98D7CEAEE6291LL /* 852 */, 0x55C3862F665DB309LL /* 853 */, 455 0x4FA98D7CEAEE6291LL /* 852 */, 0x55C3862F665DB309LL /* 853 */,
456 0xBD0610175D53B1F3LL /* 854 */, 0x46FE6CB840413F27LL /* 855 */, 456 0xBD0610175D53B1F3LL /* 854 */, 0x46FE6CB840413F27LL /* 855 */,
457 0x3FE03792DF0CFA59LL /* 856 */, 0xCFE700372EB85E8FLL /* 857 */, 457 0x3FE03792DF0CFA59LL /* 856 */, 0xCFE700372EB85E8FLL /* 857 */,
458 0xA7BE29E7ADBCE118LL /* 858 */, 0xE544EE5CDE8431DDLL /* 859 */, 458 0xA7BE29E7ADBCE118LL /* 858 */, 0xE544EE5CDE8431DDLL /* 859 */,
459 0x8A781B1B41F1873ELL /* 860 */, 0xA5C94C78A0D2F0E7LL /* 861 */, 459 0x8A781B1B41F1873ELL /* 860 */, 0xA5C94C78A0D2F0E7LL /* 861 */,
460 0x39412E2877B60728LL /* 862 */, 0xA1265EF3AFC9A62CLL /* 863 */, 460 0x39412E2877B60728LL /* 862 */, 0xA1265EF3AFC9A62CLL /* 863 */,
461 0xBCC2770C6A2506C5LL /* 864 */, 0x3AB66DD5DCE1CE12LL /* 865 */, 461 0xBCC2770C6A2506C5LL /* 864 */, 0x3AB66DD5DCE1CE12LL /* 865 */,
462 0xE65499D04A675B37LL /* 866 */, 0x7D8F523481BFD216LL /* 867 */, 462 0xE65499D04A675B37LL /* 866 */, 0x7D8F523481BFD216LL /* 867 */,
463 0x0F6F64FCEC15F389LL /* 868 */, 0x74EFBE618B5B13C8LL /* 869 */, 463 0x0F6F64FCEC15F389LL /* 868 */, 0x74EFBE618B5B13C8LL /* 869 */,
464 0xACDC82B714273E1DLL /* 870 */, 0xDD40BFE003199D17LL /* 871 */, 464 0xACDC82B714273E1DLL /* 870 */, 0xDD40BFE003199D17LL /* 871 */,
465 0x37E99257E7E061F8LL /* 872 */, 0xFA52626904775AAALL /* 873 */, 465 0x37E99257E7E061F8LL /* 872 */, 0xFA52626904775AAALL /* 873 */,
466 0x8BBBF63A463D56F9LL /* 874 */, 0xF0013F1543A26E64LL /* 875 */, 466 0x8BBBF63A463D56F9LL /* 874 */, 0xF0013F1543A26E64LL /* 875 */,
467 0xA8307E9F879EC898LL /* 876 */, 0xCC4C27A4150177CCLL /* 877 */, 467 0xA8307E9F879EC898LL /* 876 */, 0xCC4C27A4150177CCLL /* 877 */,
468 0x1B432F2CCA1D3348LL /* 878 */, 0xDE1D1F8F9F6FA013LL /* 879 */, 468 0x1B432F2CCA1D3348LL /* 878 */, 0xDE1D1F8F9F6FA013LL /* 879 */,
469 0x606602A047A7DDD6LL /* 880 */, 0xD237AB64CC1CB2C7LL /* 881 */, 469 0x606602A047A7DDD6LL /* 880 */, 0xD237AB64CC1CB2C7LL /* 881 */,
470 0x9B938E7225FCD1D3LL /* 882 */, 0xEC4E03708E0FF476LL /* 883 */, 470 0x9B938E7225FCD1D3LL /* 882 */, 0xEC4E03708E0FF476LL /* 883 */,
471 0xFEB2FBDA3D03C12DLL /* 884 */, 0xAE0BCED2EE43889ALL /* 885 */, 471 0xFEB2FBDA3D03C12DLL /* 884 */, 0xAE0BCED2EE43889ALL /* 885 */,
472 0x22CB8923EBFB4F43LL /* 886 */, 0x69360D013CF7396DLL /* 887 */, 472 0x22CB8923EBFB4F43LL /* 886 */, 0x69360D013CF7396DLL /* 887 */,
473 0x855E3602D2D4E022LL /* 888 */, 0x073805BAD01F784CLL /* 889 */, 473 0x855E3602D2D4E022LL /* 888 */, 0x073805BAD01F784CLL /* 889 */,
474 0x33E17A133852F546LL /* 890 */, 0xDF4874058AC7B638LL /* 891 */, 474 0x33E17A133852F546LL /* 890 */, 0xDF4874058AC7B638LL /* 891 */,
475 0xBA92B29C678AA14ALL /* 892 */, 0x0CE89FC76CFAADCDLL /* 893 */, 475 0xBA92B29C678AA14ALL /* 892 */, 0x0CE89FC76CFAADCDLL /* 893 */,
476 0x5F9D4E0908339E34LL /* 894 */, 0xF1AFE9291F5923B9LL /* 895 */, 476 0x5F9D4E0908339E34LL /* 894 */, 0xF1AFE9291F5923B9LL /* 895 */,
477 0x6E3480F60F4A265FLL /* 896 */, 0xEEBF3A2AB29B841CLL /* 897 */, 477 0x6E3480F60F4A265FLL /* 896 */, 0xEEBF3A2AB29B841CLL /* 897 */,
478 0xE21938A88F91B4ADLL /* 898 */, 0x57DFEFF845C6D3C3LL /* 899 */, 478 0xE21938A88F91B4ADLL /* 898 */, 0x57DFEFF845C6D3C3LL /* 899 */,
479 0x2F006B0BF62CAAF2LL /* 900 */, 0x62F479EF6F75EE78LL /* 901 */, 479 0x2F006B0BF62CAAF2LL /* 900 */, 0x62F479EF6F75EE78LL /* 901 */,
480 0x11A55AD41C8916A9LL /* 902 */, 0xF229D29084FED453LL /* 903 */, 480 0x11A55AD41C8916A9LL /* 902 */, 0xF229D29084FED453LL /* 903 */,
481 0x42F1C27B16B000E6LL /* 904 */, 0x2B1F76749823C074LL /* 905 */, 481 0x42F1C27B16B000E6LL /* 904 */, 0x2B1F76749823C074LL /* 905 */,
482 0x4B76ECA3C2745360LL /* 906 */, 0x8C98F463B91691BDLL /* 907 */, 482 0x4B76ECA3C2745360LL /* 906 */, 0x8C98F463B91691BDLL /* 907 */,
483 0x14BCC93CF1ADE66ALL /* 908 */, 0x8885213E6D458397LL /* 909 */, 483 0x14BCC93CF1ADE66ALL /* 908 */, 0x8885213E6D458397LL /* 909 */,
484 0x8E177DF0274D4711LL /* 910 */, 0xB49B73B5503F2951LL /* 911 */, 484 0x8E177DF0274D4711LL /* 910 */, 0xB49B73B5503F2951LL /* 911 */,
485 0x10168168C3F96B6BLL /* 912 */, 0x0E3D963B63CAB0AELL /* 913 */, 485 0x10168168C3F96B6BLL /* 912 */, 0x0E3D963B63CAB0AELL /* 913 */,
486 0x8DFC4B5655A1DB14LL /* 914 */, 0xF789F1356E14DE5CLL /* 915 */, 486 0x8DFC4B5655A1DB14LL /* 914 */, 0xF789F1356E14DE5CLL /* 915 */,
487 0x683E68AF4E51DAC1LL /* 916 */, 0xC9A84F9D8D4B0FD9LL /* 917 */, 487 0x683E68AF4E51DAC1LL /* 916 */, 0xC9A84F9D8D4B0FD9LL /* 917 */,
488 0x3691E03F52A0F9D1LL /* 918 */, 0x5ED86E46E1878E80LL /* 919 */, 488 0x3691E03F52A0F9D1LL /* 918 */, 0x5ED86E46E1878E80LL /* 919 */,
489 0x3C711A0E99D07150LL /* 920 */, 0x5A0865B20C4E9310LL /* 921 */, 489 0x3C711A0E99D07150LL /* 920 */, 0x5A0865B20C4E9310LL /* 921 */,
490 0x56FBFC1FE4F0682ELL /* 922 */, 0xEA8D5DE3105EDF9BLL /* 923 */, 490 0x56FBFC1FE4F0682ELL /* 922 */, 0xEA8D5DE3105EDF9BLL /* 923 */,
491 0x71ABFDB12379187ALL /* 924 */, 0x2EB99DE1BEE77B9CLL /* 925 */, 491 0x71ABFDB12379187ALL /* 924 */, 0x2EB99DE1BEE77B9CLL /* 925 */,
492 0x21ECC0EA33CF4523LL /* 926 */, 0x59A4D7521805C7A1LL /* 927 */, 492 0x21ECC0EA33CF4523LL /* 926 */, 0x59A4D7521805C7A1LL /* 927 */,
493 0x3896F5EB56AE7C72LL /* 928 */, 0xAA638F3DB18F75DCLL /* 929 */, 493 0x3896F5EB56AE7C72LL /* 928 */, 0xAA638F3DB18F75DCLL /* 929 */,
494 0x9F39358DABE9808ELL /* 930 */, 0xB7DEFA91C00B72ACLL /* 931 */, 494 0x9F39358DABE9808ELL /* 930 */, 0xB7DEFA91C00B72ACLL /* 931 */,
495 0x6B5541FD62492D92LL /* 932 */, 0x6DC6DEE8F92E4D5BLL /* 933 */, 495 0x6B5541FD62492D92LL /* 932 */, 0x6DC6DEE8F92E4D5BLL /* 933 */,
496 0x353F57ABC4BEEA7ELL /* 934 */, 0x735769D6DA5690CELL /* 935 */, 496 0x353F57ABC4BEEA7ELL /* 934 */, 0x735769D6DA5690CELL /* 935 */,
497 0x0A234AA642391484LL /* 936 */, 0xF6F9508028F80D9DLL /* 937 */, 497 0x0A234AA642391484LL /* 936 */, 0xF6F9508028F80D9DLL /* 937 */,
498 0xB8E319A27AB3F215LL /* 938 */, 0x31AD9C1151341A4DLL /* 939 */, 498 0xB8E319A27AB3F215LL /* 938 */, 0x31AD9C1151341A4DLL /* 939 */,
499 0x773C22A57BEF5805LL /* 940 */, 0x45C7561A07968633LL /* 941 */, 499 0x773C22A57BEF5805LL /* 940 */, 0x45C7561A07968633LL /* 941 */,
500 0xF913DA9E249DBE36LL /* 942 */, 0xDA652D9B78A64C68LL /* 943 */, 500 0xF913DA9E249DBE36LL /* 942 */, 0xDA652D9B78A64C68LL /* 943 */,
501 0x4C27A97F3BC334EFLL /* 944 */, 0x76621220E66B17F4LL /* 945 */, 501 0x4C27A97F3BC334EFLL /* 944 */, 0x76621220E66B17F4LL /* 945 */,
502 0x967743899ACD7D0BLL /* 946 */, 0xF3EE5BCAE0ED6782LL /* 947 */, 502 0x967743899ACD7D0BLL /* 946 */, 0xF3EE5BCAE0ED6782LL /* 947 */,
503 0x409F753600C879FCLL /* 948 */, 0x06D09A39B5926DB6LL /* 949 */, 503 0x409F753600C879FCLL /* 948 */, 0x06D09A39B5926DB6LL /* 949 */,
504 0x6F83AEB0317AC588LL /* 950 */, 0x01E6CA4A86381F21LL /* 951 */, 504 0x6F83AEB0317AC588LL /* 950 */, 0x01E6CA4A86381F21LL /* 951 */,
505 0x66FF3462D19F3025LL /* 952 */, 0x72207C24DDFD3BFBLL /* 953 */, 505 0x66FF3462D19F3025LL /* 952 */, 0x72207C24DDFD3BFBLL /* 953 */,
506 0x4AF6B6D3E2ECE2EBLL /* 954 */, 0x9C994DBEC7EA08DELL /* 955 */, 506 0x4AF6B6D3E2ECE2EBLL /* 954 */, 0x9C994DBEC7EA08DELL /* 955 */,
507 0x49ACE597B09A8BC4LL /* 956 */, 0xB38C4766CF0797BALL /* 957 */, 507 0x49ACE597B09A8BC4LL /* 956 */, 0xB38C4766CF0797BALL /* 957 */,
508 0x131B9373C57C2A75LL /* 958 */, 0xB1822CCE61931E58LL /* 959 */, 508 0x131B9373C57C2A75LL /* 958 */, 0xB1822CCE61931E58LL /* 959 */,
509 0x9D7555B909BA1C0CLL /* 960 */, 0x127FAFDD937D11D2LL /* 961 */, 509 0x9D7555B909BA1C0CLL /* 960 */, 0x127FAFDD937D11D2LL /* 961 */,
510 0x29DA3BADC66D92E4LL /* 962 */, 0xA2C1D57154C2ECBCLL /* 963 */, 510 0x29DA3BADC66D92E4LL /* 962 */, 0xA2C1D57154C2ECBCLL /* 963 */,
511 0x58C5134D82F6FE24LL /* 964 */, 0x1C3AE3515B62274FLL /* 965 */, 511 0x58C5134D82F6FE24LL /* 964 */, 0x1C3AE3515B62274FLL /* 965 */,
512 0xE907C82E01CB8126LL /* 966 */, 0xF8ED091913E37FCBLL /* 967 */, 512 0xE907C82E01CB8126LL /* 966 */, 0xF8ED091913E37FCBLL /* 967 */,
513 0x3249D8F9C80046C9LL /* 968 */, 0x80CF9BEDE388FB63LL /* 969 */, 513 0x3249D8F9C80046C9LL /* 968 */, 0x80CF9BEDE388FB63LL /* 969 */,
514 0x1881539A116CF19ELL /* 970 */, 0x5103F3F76BD52457LL /* 971 */, 514 0x1881539A116CF19ELL /* 970 */, 0x5103F3F76BD52457LL /* 971 */,
515 0x15B7E6F5AE47F7A8LL /* 972 */, 0xDBD7C6DED47E9CCFLL /* 973 */, 515 0x15B7E6F5AE47F7A8LL /* 972 */, 0xDBD7C6DED47E9CCFLL /* 973 */,
516 0x44E55C410228BB1ALL /* 974 */, 0xB647D4255EDB4E99LL /* 975 */, 516 0x44E55C410228BB1ALL /* 974 */, 0xB647D4255EDB4E99LL /* 975 */,
517 0x5D11882BB8AAFC30LL /* 976 */, 0xF5098BBB29D3212ALL /* 977 */, 517 0x5D11882BB8AAFC30LL /* 976 */, 0xF5098BBB29D3212ALL /* 977 */,
518 0x8FB5EA14E90296B3LL /* 978 */, 0x677B942157DD025ALL /* 979 */, 518 0x8FB5EA14E90296B3LL /* 978 */, 0x677B942157DD025ALL /* 979 */,
519 0xFB58E7C0A390ACB5LL /* 980 */, 0x89D3674C83BD4A01LL /* 981 */, 519 0xFB58E7C0A390ACB5LL /* 980 */, 0x89D3674C83BD4A01LL /* 981 */,
520 0x9E2DA4DF4BF3B93BLL /* 982 */, 0xFCC41E328CAB4829LL /* 983 */, 520 0x9E2DA4DF4BF3B93BLL /* 982 */, 0xFCC41E328CAB4829LL /* 983 */,
521 0x03F38C96BA582C52LL /* 984 */, 0xCAD1BDBD7FD85DB2LL /* 985 */, 521 0x03F38C96BA582C52LL /* 984 */, 0xCAD1BDBD7FD85DB2LL /* 985 */,
522 0xBBB442C16082AE83LL /* 986 */, 0xB95FE86BA5DA9AB0LL /* 987 */, 522 0xBBB442C16082AE83LL /* 986 */, 0xB95FE86BA5DA9AB0LL /* 987 */,
523 0xB22E04673771A93FLL /* 988 */, 0x845358C9493152D8LL /* 989 */, 523 0xB22E04673771A93FLL /* 988 */, 0x845358C9493152D8LL /* 989 */,
524 0xBE2A488697B4541ELL /* 990 */, 0x95A2DC2DD38E6966LL /* 991 */, 524 0xBE2A488697B4541ELL /* 990 */, 0x95A2DC2DD38E6966LL /* 991 */,
525 0xC02C11AC923C852BLL /* 992 */, 0x2388B1990DF2A87BLL /* 993 */, 525 0xC02C11AC923C852BLL /* 992 */, 0x2388B1990DF2A87BLL /* 993 */,
526 0x7C8008FA1B4F37BELL /* 994 */, 0x1F70D0C84D54E503LL /* 995 */, 526 0x7C8008FA1B4F37BELL /* 994 */, 0x1F70D0C84D54E503LL /* 995 */,
527 0x5490ADEC7ECE57D4LL /* 996 */, 0x002B3C27D9063A3ALL /* 997 */, 527 0x5490ADEC7ECE57D4LL /* 996 */, 0x002B3C27D9063A3ALL /* 997 */,
528 0x7EAEA3848030A2BFLL /* 998 */, 0xC602326DED2003C0LL /* 999 */, 528 0x7EAEA3848030A2BFLL /* 998 */, 0xC602326DED2003C0LL /* 999 */,
529 0x83A7287D69A94086LL /* 1000 */, 0xC57A5FCB30F57A8ALL /* 1001 */, 529 0x83A7287D69A94086LL /* 1000 */, 0xC57A5FCB30F57A8ALL /* 1001 */,
530 0xB56844E479EBE779LL /* 1002 */, 0xA373B40F05DCBCE9LL /* 1003 */, 530 0xB56844E479EBE779LL /* 1002 */, 0xA373B40F05DCBCE9LL /* 1003 */,
531 0xD71A786E88570EE2LL /* 1004 */, 0x879CBACDBDE8F6A0LL /* 1005 */, 531 0xD71A786E88570EE2LL /* 1004 */, 0x879CBACDBDE8F6A0LL /* 1005 */,
532 0x976AD1BCC164A32FLL /* 1006 */, 0xAB21E25E9666D78BLL /* 1007 */, 532 0x976AD1BCC164A32FLL /* 1006 */, 0xAB21E25E9666D78BLL /* 1007 */,
533 0x901063AAE5E5C33CLL /* 1008 */, 0x9818B34448698D90LL /* 1009 */, 533 0x901063AAE5E5C33CLL /* 1008 */, 0x9818B34448698D90LL /* 1009 */,
534 0xE36487AE3E1E8ABBLL /* 1010 */, 0xAFBDF931893BDCB4LL /* 1011 */, 534 0xE36487AE3E1E8ABBLL /* 1010 */, 0xAFBDF931893BDCB4LL /* 1011 */,
535 0x6345A0DC5FBBD519LL /* 1012 */, 0x8628FE269B9465CALL /* 1013 */, 535 0x6345A0DC5FBBD519LL /* 1012 */, 0x8628FE269B9465CALL /* 1013 */,
536 0x1E5D01603F9C51ECLL /* 1014 */, 0x4DE44006A15049B7LL /* 1015 */, 536 0x1E5D01603F9C51ECLL /* 1014 */, 0x4DE44006A15049B7LL /* 1015 */,
537 0xBF6C70E5F776CBB1LL /* 1016 */, 0x411218F2EF552BEDLL /* 1017 */, 537 0xBF6C70E5F776CBB1LL /* 1016 */, 0x411218F2EF552BEDLL /* 1017 */,
538 0xCB0C0708705A36A3LL /* 1018 */, 0xE74D14754F986044LL /* 1019 */, 538 0xCB0C0708705A36A3LL /* 1018 */, 0xE74D14754F986044LL /* 1019 */,
539 0xCD56D9430EA8280ELL /* 1020 */, 0xC12591D7535F5065LL /* 1021 */, 539 0xCD56D9430EA8280ELL /* 1020 */, 0xC12591D7535F5065LL /* 1021 */,
540 0xC83223F1720AEF96LL /* 1022 */, 0xC3A0396F7363A51FLL /* 1023 */ 540 0xC83223F1720AEF96LL /* 1022 */, 0xC3A0396F7363A51FLL /* 1023 */
541}; 541};
542 542
543#define t1 (table) 543#define t1 (table)
544#define t2 (table+256) 544#define t2 (table+256)
545#define t3 (table+256*2) 545#define t3 (table+256*2)
546#define t4 (table+256*3) 546#define t4 (table+256*3)
547 547
548#define SAVE_ABC() do { \ 548#define SAVE_ABC() do { \
549 aa = a; \ 549 aa = a; \
550 bb = b; \ 550 bb = b; \
551 cc = c; \ 551 cc = c; \
552} while (/* CONSTCOND */ 0) 552} while (/* CONSTCOND */ 0)
553 553
554#define ROUND(a,b,c,x,mul) \ 554#define ROUND(a,b,c,x,mul) \
555 do { \ 555 do { \
556 c ^= x; \ 556 c ^= x; \
557 a -= t1[(uint8_t)(c)] ^ \ 557 a -= t1[(uint8_t)(c)] ^ \
558 t2[(uint8_t)(((uint32_t)(c))>>(2*8))] ^ \ 558 t2[(uint8_t)(((uint32_t)(c))>>(2*8))] ^ \
559 t3[(uint8_t)((c)>>(4*8))] ^ \ 559 t3[(uint8_t)((c)>>(4*8))] ^ \
560 t4[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(2*8))]; \ 560 t4[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(2*8))]; \
561 b += t4[(uint8_t)(((uint32_t)(c))>>(1*8))] ^ \ 561 b += t4[(uint8_t)(((uint32_t)(c))>>(1*8))] ^ \
562 t3[(uint8_t)(((uint32_t)(c))>>(3*8))] ^ \ 562 t3[(uint8_t)(((uint32_t)(c))>>(3*8))] ^ \
563 t2[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(1*8))] ^ \ 563 t2[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(1*8))] ^ \
564 t1[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(3*8))]; \ 564 t1[(uint8_t)(((uint32_t)((c)>>(4*8)))>>(3*8))]; \
565 b *= mul; \ 565 b *= mul; \
566 } while (/* CONSTCOND */ 0) 566 } while (/* CONSTCOND */ 0)
567 567
568#define PASS(a,b,c,mul) \ 568#define PASS(a,b,c,mul) \
569 do { \ 569 do { \
570 ROUND(a,b,c,x0,mul); \ 570 ROUND(a,b,c,x0,mul); \
571 ROUND(b,c,a,x1,mul); \ 571 ROUND(b,c,a,x1,mul); \
572 ROUND(c,a,b,x2,mul); \ 572 ROUND(c,a,b,x2,mul); \
573 ROUND(a,b,c,x3,mul); \ 573 ROUND(a,b,c,x3,mul); \
574 ROUND(b,c,a,x4,mul); \ 574 ROUND(b,c,a,x4,mul); \
575 ROUND(c,a,b,x5,mul); \ 575 ROUND(c,a,b,x5,mul); \
576 ROUND(a,b,c,x6,mul); \ 576 ROUND(a,b,c,x6,mul); \
577 ROUND(b,c,a,x7,mul); \ 577 ROUND(b,c,a,x7,mul); \
578 } while (/* CONSTCOND */ 0) 578 } while (/* CONSTCOND */ 0)
579 579
580#define KEY_SCHEDULE() do { \ 580#define KEY_SCHEDULE() do { \
581 x0 -= x7 ^ 0xA5A5A5A5A5A5A5A5LL; \ 581 x0 -= x7 ^ 0xA5A5A5A5A5A5A5A5LL; \
582 x1 ^= x0; \ 582 x1 ^= x0; \
583 x2 += x1; \ 583 x2 += x1; \
584 x3 -= x2 ^ ((~x1)<<19); \ 584 x3 -= x2 ^ ((~x1)<<19); \
585 x4 ^= x3; \ 585 x4 ^= x3; \
586 x5 += x4; \ 586 x5 += x4; \
587 x6 -= x5 ^ ((~x4)>>23); \ 587 x6 -= x5 ^ ((~x4)>>23); \
588 x7 ^= x6; \ 588 x7 ^= x6; \
589 x0 += x7; \ 589 x0 += x7; \
590 x1 -= x0 ^ ((~x7)<<19); \ 590 x1 -= x0 ^ ((~x7)<<19); \
591 x2 ^= x1; \ 591 x2 ^= x1; \
592 x3 += x2; \ 592 x3 += x2; \
593 x4 -= x3 ^ ((~x2)>>23); \ 593 x4 -= x3 ^ ((~x2)>>23); \
594 x5 ^= x4; \ 594 x5 ^= x4; \
595 x6 += x5; \ 595 x6 += x5; \
596 x7 -= x6 ^ 0x0123456789ABCDEFLL; \ 596 x7 -= x6 ^ 0x0123456789ABCDEFLL; \
597} while (/* CONSTCOND */ 0) 597} while (/* CONSTCOND */ 0)
598 598
599#define FEEDFORWARD() do { \ 599#define FEEDFORWARD() do { \
600 a ^= aa; \ 600 a ^= aa; \
601 b -= bb; \ 601 b -= bb; \
602 c += cc; \ 602 c += cc; \
603} while (/* CONSTCOND */ 0) 603} while (/* CONSTCOND */ 0)
604 604
605#define COMPRESS() do { \ 605#define COMPRESS() do { \
606 SAVE_ABC(); \ 606 SAVE_ABC(); \
607 for(pass_no=0; pass_no < PASSES; pass_no++) { \ 607 for(pass_no=0; pass_no < PASSES; pass_no++) { \
608 if (pass_no != 0) { \ 608 if (pass_no != 0) { \
609 KEY_SCHEDULE(); \ 609 KEY_SCHEDULE(); \
610 } \ 610 } \
611 PASS(a,b,c,(pass_no==0?5:pass_no==1?7:9)); \ 611 PASS(a,b,c,(pass_no==0?5:pass_no==1?7:9)); \
612 tmpa=a; \ 612 tmpa=a; \
613 a=c; \ 613 a=c; \
614 c=b; \ 614 c=b; \
615 b=tmpa; \ 615 b=tmpa; \
616 } \ 616 } \
617 FEEDFORWARD(); \ 617 FEEDFORWARD(); \
618} while (/* CONSTCOND */ 0) 618} while (/* CONSTCOND */ 0)
619 619
620#define TIGER_COMPRESS_MACRO(str, state) do { \ 620#define TIGER_COMPRESS_MACRO(str, state) do { \
621 uint64_t a, b, c, tmpa; \ 621 uint64_t a, b, c, tmpa; \
622 uint64_t aa, bb, cc; \ 622 uint64_t aa, bb, cc; \
623 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; \ 623 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; \
624 int pass_no; \ 624 int pass_no; \
625 \ 625 \
626 a = state[0]; \ 626 a = state[0]; \
627 b = state[1]; \ 627 b = state[1]; \
628 c = state[2]; \ 628 c = state[2]; \
629 \ 629 \
630 x0=str[0]; x1=str[1]; x2=str[2]; x3=str[3]; \ 630 x0=str[0]; x1=str[1]; x2=str[2]; x3=str[3]; \
631 x4=str[4]; x5=str[5]; x6=str[6]; x7=str[7]; \ 631 x4=str[4]; x5=str[5]; x6=str[6]; x7=str[7]; \
632 \ 632 \
633 COMPRESS(); \ 633 COMPRESS(); \
634 \ 634 \
635 state[0] = a; \ 635 state[0] = a; \
636 state[1] = b; \ 636 state[1] = b; \
637 state[2] = c; \ 637 state[2] = c; \
638} while (/* CONSTCOND */ 0) 638} while (/* CONSTCOND */ 0)
639 639
640/* The compress function is a function. Requires smaller cache? */ 640/* The compress function is a function. Requires smaller cache? */
641static void 641static void
642tiger_compress(const uint64_t * str, uint64_t state[3]) 642tiger_compress(const uint64_t * str, uint64_t state[3])
643{ 643{
644 TIGER_COMPRESS_MACRO(((const uint64_t *) str), ((uint64_t *) state)); 644 TIGER_COMPRESS_MACRO(((const uint64_t *) str), ((uint64_t *) state));
645} 645}
646 646
647void 647void
648TIGERInit(tiger_context_t *tp) 648TIGERInit(tiger_context_t *tp)
649{ 649{
650 tp->ctx[0] = 0x0123456789ABCDEFLL; 650 tp->ctx[0] = 0x0123456789ABCDEFLL;
651 tp->ctx[1] = 0xFEDCBA9876543210LL; 651 tp->ctx[1] = 0xFEDCBA9876543210LL;
652 tp->ctx[2] = 0xF096A5B4C3B2E187LL; 652 tp->ctx[2] = 0xF096A5B4C3B2E187LL;
 653 tp->first_time = 1;
653} 654}
654 655
655void 656void
656TIGERUpdate(tiger_context_t *tp, const uint8_t *data, size_t len) 657TIGERUpdate(tiger_context_t *tp, const uint8_t *data, size_t len)
657{ 658{
658 const uint64_t *str = (const uint64_t *)data; 659 const uint64_t *str = (const uint64_t *)data;
659 uint64_t i; 660 uint64_t i;
660 uint64_t j; 661 uint64_t j;
661 uint8_t temp[64]; 662 uint8_t temp[64];
662 663
663 for (i = len; i >= 64; i -= 64) { 664 for (i = len; i >= 64; i -= 64) {
664#ifdef WORDS_BIGENDIAN 665#ifdef WORDS_BIGENDIAN
665 for (j = 0; j < 64; j++) { 666 for (j = 0; j < 64; j++) {
666 temp[j ^ 7] = ((uint8_t *) str)[j]; 667 temp[j ^ 7] = ((uint8_t *) str)[j];
667 } 668 }
668 tiger_compress(((const uint64_t *) temp), tp->ctx); 669 tiger_compress(((const uint64_t *) temp), tp->ctx);
669#else 670#else
670 tiger_compress(str, tp->ctx); 671 tiger_compress(str, tp->ctx);
671#endif 672#endif
672 str += 8; 673 str += 8;
673 } 674 }
674 675
675#ifdef WORDS_BIGENDIAN 676#ifdef WORDS_BIGENDIAN
676 for (j = 0; j < i; j++) { 677 for (j = 0; j < i; j++) {
677 temp[j ^ 7] = ((uint8_t *) str)[j]; 678 temp[j ^ 7] = ((uint8_t *) str)[j];
678 } 679 }
679 680
680 temp[j ^ 7] = 0x01; 681 temp[j ^ 7] = 0x01;
681 j++; 682 j++;
682 for (; j & 7; j++) { 683 for (; j & 7; j++) {
683 temp[j ^ 7] = 0; 684 temp[j ^ 7] = 0;
684 } 685 }
685#else 686#else
686 for (j = 0; j < i; j++) { 687 for (j = 0; j < i; j++) {
687 temp[j] = ((const uint8_t *) str)[j]; 688 temp[j] = ((const uint8_t *) str)[j];
688 } 689 }
689 690
690 temp[j++] = 0x01; 691 temp[j++] = 0x01;
691 for (; j & 7; j++) { 692 for (; j & 7; j++) {
692 temp[j] = 0; 693 temp[j] = 0;
693 } 694 }
694#endif 695#endif
695 if (j > 56) { 696 if (j > 56) {
696 for (; j < 64; j++) { 697 for (; j < 64; j++) {
697 temp[j] = 0; 698 temp[j] = 0;
698 } 699 }
699 tiger_compress(((uint64_t *) temp), tp->ctx); 700 tiger_compress(((uint64_t *) temp), tp->ctx);
700 j = 0; 701 j = 0;
701 } 702 }
702 for (; j < 56; j++) { 703 for (; j < 56; j++) {
703 temp[j] = 0; 704 temp[j] = 0;
704 } 705 }
705 ((uint64_t *) (&(temp[56])))[0] = ((uint64_t) len) << 3; 706 ((uint64_t *) (&(temp[56])))[0] = ((uint64_t) len) << 3;
706 tiger_compress(((uint64_t *) temp), tp->ctx); 707 tiger_compress(((uint64_t *) temp), tp->ctx);
 708 tp->first_time = 0;
707} 709}
708 710
709void 711void
710TIGERFinal(uint8_t *digest, tiger_context_t *tp) 712TIGERFinal(uint8_t *digest, tiger_context_t *tp)
711{ 713{
712 /* nothing to do - included for compatibility with SHA* interface */ 714 if (tp->first_time)
 715 TIGERUpdate(tp, NULL, 0);
713} 716}
714 717
715static void 718static void
716print_uint64(char *buf, uint64_t val) 719print_uint64(char *buf, uint64_t val)
717{ 720{
718 int i = 0; 721 int i = 0;
719 static const char hexdigits[] = "0123456789abcdef"; 722 static const char hexdigits[] = "0123456789abcdef";
720 723
721 for (i = 0; i < 8; ++i) { 724 for (i = 0; i < 8; ++i) {
722 buf[2 * i] = hexdigits[(val >> (56 - 8 * i + 4)) & 15]; 725 buf[2 * i] = hexdigits[(val >> (56 - 8 * i + 4)) & 15];
723 buf[2 * i + 1] = hexdigits[(val >> (56 - 8 * i)) & 15]; 726 buf[2 * i + 1] = hexdigits[(val >> (56 - 8 * i)) & 15];
724 } 727 }
725} 728}
726 729
727char * 730char *
728TIGEREnd(tiger_context_t *tp, char *buf) 731TIGEREnd(tiger_context_t *tp, char *buf)
729{  732{
730 int i; 733 int i;
731 734
732 if (buf == NULL && (buf = malloc(41)) == NULL) { 735 if (buf == NULL && (buf = malloc(41)) == NULL) {
733 return NULL; 736 return NULL;
734 } 737 }
735 738
 739 if (tp->first_time)
 740 TIGERUpdate(tp, NULL, 0);
 741
736 for (i = 0; i < 3; ++i) 742 for (i = 0; i < 3; ++i)
737 print_uint64(buf + i * 16, tp->ctx[i]); 743 print_uint64(buf + i * 16, tp->ctx[i]);
738 buf[16 * i] = '\0'; 744 buf[16 * i] = '\0';
739 745
740 return buf; 746 return buf;
741} 747}
742 748
743 749
744char * 750char *
745TIGERFile(char *filename, char *buf) 751TIGERFile(char *filename, char *buf)
746{  752{
747 tiger_context_t ctx; 753 tiger_context_t ctx;
748 uint8_t buffer[BUFSIZ]; 754 uint8_t buffer[BUFSIZ];
749 int fd; 755 int fd;
750 ssize_t num; 756 ssize_t num;
751 int oerrno; 757 int oerrno;
752 758
753 TIGERInit(&ctx); 759 TIGERInit(&ctx);
754 760
755 if ((fd = open(filename, O_RDONLY)) < 0) { 761 if ((fd = open(filename, O_RDONLY)) < 0) {
756 return 0; 762 return 0;
757 } 763 }
758 764
759 while ((num = read(fd, buffer, sizeof(buffer))) > 0) { 765 while ((num = read(fd, buffer, sizeof(buffer))) > 0) {
760 TIGERUpdate(&ctx, buffer, (size_t)num); 766 TIGERUpdate(&ctx, buffer, (size_t)num);
761 } 767 }
762 768
763 oerrno = errno; 769 oerrno = errno;
764 close(fd); 770 close(fd);
765 errno = oerrno; 771 errno = oerrno;
766 772
767 return (num < 0) ? 0 : TIGEREnd(&ctx, buf); 773 return (num < 0) ? 0 : TIGEREnd(&ctx, buf);
768} 774}
769 775
770 776
771char * 777char *
772TIGERData(const uint8_t *data, size_t len, char *buf) 778TIGERData(const uint8_t *data, size_t len, char *buf)
773{  779{
774 tiger_context_t ctx; 780 tiger_context_t ctx;
775 781
776 TIGERInit(&ctx); 782 TIGERInit(&ctx);
777 TIGERUpdate(&ctx, data, len); 783 TIGERUpdate(&ctx, data, len);
778 return(TIGEREnd(&ctx, buf)); 784 return(TIGEREnd(&ctx, buf));
779} 785}

cvs diff -r1.4 -r1.4.6.1 pkgsrc/pkgtools/digest/files/tiger.h (switch to unified diff)

--- pkgsrc/pkgtools/digest/files/tiger.h 2007/09/21 18:44:38 1.4
+++ pkgsrc/pkgtools/digest/files/tiger.h 2008/05/10 00:53:12 1.4.6.1
@@ -1,57 +1,58 @@ @@ -1,57 +1,58 @@
1/* $NetBSD: tiger.h,v 1.4 2007/09/21 18:44:38 joerg Exp $ */ 1/* $NetBSD: tiger.h,v 1.4.6.1 2008/05/10 00:53:12 rtr Exp $ */
2 2
3/* 3/*
4 * Copyright © 2005 Alistair Crooks. All rights reserved. 4 * Copyright © 2005 Alistair Crooks. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 3. All advertising materials mentioning features or use of this software 14 * 3. All advertising materials mentioning features or use of this software
15 * must display the following acknowledgement: 15 * must display the following acknowledgement:
16 * This product includes software developed by Alistair Crooks 16 * This product includes software developed by Alistair Crooks
17 * for the NetBSD project. 17 * for the NetBSD project.
18 * 4. The name of the author may not be used to endorse or promote 18 * 4. The name of the author may not be used to endorse or promote
19 * products derived from this software without specific prior written 19 * products derived from this software without specific prior written
20 * permission. 20 * permission.
21 * 21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
23 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
26 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
28 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34#ifndef TIGER_H_ 34#ifndef TIGER_H_
35#define TIGER_H_ 35#define TIGER_H_
36 36
37#ifdef HAVE_INTTYPES_H 37#ifdef HAVE_INTTYPES_H
38#include <inttypes.h> 38#include <inttypes.h>
39#endif 39#endif
40 40
41#ifdef HAVE_STDINT_H 41#ifdef HAVE_STDINT_H
42#include <stdint.h> 42#include <stdint.h>
43#endif 43#endif
44 44
45typedef struct tiger_context_t { 45typedef struct tiger_context_t {
46 uint64_t ctx[3]; 46 uint64_t ctx[3];
 47 int first_time;
47} tiger_context_t; 48} tiger_context_t;
48 49
49void TIGERInit(tiger_context_t *); 50void TIGERInit(tiger_context_t *);
50void TIGERUpdate(tiger_context_t *, const uint8_t *, size_t); 51void TIGERUpdate(tiger_context_t *, const uint8_t *, size_t);
51void TIGERFinal(uint8_t *, tiger_context_t *); 52void TIGERFinal(uint8_t *, tiger_context_t *);
52 53
53char *TIGEREnd(tiger_context_t *, char *); 54char *TIGEREnd(tiger_context_t *, char *);
54char *TIGERFile(char *, char *); 55char *TIGERFile(char *, char *);
55char *TIGERData(const uint8_t *, size_t, char *); 56char *TIGERData(const uint8_t *, size_t, char *);
56 57
57#endif 58#endif