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 (expand / 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,176 +1,195 @@ @@ -1,176 +1,195 @@
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 () {
@@ -232,48 +251,48 @@ do @@ -232,48 +251,48 @@ do
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 () {
@@ -333,30 +352,30 @@ test $exitcode = 0) || { (exit 1); exit  @@ -333,30 +352,30 @@ test $exitcode = 0) || { (exit 1); exit
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
@@ -405,29 +424,30 @@ if as_func_ret_failure; then @@ -405,29 +424,30 @@ if 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
@@ -443,27 +463,27 @@ test \$exitcode = 0") || { @@ -443,27 +463,27 @@ test \$exitcode = 0") || {
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
@@ -471,80 +491,82 @@ else @@ -471,80 +491,82 @@ else
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'"
@@ -564,28 +586,28 @@ ac_hostname=`(hostname || uname -n) 2>/d @@ -564,28 +586,28 @@ ac_hostname=`(hostname || uname -n) 2>/d
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
@@ -672,40 +694,45 @@ EXEEXT @@ -672,40 +694,45 @@ EXEEXT
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=
@@ -784,52 +811,68 @@ do @@ -784,52 +811,68 @@ do
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 ;;
@@ -1000,313 +1043,347 @@ do @@ -1000,313 +1043,347 @@ do
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=.
@@ -1322,51 +1399,51 @@ case $srcdir in @@ -1322,51 +1399,51 @@ case $srcdir in
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`
@@ -1382,27 +1459,27 @@ uname -v = `(uname -v) 2>/dev/null || ec @@ -1382,27 +1459,27 @@ uname -v = `(uname -v) 2>/dev/null || ec
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
@@ -1417,27 +1494,27 @@ ac_configure_args= @@ -1417,27 +1494,27 @@ ac_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)
@@ -1469,31 +1546,32 @@ trap 'exit_status=$? @@ -1469,31 +1546,32 @@ trap 'exit_status=$?
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"
@@ -1503,63 +1581,63 @@ echo "$as_me: WARNING: Cache variable $a @@ -1503,63 +1581,63 @@ echo "$as_me: WARNING: Cache variable $a
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
@@ -1581,109 +1659,121 @@ _ACEOF @@ -1581,109 +1659,121 @@ _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
@@ -1706,1027 +1796,1036 @@ ac_cpp='$CPP $CPPFLAGS' @@ -1706,1027 +1796,1036 @@ ac_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>
@@ -2777,91 +2876,93 @@ return f (e, argv, 0) != argv[0] || f  @@ -2777,91 +2876,93 @@ return f (e, argv, 0) != argv[0] || f
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 *)
@@ -2870,92 +2971,104 @@ case $as_dir/ in @@ -2870,92 +2971,104 @@ case $as_dir/ in
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.
@@ -2967,104 +3080,106 @@ cat >>conftest.$ac_ext <<_ACEOF @@ -2967,104 +3080,106 @@ cat >>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
@@ -3072,313 +3187,288 @@ cat >>conftest.$ac_ext <<_ACEOF @@ -3072,313 +3187,288 @@ cat >>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
@@ -3450,436 +3540,452 @@ main () @@ -3450,436 +3540,452 @@ main ()
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 ()
@@ -3887,75 +3993,76 @@ main () @@ -3887,75 +3993,76 @@ main ()
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 ()
@@ -3963,71 +4070,72 @@ main () @@ -3963,71 +4070,72 @@ main ()
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 ()
@@ -4035,75 +4143,76 @@ main () @@ -4035,75 +4143,76 @@ main ()
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 ()
@@ -4111,385 +4220,546 @@ main () @@ -4111,385 +4220,546 @@ main ()
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.
@@ -4522,64 +4792,70 @@ int @@ -4522,64 +4792,70 @@ int
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 ()
@@ -4590,40 +4866,41 @@ main () @@ -4590,40 +4866,41 @@ main ()
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.
@@ -4644,72 +4921,75 @@ main () @@ -4644,72 +4921,75 @@ main ()
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.
@@ -4742,61 +5022,67 @@ int @@ -4742,61 +5022,67 @@ int
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.
@@ -4829,75 +5115,79 @@ int @@ -4829,75 +5115,79 @@ int
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.
@@ -4930,55 +5220,61 @@ int @@ -4930,55 +5220,61 @@ int
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
@@ -4997,31 +5293,32 @@ cat >confcache <<\_ACEOF @@ -4997,31 +5293,32 @@ cat >confcache <<\_ACEOF
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"
@@ -5034,205 +5331,225 @@ echo "$as_me: WARNING: Cache variable $a @@ -5034,205 +5331,225 @@ echo "$as_me: WARNING: Cache variable $a
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'`
@@ -5263,27 +5580,27 @@ $as_unset CDPATH @@ -5263,27 +5580,27 @@ $as_unset CDPATH
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
@@ -5291,263 +5608,274 @@ else @@ -5291,263 +5608,274 @@ else
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
@@ -5567,179 +5895,305 @@ $debug || @@ -5567,179 +5895,305 @@ $debug ||
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
@@ -5748,122 +6202,134 @@ echo "$as_me: error: Invalid tag $ac_tag @@ -5748,122 +6202,134 @@ echo "$as_me: error: Invalid tag $ac_tag
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=.
@@ -5883,213 +6349,164 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ @@ -5883,213 +6349,164 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
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 (expand / 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,17 +1,17 @@ @@ -1,17 +1,17 @@
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

cvs diff -r1.8 -r1.8.6.1 pkgsrc/pkgtools/digest/files/sha2.c (expand / 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
@@ -804,27 +804,27 @@ SHA512_Update(SHA512_CTX* context, const @@ -804,27 +804,27 @@ SHA512_Update(SHA512_CTX* context, const
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 {

cvs diff -r1.5 -r1.5.6.1 pkgsrc/pkgtools/digest/files/tiger.c (expand / 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
@@ -640,26 +640,27 @@ uint64_t table[4*256] = { @@ -640,26 +640,27 @@ uint64_t table[4*256] = {
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++) {
@@ -694,55 +695,60 @@ TIGERUpdate(tiger_context_t *tp, const u @@ -694,55 +695,60 @@ TIGERUpdate(tiger_context_t *tp, const u
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];

cvs diff -r1.4 -r1.4.6.1 pkgsrc/pkgtools/digest/files/tiger.h (expand / 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,14 +1,14 @@ @@ -1,14 +1,14 @@
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
@@ -34,24 +34,25 @@ @@ -34,24 +34,25 @@
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