Sun May 11 18:38:15 2008 UTC ()
As workaround for PR 38625, rebuild with autoconf 2.61.


(joerg)
diff -r1.13 -r1.14 pkgsrc/pkgtools/digest/files/configure

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

--- pkgsrc/pkgtools/digest/files/configure 2008/05/09 15:00:32 1.13
+++ pkgsrc/pkgtools/digest/files/configure 2008/05/11 18:38:15 1.14
@@ -1,195 +1,176 @@ @@ -1,195 +1,176 @@
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.62 for nbsd-digest 20080509. 3# Generated by GNU Autoconf 2.61 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, 2007, 2008 Free Software Foundation, Inc. 8# 2002, 2003, 2004, 2005, 2006 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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 20 # Zsh 3.x and 4.x performs 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
42as_nl=' 
43' 
44export as_nl 
45# Printing a long string crashes Solaris 7 /usr/bin/printf. 
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
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' 
56 else 
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' 
69 fi 
70 export as_echo_body 
71 as_echo='sh -c $as_echo_body as_echo' 
72fi 
73 
74# The user is always right. 42# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then 43if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=: 44 echo "#! /bin/sh" >conf$$.sh
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 45 echo "exit 0" >>conf$$.sh
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 46 chmod +x conf$$.sh
79 PATH_SEPARATOR=';' 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
80 } 48 PATH_SEPARATOR=';'
 49 else
 50 PATH_SEPARATOR=:
 51 fi
 52 rm -f conf$$.sh
81fi 53fi
82 54
83# Support unset when possible. 55# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset 57 as_unset=unset
86else 58else
87 as_unset=false 59 as_unset=false
88fi 60fi
89 61
90 62
91# IFS 63# IFS
92# We need space, tab and new line, in precisely that order. Quoting is 64# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab. 65# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word 66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.) 67# splitting by setting IFS to empty value.)
 68as_nl='
 69'
96IFS=" "" $as_nl" 70IFS=" "" $as_nl"
97 71
98# Find who we are. Look in the path if we contain no directory separator. 72# Find who we are. Look in the path if we contain no directory separator.
99case $0 in 73case $0 in
100 *[\\/]* ) as_myself=$0 ;; 74 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH 76for as_dir in $PATH
103do 77do
104 IFS=$as_save_IFS 78 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=. 79 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done 81done
108IFS=$as_save_IFS 82IFS=$as_save_IFS
109 83
110 ;; 84 ;;
111esac 85esac
112# We did not find ourselves, most probably we were run as `sh COMMAND' 86# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path. 87# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then 88if test "x$as_myself" = x; then
115 as_myself=$0 89 as_myself=$0
116fi 90fi
117if test ! -f "$as_myself"; then 91if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; } 93 { (exit 1); exit 1; }
120fi 94fi
121 95
122# Work around bugs in pre-3.0 UWIN ksh. 96# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH 97for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done 99done
126PS1='$ ' 100PS1='$ '
127PS2='> ' 101PS2='> '
128PS4='+ ' 102PS4='+ '
129 103
130# NLS nuisances. 104# NLS nuisances.
131LC_ALL=C 105for as_var in \
132export LC_ALL 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
133LANGUAGE=C 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
134export LANGUAGE 108 LC_TELEPHONE LC_TIME
 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
135 116
136# Required to use basename. 117# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 && 118if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr 120 as_expr=expr
140else 121else
141 as_expr=false 122 as_expr=false
142fi 123fi
143 124
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename 126 as_basename=basename
146else 127else
147 as_basename=false 128 as_basename=false
148fi 129fi
149 130
150 131
151# Name of the executable. 132# Name of the executable.
152as_me=`$as_basename -- "$0" || 133as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \ 135 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" | 137echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 138 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/ 139 s//\1/
159 q 140 q
160 } 141 }
161 /^X\/\(\/\/\)$/{ 142 /^X\/\(\/\/\)$/{
162 s//\1/ 143 s//\1/
163 q 144 q
164 } 145 }
165 /^X\/\(\/\).*/{ 146 /^X\/\(\/\).*/{
166 s//\1/ 147 s//\1/
167 q 148 q
168 } 149 }
169 s/.*/./; q'` 150 s/.*/./; q'`
170 151
171# CDPATH. 152# CDPATH.
172$as_unset CDPATH 153$as_unset CDPATH
173 154
174 155
175if test "x$CONFIG_SHELL" = x; then 156if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then 157 if (eval ":") 2>/dev/null; then
177 as_have_required=yes 158 as_have_required=yes
178else 159else
179 as_have_required=no 160 as_have_required=no
180fi 161fi
181 162
182 if test $as_have_required = yes && (eval ": 163 if test $as_have_required = yes && (eval ":
183(as_func_return () { 164(as_func_return () {
184 (exit \$1) 165 (exit \$1)
185} 166}
186as_func_success () { 167as_func_success () {
187 as_func_return 0 168 as_func_return 0
188} 169}
189as_func_failure () { 170as_func_failure () {
190 as_func_return 1 171 as_func_return 1
191} 172}
192as_func_ret_success () { 173as_func_ret_success () {
193 return 0 174 return 0
194} 175}
195as_func_ret_failure () { 176as_func_ret_failure () {
@@ -251,48 +232,48 @@ do @@ -251,48 +232,48 @@ do
251 done;; 232 done;;
252 esac 233 esac
253done 234done
254IFS=$as_save_IFS 235IFS=$as_save_IFS
255 236
256 237
257 for as_shell in $as_candidate_shells $SHELL; do 238 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks. 239 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF 241 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh 243 emulate sh
263 NULLCMD=: 244 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature. 246 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"' 247 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST 248 setopt NO_GLOB_SUBST
268else 249else
269 case `(set -o) 2>/dev/null` in 250 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;; 251 *posix*) set -o posix ;;
271esac 252esac
272 253
273fi 254fi
274 255
275 256
276: 257:
277_ASEOF 258_ASEOF
278}; then 259}; then
279 CONFIG_SHELL=$as_shell 260 CONFIG_SHELL=$as_shell
280 as_have_required=yes 261 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF 262 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh 264 emulate sh
284 NULLCMD=: 265 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature. 267 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"' 268 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST 269 setopt NO_GLOB_SUBST
289else 270else
290 case `(set -o) 2>/dev/null` in 271 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;; 272 *posix*) set -o posix ;;
292esac 273esac
293 274
294fi 275fi
295 276
296 277
297: 278:
298(as_func_return () { 279(as_func_return () {
@@ -352,30 +333,30 @@ test $exitcode = 0) || { (exit 1); exit  @@ -352,30 +333,30 @@ test $exitcode = 0) || { (exit 1); exit
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353 334
354_ASEOF 335_ASEOF
355}; then 336}; then
356 break 337 break
357fi 338fi
358 339
359fi 340fi
360 341
361 done 342 done
362 343
363 if test "x$CONFIG_SHELL" != x; then 344 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV 345 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done 347 done
367 export CONFIG_SHELL 348 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi 350fi
370 351
371 352
372 if test $as_have_required = no; then 353 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the 354 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a 355 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a 356 echo modern shell, or manually run the script under such a
376 echo shell if you do have one. 357 echo shell if you do have one.
377 { (exit 1); exit 1; } 358 { (exit 1); exit 1; }
378fi 359fi
379 360
380 361
381fi 362fi
@@ -424,30 +405,29 @@ if as_func_ret_failure; then @@ -424,30 +405,29 @@ if as_func_ret_failure; then
424 exitcode=1 405 exitcode=1
425 echo as_func_ret_failure succeeded. 406 echo as_func_ret_failure succeeded.
426fi 407fi
427 408
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 : 410 :
430else 411else
431 exitcode=1 412 exitcode=1
432 echo positional parameters were not saved. 413 echo positional parameters were not saved.
433fi 414fi
434 415
435test \$exitcode = 0") || { 416test \$exitcode = 0") || {
436 echo No shell found that supports shell functions. 417 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system, 418 echo Please tell autoconf@gnu.org about your system,
438 echo including any error possibly output before this message. 419 echo including any error possibly output before this
439 echo This can help us improve future autoconf versions. 420 echo message
440 echo Configuration will now proceed without shell functions. 
441} 421}
442 422
443 423
444 424
445 as_lineno_1=$LINENO 425 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO 426 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" && 427 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449 429
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a 431 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed' 432 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each 433 # does the real work. The second script uses 'N' to pair each
@@ -463,27 +443,27 @@ test \$exitcode = 0") || { @@ -463,27 +443,27 @@ test \$exitcode = 0") || {
463 ' <$as_myself | 443 ' <$as_myself |
464 sed ' 444 sed '
465 s/[$]LINENO.*/&-/ 445 s/[$]LINENO.*/&-/
466 t lineno 446 t lineno
467 b 447 b
468 :lineno 448 :lineno
469 N 449 N
470 :loop 450 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop 452 t loop
473 s/-\n.*// 453 s/-\n.*//
474 ' >$as_me.lineno && 454 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" || 455 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; } 457 { (exit 1); exit 1; }; }
478 458
479 # Don't try to exec as it changes $[0], causing all sort of problems 459 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the 460 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this). 461 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno" 462 . "./$as_me.lineno"
483 # Exit status is that of the last command. 463 # Exit status is that of the last command.
484 exit 464 exit
485} 465}
486 466
487 467
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname 469 as_dirname=dirname
@@ -491,82 +471,80 @@ else @@ -491,82 +471,80 @@ else
491 as_dirname=false 471 as_dirname=false
492fi 472fi
493 473
494ECHO_C= ECHO_N= ECHO_T= 474ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in 475case `echo -n x` in
496-n*) 476-n*)
497 case `echo 'x\c'` in 477 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';; 479 *) ECHO_C='\c';;
500 esac;; 480 esac;;
501*) 481*)
502 ECHO_N='-n';; 482 ECHO_N='-n';;
503esac 483esac
 484
504if expr a : '\(a\)' >/dev/null 2>&1 && 485if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr 487 as_expr=expr
507else 488else
508 as_expr=false 489 as_expr=false
509fi 490fi
510 491
511rm -f conf$$ conf$$.exe conf$$.file 492rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then 493if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file 494 rm -f conf$$.dir/conf$$.file
514else 495else
515 rm -f conf$$.dir 496 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null 497 mkdir conf$$.dir
517fi 498fi
518if (echo >conf$$.file) 2>/dev/null; then 499echo >conf$$.file
519 if ln -s conf$$.file conf$$ 2>/dev/null; then 500if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s' 501 as_ln_s='ln -s'
521 # ... but there are two gotchas: 502 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'. 505 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 506 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 
530 as_ln_s='cp -p' 507 as_ln_s='cp -p'
531 fi 508elif ln conf$$.file conf$$ 2>/dev/null; then
 509 as_ln_s=ln
532else 510else
533 as_ln_s='cp -p' 511 as_ln_s='cp -p'
534fi 512fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null 514rmdir conf$$.dir 2>/dev/null
537 515
538if mkdir -p . 2>/dev/null; then 516if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=: 517 as_mkdir_p=:
540else 518else
541 test -d ./-p && rmdir ./-p 519 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false 520 as_mkdir_p=false
543fi 521fi
544 522
545if test -x / >/dev/null 2>&1; then 523if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x' 524 as_test_x='test -x'
547else 525else
548 if ls -dL / >/dev/null 2>&1; then 526 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L 527 as_ls_L_option=L
550 else 528 else
551 as_ls_L_option= 529 as_ls_L_option=
552 fi 530 fi
553 as_test_x=' 531 as_test_x='
554 eval sh -c '\'' 532 eval sh -c '\''
555 if test -d "$1"; then 533 if test -d "$1"; then
556 test -d "$1/."; 534 test -d "$1/.";
557 else 535 else
558 case $1 in 536 case $1 in
559 -*)set "./$1";; 537 -*)set "./$1";;
560 esac; 538 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi 540 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh 541 '\'' sh
564 ' 542 '
565fi 543fi
566as_executable_p=$as_test_x 544as_executable_p=$as_test_x
567 545
568# Sed expression to map a string onto a valid CPP name. 546# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570 548
571# Sed expression to map a string onto a valid variable name. 549# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
@@ -694,45 +672,40 @@ EXEEXT @@ -694,45 +672,40 @@ EXEEXT
694OBJEXT 672OBJEXT
695INSTALL_PROGRAM 673INSTALL_PROGRAM
696INSTALL_SCRIPT 674INSTALL_SCRIPT
697INSTALL_DATA 675INSTALL_DATA
698LN_S 676LN_S
699AUTOCONF 677AUTOCONF
700AUTOHEADER 678AUTOHEADER
701CPP 679CPP
702GREP 680GREP
703EGREP 681EGREP
704LIBOBJS 682LIBOBJS
705LTLIBOBJS' 683LTLIBOBJS'
706ac_subst_files='' 684ac_subst_files=''
707ac_user_opts=' 
708enable_option_checking 
709' 
710 ac_precious_vars='build_alias 685 ac_precious_vars='build_alias
711host_alias 686host_alias
712target_alias 687target_alias
713CC 688CC
714CFLAGS 689CFLAGS
715LDFLAGS 690LDFLAGS
716LIBS 691LIBS
717CPPFLAGS 692CPPFLAGS
718CPP' 693CPP'
719 694
720 695
721# Initialize some variables set by options. 696# Initialize some variables set by options.
722ac_init_help= 697ac_init_help=
723ac_init_version=false 698ac_init_version=false
724ac_unrecognized_opts= 
725ac_unrecognized_sep= 
726# The variables have the same names as the options, with 699# The variables have the same names as the options, with
727# dashes changed to underlines. 700# dashes changed to underlines.
728cache_file=/dev/null 701cache_file=/dev/null
729exec_prefix=NONE 702exec_prefix=NONE
730no_create= 703no_create=
731no_recursion= 704no_recursion=
732prefix=NONE 705prefix=NONE
733program_prefix=NONE 706program_prefix=NONE
734program_suffix=NONE 707program_suffix=NONE
735program_transform_name=s,x,x, 708program_transform_name=s,x,x,
736silent= 709silent=
737site= 710site=
738srcdir= 711srcdir=
@@ -811,68 +784,52 @@ do @@ -811,68 +784,52 @@ do
811 -datadir | --datadir | --datadi | --datad) 784 -datadir | --datadir | --datadi | --datad)
812 ac_prev=datadir ;; 785 ac_prev=datadir ;;
813 -datadir=* | --datadir=* | --datadi=* | --datad=*) 786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
814 datadir=$ac_optarg ;; 787 datadir=$ac_optarg ;;
815 788
816 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
817 | --dataroo | --dataro | --datar) 790 | --dataroo | --dataro | --datar)
818 ac_prev=datarootdir ;; 791 ac_prev=datarootdir ;;
819 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
820 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
821 datarootdir=$ac_optarg ;; 794 datarootdir=$ac_optarg ;;
822 795
823 -disable-* | --disable-*) 796 -disable-* | --disable-*)
824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
825 # Reject names that are not valid shell variable names. 798 # Reject names that are not valid shell variable names.
826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
827 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
828 { (exit 1); exit 1; }; } 801 { (exit 1); exit 1; }; }
829 ac_useropt_orig=$ac_useropt 802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 803 eval enable_$ac_feature=no ;;
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 ;; 
839 804
840 -docdir | --docdir | --docdi | --doc | --do) 805 -docdir | --docdir | --docdi | --doc | --do)
841 ac_prev=docdir ;; 806 ac_prev=docdir ;;
842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 docdir=$ac_optarg ;; 808 docdir=$ac_optarg ;;
844 809
845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
846 ac_prev=dvidir ;; 811 ac_prev=dvidir ;;
847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 dvidir=$ac_optarg ;; 813 dvidir=$ac_optarg ;;
849 814
850 -enable-* | --enable-*) 815 -enable-* | --enable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names. 817 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
854 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
855 { (exit 1); exit 1; }; } 820 { (exit 1); exit 1; }; }
856 ac_useropt_orig=$ac_useropt 821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 822 eval enable_$ac_feature=\$ac_optarg ;;
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 ;; 
866 823
867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869 | --exec | --exe | --ex) 826 | --exec | --exe | --ex)
870 ac_prev=exec_prefix ;; 827 ac_prev=exec_prefix ;;
871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873 | --exec=* | --exe=* | --ex=*) 830 | --exec=* | --exe=* | --ex=*)
874 exec_prefix=$ac_optarg ;; 831 exec_prefix=$ac_optarg ;;
875 832
876 -gas | --gas | --ga | --g) 833 -gas | --gas | --ga | --g)
877 # Obsolete; use --with-gas. 834 # Obsolete; use --with-gas.
878 with_gas=yes ;; 835 with_gas=yes ;;
@@ -1043,215 +1000,183 @@ do @@ -1043,215 +1000,183 @@ do
1043 1000
1044 -target | --target | --targe | --targ | --tar | --ta | --t) 1001 -target | --target | --targe | --targ | --tar | --ta | --t)
1045 ac_prev=target_alias ;; 1002 ac_prev=target_alias ;;
1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047 target_alias=$ac_optarg ;; 1004 target_alias=$ac_optarg ;;
1048 1005
1049 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1006 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 verbose=yes ;; 1007 verbose=yes ;;
1051 1008
1052 -version | --version | --versio | --versi | --vers | -V) 1009 -version | --version | --versio | --versi | --vers | -V)
1053 ac_init_version=: ;; 1010 ac_init_version=: ;;
1054 1011
1055 -with-* | --with-*) 1012 -with-* | --with-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names. 1014 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1016 { echo "$as_me: error: invalid package name: $ac_package" >&2
1060 { (exit 1); exit 1; }; } 1017 { (exit 1); exit 1; }; }
1061 ac_useropt_orig=$ac_useropt 1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1019 eval with_$ac_package=\$ac_optarg ;;
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 ;; 
1071 1020
1072 -without-* | --without-*) 1021 -without-* | --without-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names. 1023 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1025 { echo "$as_me: error: invalid package name: $ac_package" >&2
1077 { (exit 1); exit 1; }; } 1026 { (exit 1); exit 1; }; }
1078 ac_useropt_orig=$ac_useropt 1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1028 eval with_$ac_package=no ;;
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 ;; 
1088 1029
1089 --x) 1030 --x)
1090 # Obsolete; use --with-x. 1031 # Obsolete; use --with-x.
1091 with_x=yes ;; 1032 with_x=yes ;;
1092 1033
1093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1094 | --x-incl | --x-inc | --x-in | --x-i) 1035 | --x-incl | --x-inc | --x-in | --x-i)
1095 ac_prev=x_includes ;; 1036 ac_prev=x_includes ;;
1096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1098 x_includes=$ac_optarg ;; 1039 x_includes=$ac_optarg ;;
1099 1040
1100 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1102 ac_prev=x_libraries ;; 1043 ac_prev=x_libraries ;;
1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1105 x_libraries=$ac_optarg ;; 1046 x_libraries=$ac_optarg ;;
1106 1047
1107 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1048 -*) { echo "$as_me: error: unrecognized option: $ac_option
1108Try \`$0 --help' for more information." >&2 1049Try \`$0 --help' for more information." >&2
1109 { (exit 1); exit 1; }; } 1050 { (exit 1); exit 1; }; }
1110 ;; 1051 ;;
1111 1052
1112 *=*) 1053 *=*)
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names. 1055 # Reject names that are not valid shell variable names.
1115 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1056 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1116 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1117 { (exit 1); exit 1; }; } 1058 { (exit 1); exit 1; }; }
1118 eval $ac_envvar=\$ac_optarg 1059 eval $ac_envvar=\$ac_optarg
1119 export $ac_envvar ;; 1060 export $ac_envvar ;;
1120 1061
1121 *) 1062 *)
1122 # FIXME: should be removed in autoconf 3.0. 1063 # FIXME: should be removed in autoconf 3.0.
1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1064 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1066 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1127 ;; 1068 ;;
1128 1069
1129 esac 1070 esac
1130done 1071done
1131 1072
1132if test -n "$ac_prev"; then 1073if test -n "$ac_prev"; then
1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1134 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1075 { echo "$as_me: error: missing argument to $ac_option" >&2
1135 { (exit 1); exit 1; }; } 1076 { (exit 1); exit 1; }; }
1136fi 1077fi
1137 1078
1138if test -n "$ac_unrecognized_opts"; then 1079# Be sure to have absolute directory names.
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. 
1148for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1080for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1149 datadir sysconfdir sharedstatedir localstatedir includedir \ 1081 datadir sysconfdir sharedstatedir localstatedir includedir \
1150 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1151 libdir localedir mandir 1083 libdir localedir mandir
1152do 1084do
1153 eval ac_val=\$$ac_var 1085 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. 
1161 case $ac_val in 1086 case $ac_val in
1162 [\\/$]* | ?:[\\/]* ) continue;; 1087 [\\/$]* | ?:[\\/]* ) continue;;
1163 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 esac 1089 esac
1165 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1166 { (exit 1); exit 1; }; } 1091 { (exit 1); exit 1; }; }
1167done 1092done
1168 1093
1169# There might be people who depend on the old broken behavior: `$host' 1094# There might be people who depend on the old broken behavior: `$host'
1170# used to hold the argument of --host etc. 1095# used to hold the argument of --host etc.
1171# FIXME: To remove some day. 1096# FIXME: To remove some day.
1172build=$build_alias 1097build=$build_alias
1173host=$host_alias 1098host=$host_alias
1174target=$target_alias 1099target=$target_alias
1175 1100
1176# FIXME: To remove some day. 1101# FIXME: To remove some day.
1177if test "x$host_alias" != x; then 1102if test "x$host_alias" != x; then
1178 if test "x$build_alias" = x; then 1103 if test "x$build_alias" = x; then
1179 cross_compiling=maybe 1104 cross_compiling=maybe
1180 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1105 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1181 If a cross compiler is detected then cross compile mode will be used." >&2 1106 If a cross compiler is detected then cross compile mode will be used." >&2
1182 elif test "x$build_alias" != "x$host_alias"; then 1107 elif test "x$build_alias" != "x$host_alias"; then
1183 cross_compiling=yes 1108 cross_compiling=yes
1184 fi 1109 fi
1185fi 1110fi
1186 1111
1187ac_tool_prefix= 1112ac_tool_prefix=
1188test -n "$host_alias" && ac_tool_prefix=$host_alias- 1113test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189 1114
1190test "$silent" = yes && exec 6>/dev/null 1115test "$silent" = yes && exec 6>/dev/null
1191 1116
1192 1117
1193ac_pwd=`pwd` && test -n "$ac_pwd" && 1118ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194ac_ls_di=`ls -di .` && 1119ac_ls_di=`ls -di .` &&
1195ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1120ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1121 { echo "$as_me: error: Working directory cannot be determined" >&2
1197 { (exit 1); exit 1; }; } 1122 { (exit 1); exit 1; }; }
1198test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1123test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1124 { echo "$as_me: error: pwd does not report name of working directory" >&2
1200 { (exit 1); exit 1; }; } 1125 { (exit 1); exit 1; }; }
1201 1126
1202 1127
1203# Find the source files, if location was not specified. 1128# Find the source files, if location was not specified.
1204if test -z "$srcdir"; then 1129if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes 1130 ac_srcdir_defaulted=yes
1206 # Try the directory containing this script, then the parent directory. 1131 # Try the directory containing this script, then the parent directory.
1207 ac_confdir=`$as_dirname -- "$as_myself" || 1132 ac_confdir=`$as_dirname -- "$0" ||
1208$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1133$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209 X"$as_myself" : 'X\(//\)[^/]' \| \ 1134 X"$0" : 'X\(//\)[^/]' \| \
1210 X"$as_myself" : 'X\(//\)$' \| \ 1135 X"$0" : 'X\(//\)$' \| \
1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1212$as_echo X"$as_myself" | 1137echo X"$0" |
1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1214 s//\1/ 1139 s//\1/
1215 q 1140 q
1216 } 1141 }
1217 /^X\(\/\/\)[^/].*/{ 1142 /^X\(\/\/\)[^/].*/{
1218 s//\1/ 1143 s//\1/
1219 q 1144 q
1220 } 1145 }
1221 /^X\(\/\/\)$/{ 1146 /^X\(\/\/\)$/{
1222 s//\1/ 1147 s//\1/
1223 q 1148 q
1224 } 1149 }
1225 /^X\(\/\).*/{ 1150 /^X\(\/\).*/{
1226 s//\1/ 1151 s//\1/
1227 q 1152 q
1228 } 1153 }
1229 s/.*/./; q'` 1154 s/.*/./; q'`
1230 srcdir=$ac_confdir 1155 srcdir=$ac_confdir
1231 if test ! -r "$srcdir/$ac_unique_file"; then 1156 if test ! -r "$srcdir/$ac_unique_file"; then
1232 srcdir=.. 1157 srcdir=..
1233 fi 1158 fi
1234else 1159else
1235 ac_srcdir_defaulted=no 1160 ac_srcdir_defaulted=no
1236fi 1161fi
1237if test ! -r "$srcdir/$ac_unique_file"; then 1162if test ! -r "$srcdir/$ac_unique_file"; then
1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1239 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1240 { (exit 1); exit 1; }; } 1165 { (exit 1); exit 1; }; }
1241fi 1166fi
1242ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1167ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243ac_abs_confdir=`( 1168ac_abs_confdir=`(
1244 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1245 { (exit 1); exit 1; }; } 1170 { (exit 1); exit 1; }; }
1246 pwd)` 1171 pwd)`
1247# When building in place, set srcdir=. 1172# When building in place, set srcdir=.
1248if test "$ac_abs_confdir" = "$ac_pwd"; then 1173if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 srcdir=. 1174 srcdir=.
1250fi 1175fi
1251# Remove unnecessary trailing slashes from srcdir. 1176# Remove unnecessary trailing slashes from srcdir.
1252# Double slashes in file names in object file debugging info 1177# Double slashes in file names in object file debugging info
1253# mess up M-x gdb in Emacs. 1178# mess up M-x gdb in Emacs.
1254case $srcdir in 1179case $srcdir in
1255*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1180*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1256esac 1181esac
1257for ac_var in $ac_precious_vars; do 1182for ac_var in $ac_precious_vars; do
@@ -1280,57 +1205,57 @@ Defaults for the options are specified i @@ -1280,57 +1205,57 @@ Defaults for the options are specified i
1280Configuration: 1205Configuration:
1281 -h, --help display this help and exit 1206 -h, --help display this help and exit
1282 --help=short display options specific to this package 1207 --help=short display options specific to this package
1283 --help=recursive display the short help of all the included packages 1208 --help=recursive display the short help of all the included packages
1284 -V, --version display version information and exit 1209 -V, --version display version information and exit
1285 -q, --quiet, --silent do not print \`checking...' messages 1210 -q, --quiet, --silent do not print \`checking...' messages
1286 --cache-file=FILE cache test results in FILE [disabled] 1211 --cache-file=FILE cache test results in FILE [disabled]
1287 -C, --config-cache alias for \`--cache-file=config.cache' 1212 -C, --config-cache alias for \`--cache-file=config.cache'
1288 -n, --no-create do not create output files 1213 -n, --no-create do not create output files
1289 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290 1215
1291Installation directories: 1216Installation directories:
1292 --prefix=PREFIX install architecture-independent files in PREFIX 1217 --prefix=PREFIX install architecture-independent files in PREFIX
1293 [$ac_default_prefix] 1218 [$ac_default_prefix]
1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 [PREFIX] 1220 [PREFIX]
1296 1221
1297By default, \`make install' will install all the files in 1222By default, \`make install' will install all the files in
1298\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1223\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1299an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1224an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1300for instance \`--prefix=\$HOME'. 1225for instance \`--prefix=\$HOME'.
1301 1226
1302For better control, use the options below. 1227For better control, use the options below.
1303 1228
1304Fine tuning of the installation directories: 1229Fine tuning of the installation directories:
1305 --bindir=DIR user executables [EPREFIX/bin] 1230 --bindir=DIR user executables [EPREFIX/bin]
1306 --sbindir=DIR system admin executables [EPREFIX/sbin] 1231 --sbindir=DIR system admin executables [EPREFIX/sbin]
1307 --libexecdir=DIR program executables [EPREFIX/libexec] 1232 --libexecdir=DIR program executables [EPREFIX/libexec]
1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1311 --libdir=DIR object code libraries [EPREFIX/lib] 1236 --libdir=DIR object code libraries [EPREFIX/lib]
1312 --includedir=DIR C header files [PREFIX/include] 1237 --includedir=DIR C header files [PREFIX/include]
1313 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1316 --infodir=DIR info documentation [DATAROOTDIR/info] 1241 --infodir=DIR info documentation [DATAROOTDIR/info]
1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1318 --mandir=DIR man documentation [DATAROOTDIR/man] 1243 --mandir=DIR man documentation [DATAROOTDIR/man]
1319 --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest] 1244 --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest]
1320 --htmldir=DIR html documentation [DOCDIR] 1245 --htmldir=DIR html documentation [DOCDIR]
1321 --dvidir=DIR dvi documentation [DOCDIR] 1246 --dvidir=DIR dvi documentation [DOCDIR]
1322 --pdfdir=DIR pdf documentation [DOCDIR] 1247 --pdfdir=DIR pdf documentation [DOCDIR]
1323 --psdir=DIR ps documentation [DOCDIR] 1248 --psdir=DIR ps documentation [DOCDIR]
1324_ACEOF 1249_ACEOF
1325 1250
1326 cat <<\_ACEOF 1251 cat <<\_ACEOF
1327 1252
1328Program names: 1253Program names:
1329 --program-prefix=PREFIX prepend PREFIX to installed program names 1254 --program-prefix=PREFIX prepend PREFIX to installed program names
1330 --program-suffix=SUFFIX append SUFFIX to installed program names 1255 --program-suffix=SUFFIX append SUFFIX to installed program names
1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1256 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1332 1257
1333System types: 1258System types:
1334 --build=BUILD configure for building on BUILD [guessed] 1259 --build=BUILD configure for building on BUILD [guessed]
1335 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1260 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1336_ACEOF 1261_ACEOF
@@ -1353,37 +1278,35 @@ Some influential environment variables: @@ -1353,37 +1278,35 @@ Some influential environment variables:
1353 CPP C preprocessor 1278 CPP C preprocessor
1354 1279
1355Use these variables to override the choices made by `configure' or to help 1280Use these variables to override the choices made by `configure' or to help
1356it to find libraries and programs with nonstandard names/locations. 1281it to find libraries and programs with nonstandard names/locations.
1357 1282
1358Report bugs to <agc@netbsd.org>. 1283Report bugs to <agc@netbsd.org>.
1359_ACEOF 1284_ACEOF
1360ac_status=$? 1285ac_status=$?
1361fi 1286fi
1362 1287
1363if test "$ac_init_help" = "recursive"; then 1288if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help. 1289 # If there are subdirs, report their specific --help.
1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1290 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1366 test -d "$ac_dir" || 1291 test -d "$ac_dir" || continue
1367 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
1368 continue 
1369 ac_builddir=. 1292 ac_builddir=.
1370 1293
1371case "$ac_dir" in 1294case "$ac_dir" in
1372.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1295.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373*) 1296*)
1374 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1297 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1375 # A ".." for each directory in $ac_dir_suffix. 1298 # A ".." for each directory in $ac_dir_suffix.
1376 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1299 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1377 case $ac_top_builddir_sub in 1300 case $ac_top_builddir_sub in
1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1380 esac ;; 1303 esac ;;
1381esac 1304esac
1382ac_abs_top_builddir=$ac_pwd 1305ac_abs_top_builddir=$ac_pwd
1383ac_abs_builddir=$ac_pwd$ac_dir_suffix 1306ac_abs_builddir=$ac_pwd$ac_dir_suffix
1384# for backward compatibility: 1307# for backward compatibility:
1385ac_top_builddir=$ac_top_build_prefix 1308ac_top_builddir=$ac_top_build_prefix
1386 1309
1387case $srcdir in 1310case $srcdir in
1388 .) # We are building in place. 1311 .) # We are building in place.
1389 ac_srcdir=. 1312 ac_srcdir=.
@@ -1399,51 +1322,51 @@ case $srcdir in @@ -1399,51 +1322,51 @@ case $srcdir in
1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1400esac 1323esac
1401ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1324ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1402 1325
1403 cd "$ac_dir" || { ac_status=$?; continue; } 1326 cd "$ac_dir" || { ac_status=$?; continue; }
1404 # Check for guested configure. 1327 # Check for guested configure.
1405 if test -f "$ac_srcdir/configure.gnu"; then 1328 if test -f "$ac_srcdir/configure.gnu"; then
1406 echo && 1329 echo &&
1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1408 elif test -f "$ac_srcdir/configure"; then 1331 elif test -f "$ac_srcdir/configure"; then
1409 echo && 1332 echo &&
1410 $SHELL "$ac_srcdir/configure" --help=recursive 1333 $SHELL "$ac_srcdir/configure" --help=recursive
1411 else 1334 else
1412 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1413 fi || ac_status=$? 1336 fi || ac_status=$?
1414 cd "$ac_pwd" || { ac_status=$?; break; } 1337 cd "$ac_pwd" || { ac_status=$?; break; }
1415 done 1338 done
1416fi 1339fi
1417 1340
1418test -n "$ac_init_help" && exit $ac_status 1341test -n "$ac_init_help" && exit $ac_status
1419if $ac_init_version; then 1342if $ac_init_version; then
1420 cat <<\_ACEOF 1343 cat <<\_ACEOF
1421nbsd-digest configure 20080509 1344nbsd-digest configure 20080509
1422generated by GNU Autoconf 2.62 1345generated by GNU Autoconf 2.61
1423 1346
1424Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1347Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14252002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 13482002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1426This configure script is free software; the Free Software Foundation 1349This configure script is free software; the Free Software Foundation
1427gives unlimited permission to copy, distribute and modify it. 1350gives unlimited permission to copy, distribute and modify it.
1428_ACEOF 1351_ACEOF
1429 exit 1352 exit
1430fi 1353fi
1431cat >config.log <<_ACEOF 1354cat >config.log <<_ACEOF
1432This file contains any messages produced by compilers while 1355This file contains any messages produced by compilers while
1433running configure, to aid debugging if configure makes a mistake. 1356running configure, to aid debugging if configure makes a mistake.
1434 1357
1435It was created by nbsd-digest $as_me 20080509, which was 1358It was created by nbsd-digest $as_me 20080509, which was
1436generated by GNU Autoconf 2.62. Invocation command line was 1359generated by GNU Autoconf 2.61. Invocation command line was
1437 1360
1438 $ $0 $@ 1361 $ $0 $@
1439 1362
1440_ACEOF 1363_ACEOF
1441exec 5>>config.log 1364exec 5>>config.log
1442{ 1365{
1443cat <<_ASUNAME 1366cat <<_ASUNAME
1444## --------- ## 1367## --------- ##
1445## Platform. ## 1368## Platform. ##
1446## --------- ## 1369## --------- ##
1447 1370
1448hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1371hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1449uname -m = `(uname -m) 2>/dev/null || echo unknown` 1372uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -1459,27 +1382,27 @@ uname -v = `(uname -v) 2>/dev/null || ec @@ -1459,27 +1382,27 @@ uname -v = `(uname -v) 2>/dev/null || ec
1459/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1382/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1460/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1383/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1461/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1384/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1462/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1385/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1463/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1386/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1464 1387
1465_ASUNAME 1388_ASUNAME
1466 1389
1467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468for as_dir in $PATH 1391for as_dir in $PATH
1469do 1392do
1470 IFS=$as_save_IFS 1393 IFS=$as_save_IFS
1471 test -z "$as_dir" && as_dir=. 1394 test -z "$as_dir" && as_dir=.
1472 $as_echo "PATH: $as_dir" 1395 echo "PATH: $as_dir"
1473done 1396done
1474IFS=$as_save_IFS 1397IFS=$as_save_IFS
1475 1398
1476} >&5 1399} >&5
1477 1400
1478cat >&5 <<_ACEOF 1401cat >&5 <<_ACEOF
1479 1402
1480 1403
1481## ----------- ## 1404## ----------- ##
1482## Core tests. ## 1405## Core tests. ##
1483## ----------- ## 1406## ----------- ##
1484 1407
1485_ACEOF 1408_ACEOF
@@ -1494,27 +1417,27 @@ ac_configure_args= @@ -1494,27 +1417,27 @@ ac_configure_args=
1494ac_configure_args0= 1417ac_configure_args0=
1495ac_configure_args1= 1418ac_configure_args1=
1496ac_must_keep_next=false 1419ac_must_keep_next=false
1497for ac_pass in 1 2 1420for ac_pass in 1 2
1498do 1421do
1499 for ac_arg 1422 for ac_arg
1500 do 1423 do
1501 case $ac_arg in 1424 case $ac_arg in
1502 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1425 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1504 | -silent | --silent | --silen | --sile | --sil) 1427 | -silent | --silent | --silen | --sile | --sil)
1505 continue ;; 1428 continue ;;
1506 *\'*) 1429 *\'*)
1507 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1430 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1508 esac 1431 esac
1509 case $ac_pass in 1432 case $ac_pass in
1510 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1433 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1511 2) 1434 2)
1512 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1435 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1513 if test $ac_must_keep_next = true; then 1436 if test $ac_must_keep_next = true; then
1514 ac_must_keep_next=false # Got value, back to normal. 1437 ac_must_keep_next=false # Got value, back to normal.
1515 else 1438 else
1516 case $ac_arg in 1439 case $ac_arg in
1517 *=* | --config-cache | -C | -disable-* | --disable-* \ 1440 *=* | --config-cache | -C | -disable-* | --disable-* \
1518 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1441 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1519 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1442 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1520 | -with-* | --with-* | -without-* | --without-* | --x) 1443 | -with-* | --with-* | -without-* | --without-* | --x)
@@ -1546,32 +1469,31 @@ trap 'exit_status=$? @@ -1546,32 +1469,31 @@ trap 'exit_status=$?
1546 cat <<\_ASBOX 1469 cat <<\_ASBOX
1547## ---------------- ## 1470## ---------------- ##
1548## Cache variables. ## 1471## Cache variables. ##
1549## ---------------- ## 1472## ---------------- ##
1550_ASBOX 1473_ASBOX
1551 echo 1474 echo
1552 # The following way of writing the cache mishandles newlines in values, 1475 # The following way of writing the cache mishandles newlines in values,
1553( 1476(
1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1477 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1555 eval ac_val=\$$ac_var 1478 eval ac_val=\$$ac_var
1556 case $ac_val in #( 1479 case $ac_val in #(
1557 *${as_nl}*) 1480 *${as_nl}*)
1558 case $ac_var in #( 1481 case $ac_var in #(
1559 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1482 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1560$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1483echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1561 esac 1484 esac
1562 case $ac_var in #( 1485 case $ac_var in #(
1563 _ | IFS | as_nl) ;; #( 1486 _ | IFS | as_nl) ;; #(
1564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
1565 *) $as_unset $ac_var ;; 1487 *) $as_unset $ac_var ;;
1566 esac ;; 1488 esac ;;
1567 esac 1489 esac
1568 done 1490 done
1569 (set) 2>&1 | 1491 (set) 2>&1 |
1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1492 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1571 *${as_nl}ac_space=\ *) 1493 *${as_nl}ac_space=\ *)
1572 sed -n \ 1494 sed -n \
1573 "s/'\''/'\''\\\\'\'''\''/g; 1495 "s/'\''/'\''\\\\'\'''\''/g;
1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1575 ;; #( 1497 ;; #(
1576 *) 1498 *)
1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
@@ -1581,63 +1503,63 @@ $as_echo "$as_me: WARNING: Cache variabl @@ -1581,63 +1503,63 @@ $as_echo "$as_me: WARNING: Cache variabl
1581) 1503)
1582 echo 1504 echo
1583 1505
1584 cat <<\_ASBOX 1506 cat <<\_ASBOX
1585## ----------------- ## 1507## ----------------- ##
1586## Output variables. ## 1508## Output variables. ##
1587## ----------------- ## 1509## ----------------- ##
1588_ASBOX 1510_ASBOX
1589 echo 1511 echo
1590 for ac_var in $ac_subst_vars 1512 for ac_var in $ac_subst_vars
1591 do 1513 do
1592 eval ac_val=\$$ac_var 1514 eval ac_val=\$$ac_var
1593 case $ac_val in 1515 case $ac_val in
1594 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1516 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 esac 1517 esac
1596 $as_echo "$ac_var='\''$ac_val'\''" 1518 echo "$ac_var='\''$ac_val'\''"
1597 done | sort 1519 done | sort
1598 echo 1520 echo
1599 1521
1600 if test -n "$ac_subst_files"; then 1522 if test -n "$ac_subst_files"; then
1601 cat <<\_ASBOX 1523 cat <<\_ASBOX
1602## ------------------- ## 1524## ------------------- ##
1603## File substitutions. ## 1525## File substitutions. ##
1604## ------------------- ## 1526## ------------------- ##
1605_ASBOX 1527_ASBOX
1606 echo 1528 echo
1607 for ac_var in $ac_subst_files 1529 for ac_var in $ac_subst_files
1608 do 1530 do
1609 eval ac_val=\$$ac_var 1531 eval ac_val=\$$ac_var
1610 case $ac_val in 1532 case $ac_val in
1611 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1533 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 esac 1534 esac
1613 $as_echo "$ac_var='\''$ac_val'\''" 1535 echo "$ac_var='\''$ac_val'\''"
1614 done | sort 1536 done | sort
1615 echo 1537 echo
1616 fi 1538 fi
1617 1539
1618 if test -s confdefs.h; then 1540 if test -s confdefs.h; then
1619 cat <<\_ASBOX 1541 cat <<\_ASBOX
1620## ----------- ## 1542## ----------- ##
1621## confdefs.h. ## 1543## confdefs.h. ##
1622## ----------- ## 1544## ----------- ##
1623_ASBOX 1545_ASBOX
1624 echo 1546 echo
1625 cat confdefs.h 1547 cat confdefs.h
1626 echo 1548 echo
1627 fi 1549 fi
1628 test "$ac_signal" != 0 && 1550 test "$ac_signal" != 0 &&
1629 $as_echo "$as_me: caught signal $ac_signal" 1551 echo "$as_me: caught signal $ac_signal"
1630 $as_echo "$as_me: exit $exit_status" 1552 echo "$as_me: exit $exit_status"
1631 } >&5 1553 } >&5
1632 rm -f core *.core core.conftest.* && 1554 rm -f core *.core core.conftest.* &&
1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1555 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1634 exit $exit_status 1556 exit $exit_status
1635' 0 1557' 0
1636for ac_signal in 1 2 13 15; do 1558for ac_signal in 1 2 13 15; do
1637 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1559 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1638done 1560done
1639ac_signal=0 1561ac_signal=0
1640 1562
1641# confdefs.h avoids OS command line length limits that DEFS can exceed. 1563# confdefs.h avoids OS command line length limits that DEFS can exceed.
1642rm -f -r conftest* confdefs.h 1564rm -f -r conftest* confdefs.h
1643 1565
@@ -1659,121 +1581,109 @@ _ACEOF @@ -1659,121 +1581,109 @@ _ACEOF
1659 1581
1660 1582
1661cat >>confdefs.h <<_ACEOF 1583cat >>confdefs.h <<_ACEOF
1662#define PACKAGE_STRING "$PACKAGE_STRING" 1584#define PACKAGE_STRING "$PACKAGE_STRING"
1663_ACEOF 1585_ACEOF
1664 1586
1665 1587
1666cat >>confdefs.h <<_ACEOF 1588cat >>confdefs.h <<_ACEOF
1667#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1589#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668_ACEOF 1590_ACEOF
1669 1591
1670 1592
1671# Let the site file select an alternate cache file if it wants to. 1593# Let the site file select an alternate cache file if it wants to.
1672# Prefer an explicitly selected file to automatically selected ones. 1594# Prefer explicitly selected file to automatically selected ones.
1673ac_site_file1=NONE 
1674ac_site_file2=NONE 
1675if test -n "$CONFIG_SITE"; then 1595if test -n "$CONFIG_SITE"; then
1676 ac_site_file1=$CONFIG_SITE 1596 set x "$CONFIG_SITE"
1677elif test "x$prefix" != xNONE; then 1597elif test "x$prefix" != xNONE; then
1678 ac_site_file1=$prefix/share/config.site 1598 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1679 ac_site_file2=$prefix/etc/config.site 
1680else 1599else
1681 ac_site_file1=$ac_default_prefix/share/config.site 1600 set x "$ac_default_prefix/share/config.site" \
1682 ac_site_file2=$ac_default_prefix/etc/config.site 1601 "$ac_default_prefix/etc/config.site"
1683fi 1602fi
1684for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1603shift
 1604for ac_site_file
1685do 1605do
1686 test "x$ac_site_file" = xNONE && continue 
1687 if test -r "$ac_site_file"; then 1606 if test -r "$ac_site_file"; then
1688 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1607 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1689$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1608echo "$as_me: loading site script $ac_site_file" >&6;}
1690 sed 's/^/| /' "$ac_site_file" >&5 1609 sed 's/^/| /' "$ac_site_file" >&5
1691 . "$ac_site_file" 1610 . "$ac_site_file"
1692 fi 1611 fi
1693done 1612done
1694 1613
1695if test -r "$cache_file"; then 1614if test -r "$cache_file"; then
1696 # Some versions of bash will fail to source /dev/null (special 1615 # Some versions of bash will fail to source /dev/null (special
1697 # files actually), so we avoid doing that. 1616 # files actually), so we avoid doing that.
1698 if test -f "$cache_file"; then 1617 if test -f "$cache_file"; then
1699 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1618 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1700$as_echo "$as_me: loading cache $cache_file" >&6;} 1619echo "$as_me: loading cache $cache_file" >&6;}
1701 case $cache_file in 1620 case $cache_file in
1702 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1621 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1703 *) . "./$cache_file";; 1622 *) . "./$cache_file";;
1704 esac 1623 esac
1705 fi 1624 fi
1706else 1625else
1707 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1626 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1708$as_echo "$as_me: creating cache $cache_file" >&6;} 1627echo "$as_me: creating cache $cache_file" >&6;}
1709 >$cache_file 1628 >$cache_file
1710fi 1629fi
1711 1630
1712# Check that the precious variables saved in the cache have kept the same 1631# Check that the precious variables saved in the cache have kept the same
1713# value. 1632# value.
1714ac_cache_corrupted=false 1633ac_cache_corrupted=false
1715for ac_var in $ac_precious_vars; do 1634for ac_var in $ac_precious_vars; do
1716 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1635 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1717 eval ac_new_set=\$ac_env_${ac_var}_set 1636 eval ac_new_set=\$ac_env_${ac_var}_set
1718 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1637 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1719 eval ac_new_val=\$ac_env_${ac_var}_value 1638 eval ac_new_val=\$ac_env_${ac_var}_value
1720 case $ac_old_set,$ac_new_set in 1639 case $ac_old_set,$ac_new_set in
1721 set,) 1640 set,)
1722 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1641 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1723$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1642echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1724 ac_cache_corrupted=: ;; 1643 ac_cache_corrupted=: ;;
1725 ,set) 1644 ,set)
1726 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1645 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1727$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1646echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1728 ac_cache_corrupted=: ;; 1647 ac_cache_corrupted=: ;;
1729 ,);; 1648 ,);;
1730 *) 1649 *)
1731 if test "x$ac_old_val" != "x$ac_new_val"; then 1650 if test "x$ac_old_val" != "x$ac_new_val"; then
1732 # differences in whitespace do not lead to failure. 1651 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1733 ac_old_val_w=`echo x $ac_old_val` 1652echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1734 ac_new_val_w=`echo x $ac_new_val` 1653 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1735 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1654echo "$as_me: former value: $ac_old_val" >&2;}
1736 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1655 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1737$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1656echo "$as_me: current value: $ac_new_val" >&2;}
1738 ac_cache_corrupted=: 1657 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;} 
1748 fi;; 1658 fi;;
1749 esac 1659 esac
1750 # Pass precious variables to config.status. 1660 # Pass precious variables to config.status.
1751 if test "$ac_new_set" = set; then 1661 if test "$ac_new_set" = set; then
1752 case $ac_new_val in 1662 case $ac_new_val in
1753 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1663 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1754 *) ac_arg=$ac_var=$ac_new_val ;; 1664 *) ac_arg=$ac_var=$ac_new_val ;;
1755 esac 1665 esac
1756 case " $ac_configure_args " in 1666 case " $ac_configure_args " in
1757 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1667 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1758 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1668 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1759 esac 1669 esac
1760 fi 1670 fi
1761done 1671done
1762if $ac_cache_corrupted; then 1672if $ac_cache_corrupted; then
1763 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1673 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1764$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1674echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1765 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1675 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1766$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1676echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1767 { (exit 1); exit 1; }; } 1677 { (exit 1); exit 1; }; }
1768fi 1678fi
1769 1679
1770 1680
1771 1681
1772 1682
1773 1683
1774 1684
1775 1685
1776 1686
1777 1687
1778 1688
1779 1689
@@ -1796,1036 +1706,1027 @@ ac_cpp='$CPP $CPPFLAGS' @@ -1796,1036 +1706,1027 @@ ac_cpp='$CPP $CPPFLAGS'
1796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1798ac_compiler_gnu=$ac_cv_c_compiler_gnu 1708ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799 1709
1800 1710
1801 1711
1802ac_config_headers="$ac_config_headers config.h" 1712ac_config_headers="$ac_config_headers config.h"
1803 1713
1804test "$program_prefix" != NONE && 1714test "$program_prefix" != NONE &&
1805 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1715 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1806# Use a double $ so make ignores it. 1716# Use a double $ so make ignores it.
1807test "$program_suffix" != NONE && 1717test "$program_suffix" != NONE &&
1808 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1718 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1809# Double any \ or $. 1719# Double any \ or $. echo might interpret backslashes.
1810# By default was `s,x,x', remove it if useless. 1720# By default was `s,x,x', remove it if useless.
1811ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1721cat <<\_ACEOF >conftest.sed
1812program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1722s/[\\$]/&&/g;s/;s,x,x,$//
 1723_ACEOF
 1724program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1725rm -f conftest.sed
1813 1726
1814 1727
1815ac_aux_dir= 1728ac_aux_dir=
1816for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1729for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1817 if test -f "$ac_dir/install-sh"; then 1730 if test -f "$ac_dir/install-sh"; then
1818 ac_aux_dir=$ac_dir 1731 ac_aux_dir=$ac_dir
1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1820 break 1733 break
1821 elif test -f "$ac_dir/install.sh"; then 1734 elif test -f "$ac_dir/install.sh"; then
1822 ac_aux_dir=$ac_dir 1735 ac_aux_dir=$ac_dir
1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1824 break 1737 break
1825 elif test -f "$ac_dir/shtool"; then 1738 elif test -f "$ac_dir/shtool"; then
1826 ac_aux_dir=$ac_dir 1739 ac_aux_dir=$ac_dir
1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 break 1741 break
1829 fi 1742 fi
1830done 1743done
1831if test -z "$ac_aux_dir"; then 1744if test -z "$ac_aux_dir"; then
1832 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1833$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1746echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1834 { (exit 1); exit 1; }; } 1747 { (exit 1); exit 1; }; }
1835fi 1748fi
1836 1749
1837# These three variables are undocumented and unsupported, 1750# These three variables are undocumented and unsupported,
1838# and are intended to be withdrawn in a future Autoconf release. 1751# and are intended to be withdrawn in a future Autoconf release.
1839# They can cause serious problems if a builder's source tree is in a directory 1752# They can cause serious problems if a builder's source tree is in a directory
1840# whose full name contains unusual characters. 1753# whose full name contains unusual characters.
1841ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1754ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1755ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1756ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1844 1757
1845 1758
1846# Make sure we can run config.sub. 1759# Make sure we can run config.sub.
1847$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1760$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1848 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1761 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1849$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1762echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1850 { (exit 1); exit 1; }; } 1763 { (exit 1); exit 1; }; }
1851 1764
1852{ $as_echo "$as_me:$LINENO: checking build system type" >&5 1765{ echo "$as_me:$LINENO: checking build system type" >&5
1853$as_echo_n "checking build system type... " >&6; } 1766echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1854if test "${ac_cv_build+set}" = set; then 1767if test "${ac_cv_build+set}" = set; then
1855 $as_echo_n "(cached) " >&6 1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1856else 1769else
1857 ac_build_alias=$build_alias 1770 ac_build_alias=$build_alias
1858test "x$ac_build_alias" = x && 1771test "x$ac_build_alias" = x &&
1859 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1860test "x$ac_build_alias" = x && 1773test "x$ac_build_alias" = x &&
1861 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1774 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1862$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1775echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1863 { (exit 1); exit 1; }; } 1776 { (exit 1); exit 1; }; }
1864ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1777ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1865 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1866$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1779echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1867 { (exit 1); exit 1; }; } 1780 { (exit 1); exit 1; }; }
1868 1781
1869fi 1782fi
1870{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1783{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1871$as_echo "$ac_cv_build" >&6; } 1784echo "${ECHO_T}$ac_cv_build" >&6; }
1872case $ac_cv_build in 1785case $ac_cv_build in
1873*-*-*) ;; 1786*-*-*) ;;
1874*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1787*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1875$as_echo "$as_me: error: invalid value of canonical build" >&2;} 1788echo "$as_me: error: invalid value of canonical build" >&2;}
1876 { (exit 1); exit 1; }; };; 1789 { (exit 1); exit 1; }; };;
1877esac 1790esac
1878build=$ac_cv_build 1791build=$ac_cv_build
1879ac_save_IFS=$IFS; IFS='-' 1792ac_save_IFS=$IFS; IFS='-'
1880set x $ac_cv_build 1793set x $ac_cv_build
1881shift 1794shift
1882build_cpu=$1 1795build_cpu=$1
1883build_vendor=$2 1796build_vendor=$2
1884shift; shift 1797shift; shift
1885# Remember, the first character of IFS is used to create $*, 1798# Remember, the first character of IFS is used to create $*,
1886# except with old shells: 1799# except with old shells:
1887build_os=$* 1800build_os=$*
1888IFS=$ac_save_IFS 1801IFS=$ac_save_IFS
1889case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1802case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1890 1803
1891 1804
1892{ $as_echo "$as_me:$LINENO: checking host system type" >&5 1805{ echo "$as_me:$LINENO: checking host system type" >&5
1893$as_echo_n "checking host system type... " >&6; } 1806echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1894if test "${ac_cv_host+set}" = set; then 1807if test "${ac_cv_host+set}" = set; then
1895 $as_echo_n "(cached) " >&6 1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1896else 1809else
1897 if test "x$host_alias" = x; then 1810 if test "x$host_alias" = x; then
1898 ac_cv_host=$ac_cv_build 1811 ac_cv_host=$ac_cv_build
1899else 1812else
1900 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1901 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1902$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1815echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1903 { (exit 1); exit 1; }; } 1816 { (exit 1); exit 1; }; }
1904fi 1817fi
1905 1818
1906fi 1819fi
1907{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1820{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1908$as_echo "$ac_cv_host" >&6; } 1821echo "${ECHO_T}$ac_cv_host" >&6; }
1909case $ac_cv_host in 1822case $ac_cv_host in
1910*-*-*) ;; 1823*-*-*) ;;
1911*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1824*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1912$as_echo "$as_me: error: invalid value of canonical host" >&2;} 1825echo "$as_me: error: invalid value of canonical host" >&2;}
1913 { (exit 1); exit 1; }; };; 1826 { (exit 1); exit 1; }; };;
1914esac 1827esac
1915host=$ac_cv_host 1828host=$ac_cv_host
1916ac_save_IFS=$IFS; IFS='-' 1829ac_save_IFS=$IFS; IFS='-'
1917set x $ac_cv_host 1830set x $ac_cv_host
1918shift 1831shift
1919host_cpu=$1 1832host_cpu=$1
1920host_vendor=$2 1833host_vendor=$2
1921shift; shift 1834shift; shift
1922# Remember, the first character of IFS is used to create $*, 1835# Remember, the first character of IFS is used to create $*,
1923# except with old shells: 1836# except with old shells:
1924host_os=$* 1837host_os=$*
1925IFS=$ac_save_IFS 1838IFS=$ac_save_IFS
1926case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1839case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1927 1840
1928 1841
1929CANONICAL_HOST=$host 1842CANONICAL_HOST=$host
1930 1843
1931 1844
1932# Checks for programs. 1845# Checks for programs.
1933{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1846{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1934$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 1847echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1935set x ${MAKE-make} 1848set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1936ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 
1937if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1849if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1938 $as_echo_n "(cached) " >&6 1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1939else 1851else
1940 cat >conftest.make <<\_ACEOF 1852 cat >conftest.make <<\_ACEOF
1941SHELL = /bin/sh 1853SHELL = /bin/sh
1942all: 1854all:
1943 @echo '@@@%%%=$(MAKE)=@@@%%%' 1855 @echo '@@@%%%=$(MAKE)=@@@%%%'
1944_ACEOF 1856_ACEOF
1945# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1857# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1946case `${MAKE-make} -f conftest.make 2>/dev/null` in 1858case `${MAKE-make} -f conftest.make 2>/dev/null` in
1947 *@@@%%%=?*=@@@%%%*) 1859 *@@@%%%=?*=@@@%%%*)
1948 eval ac_cv_prog_make_${ac_make}_set=yes;; 1860 eval ac_cv_prog_make_${ac_make}_set=yes;;
1949 *) 1861 *)
1950 eval ac_cv_prog_make_${ac_make}_set=no;; 1862 eval ac_cv_prog_make_${ac_make}_set=no;;
1951esac 1863esac
1952rm -f conftest.make 1864rm -f conftest.make
1953fi 1865fi
1954if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1866if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1955 { $as_echo "$as_me:$LINENO: result: yes" >&5 1867 { echo "$as_me:$LINENO: result: yes" >&5
1956$as_echo "yes" >&6; } 1868echo "${ECHO_T}yes" >&6; }
1957 SET_MAKE= 1869 SET_MAKE=
1958else 1870else
1959 { $as_echo "$as_me:$LINENO: result: no" >&5 1871 { echo "$as_me:$LINENO: result: no" >&5
1960$as_echo "no" >&6; } 1872echo "${ECHO_T}no" >&6; }
1961 SET_MAKE="MAKE=${MAKE-make}" 1873 SET_MAKE="MAKE=${MAKE-make}"
1962fi 1874fi
1963 1875
1964for ac_prog in gawk mawk nawk awk 1876for ac_prog in gawk mawk nawk awk
1965do 1877do
1966 # Extract the first word of "$ac_prog", so it can be a program name with args. 1878 # Extract the first word of "$ac_prog", so it can be a program name with args.
1967set dummy $ac_prog; ac_word=$2 1879set dummy $ac_prog; ac_word=$2
1968{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1880{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1969$as_echo_n "checking for $ac_word... " >&6; } 1881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1970if test "${ac_cv_prog_AWK+set}" = set; then 1882if test "${ac_cv_prog_AWK+set}" = set; then
1971 $as_echo_n "(cached) " >&6 1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1972else 1884else
1973 if test -n "$AWK"; then 1885 if test -n "$AWK"; then
1974 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1886 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1975else 1887else
1976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977for as_dir in $PATH 1889for as_dir in $PATH
1978do 1890do
1979 IFS=$as_save_IFS 1891 IFS=$as_save_IFS
1980 test -z "$as_dir" && as_dir=. 1892 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do 1893 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_AWK="$ac_prog" 1895 ac_cv_prog_AWK="$ac_prog"
1984 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 break 2 1897 break 2
1986 fi 1898 fi
1987done 1899done
1988done 1900done
1989IFS=$as_save_IFS 1901IFS=$as_save_IFS
1990 1902
1991fi 1903fi
1992fi 1904fi
1993AWK=$ac_cv_prog_AWK 1905AWK=$ac_cv_prog_AWK
1994if test -n "$AWK"; then 1906if test -n "$AWK"; then
1995 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 1907 { echo "$as_me:$LINENO: result: $AWK" >&5
1996$as_echo "$AWK" >&6; } 1908echo "${ECHO_T}$AWK" >&6; }
1997else 1909else
1998 { $as_echo "$as_me:$LINENO: result: no" >&5 1910 { echo "$as_me:$LINENO: result: no" >&5
1999$as_echo "no" >&6; } 1911echo "${ECHO_T}no" >&6; }
2000fi 1912fi
2001 1913
2002 1914
2003 test -n "$AWK" && break 1915 test -n "$AWK" && break
2004done 1916done
2005 1917
2006ac_ext=c 1918ac_ext=c
2007ac_cpp='$CPP $CPPFLAGS' 1919ac_cpp='$CPP $CPPFLAGS'
2008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010ac_compiler_gnu=$ac_cv_c_compiler_gnu 1922ac_compiler_gnu=$ac_cv_c_compiler_gnu
2011if test -n "$ac_tool_prefix"; then 1923if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2013set dummy ${ac_tool_prefix}gcc; ac_word=$2 1925set dummy ${ac_tool_prefix}gcc; ac_word=$2
2014{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1926{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2015$as_echo_n "checking for $ac_word... " >&6; } 1927echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016if test "${ac_cv_prog_CC+set}" = set; then 1928if test "${ac_cv_prog_CC+set}" = set; then
2017 $as_echo_n "(cached) " >&6 1929 echo $ECHO_N "(cached) $ECHO_C" >&6
2018else 1930else
2019 if test -n "$CC"; then 1931 if test -n "$CC"; then
2020 ac_cv_prog_CC="$CC" # Let the user override the test. 1932 ac_cv_prog_CC="$CC" # Let the user override the test.
2021else 1933else
2022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023for as_dir in $PATH 1935for as_dir in $PATH
2024do 1936do
2025 IFS=$as_save_IFS 1937 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=. 1938 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do 1939 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2029 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1941 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2 1943 break 2
2032 fi 1944 fi
2033done 1945done
2034done 1946done
2035IFS=$as_save_IFS 1947IFS=$as_save_IFS
2036 1948
2037fi 1949fi
2038fi 1950fi
2039CC=$ac_cv_prog_CC 1951CC=$ac_cv_prog_CC
2040if test -n "$CC"; then 1952if test -n "$CC"; then
2041 { $as_echo "$as_me:$LINENO: result: $CC" >&5 1953 { echo "$as_me:$LINENO: result: $CC" >&5
2042$as_echo "$CC" >&6; } 1954echo "${ECHO_T}$CC" >&6; }
2043else 1955else
2044 { $as_echo "$as_me:$LINENO: result: no" >&5 1956 { echo "$as_me:$LINENO: result: no" >&5
2045$as_echo "no" >&6; } 1957echo "${ECHO_T}no" >&6; }
2046fi 1958fi
2047 1959
2048 1960
2049fi 1961fi
2050if test -z "$ac_cv_prog_CC"; then 1962if test -z "$ac_cv_prog_CC"; then
2051 ac_ct_CC=$CC 1963 ac_ct_CC=$CC
2052 # Extract the first word of "gcc", so it can be a program name with args. 1964 # Extract the first word of "gcc", so it can be a program name with args.
2053set dummy gcc; ac_word=$2 1965set dummy gcc; ac_word=$2
2054{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1966{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2055$as_echo_n "checking for $ac_word... " >&6; } 1967echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1968if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2057 $as_echo_n "(cached) " >&6 1969 echo $ECHO_N "(cached) $ECHO_C" >&6
2058else 1970else
2059 if test -n "$ac_ct_CC"; then 1971 if test -n "$ac_ct_CC"; then
2060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2061else 1973else
2062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063for as_dir in $PATH 1975for as_dir in $PATH
2064do 1976do
2065 IFS=$as_save_IFS 1977 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=. 1978 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do 1979 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_ac_ct_CC="gcc" 1981 ac_cv_prog_ac_ct_CC="gcc"
2070 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2 1983 break 2
2072 fi 1984 fi
2073done 1985done
2074done 1986done
2075IFS=$as_save_IFS 1987IFS=$as_save_IFS
2076 1988
2077fi 1989fi
2078fi 1990fi
2079ac_ct_CC=$ac_cv_prog_ac_ct_CC 1991ac_ct_CC=$ac_cv_prog_ac_ct_CC
2080if test -n "$ac_ct_CC"; then 1992if test -n "$ac_ct_CC"; then
2081 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1993 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2082$as_echo "$ac_ct_CC" >&6; } 1994echo "${ECHO_T}$ac_ct_CC" >&6; }
2083else 1995else
2084 { $as_echo "$as_me:$LINENO: result: no" >&5 1996 { echo "$as_me:$LINENO: result: no" >&5
2085$as_echo "no" >&6; } 1997echo "${ECHO_T}no" >&6; }
2086fi 1998fi
2087 1999
2088 if test "x$ac_ct_CC" = x; then 2000 if test "x$ac_ct_CC" = x; then
2089 CC="" 2001 CC=""
2090 else 2002 else
2091 case $cross_compiling:$ac_tool_warned in 2003 case $cross_compiling:$ac_tool_warned in
2092yes:) 2004yes:)
2093{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2005{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2094whose name does not start with the host triplet. If you think this 2006whose name does not start with the host triplet. If you think this
2095configuration is useful to you, please write to autoconf@gnu.org." >&5 2007configuration is useful to you, please write to autoconf@gnu.org." >&5
2096$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2008echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2097whose name does not start with the host triplet. If you think this 2009whose name does not start with the host triplet. If you think this
2098configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2010configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2099ac_tool_warned=yes ;; 2011ac_tool_warned=yes ;;
2100esac 2012esac
2101 CC=$ac_ct_CC 2013 CC=$ac_ct_CC
2102 fi 2014 fi
2103else 2015else
2104 CC="$ac_cv_prog_CC" 2016 CC="$ac_cv_prog_CC"
2105fi 2017fi
2106 2018
2107if test -z "$CC"; then 2019if test -z "$CC"; then
2108 if test -n "$ac_tool_prefix"; then 2020 if test -n "$ac_tool_prefix"; then
2109 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2110set dummy ${ac_tool_prefix}cc; ac_word=$2 2022set dummy ${ac_tool_prefix}cc; ac_word=$2
2111{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2023{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2112$as_echo_n "checking for $ac_word... " >&6; } 2024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113if test "${ac_cv_prog_CC+set}" = set; then 2025if test "${ac_cv_prog_CC+set}" = set; then
2114 $as_echo_n "(cached) " >&6 2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2115else 2027else
2116 if test -n "$CC"; then 2028 if test -n "$CC"; then
2117 ac_cv_prog_CC="$CC" # Let the user override the test. 2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2118else 2030else
2119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120for as_dir in $PATH 2032for as_dir in $PATH
2121do 2033do
2122 IFS=$as_save_IFS 2034 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=. 2035 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do 2036 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_CC="${ac_tool_prefix}cc" 2038 ac_cv_prog_CC="${ac_tool_prefix}cc"
2127 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 break 2 2040 break 2
2129 fi 2041 fi
2130done 2042done
2131done 2043done
2132IFS=$as_save_IFS 2044IFS=$as_save_IFS
2133 2045
2134fi 2046fi
2135fi 2047fi
2136CC=$ac_cv_prog_CC 2048CC=$ac_cv_prog_CC
2137if test -n "$CC"; then 2049if test -n "$CC"; then
2138 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2050 { echo "$as_me:$LINENO: result: $CC" >&5
2139$as_echo "$CC" >&6; } 2051echo "${ECHO_T}$CC" >&6; }
2140else 2052else
2141 { $as_echo "$as_me:$LINENO: result: no" >&5 2053 { echo "$as_me:$LINENO: result: no" >&5
2142$as_echo "no" >&6; } 2054echo "${ECHO_T}no" >&6; }
2143fi 2055fi
2144 2056
2145 2057
2146 fi 2058 fi
2147fi 2059fi
2148if test -z "$CC"; then 2060if test -z "$CC"; then
2149 # Extract the first word of "cc", so it can be a program name with args. 2061 # Extract the first word of "cc", so it can be a program name with args.
2150set dummy cc; ac_word=$2 2062set dummy cc; ac_word=$2
2151{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2063{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2152$as_echo_n "checking for $ac_word... " >&6; } 2064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2153if test "${ac_cv_prog_CC+set}" = set; then 2065if test "${ac_cv_prog_CC+set}" = set; then
2154 $as_echo_n "(cached) " >&6 2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2155else 2067else
2156 if test -n "$CC"; then 2068 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test. 2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2158else 2070else
2159 ac_prog_rejected=no 2071 ac_prog_rejected=no
2160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161for as_dir in $PATH 2073for as_dir in $PATH
2162do 2074do
2163 IFS=$as_save_IFS 2075 IFS=$as_save_IFS
2164 test -z "$as_dir" && as_dir=. 2076 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do 2077 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2168 ac_prog_rejected=yes 2080 ac_prog_rejected=yes
2169 continue 2081 continue
2170 fi 2082 fi
2171 ac_cv_prog_CC="cc" 2083 ac_cv_prog_CC="cc"
2172 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 break 2 2085 break 2
2174 fi 2086 fi
2175done 2087done
2176done 2088done
2177IFS=$as_save_IFS 2089IFS=$as_save_IFS
2178 2090
2179if test $ac_prog_rejected = yes; then 2091if test $ac_prog_rejected = yes; then
2180 # We found a bogon in the path, so make sure we never use it. 2092 # We found a bogon in the path, so make sure we never use it.
2181 set dummy $ac_cv_prog_CC 2093 set dummy $ac_cv_prog_CC
2182 shift 2094 shift
2183 if test $# != 0; then 2095 if test $# != 0; then
2184 # We chose a different compiler from the bogus one. 2096 # We chose a different compiler from the bogus one.
2185 # However, it has the same basename, so the bogon will be chosen 2097 # However, it has the same basename, so the bogon will be chosen
2186 # first if we set CC to just the basename; use the full file name. 2098 # first if we set CC to just the basename; use the full file name.
2187 shift 2099 shift
2188 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2100 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2189 fi 2101 fi
2190fi 2102fi
2191fi 2103fi
2192fi 2104fi
2193CC=$ac_cv_prog_CC 2105CC=$ac_cv_prog_CC
2194if test -n "$CC"; then 2106if test -n "$CC"; then
2195 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2107 { echo "$as_me:$LINENO: result: $CC" >&5
2196$as_echo "$CC" >&6; } 2108echo "${ECHO_T}$CC" >&6; }
2197else 2109else
2198 { $as_echo "$as_me:$LINENO: result: no" >&5 2110 { echo "$as_me:$LINENO: result: no" >&5
2199$as_echo "no" >&6; } 2111echo "${ECHO_T}no" >&6; }
2200fi 2112fi
2201 2113
2202 2114
2203fi 2115fi
2204if test -z "$CC"; then 2116if test -z "$CC"; then
2205 if test -n "$ac_tool_prefix"; then 2117 if test -n "$ac_tool_prefix"; then
2206 for ac_prog in cl.exe 2118 for ac_prog in cl.exe
2207 do 2119 do
2208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2209set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2121set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2210{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2122{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2211$as_echo_n "checking for $ac_word... " >&6; } 2123echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2212if test "${ac_cv_prog_CC+set}" = set; then 2124if test "${ac_cv_prog_CC+set}" = set; then
2213 $as_echo_n "(cached) " >&6 2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2214else 2126else
2215 if test -n "$CC"; then 2127 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test. 2128 ac_cv_prog_CC="$CC" # Let the user override the test.
2217else 2129else
2218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219for as_dir in $PATH 2131for as_dir in $PATH
2220do 2132do
2221 IFS=$as_save_IFS 2133 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=. 2134 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do 2135 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2 2139 break 2
2228 fi 2140 fi
2229done 2141done
2230done 2142done
2231IFS=$as_save_IFS 2143IFS=$as_save_IFS
2232 2144
2233fi 2145fi
2234fi 2146fi
2235CC=$ac_cv_prog_CC 2147CC=$ac_cv_prog_CC
2236if test -n "$CC"; then 2148if test -n "$CC"; then
2237 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2149 { echo "$as_me:$LINENO: result: $CC" >&5
2238$as_echo "$CC" >&6; } 2150echo "${ECHO_T}$CC" >&6; }
2239else 2151else
2240 { $as_echo "$as_me:$LINENO: result: no" >&5 2152 { echo "$as_me:$LINENO: result: no" >&5
2241$as_echo "no" >&6; } 2153echo "${ECHO_T}no" >&6; }
2242fi 2154fi
2243 2155
2244 2156
2245 test -n "$CC" && break 2157 test -n "$CC" && break
2246 done 2158 done
2247fi 2159fi
2248if test -z "$CC"; then 2160if test -z "$CC"; then
2249 ac_ct_CC=$CC 2161 ac_ct_CC=$CC
2250 for ac_prog in cl.exe 2162 for ac_prog in cl.exe
2251do 2163do
2252 # Extract the first word of "$ac_prog", so it can be a program name with args. 2164 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253set dummy $ac_prog; ac_word=$2 2165set dummy $ac_prog; ac_word=$2
2254{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2166{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2255$as_echo_n "checking for $ac_word... " >&6; } 2167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2256if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2168if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 $as_echo_n "(cached) " >&6 2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2258else 2170else
2259 if test -n "$ac_ct_CC"; then 2171 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2261else 2173else
2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263for as_dir in $PATH 2175for as_dir in $PATH
2264do 2176do
2265 IFS=$as_save_IFS 2177 IFS=$as_save_IFS
2266 test -z "$as_dir" && as_dir=. 2178 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do 2179 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_ac_ct_CC="$ac_prog" 2181 ac_cv_prog_ac_ct_CC="$ac_prog"
2270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 break 2 2183 break 2
2272 fi 2184 fi
2273done 2185done
2274done 2186done
2275IFS=$as_save_IFS 2187IFS=$as_save_IFS
2276 2188
2277fi 2189fi
2278fi 2190fi
2279ac_ct_CC=$ac_cv_prog_ac_ct_CC 2191ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280if test -n "$ac_ct_CC"; then 2192if test -n "$ac_ct_CC"; then
2281 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2193 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282$as_echo "$ac_ct_CC" >&6; } 2194echo "${ECHO_T}$ac_ct_CC" >&6; }
2283else 2195else
2284 { $as_echo "$as_me:$LINENO: result: no" >&5 2196 { echo "$as_me:$LINENO: result: no" >&5
2285$as_echo "no" >&6; } 2197echo "${ECHO_T}no" >&6; }
2286fi 2198fi
2287 2199
2288 2200
2289 test -n "$ac_ct_CC" && break 2201 test -n "$ac_ct_CC" && break
2290done 2202done
2291 2203
2292 if test "x$ac_ct_CC" = x; then 2204 if test "x$ac_ct_CC" = x; then
2293 CC="" 2205 CC=""
2294 else 2206 else
2295 case $cross_compiling:$ac_tool_warned in 2207 case $cross_compiling:$ac_tool_warned in
2296yes:) 2208yes:)
2297{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2209{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2298whose name does not start with the host triplet. If you think this 2210whose name does not start with the host triplet. If you think this
2299configuration is useful to you, please write to autoconf@gnu.org." >&5 2211configuration is useful to you, please write to autoconf@gnu.org." >&5
2300$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2212echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2301whose name does not start with the host triplet. If you think this 2213whose name does not start with the host triplet. If you think this
2302configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2214configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2303ac_tool_warned=yes ;; 2215ac_tool_warned=yes ;;
2304esac 2216esac
2305 CC=$ac_ct_CC 2217 CC=$ac_ct_CC
2306 fi 2218 fi
2307fi 2219fi
2308 2220
2309fi 2221fi
2310 2222
2311 2223
2312test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2224test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313See \`config.log' for more details." >&5 2225See \`config.log' for more details." >&5
2314$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2226echo "$as_me: error: no acceptable C compiler found in \$PATH
2315See \`config.log' for more details." >&2;} 2227See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; } 2228 { (exit 1); exit 1; }; }
2317 2229
2318# Provide some information about the compiler. 2230# Provide some information about the compiler.
2319$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2231echo "$as_me:$LINENO: checking for C compiler version" >&5
2320set X $ac_compile 2232ac_compiler=`set X $ac_compile; echo $2`
2321ac_compiler=$2 
2322{ (ac_try="$ac_compiler --version >&5" 2233{ (ac_try="$ac_compiler --version >&5"
2323case "(($ac_try" in 2234case "(($ac_try" in
2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2325 *) ac_try_echo=$ac_try;; 2236 *) ac_try_echo=$ac_try;;
2326esac 2237esac
2327eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2238eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2328$as_echo "$ac_try_echo") >&5 
2329 (eval "$ac_compiler --version >&5") 2>&5 2239 (eval "$ac_compiler --version >&5") 2>&5
2330 ac_status=$? 2240 ac_status=$?
2331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); } 2242 (exit $ac_status); }
2333{ (ac_try="$ac_compiler -v >&5" 2243{ (ac_try="$ac_compiler -v >&5"
2334case "(($ac_try" in 2244case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;; 2246 *) ac_try_echo=$ac_try;;
2337esac 2247esac
2338eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2339$as_echo "$ac_try_echo") >&5 
2340 (eval "$ac_compiler -v >&5") 2>&5 2249 (eval "$ac_compiler -v >&5") 2>&5
2341 ac_status=$? 2250 ac_status=$?
2342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); } 2252 (exit $ac_status); }
2344{ (ac_try="$ac_compiler -V >&5" 2253{ (ac_try="$ac_compiler -V >&5"
2345case "(($ac_try" in 2254case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;; 2256 *) ac_try_echo=$ac_try;;
2348esac 2257esac
2349eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2258eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350$as_echo "$ac_try_echo") >&5 
2351 (eval "$ac_compiler -V >&5") 2>&5 2259 (eval "$ac_compiler -V >&5") 2>&5
2352 ac_status=$? 2260 ac_status=$?
2353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } 2262 (exit $ac_status); }
2355 2263
2356cat >conftest.$ac_ext <<_ACEOF 2264cat >conftest.$ac_ext <<_ACEOF
2357/* confdefs.h. */ 2265/* confdefs.h. */
2358_ACEOF 2266_ACEOF
2359cat confdefs.h >>conftest.$ac_ext 2267cat confdefs.h >>conftest.$ac_ext
2360cat >>conftest.$ac_ext <<_ACEOF 2268cat >>conftest.$ac_ext <<_ACEOF
2361/* end confdefs.h. */ 2269/* end confdefs.h. */
2362 2270
2363int 2271int
2364main () 2272main ()
2365{ 2273{
2366 2274
2367 ; 2275 ;
2368 return 0; 2276 return 0;
2369} 2277}
2370_ACEOF 2278_ACEOF
2371ac_clean_files_save=$ac_clean_files 2279ac_clean_files_save=$ac_clean_files
2372ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2280ac_clean_files="$ac_clean_files a.out a.exe b.out"
2373# Try to create an executable without -o first, disregard a.out. 2281# Try to create an executable without -o first, disregard a.out.
2374# It will help us diagnose broken compilers, and finding out an intuition 2282# It will help us diagnose broken compilers, and finding out an intuition
2375# of exeext. 2283# of exeext.
2376{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2284{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2377$as_echo_n "checking for C compiler default output file name... " >&6; } 2285echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2378ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2286ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2379 2287#
2380# The possible output files: 2288# List of possible output files, starting from the most likely.
2381ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2289# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2382 2290# only as a last resort. b.out is created by i960 compilers.
 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.
2383ac_rmfiles= 2296ac_rmfiles=
2384for ac_file in $ac_files 2297for ac_file in $ac_files
2385do 2298do
2386 case $ac_file in 2299 case $ac_file in
2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2388 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2301 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2389 esac 2302 esac
2390done 2303done
2391rm -f $ac_rmfiles 2304rm -f $ac_rmfiles
2392 2305
2393if { (ac_try="$ac_link_default" 2306if { (ac_try="$ac_link_default"
2394case "(($ac_try" in 2307case "(($ac_try" in
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;; 2309 *) ac_try_echo=$ac_try;;
2397esac 2310esac
2398eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2399$as_echo "$ac_try_echo") >&5 
2400 (eval "$ac_link_default") 2>&5 2312 (eval "$ac_link_default") 2>&5
2401 ac_status=$? 2313 ac_status=$?
2402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; then 2315 (exit $ac_status); }; then
2404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2405# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2317# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2406# in a Makefile. We should not override ac_cv_exeext if it was cached, 2318# in a Makefile. We should not override ac_cv_exeext if it was cached,
2407# so that the user can short-circuit this test for compilers unknown to 2319# so that the user can short-circuit this test for compilers unknown to
2408# Autoconf. 2320# Autoconf.
2409for ac_file in $ac_files '' 2321for ac_file in $ac_files ''
2410do 2322do
2411 test -f "$ac_file" || continue 2323 test -f "$ac_file" || continue
2412 case $ac_file in 2324 case $ac_file in
2413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2414 ;; 2326 ;;
2415 [ab].out ) 2327 [ab].out )
2416 # We found the default executable, but exeext='' is most 2328 # We found the default executable, but exeext='' is most
2417 # certainly right. 2329 # certainly right.
2418 break;; 2330 break;;
2419 *.* ) 2331 *.* )
2420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2421 then :; else 2333 then :; else
2422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2334 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2423 fi 2335 fi
2424 # We set ac_cv_exeext here because the later test for it is not 2336 # We set ac_cv_exeext here because the later test for it is not
2425 # safe: cross compilers may not add the suffix if given an `-o' 2337 # safe: cross compilers may not add the suffix if given an `-o'
2426 # argument, so we may need to know it at that point already. 2338 # argument, so we may need to know it at that point already.
2427 # Even if this section looks crufty: it has the advantage of 2339 # Even if this section looks crufty: it has the advantage of
2428 # actually working. 2340 # actually working.
2429 break;; 2341 break;;
2430 * ) 2342 * )
2431 break;; 2343 break;;
2432 esac 2344 esac
2433done 2345done
2434test "$ac_cv_exeext" = no && ac_cv_exeext= 2346test "$ac_cv_exeext" = no && ac_cv_exeext=
2435 2347
2436else 2348else
2437 ac_file='' 2349 ac_file=''
2438fi 2350fi
2439 2351
2440{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2352{ echo "$as_me:$LINENO: result: $ac_file" >&5
2441$as_echo "$ac_file" >&6; } 2353echo "${ECHO_T}$ac_file" >&6; }
2442if test -z "$ac_file"; then 2354if test -z "$ac_file"; then
2443 $as_echo "$as_me: failed program was:" >&5 2355 echo "$as_me: failed program was:" >&5
2444sed 's/^/| /' conftest.$ac_ext >&5 2356sed 's/^/| /' conftest.$ac_ext >&5
2445 2357
2446{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2358{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2447See \`config.log' for more details." >&5 2359See \`config.log' for more details." >&5
2448$as_echo "$as_me: error: C compiler cannot create executables 2360echo "$as_me: error: C compiler cannot create executables
2449See \`config.log' for more details." >&2;} 2361See \`config.log' for more details." >&2;}
2450 { (exit 77); exit 77; }; } 2362 { (exit 77); exit 77; }; }
2451fi 2363fi
2452 2364
2453ac_exeext=$ac_cv_exeext 2365ac_exeext=$ac_cv_exeext
2454 2366
2455# Check that the compiler produces executables we can run. If not, either 2367# Check that the compiler produces executables we can run. If not, either
2456# the compiler is broken, or we cross compile. 2368# the compiler is broken, or we cross compile.
2457{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2369{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2458$as_echo_n "checking whether the C compiler works... " >&6; } 2370echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2459# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2371# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2460# If not cross compiling, check that we can run a simple program. 2372# If not cross compiling, check that we can run a simple program.
2461if test "$cross_compiling" != yes; then 2373if test "$cross_compiling" != yes; then
2462 if { ac_try='./$ac_file' 2374 if { ac_try='./$ac_file'
2463 { (case "(($ac_try" in 2375 { (case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;; 2377 *) ac_try_echo=$ac_try;;
2466esac 2378esac
2467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2468$as_echo "$ac_try_echo") >&5 
2469 (eval "$ac_try") 2>&5 2380 (eval "$ac_try") 2>&5
2470 ac_status=$? 2381 ac_status=$?
2471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then 2383 (exit $ac_status); }; }; then
2473 cross_compiling=no 2384 cross_compiling=no
2474 else 2385 else
2475 if test "$cross_compiling" = maybe; then 2386 if test "$cross_compiling" = maybe; then
2476 cross_compiling=yes 2387 cross_compiling=yes
2477 else 2388 else
2478 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2389 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479If you meant to cross compile, use \`--host'. 2390If you meant to cross compile, use \`--host'.
2480See \`config.log' for more details." >&5 2391See \`config.log' for more details." >&5
2481$as_echo "$as_me: error: cannot run C compiled programs. 2392echo "$as_me: error: cannot run C compiled programs.
2482If you meant to cross compile, use \`--host'. 2393If you meant to cross compile, use \`--host'.
2483See \`config.log' for more details." >&2;} 2394See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; } 2395 { (exit 1); exit 1; }; }
2485 fi 2396 fi
2486 fi 2397 fi
2487fi 2398fi
2488{ $as_echo "$as_me:$LINENO: result: yes" >&5 2399{ echo "$as_me:$LINENO: result: yes" >&5
2489$as_echo "yes" >&6; } 2400echo "${ECHO_T}yes" >&6; }
2490 2401
2491rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2402rm -f a.out a.exe conftest$ac_cv_exeext b.out
2492ac_clean_files=$ac_clean_files_save 2403ac_clean_files=$ac_clean_files_save
2493# Check that the compiler produces executables we can run. If not, either 2404# Check that the compiler produces executables we can run. If not, either
2494# the compiler is broken, or we cross compile. 2405# the compiler is broken, or we cross compile.
2495{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2406{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496$as_echo_n "checking whether we are cross compiling... " >&6; } 2407echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2497{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2408{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498$as_echo "$cross_compiling" >&6; } 2409echo "${ECHO_T}$cross_compiling" >&6; }
2499 2410
2500{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2411{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501$as_echo_n "checking for suffix of executables... " >&6; } 2412echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2502if { (ac_try="$ac_link" 2413if { (ac_try="$ac_link"
2503case "(($ac_try" in 2414case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;; 2416 *) ac_try_echo=$ac_try;;
2506esac 2417esac
2507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2508$as_echo "$ac_try_echo") >&5 
2509 (eval "$ac_link") 2>&5 2419 (eval "$ac_link") 2>&5
2510 ac_status=$? 2420 ac_status=$?
2511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; then 2422 (exit $ac_status); }; then
2513 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2423 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2514# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2424# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2515# work properly (i.e., refer to `conftest.exe'), while it won't with 2425# work properly (i.e., refer to `conftest.exe'), while it won't with
2516# `rm'. 2426# `rm'.
2517for ac_file in conftest.exe conftest conftest.*; do 2427for ac_file in conftest.exe conftest conftest.*; do
2518 test -f "$ac_file" || continue 2428 test -f "$ac_file" || continue
2519 case $ac_file in 2429 case $ac_file in
2520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2521 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2431 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2522 break;; 2432 break;;
2523 * ) break;; 2433 * ) break;;
2524 esac 2434 esac
2525done 2435done
2526else 2436else
2527 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2437 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2528See \`config.log' for more details." >&5 2438See \`config.log' for more details." >&5
2529$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2439echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2530See \`config.log' for more details." >&2;} 2440See \`config.log' for more details." >&2;}
2531 { (exit 1); exit 1; }; } 2441 { (exit 1); exit 1; }; }
2532fi 2442fi
2533 2443
2534rm -f conftest$ac_cv_exeext 2444rm -f conftest$ac_cv_exeext
2535{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2445{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2536$as_echo "$ac_cv_exeext" >&6; } 2446echo "${ECHO_T}$ac_cv_exeext" >&6; }
2537 2447
2538rm -f conftest.$ac_ext 2448rm -f conftest.$ac_ext
2539EXEEXT=$ac_cv_exeext 2449EXEEXT=$ac_cv_exeext
2540ac_exeext=$EXEEXT 2450ac_exeext=$EXEEXT
2541{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2451{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2542$as_echo_n "checking for suffix of object files... " >&6; } 2452echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2543if test "${ac_cv_objext+set}" = set; then 2453if test "${ac_cv_objext+set}" = set; then
2544 $as_echo_n "(cached) " >&6 2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2545else 2455else
2546 cat >conftest.$ac_ext <<_ACEOF 2456 cat >conftest.$ac_ext <<_ACEOF
2547/* confdefs.h. */ 2457/* confdefs.h. */
2548_ACEOF 2458_ACEOF
2549cat confdefs.h >>conftest.$ac_ext 2459cat confdefs.h >>conftest.$ac_ext
2550cat >>conftest.$ac_ext <<_ACEOF 2460cat >>conftest.$ac_ext <<_ACEOF
2551/* end confdefs.h. */ 2461/* end confdefs.h. */
2552 2462
2553int 2463int
2554main () 2464main ()
2555{ 2465{
2556 2466
2557 ; 2467 ;
2558 return 0; 2468 return 0;
2559} 2469}
2560_ACEOF 2470_ACEOF
2561rm -f conftest.o conftest.obj 2471rm -f conftest.o conftest.obj
2562if { (ac_try="$ac_compile" 2472if { (ac_try="$ac_compile"
2563case "(($ac_try" in 2473case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;; 2475 *) ac_try_echo=$ac_try;;
2566esac 2476esac
2567eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2568$as_echo "$ac_try_echo") >&5 
2569 (eval "$ac_compile") 2>&5 2478 (eval "$ac_compile") 2>&5
2570 ac_status=$? 2479 ac_status=$?
2571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; then 2481 (exit $ac_status); }; then
2573 for ac_file in conftest.o conftest.obj conftest.*; do 2482 for ac_file in conftest.o conftest.obj conftest.*; do
2574 test -f "$ac_file" || continue; 2483 test -f "$ac_file" || continue;
2575 case $ac_file in 2484 case $ac_file in
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2486 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2578 break;; 2487 break;;
2579 esac 2488 esac
2580done 2489done
2581else 2490else
2582 $as_echo "$as_me: failed program was:" >&5 2491 echo "$as_me: failed program was:" >&5
2583sed 's/^/| /' conftest.$ac_ext >&5 2492sed 's/^/| /' conftest.$ac_ext >&5
2584 2493
2585{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2494{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2586See \`config.log' for more details." >&5 2495See \`config.log' for more details." >&5
2587$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2496echo "$as_me: error: cannot compute suffix of object files: cannot compile
2588See \`config.log' for more details." >&2;} 2497See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; } 2498 { (exit 1); exit 1; }; }
2590fi 2499fi
2591 2500
2592rm -f conftest.$ac_cv_objext conftest.$ac_ext 2501rm -f conftest.$ac_cv_objext conftest.$ac_ext
2593fi 2502fi
2594{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2503{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2595$as_echo "$ac_cv_objext" >&6; } 2504echo "${ECHO_T}$ac_cv_objext" >&6; }
2596OBJEXT=$ac_cv_objext 2505OBJEXT=$ac_cv_objext
2597ac_objext=$OBJEXT 2506ac_objext=$OBJEXT
2598{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2507{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2599$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2508echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2600if test "${ac_cv_c_compiler_gnu+set}" = set; then 2509if test "${ac_cv_c_compiler_gnu+set}" = set; then
2601 $as_echo_n "(cached) " >&6 2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2602else 2511else
2603 cat >conftest.$ac_ext <<_ACEOF 2512 cat >conftest.$ac_ext <<_ACEOF
2604/* confdefs.h. */ 2513/* confdefs.h. */
2605_ACEOF 2514_ACEOF
2606cat confdefs.h >>conftest.$ac_ext 2515cat confdefs.h >>conftest.$ac_ext
2607cat >>conftest.$ac_ext <<_ACEOF 2516cat >>conftest.$ac_ext <<_ACEOF
2608/* end confdefs.h. */ 2517/* end confdefs.h. */
2609 2518
2610int 2519int
2611main () 2520main ()
2612{ 2521{
2613#ifndef __GNUC__ 2522#ifndef __GNUC__
2614 choke me 2523 choke me
2615#endif 2524#endif
2616 2525
2617 ; 2526 ;
2618 return 0; 2527 return 0;
2619} 2528}
2620_ACEOF 2529_ACEOF
2621rm -f conftest.$ac_objext 2530rm -f conftest.$ac_objext
2622if { (ac_try="$ac_compile" 2531if { (ac_try="$ac_compile"
2623case "(($ac_try" in 2532case "(($ac_try" in
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;; 2534 *) ac_try_echo=$ac_try;;
2626esac 2535esac
2627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2628$as_echo "$ac_try_echo") >&5 
2629 (eval "$ac_compile") 2>conftest.er1 2537 (eval "$ac_compile") 2>conftest.er1
2630 ac_status=$? 2538 ac_status=$?
2631 grep -v '^ *+' conftest.er1 >conftest.err 2539 grep -v '^ *+' conftest.er1 >conftest.err
2632 rm -f conftest.er1 2540 rm -f conftest.er1
2633 cat conftest.err >&5 2541 cat conftest.err >&5
2634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } && { 2543 (exit $ac_status); } && {
2636 test -z "$ac_c_werror_flag" || 2544 test -z "$ac_c_werror_flag" ||
2637 test ! -s conftest.err 2545 test ! -s conftest.err
2638 } && test -s conftest.$ac_objext; then 2546 } && test -s conftest.$ac_objext; then
2639 ac_compiler_gnu=yes 2547 ac_compiler_gnu=yes
2640else 2548else
2641 $as_echo "$as_me: failed program was:" >&5 2549 echo "$as_me: failed program was:" >&5
2642sed 's/^/| /' conftest.$ac_ext >&5 2550sed 's/^/| /' conftest.$ac_ext >&5
2643 2551
2644 ac_compiler_gnu=no 2552 ac_compiler_gnu=no
2645fi 2553fi
2646 2554
2647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648ac_cv_c_compiler_gnu=$ac_compiler_gnu 2556ac_cv_c_compiler_gnu=$ac_compiler_gnu
2649 2557
2650fi 2558fi
2651{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2559{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2652$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2560echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2653if test $ac_compiler_gnu = yes; then 2561GCC=`test $ac_compiler_gnu = yes && echo yes`
2654 GCC=yes 
2655else 
2656 GCC= 
2657fi 
2658ac_test_CFLAGS=${CFLAGS+set} 2562ac_test_CFLAGS=${CFLAGS+set}
2659ac_save_CFLAGS=$CFLAGS 2563ac_save_CFLAGS=$CFLAGS
2660{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2564{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2661$as_echo_n "checking whether $CC accepts -g... " >&6; } 2565echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2662if test "${ac_cv_prog_cc_g+set}" = set; then 2566if test "${ac_cv_prog_cc_g+set}" = set; then
2663 $as_echo_n "(cached) " >&6 2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2664else 2568else
2665 ac_save_c_werror_flag=$ac_c_werror_flag 2569 ac_save_c_werror_flag=$ac_c_werror_flag
2666 ac_c_werror_flag=yes 2570 ac_c_werror_flag=yes
2667 ac_cv_prog_cc_g=no 2571 ac_cv_prog_cc_g=no
2668 CFLAGS="-g" 2572 CFLAGS="-g"
2669 cat >conftest.$ac_ext <<_ACEOF 2573 cat >conftest.$ac_ext <<_ACEOF
2670/* confdefs.h. */ 2574/* confdefs.h. */
2671_ACEOF 2575_ACEOF
2672cat confdefs.h >>conftest.$ac_ext 2576cat confdefs.h >>conftest.$ac_ext
2673cat >>conftest.$ac_ext <<_ACEOF 2577cat >>conftest.$ac_ext <<_ACEOF
2674/* end confdefs.h. */ 2578/* end confdefs.h. */
2675 2579
2676int 2580int
2677main () 2581main ()
2678{ 2582{
2679 2583
2680 ; 2584 ;
2681 return 0; 2585 return 0;
2682} 2586}
2683_ACEOF 2587_ACEOF
2684rm -f conftest.$ac_objext 2588rm -f conftest.$ac_objext
2685if { (ac_try="$ac_compile" 2589if { (ac_try="$ac_compile"
2686case "(($ac_try" in 2590case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;; 2592 *) ac_try_echo=$ac_try;;
2689esac 2593esac
2690eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2691$as_echo "$ac_try_echo") >&5 
2692 (eval "$ac_compile") 2>conftest.er1 2595 (eval "$ac_compile") 2>conftest.er1
2693 ac_status=$? 2596 ac_status=$?
2694 grep -v '^ *+' conftest.er1 >conftest.err 2597 grep -v '^ *+' conftest.er1 >conftest.err
2695 rm -f conftest.er1 2598 rm -f conftest.er1
2696 cat conftest.err >&5 2599 cat conftest.err >&5
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } && { 2601 (exit $ac_status); } && {
2699 test -z "$ac_c_werror_flag" || 2602 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err 2603 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext; then 2604 } && test -s conftest.$ac_objext; then
2702 ac_cv_prog_cc_g=yes 2605 ac_cv_prog_cc_g=yes
2703else 2606else
2704 $as_echo "$as_me: failed program was:" >&5 2607 echo "$as_me: failed program was:" >&5
2705sed 's/^/| /' conftest.$ac_ext >&5 2608sed 's/^/| /' conftest.$ac_ext >&5
2706 2609
2707 CFLAGS="" 2610 CFLAGS=""
2708 cat >conftest.$ac_ext <<_ACEOF 2611 cat >conftest.$ac_ext <<_ACEOF
2709/* confdefs.h. */ 2612/* confdefs.h. */
2710_ACEOF 2613_ACEOF
2711cat confdefs.h >>conftest.$ac_ext 2614cat confdefs.h >>conftest.$ac_ext
2712cat >>conftest.$ac_ext <<_ACEOF 2615cat >>conftest.$ac_ext <<_ACEOF
2713/* end confdefs.h. */ 2616/* end confdefs.h. */
2714 2617
2715int 2618int
2716main () 2619main ()
2717{ 2620{
2718 2621
2719 ; 2622 ;
2720 return 0; 2623 return 0;
2721} 2624}
2722_ACEOF 2625_ACEOF
2723rm -f conftest.$ac_objext 2626rm -f conftest.$ac_objext
2724if { (ac_try="$ac_compile" 2627if { (ac_try="$ac_compile"
2725case "(($ac_try" in 2628case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;; 2630 *) ac_try_echo=$ac_try;;
2728esac 2631esac
2729eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2632eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730$as_echo "$ac_try_echo") >&5 
2731 (eval "$ac_compile") 2>conftest.er1 2633 (eval "$ac_compile") 2>conftest.er1
2732 ac_status=$? 2634 ac_status=$?
2733 grep -v '^ *+' conftest.er1 >conftest.err 2635 grep -v '^ *+' conftest.er1 >conftest.err
2734 rm -f conftest.er1 2636 rm -f conftest.er1
2735 cat conftest.err >&5 2637 cat conftest.err >&5
2736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); } && { 2639 (exit $ac_status); } && {
2738 test -z "$ac_c_werror_flag" || 2640 test -z "$ac_c_werror_flag" ||
2739 test ! -s conftest.err 2641 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext; then 2642 } && test -s conftest.$ac_objext; then
2741 : 2643 :
2742else 2644else
2743 $as_echo "$as_me: failed program was:" >&5 2645 echo "$as_me: failed program was:" >&5
2744sed 's/^/| /' conftest.$ac_ext >&5 2646sed 's/^/| /' conftest.$ac_ext >&5
2745 2647
2746 ac_c_werror_flag=$ac_save_c_werror_flag 2648 ac_c_werror_flag=$ac_save_c_werror_flag
2747 CFLAGS="-g" 2649 CFLAGS="-g"
2748 cat >conftest.$ac_ext <<_ACEOF 2650 cat >conftest.$ac_ext <<_ACEOF
2749/* confdefs.h. */ 2651/* confdefs.h. */
2750_ACEOF 2652_ACEOF
2751cat confdefs.h >>conftest.$ac_ext 2653cat confdefs.h >>conftest.$ac_ext
2752cat >>conftest.$ac_ext <<_ACEOF 2654cat >>conftest.$ac_ext <<_ACEOF
2753/* end confdefs.h. */ 2655/* end confdefs.h. */
2754 2656
2755int 2657int
2756main () 2658main ()
2757{ 2659{
2758 2660
2759 ; 2661 ;
2760 return 0; 2662 return 0;
2761} 2663}
2762_ACEOF 2664_ACEOF
2763rm -f conftest.$ac_objext 2665rm -f conftest.$ac_objext
2764if { (ac_try="$ac_compile" 2666if { (ac_try="$ac_compile"
2765case "(($ac_try" in 2667case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;; 2669 *) ac_try_echo=$ac_try;;
2768esac 2670esac
2769eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770$as_echo "$ac_try_echo") >&5 
2771 (eval "$ac_compile") 2>conftest.er1 2672 (eval "$ac_compile") 2>conftest.er1
2772 ac_status=$? 2673 ac_status=$?
2773 grep -v '^ *+' conftest.er1 >conftest.err 2674 grep -v '^ *+' conftest.er1 >conftest.err
2774 rm -f conftest.er1 2675 rm -f conftest.er1
2775 cat conftest.err >&5 2676 cat conftest.err >&5
2776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } && { 2678 (exit $ac_status); } && {
2778 test -z "$ac_c_werror_flag" || 2679 test -z "$ac_c_werror_flag" ||
2779 test ! -s conftest.err 2680 test ! -s conftest.err
2780 } && test -s conftest.$ac_objext; then 2681 } && test -s conftest.$ac_objext; then
2781 ac_cv_prog_cc_g=yes 2682 ac_cv_prog_cc_g=yes
2782else 2683else
2783 $as_echo "$as_me: failed program was:" >&5 2684 echo "$as_me: failed program was:" >&5
2784sed 's/^/| /' conftest.$ac_ext >&5 2685sed 's/^/| /' conftest.$ac_ext >&5
2785 2686
2786 2687
2787fi 2688fi
2788 2689
2789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790fi 2691fi
2791 2692
2792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793fi 2694fi
2794 2695
2795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 ac_c_werror_flag=$ac_save_c_werror_flag 2697 ac_c_werror_flag=$ac_save_c_werror_flag
2797fi 2698fi
2798{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2699{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2799$as_echo "$ac_cv_prog_cc_g" >&6; } 2700echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2800if test "$ac_test_CFLAGS" = set; then 2701if test "$ac_test_CFLAGS" = set; then
2801 CFLAGS=$ac_save_CFLAGS 2702 CFLAGS=$ac_save_CFLAGS
2802elif test $ac_cv_prog_cc_g = yes; then 2703elif test $ac_cv_prog_cc_g = yes; then
2803 if test "$GCC" = yes; then 2704 if test "$GCC" = yes; then
2804 CFLAGS="-g -O2" 2705 CFLAGS="-g -O2"
2805 else 2706 else
2806 CFLAGS="-g" 2707 CFLAGS="-g"
2807 fi 2708 fi
2808else 2709else
2809 if test "$GCC" = yes; then 2710 if test "$GCC" = yes; then
2810 CFLAGS="-O2" 2711 CFLAGS="-O2"
2811 else 2712 else
2812 CFLAGS= 2713 CFLAGS=
2813 fi 2714 fi
2814fi 2715fi
2815{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2716{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2816$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2717echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2817if test "${ac_cv_prog_cc_c89+set}" = set; then 2718if test "${ac_cv_prog_cc_c89+set}" = set; then
2818 $as_echo_n "(cached) " >&6 2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2819else 2720else
2820 ac_cv_prog_cc_c89=no 2721 ac_cv_prog_cc_c89=no
2821ac_save_CC=$CC 2722ac_save_CC=$CC
2822cat >conftest.$ac_ext <<_ACEOF 2723cat >conftest.$ac_ext <<_ACEOF
2823/* confdefs.h. */ 2724/* confdefs.h. */
2824_ACEOF 2725_ACEOF
2825cat confdefs.h >>conftest.$ac_ext 2726cat confdefs.h >>conftest.$ac_ext
2826cat >>conftest.$ac_ext <<_ACEOF 2727cat >>conftest.$ac_ext <<_ACEOF
2827/* end confdefs.h. */ 2728/* end confdefs.h. */
2828#include <stdarg.h> 2729#include <stdarg.h>
2829#include <stdio.h> 2730#include <stdio.h>
2830#include <sys/types.h> 2731#include <sys/types.h>
2831#include <sys/stat.h> 2732#include <sys/stat.h>
@@ -2876,93 +2777,91 @@ return f (e, argv, 0) != argv[0] || f  @@ -2876,93 +2777,91 @@ return f (e, argv, 0) != argv[0] || f
2876 return 0; 2777 return 0;
2877} 2778}
2878_ACEOF 2779_ACEOF
2879for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2780for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2881do 2782do
2882 CC="$ac_save_CC $ac_arg" 2783 CC="$ac_save_CC $ac_arg"
2883 rm -f conftest.$ac_objext 2784 rm -f conftest.$ac_objext
2884if { (ac_try="$ac_compile" 2785if { (ac_try="$ac_compile"
2885case "(($ac_try" in 2786case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;; 2788 *) ac_try_echo=$ac_try;;
2888esac 2789esac
2889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890$as_echo "$ac_try_echo") >&5 
2891 (eval "$ac_compile") 2>conftest.er1 2791 (eval "$ac_compile") 2>conftest.er1
2892 ac_status=$? 2792 ac_status=$?
2893 grep -v '^ *+' conftest.er1 >conftest.err 2793 grep -v '^ *+' conftest.er1 >conftest.err
2894 rm -f conftest.er1 2794 rm -f conftest.er1
2895 cat conftest.err >&5 2795 cat conftest.err >&5
2896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && { 2797 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" || 2798 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err 2799 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then 2800 } && test -s conftest.$ac_objext; then
2901 ac_cv_prog_cc_c89=$ac_arg 2801 ac_cv_prog_cc_c89=$ac_arg
2902else 2802else
2903 $as_echo "$as_me: failed program was:" >&5 2803 echo "$as_me: failed program was:" >&5
2904sed 's/^/| /' conftest.$ac_ext >&5 2804sed 's/^/| /' conftest.$ac_ext >&5
2905 2805
2906 2806
2907fi 2807fi
2908 2808
2909rm -f core conftest.err conftest.$ac_objext 2809rm -f core conftest.err conftest.$ac_objext
2910 test "x$ac_cv_prog_cc_c89" != "xno" && break 2810 test "x$ac_cv_prog_cc_c89" != "xno" && break
2911done 2811done
2912rm -f conftest.$ac_ext 2812rm -f conftest.$ac_ext
2913CC=$ac_save_CC 2813CC=$ac_save_CC
2914 2814
2915fi 2815fi
2916# AC_CACHE_VAL 2816# AC_CACHE_VAL
2917case "x$ac_cv_prog_cc_c89" in 2817case "x$ac_cv_prog_cc_c89" in
2918 x) 2818 x)
2919 { $as_echo "$as_me:$LINENO: result: none needed" >&5 2819 { echo "$as_me:$LINENO: result: none needed" >&5
2920$as_echo "none needed" >&6; } ;; 2820echo "${ECHO_T}none needed" >&6; } ;;
2921 xno) 2821 xno)
2922 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 2822 { echo "$as_me:$LINENO: result: unsupported" >&5
2923$as_echo "unsupported" >&6; } ;; 2823echo "${ECHO_T}unsupported" >&6; } ;;
2924 *) 2824 *)
2925 CC="$CC $ac_cv_prog_cc_c89" 2825 CC="$CC $ac_cv_prog_cc_c89"
2926 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2826 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2927$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2827echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2928esac 2828esac
2929 2829
2930 2830
2931ac_ext=c 2831ac_ext=c
2932ac_cpp='$CPP $CPPFLAGS' 2832ac_cpp='$CPP $CPPFLAGS'
2933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935ac_compiler_gnu=$ac_cv_c_compiler_gnu 2835ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 2836
2937# Find a good install program. We prefer a C program (faster), 2837# Find a good install program. We prefer a C program (faster),
2938# so one script is as good as another. But avoid the broken or 2838# so one script is as good as another. But avoid the broken or
2939# incompatible versions: 2839# incompatible versions:
2940# SysV /etc/install, /usr/sbin/install 2840# SysV /etc/install, /usr/sbin/install
2941# SunOS /usr/etc/install 2841# SunOS /usr/etc/install
2942# IRIX /sbin/install 2842# IRIX /sbin/install
2943# AIX /bin/install 2843# AIX /bin/install
2944# AmigaOS /C/install, which installs bootblocks on floppy discs 2844# AmigaOS /C/install, which installs bootblocks on floppy discs
2945# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2845# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2946# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2846# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2947# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2847# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2948# OS/2's system install, which has a completely different semantic 2848# OS/2's system install, which has a completely different semantic
2949# ./install, which can be erroneously created by make from ./install.sh. 2849# ./install, which can be erroneously created by make from ./install.sh.
2950# Reject install programs that cannot install multiple files. 2850{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2951{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2851echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2952$as_echo_n "checking for a BSD-compatible install... " >&6; } 
2953if test -z "$INSTALL"; then 2852if test -z "$INSTALL"; then
2954if test "${ac_cv_path_install+set}" = set; then 2853if test "${ac_cv_path_install+set}" = set; then
2955 $as_echo_n "(cached) " >&6 2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2956else 2855else
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958for as_dir in $PATH 2857for as_dir in $PATH
2959do 2858do
2960 IFS=$as_save_IFS 2859 IFS=$as_save_IFS
2961 test -z "$as_dir" && as_dir=. 2860 test -z "$as_dir" && as_dir=.
2962 # Account for people who put trailing slashes in PATH elements. 2861 # Account for people who put trailing slashes in PATH elements.
2963case $as_dir/ in 2862case $as_dir/ in
2964 ./ | .// | /cC/* | \ 2863 ./ | .// | /cC/* | \
2965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2864 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2966 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2865 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2967 /usr/ucb/* ) ;; 2866 /usr/ucb/* ) ;;
2968 *) 2867 *)
@@ -2971,104 +2870,92 @@ case $as_dir/ in @@ -2971,104 +2870,92 @@ case $as_dir/ in
2971 # by default. 2870 # by default.
2972 for ac_prog in ginstall scoinst install; do 2871 for ac_prog in ginstall scoinst install; do
2973 for ac_exec_ext in '' $ac_executable_extensions; do 2872 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2873 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2975 if test $ac_prog = install && 2874 if test $ac_prog = install &&
2976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2875 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2977 # AIX install. It has an incompatible calling convention. 2876 # AIX install. It has an incompatible calling convention.
2978 : 2877 :
2979 elif test $ac_prog = install && 2878 elif test $ac_prog = install &&
2980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2879 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2981 # program-specific install script used by HP pwplus--don't use. 2880 # program-specific install script used by HP pwplus--don't use.
2982 : 2881 :
2983 else 2882 else
2984 rm -rf conftest.one conftest.two conftest.dir 2883 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2985 echo one > conftest.one 2884 break 3
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 
2996 fi 2885 fi
2997 fi 2886 fi
2998 done 2887 done
2999 done 2888 done
3000 ;; 2889 ;;
3001esac 2890esac
3002 
3003done 2891done
3004IFS=$as_save_IFS 2892IFS=$as_save_IFS
3005 2893
3006rm -rf conftest.one conftest.two conftest.dir 
3007 2894
3008fi 2895fi
3009 if test "${ac_cv_path_install+set}" = set; then 2896 if test "${ac_cv_path_install+set}" = set; then
3010 INSTALL=$ac_cv_path_install 2897 INSTALL=$ac_cv_path_install
3011 else 2898 else
3012 # As a last resort, use the slow shell script. Don't cache a 2899 # As a last resort, use the slow shell script. Don't cache a
3013 # value for INSTALL within a source directory, because that will 2900 # value for INSTALL within a source directory, because that will
3014 # break other packages using the cache if that directory is 2901 # break other packages using the cache if that directory is
3015 # removed, or if the value is a relative name. 2902 # removed, or if the value is a relative name.
3016 INSTALL=$ac_install_sh 2903 INSTALL=$ac_install_sh
3017 fi 2904 fi
3018fi 2905fi
3019{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2906{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3020$as_echo "$INSTALL" >&6; } 2907echo "${ECHO_T}$INSTALL" >&6; }
3021 2908
3022# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2909# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3023# It thinks the first close brace ends the variable substitution. 2910# It thinks the first close brace ends the variable substitution.
3024test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2911test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3025 2912
3026test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2913test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3027 2914
3028test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2915test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3029 2916
3030{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 2917{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3031$as_echo_n "checking whether ln -s works... " >&6; } 2918echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3032LN_S=$as_ln_s 2919LN_S=$as_ln_s
3033if test "$LN_S" = "ln -s"; then 2920if test "$LN_S" = "ln -s"; then
3034 { $as_echo "$as_me:$LINENO: result: yes" >&5 2921 { echo "$as_me:$LINENO: result: yes" >&5
3035$as_echo "yes" >&6; } 2922echo "${ECHO_T}yes" >&6; }
3036else 2923else
3037 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2924 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3038$as_echo "no, using $LN_S" >&6; } 2925echo "${ECHO_T}no, using $LN_S" >&6; }
3039fi 2926fi
3040 2927
3041 2928
3042AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} 2929AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
3043 2930
3044AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} 2931AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
3045 2932
3046 2933
3047 2934
3048ac_ext=c 2935ac_ext=c
3049ac_cpp='$CPP $CPPFLAGS' 2936ac_cpp='$CPP $CPPFLAGS'
3050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052ac_compiler_gnu=$ac_cv_c_compiler_gnu 2939ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2940{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3054$as_echo_n "checking how to run the C preprocessor... " >&6; } 2941echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3055# On Suns, sometimes $CPP names a directory. 2942# On Suns, sometimes $CPP names a directory.
3056if test -n "$CPP" && test -d "$CPP"; then 2943if test -n "$CPP" && test -d "$CPP"; then
3057 CPP= 2944 CPP=
3058fi 2945fi
3059if test -z "$CPP"; then 2946if test -z "$CPP"; then
3060 if test "${ac_cv_prog_CPP+set}" = set; then 2947 if test "${ac_cv_prog_CPP+set}" = set; then
3061 $as_echo_n "(cached) " >&6 2948 echo $ECHO_N "(cached) $ECHO_C" >&6
3062else 2949else
3063 # Double quotes because CPP needs to be expanded 2950 # Double quotes because CPP needs to be expanded
3064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2951 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3065 do 2952 do
3066 ac_preproc_ok=false 2953 ac_preproc_ok=false
3067for ac_c_preproc_warn_flag in '' yes 2954for ac_c_preproc_warn_flag in '' yes
3068do 2955do
3069 # Use a header file that comes with gcc, so configuring glibc 2956 # Use a header file that comes with gcc, so configuring glibc
3070 # with a fresh cross-compiler works. 2957 # with a fresh cross-compiler works.
3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3072 # <limits.h> exists even on freestanding compilers. 2959 # <limits.h> exists even on freestanding compilers.
3073 # On the NeXT, cc -E runs the code through the compiler's parser, 2960 # On the NeXT, cc -E runs the code through the compiler's parser,
3074 # not just through cpp. "Syntax error" is here to catch this case. 2961 # not just through cpp. "Syntax error" is here to catch this case.
@@ -3080,106 +2967,104 @@ cat >>conftest.$ac_ext <<_ACEOF @@ -3080,106 +2967,104 @@ cat >>conftest.$ac_ext <<_ACEOF
3080/* end confdefs.h. */ 2967/* end confdefs.h. */
3081#ifdef __STDC__ 2968#ifdef __STDC__
3082# include <limits.h> 2969# include <limits.h>
3083#else 2970#else
3084# include <assert.h> 2971# include <assert.h>
3085#endif 2972#endif
3086 Syntax error 2973 Syntax error
3087_ACEOF 2974_ACEOF
3088if { (ac_try="$ac_cpp conftest.$ac_ext" 2975if { (ac_try="$ac_cpp conftest.$ac_ext"
3089case "(($ac_try" in 2976case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;; 2978 *) ac_try_echo=$ac_try;;
3092esac 2979esac
3093eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094$as_echo "$ac_try_echo") >&5 
3095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3096 ac_status=$? 2982 ac_status=$?
3097 grep -v '^ *+' conftest.er1 >conftest.err 2983 grep -v '^ *+' conftest.er1 >conftest.err
3098 rm -f conftest.er1 2984 rm -f conftest.er1
3099 cat conftest.err >&5 2985 cat conftest.err >&5
3100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev/null && { 2987 (exit $ac_status); } >/dev/null && {
3102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3103 test ! -s conftest.err 2989 test ! -s conftest.err
3104 }; then 2990 }; then
3105 : 2991 :
3106else 2992else
3107 $as_echo "$as_me: failed program was:" >&5 2993 echo "$as_me: failed program was:" >&5
3108sed 's/^/| /' conftest.$ac_ext >&5 2994sed 's/^/| /' conftest.$ac_ext >&5
3109 2995
3110 # Broken: fails on valid input. 2996 # Broken: fails on valid input.
3111continue 2997continue
3112fi 2998fi
3113 2999
3114rm -f conftest.err conftest.$ac_ext 3000rm -f conftest.err conftest.$ac_ext
3115 3001
3116 # OK, works on sane cases. Now check whether nonexistent headers 3002 # OK, works on sane cases. Now check whether nonexistent headers
3117 # can be detected and how. 3003 # can be detected and how.
3118 cat >conftest.$ac_ext <<_ACEOF 3004 cat >conftest.$ac_ext <<_ACEOF
3119/* confdefs.h. */ 3005/* confdefs.h. */
3120_ACEOF 3006_ACEOF
3121cat confdefs.h >>conftest.$ac_ext 3007cat confdefs.h >>conftest.$ac_ext
3122cat >>conftest.$ac_ext <<_ACEOF 3008cat >>conftest.$ac_ext <<_ACEOF
3123/* end confdefs.h. */ 3009/* end confdefs.h. */
3124#include <ac_nonexistent.h> 3010#include <ac_nonexistent.h>
3125_ACEOF 3011_ACEOF
3126if { (ac_try="$ac_cpp conftest.$ac_ext" 3012if { (ac_try="$ac_cpp conftest.$ac_ext"
3127case "(($ac_try" in 3013case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;; 3015 *) ac_try_echo=$ac_try;;
3130esac 3016esac
3131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132$as_echo "$ac_try_echo") >&5 
3133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3134 ac_status=$? 3019 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err 3020 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1 3021 rm -f conftest.er1
3137 cat conftest.err >&5 3022 cat conftest.err >&5
3138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev/null && { 3024 (exit $ac_status); } >/dev/null && {
3140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3141 test ! -s conftest.err 3026 test ! -s conftest.err
3142 }; then 3027 }; then
3143 # Broken: success on invalid input. 3028 # Broken: success on invalid input.
3144continue 3029continue
3145else 3030else
3146 $as_echo "$as_me: failed program was:" >&5 3031 echo "$as_me: failed program was:" >&5
3147sed 's/^/| /' conftest.$ac_ext >&5 3032sed 's/^/| /' conftest.$ac_ext >&5
3148 3033
3149 # Passes both tests. 3034 # Passes both tests.
3150ac_preproc_ok=: 3035ac_preproc_ok=:
3151break 3036break
3152fi 3037fi
3153 3038
3154rm -f conftest.err conftest.$ac_ext 3039rm -f conftest.err conftest.$ac_ext
3155 3040
3156done 3041done
3157# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3042# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3158rm -f conftest.err conftest.$ac_ext 3043rm -f conftest.err conftest.$ac_ext
3159if $ac_preproc_ok; then 3044if $ac_preproc_ok; then
3160 break 3045 break
3161fi 3046fi
3162 3047
3163 done 3048 done
3164 ac_cv_prog_CPP=$CPP 3049 ac_cv_prog_CPP=$CPP
3165 3050
3166fi 3051fi
3167 CPP=$ac_cv_prog_CPP 3052 CPP=$ac_cv_prog_CPP
3168else 3053else
3169 ac_cv_prog_CPP=$CPP 3054 ac_cv_prog_CPP=$CPP
3170fi 3055fi
3171{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 3056{ echo "$as_me:$LINENO: result: $CPP" >&5
3172$as_echo "$CPP" >&6; } 3057echo "${ECHO_T}$CPP" >&6; }
3173ac_preproc_ok=false 3058ac_preproc_ok=false
3174for ac_c_preproc_warn_flag in '' yes 3059for ac_c_preproc_warn_flag in '' yes
3175do 3060do
3176 # Use a header file that comes with gcc, so configuring glibc 3061 # Use a header file that comes with gcc, so configuring glibc
3177 # with a fresh cross-compiler works. 3062 # with a fresh cross-compiler works.
3178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3179 # <limits.h> exists even on freestanding compilers. 3064 # <limits.h> exists even on freestanding compilers.
3180 # On the NeXT, cc -E runs the code through the compiler's parser, 3065 # On the NeXT, cc -E runs the code through the compiler's parser,
3181 # not just through cpp. "Syntax error" is here to catch this case. 3066 # not just through cpp. "Syntax error" is here to catch this case.
3182 cat >conftest.$ac_ext <<_ACEOF 3067 cat >conftest.$ac_ext <<_ACEOF
3183/* confdefs.h. */ 3068/* confdefs.h. */
3184_ACEOF 3069_ACEOF
3185cat confdefs.h >>conftest.$ac_ext 3070cat confdefs.h >>conftest.$ac_ext
@@ -3187,288 +3072,313 @@ cat >>conftest.$ac_ext <<_ACEOF @@ -3187,288 +3072,313 @@ cat >>conftest.$ac_ext <<_ACEOF
3187/* end confdefs.h. */ 3072/* end confdefs.h. */
3188#ifdef __STDC__ 3073#ifdef __STDC__
3189# include <limits.h> 3074# include <limits.h>
3190#else 3075#else
3191# include <assert.h> 3076# include <assert.h>
3192#endif 3077#endif
3193 Syntax error 3078 Syntax error
3194_ACEOF 3079_ACEOF
3195if { (ac_try="$ac_cpp conftest.$ac_ext" 3080if { (ac_try="$ac_cpp conftest.$ac_ext"
3196case "(($ac_try" in 3081case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;; 3083 *) ac_try_echo=$ac_try;;
3199esac 3084esac
3200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201$as_echo "$ac_try_echo") >&5 
3202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3203 ac_status=$? 3087 ac_status=$?
3204 grep -v '^ *+' conftest.er1 >conftest.err 3088 grep -v '^ *+' conftest.er1 >conftest.err
3205 rm -f conftest.er1 3089 rm -f conftest.er1
3206 cat conftest.err >&5 3090 cat conftest.err >&5
3207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } >/dev/null && { 3092 (exit $ac_status); } >/dev/null && {
3209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3210 test ! -s conftest.err 3094 test ! -s conftest.err
3211 }; then 3095 }; then
3212 : 3096 :
3213else 3097else
3214 $as_echo "$as_me: failed program was:" >&5 3098 echo "$as_me: failed program was:" >&5
3215sed 's/^/| /' conftest.$ac_ext >&5 3099sed 's/^/| /' conftest.$ac_ext >&5
3216 3100
3217 # Broken: fails on valid input. 3101 # Broken: fails on valid input.
3218continue 3102continue
3219fi 3103fi
3220 3104
3221rm -f conftest.err conftest.$ac_ext 3105rm -f conftest.err conftest.$ac_ext
3222 3106
3223 # OK, works on sane cases. Now check whether nonexistent headers 3107 # OK, works on sane cases. Now check whether nonexistent headers
3224 # can be detected and how. 3108 # can be detected and how.
3225 cat >conftest.$ac_ext <<_ACEOF 3109 cat >conftest.$ac_ext <<_ACEOF
3226/* confdefs.h. */ 3110/* confdefs.h. */
3227_ACEOF 3111_ACEOF
3228cat confdefs.h >>conftest.$ac_ext 3112cat confdefs.h >>conftest.$ac_ext
3229cat >>conftest.$ac_ext <<_ACEOF 3113cat >>conftest.$ac_ext <<_ACEOF
3230/* end confdefs.h. */ 3114/* end confdefs.h. */
3231#include <ac_nonexistent.h> 3115#include <ac_nonexistent.h>
3232_ACEOF 3116_ACEOF
3233if { (ac_try="$ac_cpp conftest.$ac_ext" 3117if { (ac_try="$ac_cpp conftest.$ac_ext"
3234case "(($ac_try" in 3118case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;; 3120 *) ac_try_echo=$ac_try;;
3237esac 3121esac
3238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239$as_echo "$ac_try_echo") >&5 
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3241 ac_status=$? 3124 ac_status=$?
3242 grep -v '^ *+' conftest.er1 >conftest.err 3125 grep -v '^ *+' conftest.er1 >conftest.err
3243 rm -f conftest.er1 3126 rm -f conftest.er1
3244 cat conftest.err >&5 3127 cat conftest.err >&5
3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev/null && { 3129 (exit $ac_status); } >/dev/null && {
3247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3248 test ! -s conftest.err 3131 test ! -s conftest.err
3249 }; then 3132 }; then
3250 # Broken: success on invalid input. 3133 # Broken: success on invalid input.
3251continue 3134continue
3252else 3135else
3253 $as_echo "$as_me: failed program was:" >&5 3136 echo "$as_me: failed program was:" >&5
3254sed 's/^/| /' conftest.$ac_ext >&5 3137sed 's/^/| /' conftest.$ac_ext >&5
3255 3138
3256 # Passes both tests. 3139 # Passes both tests.
3257ac_preproc_ok=: 3140ac_preproc_ok=:
3258break 3141break
3259fi 3142fi
3260 3143
3261rm -f conftest.err conftest.$ac_ext 3144rm -f conftest.err conftest.$ac_ext
3262 3145
3263done 3146done
3264# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3265rm -f conftest.err conftest.$ac_ext 3148rm -f conftest.err conftest.$ac_ext
3266if $ac_preproc_ok; then 3149if $ac_preproc_ok; then
3267 : 3150 :
3268else 3151else
3269 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3152 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3270See \`config.log' for more details." >&5 3153See \`config.log' for more details." >&5
3271$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3154echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3272See \`config.log' for more details." >&2;} 3155See \`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; } 3156 { (exit 1); exit 1; }; }
3274fi 3157fi
3275 3158
3276ac_ext=c 3159ac_ext=c
3277ac_cpp='$CPP $CPPFLAGS' 3160ac_cpp='$CPP $CPPFLAGS'
3278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280ac_compiler_gnu=$ac_cv_c_compiler_gnu 3163ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281 3164
3282 3165
3283{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3166{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3284$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3167echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&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
3285if test "${ac_cv_path_GREP+set}" = set; then 3174if test "${ac_cv_path_GREP+set}" = set; then
3286 $as_echo_n "(cached) " >&6 3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3287else 3176else
3288 if test -z "$GREP"; then 
3289 ac_path_GREP_found=false 3177 ac_path_GREP_found=false
3290 # Loop through the user's path and test for each of PROGNAME-LIST 3178# Loop through the user's path and test for each of PROGNAME-LIST
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3180for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3293do 3181do
3294 IFS=$as_save_IFS 3182 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=. 3183 test -z "$as_dir" && as_dir=.
3296 for ac_prog in grep ggrep; do 3184 for ac_prog in grep ggrep; do
3297 for ac_exec_ext in '' $ac_executable_extensions; do 3185 for ac_exec_ext in '' $ac_executable_extensions; do
3298 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3186 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3299 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3187 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3300# Check for GNU ac_path_GREP and select it if it is found. 3188 # Check for GNU ac_path_GREP and select it if it is found.
3301 # Check for GNU $ac_path_GREP 3189 # Check for GNU $ac_path_GREP
3302case `"$ac_path_GREP" --version 2>&1` in 3190case `"$ac_path_GREP" --version 2>&1` in
3303*GNU*) 3191*GNU*)
3304 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3192 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3305*) 3193*)
3306 ac_count=0 3194 ac_count=0
3307 $as_echo_n 0123456789 >"conftest.in" 3195 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3308 while : 3196 while :
3309 do 3197 do
3310 cat "conftest.in" "conftest.in" >"conftest.tmp" 3198 cat "conftest.in" "conftest.in" >"conftest.tmp"
3311 mv "conftest.tmp" "conftest.in" 3199 mv "conftest.tmp" "conftest.in"
3312 cp "conftest.in" "conftest.nl" 3200 cp "conftest.in" "conftest.nl"
3313 $as_echo 'GREP' >> "conftest.nl" 3201 echo 'GREP' >> "conftest.nl"
3314 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3202 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3315 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3316 ac_count=`expr $ac_count + 1` 3204 ac_count=`expr $ac_count + 1`
3317 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3205 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3318 # Best one so far, save it but keep looking for a better one 3206 # Best one so far, save it but keep looking for a better one
3319 ac_cv_path_GREP="$ac_path_GREP" 3207 ac_cv_path_GREP="$ac_path_GREP"
3320 ac_path_GREP_max=$ac_count 3208 ac_path_GREP_max=$ac_count
3321 fi 3209 fi
3322 # 10*(2^10) chars as input seems more than enough 3210 # 10*(2^10) chars as input seems more than enough
3323 test $ac_count -gt 10 && break 3211 test $ac_count -gt 10 && break
3324 done 3212 done
3325 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3326esac 3214esac
3327 3215
3328 $ac_path_GREP_found && break 3 3216
3329 done 3217 $ac_path_GREP_found && break 3
3330 done 3218 done
3331done 3219done
 3220
 3221done
3332IFS=$as_save_IFS 3222IFS=$as_save_IFS
3333 if test -z "$ac_cv_path_GREP"; then 3223
3334 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3224
3335$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3225fi
 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;}
3336 { (exit 1); exit 1; }; } 3231 { (exit 1); exit 1; }; }
3337 fi 3232fi
 3233
3338else 3234else
3339 ac_cv_path_GREP=$GREP 3235 ac_cv_path_GREP=$GREP
3340fi 3236fi
3341 3237
 3238
3342fi 3239fi
3343{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3240{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3344$as_echo "$ac_cv_path_GREP" >&6; } 3241echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3345 GREP="$ac_cv_path_GREP" 3242 GREP="$ac_cv_path_GREP"
3346 3243
3347 3244
3348{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 3245{ echo "$as_me:$LINENO: checking for egrep" >&5
3349$as_echo_n "checking for egrep... " >&6; } 3246echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3350if test "${ac_cv_path_EGREP+set}" = set; then 3247if test "${ac_cv_path_EGREP+set}" = set; then
3351 $as_echo_n "(cached) " >&6 3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3352else 3249else
3353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3250 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3354 then ac_cv_path_EGREP="$GREP -E" 3251 then ac_cv_path_EGREP="$GREP -E"
3355 else 3252 else
3356 if test -z "$EGREP"; then 3253 # Extract the first word of "egrep" to use in msg output
 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
3357 ac_path_EGREP_found=false 3259 ac_path_EGREP_found=false
3358 # Loop through the user's path and test for each of PROGNAME-LIST 3260# Loop through the user's path and test for each of PROGNAME-LIST
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3262for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3361do 3263do
3362 IFS=$as_save_IFS 3264 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=. 3265 test -z "$as_dir" && as_dir=.
3364 for ac_prog in egrep; do 3266 for ac_prog in egrep; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do 3267 for ac_exec_ext in '' $ac_executable_extensions; do
3366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3268 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3367 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3269 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3368# Check for GNU ac_path_EGREP and select it if it is found. 3270 # Check for GNU ac_path_EGREP and select it if it is found.
3369 # Check for GNU $ac_path_EGREP 3271 # Check for GNU $ac_path_EGREP
3370case `"$ac_path_EGREP" --version 2>&1` in 3272case `"$ac_path_EGREP" --version 2>&1` in
3371*GNU*) 3273*GNU*)
3372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3274 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3373*) 3275*)
3374 ac_count=0 3276 ac_count=0
3375 $as_echo_n 0123456789 >"conftest.in" 3277 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3376 while : 3278 while :
3377 do 3279 do
3378 cat "conftest.in" "conftest.in" >"conftest.tmp" 3280 cat "conftest.in" "conftest.in" >"conftest.tmp"
3379 mv "conftest.tmp" "conftest.in" 3281 mv "conftest.tmp" "conftest.in"
3380 cp "conftest.in" "conftest.nl" 3282 cp "conftest.in" "conftest.nl"
3381 $as_echo 'EGREP' >> "conftest.nl" 3283 echo 'EGREP' >> "conftest.nl"
3382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3284 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3285 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3384 ac_count=`expr $ac_count + 1` 3286 ac_count=`expr $ac_count + 1`
3385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3287 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3386 # Best one so far, save it but keep looking for a better one 3288 # Best one so far, save it but keep looking for a better one
3387 ac_cv_path_EGREP="$ac_path_EGREP" 3289 ac_cv_path_EGREP="$ac_path_EGREP"
3388 ac_path_EGREP_max=$ac_count 3290 ac_path_EGREP_max=$ac_count
3389 fi 3291 fi
3390 # 10*(2^10) chars as input seems more than enough 3292 # 10*(2^10) chars as input seems more than enough
3391 test $ac_count -gt 10 && break 3293 test $ac_count -gt 10 && break
3392 done 3294 done
3393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3394esac 3296esac
3395 3297
3396 $ac_path_EGREP_found && break 3 3298
3397 done 3299 $ac_path_EGREP_found && break 3
3398 done 3300 done
3399done 3301done
 3302
 3303done
3400IFS=$as_save_IFS 3304IFS=$as_save_IFS
3401 if test -z "$ac_cv_path_EGREP"; then 3305
3402 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3306
3403$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3307fi
 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;}
3404 { (exit 1); exit 1; }; } 3313 { (exit 1); exit 1; }; }
3405 fi 3314fi
 3315
3406else 3316else
3407 ac_cv_path_EGREP=$EGREP 3317 ac_cv_path_EGREP=$EGREP
3408fi 3318fi
3409 3319
 3320
3410 fi 3321 fi
3411fi 3322fi
3412{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3323{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3413$as_echo "$ac_cv_path_EGREP" >&6; } 3324echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3414 EGREP="$ac_cv_path_EGREP" 3325 EGREP="$ac_cv_path_EGREP"
3415 3326
3416 3327
3417{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3328{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3418$as_echo_n "checking for ANSI C header files... " >&6; } 3329echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3419if test "${ac_cv_header_stdc+set}" = set; then 3330if test "${ac_cv_header_stdc+set}" = set; then
3420 $as_echo_n "(cached) " >&6 3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3421else 3332else
3422 cat >conftest.$ac_ext <<_ACEOF 3333 cat >conftest.$ac_ext <<_ACEOF
3423/* confdefs.h. */ 3334/* confdefs.h. */
3424_ACEOF 3335_ACEOF
3425cat confdefs.h >>conftest.$ac_ext 3336cat confdefs.h >>conftest.$ac_ext
3426cat >>conftest.$ac_ext <<_ACEOF 3337cat >>conftest.$ac_ext <<_ACEOF
3427/* end confdefs.h. */ 3338/* end confdefs.h. */
3428#include <stdlib.h> 3339#include <stdlib.h>
3429#include <stdarg.h> 3340#include <stdarg.h>
3430#include <string.h> 3341#include <string.h>
3431#include <float.h> 3342#include <float.h>
3432 3343
3433int 3344int
3434main () 3345main ()
3435{ 3346{
3436 3347
3437 ; 3348 ;
3438 return 0; 3349 return 0;
3439} 3350}
3440_ACEOF 3351_ACEOF
3441rm -f conftest.$ac_objext 3352rm -f conftest.$ac_objext
3442if { (ac_try="$ac_compile" 3353if { (ac_try="$ac_compile"
3443case "(($ac_try" in 3354case "(($ac_try" in
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;; 3356 *) ac_try_echo=$ac_try;;
3446esac 3357esac
3447eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448$as_echo "$ac_try_echo") >&5 
3449 (eval "$ac_compile") 2>conftest.er1 3359 (eval "$ac_compile") 2>conftest.er1
3450 ac_status=$? 3360 ac_status=$?
3451 grep -v '^ *+' conftest.er1 >conftest.err 3361 grep -v '^ *+' conftest.er1 >conftest.err
3452 rm -f conftest.er1 3362 rm -f conftest.er1
3453 cat conftest.err >&5 3363 cat conftest.err >&5
3454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } && { 3365 (exit $ac_status); } && {
3456 test -z "$ac_c_werror_flag" || 3366 test -z "$ac_c_werror_flag" ||
3457 test ! -s conftest.err 3367 test ! -s conftest.err
3458 } && test -s conftest.$ac_objext; then 3368 } && test -s conftest.$ac_objext; then
3459 ac_cv_header_stdc=yes 3369 ac_cv_header_stdc=yes
3460else 3370else
3461 $as_echo "$as_me: failed program was:" >&5 3371 echo "$as_me: failed program was:" >&5
3462sed 's/^/| /' conftest.$ac_ext >&5 3372sed 's/^/| /' conftest.$ac_ext >&5
3463 3373
3464 ac_cv_header_stdc=no 3374 ac_cv_header_stdc=no
3465fi 3375fi
3466 3376
3467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 3378
3469if test $ac_cv_header_stdc = yes; then 3379if test $ac_cv_header_stdc = yes; then
3470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3471 cat >conftest.$ac_ext <<_ACEOF 3381 cat >conftest.$ac_ext <<_ACEOF
3472/* confdefs.h. */ 3382/* confdefs.h. */
3473_ACEOF 3383_ACEOF
3474cat confdefs.h >>conftest.$ac_ext 3384cat confdefs.h >>conftest.$ac_ext
@@ -3540,452 +3450,436 @@ main () @@ -3540,452 +3450,436 @@ main ()
3540 for (i = 0; i < 256; i++) 3450 for (i = 0; i < 256; i++)
3541 if (XOR (islower (i), ISLOWER (i)) 3451 if (XOR (islower (i), ISLOWER (i))
3542 || toupper (i) != TOUPPER (i)) 3452 || toupper (i) != TOUPPER (i))
3543 return 2; 3453 return 2;
3544 return 0; 3454 return 0;
3545} 3455}
3546_ACEOF 3456_ACEOF
3547rm -f conftest$ac_exeext 3457rm -f conftest$ac_exeext
3548if { (ac_try="$ac_link" 3458if { (ac_try="$ac_link"
3549case "(($ac_try" in 3459case "(($ac_try" in
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;; 3461 *) ac_try_echo=$ac_try;;
3552esac 3462esac
3553eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3463eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554$as_echo "$ac_try_echo") >&5 
3555 (eval "$ac_link") 2>&5 3464 (eval "$ac_link") 2>&5
3556 ac_status=$? 3465 ac_status=$?
3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3559 { (case "(($ac_try" in 3468 { (case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;; 3470 *) ac_try_echo=$ac_try;;
3562esac 3471esac
3563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3472eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564$as_echo "$ac_try_echo") >&5 
3565 (eval "$ac_try") 2>&5 3473 (eval "$ac_try") 2>&5
3566 ac_status=$? 3474 ac_status=$?
3567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then 3476 (exit $ac_status); }; }; then
3569 : 3477 :
3570else 3478else
3571 $as_echo "$as_me: program exited with status $ac_status" >&5 3479 echo "$as_me: program exited with status $ac_status" >&5
3572$as_echo "$as_me: failed program was:" >&5 3480echo "$as_me: failed program was:" >&5
3573sed 's/^/| /' conftest.$ac_ext >&5 3481sed 's/^/| /' conftest.$ac_ext >&5
3574 3482
3575( exit $ac_status ) 3483( exit $ac_status )
3576ac_cv_header_stdc=no 3484ac_cv_header_stdc=no
3577fi 3485fi
3578rm -rf conftest.dSYM 
3579rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3486rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3580fi 3487fi
3581 3488
3582 3489
3583fi 3490fi
3584fi 3491fi
3585{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3492{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3586$as_echo "$ac_cv_header_stdc" >&6; } 3493echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3587if test $ac_cv_header_stdc = yes; then 3494if test $ac_cv_header_stdc = yes; then
3588 3495
3589cat >>confdefs.h <<\_ACEOF 3496cat >>confdefs.h <<\_ACEOF
3590#define STDC_HEADERS 1 3497#define STDC_HEADERS 1
3591_ACEOF 3498_ACEOF
3592 3499
3593fi 3500fi
3594 3501
3595# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3502# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3596 3503
3597 3504
3598 3505
3599 3506
3600 3507
3601 3508
3602 3509
3603 3510
3604 3511
3605for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3512for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3606 inttypes.h stdint.h unistd.h 3513 inttypes.h stdint.h unistd.h
3607do 3514do
3608as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3515as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3609{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3516{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3610$as_echo_n "checking for $ac_header... " >&6; } 3517echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3611if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3518if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3612 $as_echo_n "(cached) " >&6 3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3613else 3520else
3614 cat >conftest.$ac_ext <<_ACEOF 3521 cat >conftest.$ac_ext <<_ACEOF
3615/* confdefs.h. */ 3522/* confdefs.h. */
3616_ACEOF 3523_ACEOF
3617cat confdefs.h >>conftest.$ac_ext 3524cat confdefs.h >>conftest.$ac_ext
3618cat >>conftest.$ac_ext <<_ACEOF 3525cat >>conftest.$ac_ext <<_ACEOF
3619/* end confdefs.h. */ 3526/* end confdefs.h. */
3620$ac_includes_default 3527$ac_includes_default
3621 3528
3622#include <$ac_header> 3529#include <$ac_header>
3623_ACEOF 3530_ACEOF
3624rm -f conftest.$ac_objext 3531rm -f conftest.$ac_objext
3625if { (ac_try="$ac_compile" 3532if { (ac_try="$ac_compile"
3626case "(($ac_try" in 3533case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;; 3535 *) ac_try_echo=$ac_try;;
3629esac 3536esac
3630eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631$as_echo "$ac_try_echo") >&5 
3632 (eval "$ac_compile") 2>conftest.er1 3538 (eval "$ac_compile") 2>conftest.er1
3633 ac_status=$? 3539 ac_status=$?
3634 grep -v '^ *+' conftest.er1 >conftest.err 3540 grep -v '^ *+' conftest.er1 >conftest.err
3635 rm -f conftest.er1 3541 rm -f conftest.er1
3636 cat conftest.err >&5 3542 cat conftest.err >&5
3637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } && { 3544 (exit $ac_status); } && {
3639 test -z "$ac_c_werror_flag" || 3545 test -z "$ac_c_werror_flag" ||
3640 test ! -s conftest.err 3546 test ! -s conftest.err
3641 } && test -s conftest.$ac_objext; then 3547 } && test -s conftest.$ac_objext; then
3642 eval "$as_ac_Header=yes" 3548 eval "$as_ac_Header=yes"
3643else 3549else
3644 $as_echo "$as_me: failed program was:" >&5 3550 echo "$as_me: failed program was:" >&5
3645sed 's/^/| /' conftest.$ac_ext >&5 3551sed 's/^/| /' conftest.$ac_ext >&5
3646 3552
3647 eval "$as_ac_Header=no" 3553 eval "$as_ac_Header=no"
3648fi 3554fi
3649 3555
3650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651fi 3557fi
3652ac_res=`eval 'as_val=${'$as_ac_Header'} 3558ac_res=`eval echo '${'$as_ac_Header'}'`
3653 $as_echo "$as_val"'` 3559 { echo "$as_me:$LINENO: result: $ac_res" >&5
3654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3560echo "${ECHO_T}$ac_res" >&6; }
3655$as_echo "$ac_res" >&6; } 3561if test `eval echo '${'$as_ac_Header'}'` = yes; then
3656if test `eval 'as_val=${'$as_ac_Header'} 
3657 $as_echo "$as_val"'` = yes; then 
3658 cat >>confdefs.h <<_ACEOF 3562 cat >>confdefs.h <<_ACEOF
3659#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3563#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3660_ACEOF 3564_ACEOF
3661 3565
3662fi 3566fi
3663 3567
3664done 3568done
3665 3569
3666 3570
3667 3571
3668 3572
3669 3573
3670 3574
3671 3575
3672for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h 3576for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h
3673do 3577do
3674as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3578as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3675if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3579if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3676 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3677$as_echo_n "checking for $ac_header... " >&6; } 3581echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3678if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3582if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3679 $as_echo_n "(cached) " >&6 3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3680fi 3584fi
3681ac_res=`eval 'as_val=${'$as_ac_Header'} 3585ac_res=`eval echo '${'$as_ac_Header'}'`
3682 $as_echo "$as_val"'` 3586 { echo "$as_me:$LINENO: result: $ac_res" >&5
3683 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3587echo "${ECHO_T}$ac_res" >&6; }
3684$as_echo "$ac_res" >&6; } 
3685else 3588else
3686 # Is the header compilable? 3589 # Is the header compilable?
3687{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3590{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3688$as_echo_n "checking $ac_header usability... " >&6; } 3591echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3689cat >conftest.$ac_ext <<_ACEOF 3592cat >conftest.$ac_ext <<_ACEOF
3690/* confdefs.h. */ 3593/* confdefs.h. */
3691_ACEOF 3594_ACEOF
3692cat confdefs.h >>conftest.$ac_ext 3595cat confdefs.h >>conftest.$ac_ext
3693cat >>conftest.$ac_ext <<_ACEOF 3596cat >>conftest.$ac_ext <<_ACEOF
3694/* end confdefs.h. */ 3597/* end confdefs.h. */
3695$ac_includes_default 3598$ac_includes_default
3696#include <$ac_header> 3599#include <$ac_header>
3697_ACEOF 3600_ACEOF
3698rm -f conftest.$ac_objext 3601rm -f conftest.$ac_objext
3699if { (ac_try="$ac_compile" 3602if { (ac_try="$ac_compile"
3700case "(($ac_try" in 3603case "(($ac_try" in
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;; 3605 *) ac_try_echo=$ac_try;;
3703esac 3606esac
3704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705$as_echo "$ac_try_echo") >&5 
3706 (eval "$ac_compile") 2>conftest.er1 3608 (eval "$ac_compile") 2>conftest.er1
3707 ac_status=$? 3609 ac_status=$?
3708 grep -v '^ *+' conftest.er1 >conftest.err 3610 grep -v '^ *+' conftest.er1 >conftest.err
3709 rm -f conftest.er1 3611 rm -f conftest.er1
3710 cat conftest.err >&5 3612 cat conftest.err >&5
3711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } && { 3614 (exit $ac_status); } && {
3713 test -z "$ac_c_werror_flag" || 3615 test -z "$ac_c_werror_flag" ||
3714 test ! -s conftest.err 3616 test ! -s conftest.err
3715 } && test -s conftest.$ac_objext; then 3617 } && test -s conftest.$ac_objext; then
3716 ac_header_compiler=yes 3618 ac_header_compiler=yes
3717else 3619else
3718 $as_echo "$as_me: failed program was:" >&5 3620 echo "$as_me: failed program was:" >&5
3719sed 's/^/| /' conftest.$ac_ext >&5 3621sed 's/^/| /' conftest.$ac_ext >&5
3720 3622
3721 ac_header_compiler=no 3623 ac_header_compiler=no
3722fi 3624fi
3723 3625
3724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3627{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3726$as_echo "$ac_header_compiler" >&6; } 3628echo "${ECHO_T}$ac_header_compiler" >&6; }
3727 3629
3728# Is the header present? 3630# Is the header present?
3729{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3631{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3730$as_echo_n "checking $ac_header presence... " >&6; } 3632echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3731cat >conftest.$ac_ext <<_ACEOF 3633cat >conftest.$ac_ext <<_ACEOF
3732/* confdefs.h. */ 3634/* confdefs.h. */
3733_ACEOF 3635_ACEOF
3734cat confdefs.h >>conftest.$ac_ext 3636cat confdefs.h >>conftest.$ac_ext
3735cat >>conftest.$ac_ext <<_ACEOF 3637cat >>conftest.$ac_ext <<_ACEOF
3736/* end confdefs.h. */ 3638/* end confdefs.h. */
3737#include <$ac_header> 3639#include <$ac_header>
3738_ACEOF 3640_ACEOF
3739if { (ac_try="$ac_cpp conftest.$ac_ext" 3641if { (ac_try="$ac_cpp conftest.$ac_ext"
3740case "(($ac_try" in 3642case "(($ac_try" in
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;; 3644 *) ac_try_echo=$ac_try;;
3743esac 3645esac
3744eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3745$as_echo "$ac_try_echo") >&5 
3746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3747 ac_status=$? 3648 ac_status=$?
3748 grep -v '^ *+' conftest.er1 >conftest.err 3649 grep -v '^ *+' conftest.er1 >conftest.err
3749 rm -f conftest.er1 3650 rm -f conftest.er1
3750 cat conftest.err >&5 3651 cat conftest.err >&5
3751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } >/dev/null && { 3653 (exit $ac_status); } >/dev/null && {
3753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3754 test ! -s conftest.err 3655 test ! -s conftest.err
3755 }; then 3656 }; then
3756 ac_header_preproc=yes 3657 ac_header_preproc=yes
3757else 3658else
3758 $as_echo "$as_me: failed program was:" >&5 3659 echo "$as_me: failed program was:" >&5
3759sed 's/^/| /' conftest.$ac_ext >&5 3660sed 's/^/| /' conftest.$ac_ext >&5
3760 3661
3761 ac_header_preproc=no 3662 ac_header_preproc=no
3762fi 3663fi
3763 3664
3764rm -f conftest.err conftest.$ac_ext 3665rm -f conftest.err conftest.$ac_ext
3765{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3666{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3766$as_echo "$ac_header_preproc" >&6; } 3667echo "${ECHO_T}$ac_header_preproc" >&6; }
3767 3668
3768# So? What about this header? 3669# So? What about this header?
3769case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3670case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3770 yes:no: ) 3671 yes:no: )
3771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3772$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3673echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3774$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3675echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3775 ac_header_preproc=yes 3676 ac_header_preproc=yes
3776 ;; 3677 ;;
3777 no:yes:* ) 3678 no:yes:* )
3778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3779$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3680echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3781$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3682echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3783$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3684echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3785$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3686echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3787$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3688echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3789$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3690echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3790 ( cat <<\_ASBOX 3691 ( cat <<\_ASBOX
3791## ----------------------------- ## 3692## ----------------------------- ##
3792## Report this to agc@netbsd.org ## 3693## Report this to agc@netbsd.org ##
3793## ----------------------------- ## 3694## ----------------------------- ##
3794_ASBOX 3695_ASBOX
3795 ) | sed "s/^/$as_me: WARNING: /" >&2 3696 ) | sed "s/^/$as_me: WARNING: /" >&2
3796 ;; 3697 ;;
3797esac 3698esac
3798{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3699{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3799$as_echo_n "checking for $ac_header... " >&6; } 3700echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3800if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3701if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3801 $as_echo_n "(cached) " >&6 3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3802else 3703else
3803 eval "$as_ac_Header=\$ac_header_preproc" 3704 eval "$as_ac_Header=\$ac_header_preproc"
3804fi 3705fi
3805ac_res=`eval 'as_val=${'$as_ac_Header'} 3706ac_res=`eval echo '${'$as_ac_Header'}'`
3806 $as_echo "$as_val"'` 3707 { echo "$as_me:$LINENO: result: $ac_res" >&5
3807 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3708echo "${ECHO_T}$ac_res" >&6; }
3808$as_echo "$ac_res" >&6; } 
3809 3709
3810fi 3710fi
3811if test `eval 'as_val=${'$as_ac_Header'} 3711if test `eval echo '${'$as_ac_Header'}'` = yes; then
3812 $as_echo "$as_val"'` = yes; then 
3813 cat >>confdefs.h <<_ACEOF 3712 cat >>confdefs.h <<_ACEOF
3814#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3713#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3815_ACEOF 3714_ACEOF
3816 3715
3817fi 3716fi
3818 3717
3819done 3718done
3820 3719
3821 3720
3822 3721
3823 3722
3824for ac_header in sys/cdefs.h sys/file.h sys/param.h 3723for ac_header in sys/cdefs.h sys/file.h sys/param.h
3825do 3724do
3826as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3725as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3827if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3726if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3828 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3829$as_echo_n "checking for $ac_header... " >&6; } 3728echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3830if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3729if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3831 $as_echo_n "(cached) " >&6 3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3832fi 3731fi
3833ac_res=`eval 'as_val=${'$as_ac_Header'} 3732ac_res=`eval echo '${'$as_ac_Header'}'`
3834 $as_echo "$as_val"'` 3733 { echo "$as_me:$LINENO: result: $ac_res" >&5
3835 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3734echo "${ECHO_T}$ac_res" >&6; }
3836$as_echo "$ac_res" >&6; } 
3837else 3735else
3838 # Is the header compilable? 3736 # Is the header compilable?
3839{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3737{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3840$as_echo_n "checking $ac_header usability... " >&6; } 3738echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3841cat >conftest.$ac_ext <<_ACEOF 3739cat >conftest.$ac_ext <<_ACEOF
3842/* confdefs.h. */ 3740/* confdefs.h. */
3843_ACEOF 3741_ACEOF
3844cat confdefs.h >>conftest.$ac_ext 3742cat confdefs.h >>conftest.$ac_ext
3845cat >>conftest.$ac_ext <<_ACEOF 3743cat >>conftest.$ac_ext <<_ACEOF
3846/* end confdefs.h. */ 3744/* end confdefs.h. */
3847$ac_includes_default 3745$ac_includes_default
3848#include <$ac_header> 3746#include <$ac_header>
3849_ACEOF 3747_ACEOF
3850rm -f conftest.$ac_objext 3748rm -f conftest.$ac_objext
3851if { (ac_try="$ac_compile" 3749if { (ac_try="$ac_compile"
3852case "(($ac_try" in 3750case "(($ac_try" in
3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3854 *) ac_try_echo=$ac_try;; 3752 *) ac_try_echo=$ac_try;;
3855esac 3753esac
3856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3857$as_echo "$ac_try_echo") >&5 
3858 (eval "$ac_compile") 2>conftest.er1 3755 (eval "$ac_compile") 2>conftest.er1
3859 ac_status=$? 3756 ac_status=$?
3860 grep -v '^ *+' conftest.er1 >conftest.err 3757 grep -v '^ *+' conftest.er1 >conftest.err
3861 rm -f conftest.er1 3758 rm -f conftest.er1
3862 cat conftest.err >&5 3759 cat conftest.err >&5
3863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } && { 3761 (exit $ac_status); } && {
3865 test -z "$ac_c_werror_flag" || 3762 test -z "$ac_c_werror_flag" ||
3866 test ! -s conftest.err 3763 test ! -s conftest.err
3867 } && test -s conftest.$ac_objext; then 3764 } && test -s conftest.$ac_objext; then
3868 ac_header_compiler=yes 3765 ac_header_compiler=yes
3869else 3766else
3870 $as_echo "$as_me: failed program was:" >&5 3767 echo "$as_me: failed program was:" >&5
3871sed 's/^/| /' conftest.$ac_ext >&5 3768sed 's/^/| /' conftest.$ac_ext >&5
3872 3769
3873 ac_header_compiler=no 3770 ac_header_compiler=no
3874fi 3771fi
3875 3772
3876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3774{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3878$as_echo "$ac_header_compiler" >&6; } 3775echo "${ECHO_T}$ac_header_compiler" >&6; }
3879 3776
3880# Is the header present? 3777# Is the header present?
3881{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3778{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3882$as_echo_n "checking $ac_header presence... " >&6; } 3779echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3883cat >conftest.$ac_ext <<_ACEOF 3780cat >conftest.$ac_ext <<_ACEOF
3884/* confdefs.h. */ 3781/* confdefs.h. */
3885_ACEOF 3782_ACEOF
3886cat confdefs.h >>conftest.$ac_ext 3783cat confdefs.h >>conftest.$ac_ext
3887cat >>conftest.$ac_ext <<_ACEOF 3784cat >>conftest.$ac_ext <<_ACEOF
3888/* end confdefs.h. */ 3785/* end confdefs.h. */
3889#include <$ac_header> 3786#include <$ac_header>
3890_ACEOF 3787_ACEOF
3891if { (ac_try="$ac_cpp conftest.$ac_ext" 3788if { (ac_try="$ac_cpp conftest.$ac_ext"
3892case "(($ac_try" in 3789case "(($ac_try" in
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;; 3791 *) ac_try_echo=$ac_try;;
3895esac 3792esac
3896eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3793eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3897$as_echo "$ac_try_echo") >&5 
3898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3899 ac_status=$? 3795 ac_status=$?
3900 grep -v '^ *+' conftest.er1 >conftest.err 3796 grep -v '^ *+' conftest.er1 >conftest.err
3901 rm -f conftest.er1 3797 rm -f conftest.er1
3902 cat conftest.err >&5 3798 cat conftest.err >&5
3903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } >/dev/null && { 3800 (exit $ac_status); } >/dev/null && {
3905 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3906 test ! -s conftest.err 3802 test ! -s conftest.err
3907 }; then 3803 }; then
3908 ac_header_preproc=yes 3804 ac_header_preproc=yes
3909else 3805else
3910 $as_echo "$as_me: failed program was:" >&5 3806 echo "$as_me: failed program was:" >&5
3911sed 's/^/| /' conftest.$ac_ext >&5 3807sed 's/^/| /' conftest.$ac_ext >&5
3912 3808
3913 ac_header_preproc=no 3809 ac_header_preproc=no
3914fi 3810fi
3915 3811
3916rm -f conftest.err conftest.$ac_ext 3812rm -f conftest.err conftest.$ac_ext
3917{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3813{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3918$as_echo "$ac_header_preproc" >&6; } 3814echo "${ECHO_T}$ac_header_preproc" >&6; }
3919 3815
3920# So? What about this header? 3816# So? What about this header?
3921case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3817case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3922 yes:no: ) 3818 yes:no: )
3923 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3924$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3820echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3926$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3822echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3927 ac_header_preproc=yes 3823 ac_header_preproc=yes
3928 ;; 3824 ;;
3929 no:yes:* ) 3825 no:yes:* )
3930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3931$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3827echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3933$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3829echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3935$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3831echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3937$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3833echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3939$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3835echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3941$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3837echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3942 ( cat <<\_ASBOX 3838 ( cat <<\_ASBOX
3943## ----------------------------- ## 3839## ----------------------------- ##
3944## Report this to agc@netbsd.org ## 3840## Report this to agc@netbsd.org ##
3945## ----------------------------- ## 3841## ----------------------------- ##
3946_ASBOX 3842_ASBOX
3947 ) | sed "s/^/$as_me: WARNING: /" >&2 3843 ) | sed "s/^/$as_me: WARNING: /" >&2
3948 ;; 3844 ;;
3949esac 3845esac
3950{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3846{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3951$as_echo_n "checking for $ac_header... " >&6; } 3847echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3952if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3848if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3953 $as_echo_n "(cached) " >&6 3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3954else 3850else
3955 eval "$as_ac_Header=\$ac_header_preproc" 3851 eval "$as_ac_Header=\$ac_header_preproc"
3956fi 3852fi
3957ac_res=`eval 'as_val=${'$as_ac_Header'} 3853ac_res=`eval echo '${'$as_ac_Header'}'`
3958 $as_echo "$as_val"'` 3854 { echo "$as_me:$LINENO: result: $ac_res" >&5
3959 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3855echo "${ECHO_T}$ac_res" >&6; }
3960$as_echo "$ac_res" >&6; } 
3961 3856
3962fi 3857fi
3963if test `eval 'as_val=${'$as_ac_Header'} 3858if test `eval echo '${'$as_ac_Header'}'` = yes; then
3964 $as_echo "$as_val"'` = yes; then 
3965 cat >>confdefs.h <<_ACEOF 3859 cat >>confdefs.h <<_ACEOF
3966#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3860#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3967_ACEOF 3861_ACEOF
3968 3862
3969fi 3863fi
3970 3864
3971done 3865done
3972 3866
3973 3867
3974 3868
3975 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 3869 { echo "$as_me:$LINENO: checking for uint8_t" >&5
3976$as_echo_n "checking for uint8_t... " >&6; } 3870echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
3977if test "${ac_cv_c_uint8_t+set}" = set; then 3871if test "${ac_cv_c_uint8_t+set}" = set; then
3978 $as_echo_n "(cached) " >&6 3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3979else 3873else
3980 ac_cv_c_uint8_t=no 3874 ac_cv_c_uint8_t=no
3981 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ 3875 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
3982 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 3876 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
3983 cat >conftest.$ac_ext <<_ACEOF 3877 cat >conftest.$ac_ext <<_ACEOF
3984/* confdefs.h. */ 3878/* confdefs.h. */
3985_ACEOF 3879_ACEOF
3986cat confdefs.h >>conftest.$ac_ext 3880cat confdefs.h >>conftest.$ac_ext
3987cat >>conftest.$ac_ext <<_ACEOF 3881cat >>conftest.$ac_ext <<_ACEOF
3988/* end confdefs.h. */ 3882/* end confdefs.h. */
3989$ac_includes_default 3883$ac_includes_default
3990int 3884int
3991main () 3885main ()
@@ -3993,76 +3887,75 @@ main () @@ -3993,76 +3887,75 @@ main ()
3993static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; 3887static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
3994test_array [0] = 0 3888test_array [0] = 0
3995 3889
3996 ; 3890 ;
3997 return 0; 3891 return 0;
3998} 3892}
3999_ACEOF 3893_ACEOF
4000rm -f conftest.$ac_objext 3894rm -f conftest.$ac_objext
4001if { (ac_try="$ac_compile" 3895if { (ac_try="$ac_compile"
4002case "(($ac_try" in 3896case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;; 3898 *) ac_try_echo=$ac_try;;
4005esac 3899esac
4006eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007$as_echo "$ac_try_echo") >&5 
4008 (eval "$ac_compile") 2>conftest.er1 3901 (eval "$ac_compile") 2>conftest.er1
4009 ac_status=$? 3902 ac_status=$?
4010 grep -v '^ *+' conftest.er1 >conftest.err 3903 grep -v '^ *+' conftest.er1 >conftest.err
4011 rm -f conftest.er1 3904 rm -f conftest.er1
4012 cat conftest.err >&5 3905 cat conftest.err >&5
4013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } && { 3907 (exit $ac_status); } && {
4015 test -z "$ac_c_werror_flag" || 3908 test -z "$ac_c_werror_flag" ||
4016 test ! -s conftest.err 3909 test ! -s conftest.err
4017 } && test -s conftest.$ac_objext; then 3910 } && test -s conftest.$ac_objext; then
4018 case $ac_type in 3911 case $ac_type in
4019 uint8_t) ac_cv_c_uint8_t=yes ;; 3912 uint8_t) ac_cv_c_uint8_t=yes ;;
4020 *) ac_cv_c_uint8_t=$ac_type ;; 3913 *) ac_cv_c_uint8_t=$ac_type ;;
4021esac 3914esac
4022 3915
4023else 3916else
4024 $as_echo "$as_me: failed program was:" >&5 3917 echo "$as_me: failed program was:" >&5
4025sed 's/^/| /' conftest.$ac_ext >&5 3918sed 's/^/| /' conftest.$ac_ext >&5
4026 3919
4027 3920
4028fi 3921fi
4029 3922
4030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 test "$ac_cv_c_uint8_t" != no && break 3924 test "$ac_cv_c_uint8_t" != no && break
4032 done 3925 done
4033fi 3926fi
4034{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 3927{ echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
4035$as_echo "$ac_cv_c_uint8_t" >&6; } 3928echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
4036 case $ac_cv_c_uint8_t in #( 3929 case $ac_cv_c_uint8_t in #(
4037 no|yes) ;; #( 3930 no|yes) ;; #(
4038 *) 3931 *)
4039 3932
4040cat >>confdefs.h <<\_ACEOF 3933cat >>confdefs.h <<\_ACEOF
4041#define _UINT8_T 1 3934#define _UINT8_T 1
4042_ACEOF 3935_ACEOF
4043 3936
4044 3937
4045cat >>confdefs.h <<_ACEOF 3938cat >>confdefs.h <<_ACEOF
4046#define uint8_t $ac_cv_c_uint8_t 3939#define uint8_t $ac_cv_c_uint8_t
4047_ACEOF 3940_ACEOF
4048;; 3941;;
4049 esac 3942 esac
4050 3943
4051 3944
4052 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 3945 { echo "$as_me:$LINENO: checking for uint16_t" >&5
4053$as_echo_n "checking for uint16_t... " >&6; } 3946echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
4054if test "${ac_cv_c_uint16_t+set}" = set; then 3947if test "${ac_cv_c_uint16_t+set}" = set; then
4055 $as_echo_n "(cached) " >&6 3948 echo $ECHO_N "(cached) $ECHO_C" >&6
4056else 3949else
4057 ac_cv_c_uint16_t=no 3950 ac_cv_c_uint16_t=no
4058 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ 3951 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
4059 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 3952 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4060 cat >conftest.$ac_ext <<_ACEOF 3953 cat >conftest.$ac_ext <<_ACEOF
4061/* confdefs.h. */ 3954/* confdefs.h. */
4062_ACEOF 3955_ACEOF
4063cat confdefs.h >>conftest.$ac_ext 3956cat confdefs.h >>conftest.$ac_ext
4064cat >>conftest.$ac_ext <<_ACEOF 3957cat >>conftest.$ac_ext <<_ACEOF
4065/* end confdefs.h. */ 3958/* end confdefs.h. */
4066$ac_includes_default 3959$ac_includes_default
4067int 3960int
4068main () 3961main ()
@@ -4070,72 +3963,71 @@ main () @@ -4070,72 +3963,71 @@ main ()
4070static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; 3963static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
4071test_array [0] = 0 3964test_array [0] = 0
4072 3965
4073 ; 3966 ;
4074 return 0; 3967 return 0;
4075} 3968}
4076_ACEOF 3969_ACEOF
4077rm -f conftest.$ac_objext 3970rm -f conftest.$ac_objext
4078if { (ac_try="$ac_compile" 3971if { (ac_try="$ac_compile"
4079case "(($ac_try" in 3972case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;; 3974 *) ac_try_echo=$ac_try;;
4082esac 3975esac
4083eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3976eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084$as_echo "$ac_try_echo") >&5 
4085 (eval "$ac_compile") 2>conftest.er1 3977 (eval "$ac_compile") 2>conftest.er1
4086 ac_status=$? 3978 ac_status=$?
4087 grep -v '^ *+' conftest.er1 >conftest.err 3979 grep -v '^ *+' conftest.er1 >conftest.err
4088 rm -f conftest.er1 3980 rm -f conftest.er1
4089 cat conftest.err >&5 3981 cat conftest.err >&5
4090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } && { 3983 (exit $ac_status); } && {
4092 test -z "$ac_c_werror_flag" || 3984 test -z "$ac_c_werror_flag" ||
4093 test ! -s conftest.err 3985 test ! -s conftest.err
4094 } && test -s conftest.$ac_objext; then 3986 } && test -s conftest.$ac_objext; then
4095 case $ac_type in 3987 case $ac_type in
4096 uint16_t) ac_cv_c_uint16_t=yes ;; 3988 uint16_t) ac_cv_c_uint16_t=yes ;;
4097 *) ac_cv_c_uint16_t=$ac_type ;; 3989 *) ac_cv_c_uint16_t=$ac_type ;;
4098esac 3990esac
4099 3991
4100else 3992else
4101 $as_echo "$as_me: failed program was:" >&5 3993 echo "$as_me: failed program was:" >&5
4102sed 's/^/| /' conftest.$ac_ext >&5 3994sed 's/^/| /' conftest.$ac_ext >&5
4103 3995
4104 3996
4105fi 3997fi
4106 3998
4107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 test "$ac_cv_c_uint16_t" != no && break 4000 test "$ac_cv_c_uint16_t" != no && break
4109 done 4001 done
4110fi 4002fi
4111{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 4003{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
4112$as_echo "$ac_cv_c_uint16_t" >&6; } 4004echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
4113 case $ac_cv_c_uint16_t in #( 4005 case $ac_cv_c_uint16_t in #(
4114 no|yes) ;; #( 4006 no|yes) ;; #(
4115 *) 4007 *)
4116 4008
4117 4009
4118cat >>confdefs.h <<_ACEOF 4010cat >>confdefs.h <<_ACEOF
4119#define uint16_t $ac_cv_c_uint16_t 4011#define uint16_t $ac_cv_c_uint16_t
4120_ACEOF 4012_ACEOF
4121;; 4013;;
4122 esac 4014 esac
4123 4015
4124 4016
4125 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 4017 { echo "$as_me:$LINENO: checking for uint32_t" >&5
4126$as_echo_n "checking for uint32_t... " >&6; } 4018echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
4127if test "${ac_cv_c_uint32_t+set}" = set; then 4019if test "${ac_cv_c_uint32_t+set}" = set; then
4128 $as_echo_n "(cached) " >&6 4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4129else 4021else
4130 ac_cv_c_uint32_t=no 4022 ac_cv_c_uint32_t=no
4131 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ 4023 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
4132 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 4024 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4133 cat >conftest.$ac_ext <<_ACEOF 4025 cat >conftest.$ac_ext <<_ACEOF
4134/* confdefs.h. */ 4026/* confdefs.h. */
4135_ACEOF 4027_ACEOF
4136cat confdefs.h >>conftest.$ac_ext 4028cat confdefs.h >>conftest.$ac_ext
4137cat >>conftest.$ac_ext <<_ACEOF 4029cat >>conftest.$ac_ext <<_ACEOF
4138/* end confdefs.h. */ 4030/* end confdefs.h. */
4139$ac_includes_default 4031$ac_includes_default
4140int 4032int
4141main () 4033main ()
@@ -4143,76 +4035,75 @@ main () @@ -4143,76 +4035,75 @@ main ()
4143static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; 4035static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
4144test_array [0] = 0 4036test_array [0] = 0
4145 4037
4146 ; 4038 ;
4147 return 0; 4039 return 0;
4148} 4040}
4149_ACEOF 4041_ACEOF
4150rm -f conftest.$ac_objext 4042rm -f conftest.$ac_objext
4151if { (ac_try="$ac_compile" 4043if { (ac_try="$ac_compile"
4152case "(($ac_try" in 4044case "(($ac_try" in
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;; 4046 *) ac_try_echo=$ac_try;;
4155esac 4047esac
4156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157$as_echo "$ac_try_echo") >&5 
4158 (eval "$ac_compile") 2>conftest.er1 4049 (eval "$ac_compile") 2>conftest.er1
4159 ac_status=$? 4050 ac_status=$?
4160 grep -v '^ *+' conftest.er1 >conftest.err 4051 grep -v '^ *+' conftest.er1 >conftest.err
4161 rm -f conftest.er1 4052 rm -f conftest.er1
4162 cat conftest.err >&5 4053 cat conftest.err >&5
4163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } && { 4055 (exit $ac_status); } && {
4165 test -z "$ac_c_werror_flag" || 4056 test -z "$ac_c_werror_flag" ||
4166 test ! -s conftest.err 4057 test ! -s conftest.err
4167 } && test -s conftest.$ac_objext; then 4058 } && test -s conftest.$ac_objext; then
4168 case $ac_type in 4059 case $ac_type in
4169 uint32_t) ac_cv_c_uint32_t=yes ;; 4060 uint32_t) ac_cv_c_uint32_t=yes ;;
4170 *) ac_cv_c_uint32_t=$ac_type ;; 4061 *) ac_cv_c_uint32_t=$ac_type ;;
4171esac 4062esac
4172 4063
4173else 4064else
4174 $as_echo "$as_me: failed program was:" >&5 4065 echo "$as_me: failed program was:" >&5
4175sed 's/^/| /' conftest.$ac_ext >&5 4066sed 's/^/| /' conftest.$ac_ext >&5
4176 4067
4177 4068
4178fi 4069fi
4179 4070
4180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 test "$ac_cv_c_uint32_t" != no && break 4072 test "$ac_cv_c_uint32_t" != no && break
4182 done 4073 done
4183fi 4074fi
4184{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 4075{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
4185$as_echo "$ac_cv_c_uint32_t" >&6; } 4076echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
4186 case $ac_cv_c_uint32_t in #( 4077 case $ac_cv_c_uint32_t in #(
4187 no|yes) ;; #( 4078 no|yes) ;; #(
4188 *) 4079 *)
4189 4080
4190cat >>confdefs.h <<\_ACEOF 4081cat >>confdefs.h <<\_ACEOF
4191#define _UINT32_T 1 4082#define _UINT32_T 1
4192_ACEOF 4083_ACEOF
4193 4084
4194 4085
4195cat >>confdefs.h <<_ACEOF 4086cat >>confdefs.h <<_ACEOF
4196#define uint32_t $ac_cv_c_uint32_t 4087#define uint32_t $ac_cv_c_uint32_t
4197_ACEOF 4088_ACEOF
4198;; 4089;;
4199 esac 4090 esac
4200 4091
4201 4092
4202 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 4093 { echo "$as_me:$LINENO: checking for uint64_t" >&5
4203$as_echo_n "checking for uint64_t... " >&6; } 4094echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
4204if test "${ac_cv_c_uint64_t+set}" = set; then 4095if test "${ac_cv_c_uint64_t+set}" = set; then
4205 $as_echo_n "(cached) " >&6 4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4206else 4097else
4207 ac_cv_c_uint64_t=no 4098 ac_cv_c_uint64_t=no
4208 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ 4099 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
4209 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 4100 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4210 cat >conftest.$ac_ext <<_ACEOF 4101 cat >conftest.$ac_ext <<_ACEOF
4211/* confdefs.h. */ 4102/* confdefs.h. */
4212_ACEOF 4103_ACEOF
4213cat confdefs.h >>conftest.$ac_ext 4104cat confdefs.h >>conftest.$ac_ext
4214cat >>conftest.$ac_ext <<_ACEOF 4105cat >>conftest.$ac_ext <<_ACEOF
4215/* end confdefs.h. */ 4106/* end confdefs.h. */
4216$ac_includes_default 4107$ac_includes_default
4217int 4108int
4218main () 4109main ()
@@ -4220,546 +4111,385 @@ main () @@ -4220,546 +4111,385 @@ main ()
4220static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; 4111static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
4221test_array [0] = 0 4112test_array [0] = 0
4222 4113
4223 ; 4114 ;
4224 return 0; 4115 return 0;
4225} 4116}
4226_ACEOF 4117_ACEOF
4227rm -f conftest.$ac_objext 4118rm -f conftest.$ac_objext
4228if { (ac_try="$ac_compile" 4119if { (ac_try="$ac_compile"
4229case "(($ac_try" in 4120case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;; 4122 *) ac_try_echo=$ac_try;;
4232esac 4123esac
4233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4124eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234$as_echo "$ac_try_echo") >&5 
4235 (eval "$ac_compile") 2>conftest.er1 4125 (eval "$ac_compile") 2>conftest.er1
4236 ac_status=$? 4126 ac_status=$?
4237 grep -v '^ *+' conftest.er1 >conftest.err 4127 grep -v '^ *+' conftest.er1 >conftest.err
4238 rm -f conftest.er1 4128 rm -f conftest.er1
4239 cat conftest.err >&5 4129 cat conftest.err >&5
4240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } && { 4131 (exit $ac_status); } && {
4242 test -z "$ac_c_werror_flag" || 4132 test -z "$ac_c_werror_flag" ||
4243 test ! -s conftest.err 4133 test ! -s conftest.err
4244 } && test -s conftest.$ac_objext; then 4134 } && test -s conftest.$ac_objext; then
4245 case $ac_type in 4135 case $ac_type in
4246 uint64_t) ac_cv_c_uint64_t=yes ;; 4136 uint64_t) ac_cv_c_uint64_t=yes ;;
4247 *) ac_cv_c_uint64_t=$ac_type ;; 4137 *) ac_cv_c_uint64_t=$ac_type ;;
4248esac 4138esac
4249 4139
4250else 4140else
4251 $as_echo "$as_me: failed program was:" >&5 4141 echo "$as_me: failed program was:" >&5
4252sed 's/^/| /' conftest.$ac_ext >&5 4142sed 's/^/| /' conftest.$ac_ext >&5
4253 4143
4254 4144
4255fi 4145fi
4256 4146
4257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 test "$ac_cv_c_uint64_t" != no && break 4148 test "$ac_cv_c_uint64_t" != no && break
4259 done 4149 done
4260fi 4150fi
4261{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 4151{ echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
4262$as_echo "$ac_cv_c_uint64_t" >&6; } 4152echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
4263 case $ac_cv_c_uint64_t in #( 4153 case $ac_cv_c_uint64_t in #(
4264 no|yes) ;; #( 4154 no|yes) ;; #(
4265 *) 4155 *)
4266 4156
4267cat >>confdefs.h <<\_ACEOF 4157cat >>confdefs.h <<\_ACEOF
4268#define _UINT64_T 1 4158#define _UINT64_T 1
4269_ACEOF 4159_ACEOF
4270 4160
4271 4161
4272cat >>confdefs.h <<_ACEOF 4162cat >>confdefs.h <<_ACEOF
4273#define uint64_t $ac_cv_c_uint64_t 4163#define uint64_t $ac_cv_c_uint64_t
4274_ACEOF 4164_ACEOF
4275;; 4165;;
4276 esac 4166 esac
4277 4167
4278 4168
4279 4169{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4280 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4170echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4281$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
4282if test "${ac_cv_c_bigendian+set}" = set; then 4171if test "${ac_cv_c_bigendian+set}" = set; then
4283 $as_echo_n "(cached) " >&6 4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4284else 4173else
4285 ac_cv_c_bigendian=unknown 4174 # See if sys/param.h defines the BYTE_ORDER macro.
4286 # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. 4175cat >conftest.$ac_ext <<_ACEOF
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 
4329/* confdefs.h. */ 4176/* confdefs.h. */
4330_ACEOF 4177_ACEOF
4331cat confdefs.h >>conftest.$ac_ext 4178cat confdefs.h >>conftest.$ac_ext
4332cat >>conftest.$ac_ext <<_ACEOF 4179cat >>conftest.$ac_ext <<_ACEOF
4333/* end confdefs.h. */ 4180/* end confdefs.h. */
4334#include <sys/types.h> 4181#include <sys/types.h>
4335 #include <sys/param.h> 4182#include <sys/param.h>
4336 4183
4337int 4184int
4338main () 4185main ()
4339{ 4186{
4340#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4187#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4341 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4188 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4342 && LITTLE_ENDIAN) 4189 bogus endian macros
4343 bogus endian macros 4190#endif
4344 #endif 
4345 4191
4346 ; 4192 ;
4347 return 0; 4193 return 0;
4348} 4194}
4349_ACEOF 4195_ACEOF
4350rm -f conftest.$ac_objext 4196rm -f conftest.$ac_objext
4351if { (ac_try="$ac_compile" 4197if { (ac_try="$ac_compile"
4352case "(($ac_try" in 4198case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;; 4200 *) ac_try_echo=$ac_try;;
4355esac 4201esac
4356eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357$as_echo "$ac_try_echo") >&5 
4358 (eval "$ac_compile") 2>conftest.er1 4203 (eval "$ac_compile") 2>conftest.er1
4359 ac_status=$? 4204 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err 4205 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1 4206 rm -f conftest.er1
4362 cat conftest.err >&5 4207 cat conftest.err >&5
4363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && { 4209 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" || 4210 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err 4211 test ! -s conftest.err
4367 } && test -s conftest.$ac_objext; then 4212 } && test -s conftest.$ac_objext; then
4368 # It does; now see whether it defined to BIG_ENDIAN or not. 4213 # It does; now see whether it defined to BIG_ENDIAN or not.
4369 cat >conftest.$ac_ext <<_ACEOF 4214cat >conftest.$ac_ext <<_ACEOF
4370/* confdefs.h. */ 4215/* confdefs.h. */
4371_ACEOF 4216_ACEOF
4372cat confdefs.h >>conftest.$ac_ext 4217cat confdefs.h >>conftest.$ac_ext
4373cat >>conftest.$ac_ext <<_ACEOF 4218cat >>conftest.$ac_ext <<_ACEOF
4374/* end confdefs.h. */ 4219/* end confdefs.h. */
4375#include <sys/types.h> 4220#include <sys/types.h>
4376 #include <sys/param.h> 4221#include <sys/param.h>
4377 4222
4378int 4223int
4379main () 4224main ()
4380{ 4225{
4381#if BYTE_ORDER != BIG_ENDIAN 4226#if BYTE_ORDER != BIG_ENDIAN
4382 not big endian 4227 not big endian
4383 #endif 4228#endif
4384 4229
4385 ; 4230 ;
4386 return 0; 4231 return 0;
4387} 4232}
4388_ACEOF 4233_ACEOF
4389rm -f conftest.$ac_objext 4234rm -f conftest.$ac_objext
4390if { (ac_try="$ac_compile" 4235if { (ac_try="$ac_compile"
4391case "(($ac_try" in 4236case "(($ac_try" in
4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4393 *) ac_try_echo=$ac_try;; 4238 *) ac_try_echo=$ac_try;;
4394esac 4239esac
4395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4396$as_echo "$ac_try_echo") >&5 
4397 (eval "$ac_compile") 2>conftest.er1 4241 (eval "$ac_compile") 2>conftest.er1
4398 ac_status=$? 4242 ac_status=$?
4399 grep -v '^ *+' conftest.er1 >conftest.err 4243 grep -v '^ *+' conftest.er1 >conftest.err
4400 rm -f conftest.er1 4244 rm -f conftest.er1
4401 cat conftest.err >&5 4245 cat conftest.err >&5
4402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } && { 4247 (exit $ac_status); } && {
4404 test -z "$ac_c_werror_flag" || 4248 test -z "$ac_c_werror_flag" ||
4405 test ! -s conftest.err 4249 test ! -s conftest.err
4406 } && test -s conftest.$ac_objext; then 4250 } && test -s conftest.$ac_objext; then
4407 ac_cv_c_bigendian=yes 4251 ac_cv_c_bigendian=yes
4408else 4252else
4409 $as_echo "$as_me: failed program was:" >&5 4253 echo "$as_me: failed program was:" >&5
4410sed 's/^/| /' conftest.$ac_ext >&5 4254sed 's/^/| /' conftest.$ac_ext >&5
4411 4255
4412 ac_cv_c_bigendian=no 4256 ac_cv_c_bigendian=no
4413fi 4257fi
4414 4258
4415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416else 4260else
4417 $as_echo "$as_me: failed program was:" >&5 4261 echo "$as_me: failed program was:" >&5
4418sed 's/^/| /' conftest.$ac_ext >&5 4262sed 's/^/| /' conftest.$ac_ext >&5
4419 4263
4420 4264 # It does not; compile a test program.
4421fi 4265if test "$cross_compiling" = yes; then
4422 4266 # try to guess the endianness by grepping values into an object file
4423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4267 ac_cv_c_bigendian=unknown
4424 fi 4268 cat >conftest.$ac_ext <<_ACEOF
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 
4466/* confdefs.h. */ 4269/* confdefs.h. */
4467_ACEOF 4270_ACEOF
4468cat confdefs.h >>conftest.$ac_ext 4271cat confdefs.h >>conftest.$ac_ext
4469cat >>conftest.$ac_ext <<_ACEOF 4272cat >>conftest.$ac_ext <<_ACEOF
4470/* end confdefs.h. */ 4273/* end confdefs.h. */
4471#include <limits.h> 4274short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4472 4275short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 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; }
4473int 4280int
4474main () 4281main ()
4475{ 4282{
4476#ifndef _BIG_ENDIAN 4283 _ascii (); _ebcdic ();
4477 not big endian 
4478 #endif 
4479 
4480 ; 4284 ;
4481 return 0; 4285 return 0;
4482} 4286}
4483_ACEOF 4287_ACEOF
4484rm -f conftest.$ac_objext 4288rm -f conftest.$ac_objext
4485if { (ac_try="$ac_compile" 4289if { (ac_try="$ac_compile"
4486case "(($ac_try" in 4290case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;; 4292 *) ac_try_echo=$ac_try;;
4489esac 4293esac
4490eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491$as_echo "$ac_try_echo") >&5 
4492 (eval "$ac_compile") 2>conftest.er1 4295 (eval "$ac_compile") 2>conftest.er1
4493 ac_status=$? 4296 ac_status=$?
4494 grep -v '^ *+' conftest.er1 >conftest.err 4297 grep -v '^ *+' conftest.er1 >conftest.err
4495 rm -f conftest.er1 4298 rm -f conftest.er1
4496 cat conftest.err >&5 4299 cat conftest.err >&5
4497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } && { 4301 (exit $ac_status); } && {
4499 test -z "$ac_c_werror_flag" || 4302 test -z "$ac_c_werror_flag" ||
4500 test ! -s conftest.err 4303 test ! -s conftest.err
4501 } && test -s conftest.$ac_objext; then 4304 } && test -s conftest.$ac_objext; then
 4305 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4502 ac_cv_c_bigendian=yes 4306 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 
4508fi 4307fi
4509 4308if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4309 if test "$ac_cv_c_bigendian" = unknown; then
4511else 4310 ac_cv_c_bigendian=no
4512 $as_echo "$as_me: failed program was:" >&5 4311 else
4513sed 's/^/| /' conftest.$ac_ext >&5 4312 # finding both strings is unlikely to happen, but who knows?
4514 4313 ac_cv_c_bigendian=unknown
4515 4314 fi
4516fi 4315fi
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 
4583else 4316else
4584 $as_echo "$as_me: failed program was:" >&5 4317 echo "$as_me: failed program was:" >&5
4585sed 's/^/| /' conftest.$ac_ext >&5 4318sed 's/^/| /' conftest.$ac_ext >&5
4586 4319
4587 4320
4588fi 4321fi
4589 4322
4590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591else 4324else
4592 cat >conftest.$ac_ext <<_ACEOF 4325 cat >conftest.$ac_ext <<_ACEOF
4593/* confdefs.h. */ 4326/* confdefs.h. */
4594_ACEOF 4327_ACEOF
4595cat confdefs.h >>conftest.$ac_ext 4328cat confdefs.h >>conftest.$ac_ext
4596cat >>conftest.$ac_ext <<_ACEOF 4329cat >>conftest.$ac_ext <<_ACEOF
4597/* end confdefs.h. */ 4330/* end confdefs.h. */
4598$ac_includes_default 4331$ac_includes_default
4599int 4332int
4600main () 4333main ()
4601{ 4334{
4602 4335
4603 /* Are we little or big endian? From Harbison&Steele. */ 4336 /* Are we little or big endian? From Harbison&Steele. */
4604 union 4337 union
4605 { 4338 {
4606 long int l; 4339 long int l;
4607 char c[sizeof (long int)]; 4340 char c[sizeof (long int)];
4608 } u; 4341 } u;
4609 u.l = 1; 4342 u.l = 1;
4610 return u.c[sizeof (long int) - 1] == 1; 4343 return u.c[sizeof (long int) - 1] == 1;
4611 4344
4612 ; 4345 ;
4613 return 0; 4346 return 0;
4614} 4347}
4615_ACEOF 4348_ACEOF
4616rm -f conftest$ac_exeext 4349rm -f conftest$ac_exeext
4617if { (ac_try="$ac_link" 4350if { (ac_try="$ac_link"
4618case "(($ac_try" in 4351case "(($ac_try" in
4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;; 4353 *) ac_try_echo=$ac_try;;
4621esac 4354esac
4622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623$as_echo "$ac_try_echo") >&5 
4624 (eval "$ac_link") 2>&5 4356 (eval "$ac_link") 2>&5
4625 ac_status=$? 4357 ac_status=$?
4626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4628 { (case "(($ac_try" in 4360 { (case "(($ac_try" in
4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4630 *) ac_try_echo=$ac_try;; 4362 *) ac_try_echo=$ac_try;;
4631esac 4363esac
4632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4633$as_echo "$ac_try_echo") >&5 
4634 (eval "$ac_try") 2>&5 4365 (eval "$ac_try") 2>&5
4635 ac_status=$? 4366 ac_status=$?
4636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then 4368 (exit $ac_status); }; }; then
4638 ac_cv_c_bigendian=no 4369 ac_cv_c_bigendian=no
4639else 4370else
4640 $as_echo "$as_me: program exited with status $ac_status" >&5 4371 echo "$as_me: program exited with status $ac_status" >&5
4641$as_echo "$as_me: failed program was:" >&5 4372echo "$as_me: failed program was:" >&5
4642sed 's/^/| /' conftest.$ac_ext >&5 4373sed 's/^/| /' conftest.$ac_ext >&5
4643 4374
4644( exit $ac_status ) 4375( exit $ac_status )
4645ac_cv_c_bigendian=yes 4376ac_cv_c_bigendian=yes
4646fi 4377fi
4647rm -rf conftest.dSYM 
4648rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4378rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4649fi 4379fi
4650 4380
4651 4381
4652 fi 
4653fi 4382fi
4654{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4383
4655$as_echo "$ac_cv_c_bigendian" >&6; } 4384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 case $ac_cv_c_bigendian in #( 4385fi
4657 yes) 4386{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4658 cat >>confdefs.h <<\_ACEOF 4387echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
 4388case $ac_cv_c_bigendian in
 4389 yes)
 4390
 4391cat >>confdefs.h <<\_ACEOF
4659#define WORDS_BIGENDIAN 1 4392#define WORDS_BIGENDIAN 1
4660_ACEOF 4393_ACEOF
4661;; #( 4394 ;;
4662 no) 4395 no)
4663 ;; #( 4396 ;;
4664 universal) 4397 *)
4665 ;; #( 4398 { { echo "$as_me:$LINENO: error: unknown endianness
4666 *) 4399presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4667 { { $as_echo "$as_me:$LINENO: error: unknown endianness 4400echo "$as_me: error: unknown endianness
4668 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4401presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4669$as_echo "$as_me: error: unknown endianness 
4670 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
4671 { (exit 1); exit 1; }; } ;; 4402 { (exit 1); exit 1; }; } ;;
4672 esac 4403esac
4673 4404
4674 4405
4675# Checks for library functions. 4406# Checks for library functions.
4676{ $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 4407{ echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
4677$as_echo_n "checking whether strerror_r is declared... " >&6; } 4408echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
4678if test "${ac_cv_have_decl_strerror_r+set}" = set; then 4409if test "${ac_cv_have_decl_strerror_r+set}" = set; then
4679 $as_echo_n "(cached) " >&6 4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4680else 4411else
4681 cat >conftest.$ac_ext <<_ACEOF 4412 cat >conftest.$ac_ext <<_ACEOF
4682/* confdefs.h. */ 4413/* confdefs.h. */
4683_ACEOF 4414_ACEOF
4684cat confdefs.h >>conftest.$ac_ext 4415cat confdefs.h >>conftest.$ac_ext
4685cat >>conftest.$ac_ext <<_ACEOF 4416cat >>conftest.$ac_ext <<_ACEOF
4686/* end confdefs.h. */ 4417/* end confdefs.h. */
4687$ac_includes_default 4418$ac_includes_default
4688int 4419int
4689main () 4420main ()
4690{ 4421{
4691#ifndef strerror_r 4422#ifndef strerror_r
4692 (void) strerror_r; 4423 (void) strerror_r;
4693#endif 4424#endif
4694 4425
4695 ; 4426 ;
4696 return 0; 4427 return 0;
4697} 4428}
4698_ACEOF 4429_ACEOF
4699rm -f conftest.$ac_objext 4430rm -f conftest.$ac_objext
4700if { (ac_try="$ac_compile" 4431if { (ac_try="$ac_compile"
4701case "(($ac_try" in 4432case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;; 4434 *) ac_try_echo=$ac_try;;
4704esac 4435esac
4705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4436eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706$as_echo "$ac_try_echo") >&5 
4707 (eval "$ac_compile") 2>conftest.er1 4437 (eval "$ac_compile") 2>conftest.er1
4708 ac_status=$? 4438 ac_status=$?
4709 grep -v '^ *+' conftest.er1 >conftest.err 4439 grep -v '^ *+' conftest.er1 >conftest.err
4710 rm -f conftest.er1 4440 rm -f conftest.er1
4711 cat conftest.err >&5 4441 cat conftest.err >&5
4712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } && { 4443 (exit $ac_status); } && {
4714 test -z "$ac_c_werror_flag" || 4444 test -z "$ac_c_werror_flag" ||
4715 test ! -s conftest.err 4445 test ! -s conftest.err
4716 } && test -s conftest.$ac_objext; then 4446 } && test -s conftest.$ac_objext; then
4717 ac_cv_have_decl_strerror_r=yes 4447 ac_cv_have_decl_strerror_r=yes
4718else 4448else
4719 $as_echo "$as_me: failed program was:" >&5 4449 echo "$as_me: failed program was:" >&5
4720sed 's/^/| /' conftest.$ac_ext >&5 4450sed 's/^/| /' conftest.$ac_ext >&5
4721 4451
4722 ac_cv_have_decl_strerror_r=no 4452 ac_cv_have_decl_strerror_r=no
4723fi 4453fi
4724 4454
4725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726fi 4456fi
4727{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 4457{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
4728$as_echo "$ac_cv_have_decl_strerror_r" >&6; } 4458echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; }
4729if test $ac_cv_have_decl_strerror_r = yes; then 4459if test $ac_cv_have_decl_strerror_r = yes; then
4730 4460
4731cat >>confdefs.h <<_ACEOF 4461cat >>confdefs.h <<_ACEOF
4732#define HAVE_DECL_STRERROR_R 1 4462#define HAVE_DECL_STRERROR_R 1
4733_ACEOF 4463_ACEOF
4734 4464
4735 4465
4736else 4466else
4737 cat >>confdefs.h <<_ACEOF 4467 cat >>confdefs.h <<_ACEOF
4738#define HAVE_DECL_STRERROR_R 0 4468#define HAVE_DECL_STRERROR_R 0
4739_ACEOF 4469_ACEOF
4740 4470
4741 4471
4742fi 4472fi
4743 4473
4744 4474
4745 4475
4746for ac_func in strerror_r 4476for ac_func in strerror_r
4747do 4477do
4748as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4478as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4749{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4479{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4750$as_echo_n "checking for $ac_func... " >&6; } 4480echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4751if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4481if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4752 $as_echo_n "(cached) " >&6 4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4753else 4483else
4754 cat >conftest.$ac_ext <<_ACEOF 4484 cat >conftest.$ac_ext <<_ACEOF
4755/* confdefs.h. */ 4485/* confdefs.h. */
4756_ACEOF 4486_ACEOF
4757cat confdefs.h >>conftest.$ac_ext 4487cat confdefs.h >>conftest.$ac_ext
4758cat >>conftest.$ac_ext <<_ACEOF 4488cat >>conftest.$ac_ext <<_ACEOF
4759/* end confdefs.h. */ 4489/* end confdefs.h. */
4760/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4490/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4761 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4762#define $ac_func innocuous_$ac_func 4492#define $ac_func innocuous_$ac_func
4763 4493
4764/* System header to define __stub macros and hopefully few prototypes, 4494/* System header to define __stub macros and hopefully few prototypes,
4765 which can conflict with char $ac_func (); below. 4495 which can conflict with char $ac_func (); below.
@@ -4792,70 +4522,64 @@ int @@ -4792,70 +4522,64 @@ int
4792main () 4522main ()
4793{ 4523{
4794return $ac_func (); 4524return $ac_func ();
4795 ; 4525 ;
4796 return 0; 4526 return 0;
4797} 4527}
4798_ACEOF 4528_ACEOF
4799rm -f conftest.$ac_objext conftest$ac_exeext 4529rm -f conftest.$ac_objext conftest$ac_exeext
4800if { (ac_try="$ac_link" 4530if { (ac_try="$ac_link"
4801case "(($ac_try" in 4531case "(($ac_try" in
4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;; 4533 *) ac_try_echo=$ac_try;;
4804esac 4534esac
4805eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4806$as_echo "$ac_try_echo") >&5 
4807 (eval "$ac_link") 2>conftest.er1 4536 (eval "$ac_link") 2>conftest.er1
4808 ac_status=$? 4537 ac_status=$?
4809 grep -v '^ *+' conftest.er1 >conftest.err 4538 grep -v '^ *+' conftest.er1 >conftest.err
4810 rm -f conftest.er1 4539 rm -f conftest.er1
4811 cat conftest.err >&5 4540 cat conftest.err >&5
4812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } && { 4542 (exit $ac_status); } && {
4814 test -z "$ac_c_werror_flag" || 4543 test -z "$ac_c_werror_flag" ||
4815 test ! -s conftest.err 4544 test ! -s conftest.err
4816 } && test -s conftest$ac_exeext && { 4545 } && test -s conftest$ac_exeext &&
4817 test "$cross_compiling" = yes || 4546 $as_test_x conftest$ac_exeext; then
4818 $as_test_x conftest$ac_exeext 
4819 }; then 
4820 eval "$as_ac_var=yes" 4547 eval "$as_ac_var=yes"
4821else 4548else
4822 $as_echo "$as_me: failed program was:" >&5 4549 echo "$as_me: failed program was:" >&5
4823sed 's/^/| /' conftest.$ac_ext >&5 4550sed 's/^/| /' conftest.$ac_ext >&5
4824 4551
4825 eval "$as_ac_var=no" 4552 eval "$as_ac_var=no"
4826fi 4553fi
4827 4554
4828rm -rf conftest.dSYM 
4829rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4555rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4830 conftest$ac_exeext conftest.$ac_ext 4556 conftest$ac_exeext conftest.$ac_ext
4831fi 4557fi
4832ac_res=`eval 'as_val=${'$as_ac_var'} 4558ac_res=`eval echo '${'$as_ac_var'}'`
4833 $as_echo "$as_val"'` 4559 { echo "$as_me:$LINENO: result: $ac_res" >&5
4834 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4560echo "${ECHO_T}$ac_res" >&6; }
4835$as_echo "$ac_res" >&6; } 4561if test `eval echo '${'$as_ac_var'}'` = yes; then
4836if test `eval 'as_val=${'$as_ac_var'} 
4837 $as_echo "$as_val"'` = yes; then 
4838 cat >>confdefs.h <<_ACEOF 4562 cat >>confdefs.h <<_ACEOF
4839#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4563#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4840_ACEOF 4564_ACEOF
4841 4565
4842fi 4566fi
4843done 4567done
4844 4568
4845{ $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 4569{ echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
4846$as_echo_n "checking whether strerror_r returns char *... " >&6; } 4570echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; }
4847if test "${ac_cv_func_strerror_r_char_p+set}" = set; then 4571if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
4848 $as_echo_n "(cached) " >&6 4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4849else 4573else
4850 4574
4851 ac_cv_func_strerror_r_char_p=no 4575 ac_cv_func_strerror_r_char_p=no
4852 if test $ac_cv_have_decl_strerror_r = yes; then 4576 if test $ac_cv_have_decl_strerror_r = yes; then
4853 cat >conftest.$ac_ext <<_ACEOF 4577 cat >conftest.$ac_ext <<_ACEOF
4854/* confdefs.h. */ 4578/* confdefs.h. */
4855_ACEOF 4579_ACEOF
4856cat confdefs.h >>conftest.$ac_ext 4580cat confdefs.h >>conftest.$ac_ext
4857cat >>conftest.$ac_ext <<_ACEOF 4581cat >>conftest.$ac_ext <<_ACEOF
4858/* end confdefs.h. */ 4582/* end confdefs.h. */
4859$ac_includes_default 4583$ac_includes_default
4860int 4584int
4861main () 4585main ()
@@ -4866,41 +4590,40 @@ main () @@ -4866,41 +4590,40 @@ main ()
4866 char *p = strerror_r (0, buf, sizeof buf); 4590 char *p = strerror_r (0, buf, sizeof buf);
4867 return !p || x; 4591 return !p || x;
4868 4592
4869 ; 4593 ;
4870 return 0; 4594 return 0;
4871} 4595}
4872_ACEOF 4596_ACEOF
4873rm -f conftest.$ac_objext 4597rm -f conftest.$ac_objext
4874if { (ac_try="$ac_compile" 4598if { (ac_try="$ac_compile"
4875case "(($ac_try" in 4599case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;; 4601 *) ac_try_echo=$ac_try;;
4878esac 4602esac
4879eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4880$as_echo "$ac_try_echo") >&5 
4881 (eval "$ac_compile") 2>conftest.er1 4604 (eval "$ac_compile") 2>conftest.er1
4882 ac_status=$? 4605 ac_status=$?
4883 grep -v '^ *+' conftest.er1 >conftest.err 4606 grep -v '^ *+' conftest.er1 >conftest.err
4884 rm -f conftest.er1 4607 rm -f conftest.er1
4885 cat conftest.err >&5 4608 cat conftest.err >&5
4886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } && { 4610 (exit $ac_status); } && {
4888 test -z "$ac_c_werror_flag" || 4611 test -z "$ac_c_werror_flag" ||
4889 test ! -s conftest.err 4612 test ! -s conftest.err
4890 } && test -s conftest.$ac_objext; then 4613 } && test -s conftest.$ac_objext; then
4891 ac_cv_func_strerror_r_char_p=yes 4614 ac_cv_func_strerror_r_char_p=yes
4892else 4615else
4893 $as_echo "$as_me: failed program was:" >&5 4616 echo "$as_me: failed program was:" >&5
4894sed 's/^/| /' conftest.$ac_ext >&5 4617sed 's/^/| /' conftest.$ac_ext >&5
4895 4618
4896 4619
4897fi 4620fi
4898 4621
4899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 else 4623 else
4901 # strerror_r is not declared. Choose between 4624 # strerror_r is not declared. Choose between
4902 # systems that have relatively inaccessible declarations for the 4625 # systems that have relatively inaccessible declarations for the
4903 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 4626 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
4904 # former has a strerror_r that returns char*, while the latter 4627 # former has a strerror_r that returns char*, while the latter
4905 # has a strerror_r that returns `int'. 4628 # has a strerror_r that returns `int'.
4906 # This test should segfault on the DEC system. 4629 # This test should segfault on the DEC system.
@@ -4921,75 +4644,72 @@ main () @@ -4921,75 +4644,72 @@ main ()
4921char buf[100]; 4644char buf[100];
4922 char x = *strerror_r (0, buf, sizeof buf); 4645 char x = *strerror_r (0, buf, sizeof buf);
4923 return ! isalpha (x); 4646 return ! isalpha (x);
4924 ; 4647 ;
4925 return 0; 4648 return 0;
4926} 4649}
4927_ACEOF 4650_ACEOF
4928rm -f conftest$ac_exeext 4651rm -f conftest$ac_exeext
4929if { (ac_try="$ac_link" 4652if { (ac_try="$ac_link"
4930case "(($ac_try" in 4653case "(($ac_try" in
4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;; 4655 *) ac_try_echo=$ac_try;;
4933esac 4656esac
4934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4657eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4935$as_echo "$ac_try_echo") >&5 
4936 (eval "$ac_link") 2>&5 4658 (eval "$ac_link") 2>&5
4937 ac_status=$? 4659 ac_status=$?
4938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4940 { (case "(($ac_try" in 4662 { (case "(($ac_try" in
4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;; 4664 *) ac_try_echo=$ac_try;;
4943esac 4665esac
4944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945$as_echo "$ac_try_echo") >&5 
4946 (eval "$ac_try") 2>&5 4667 (eval "$ac_try") 2>&5
4947 ac_status=$? 4668 ac_status=$?
4948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; }; then 4670 (exit $ac_status); }; }; then
4950 ac_cv_func_strerror_r_char_p=yes 4671 ac_cv_func_strerror_r_char_p=yes
4951else 4672else
4952 $as_echo "$as_me: program exited with status $ac_status" >&5 4673 echo "$as_me: program exited with status $ac_status" >&5
4953$as_echo "$as_me: failed program was:" >&5 4674echo "$as_me: failed program was:" >&5
4954sed 's/^/| /' conftest.$ac_ext >&5 4675sed 's/^/| /' conftest.$ac_ext >&5
4955 4676
4956fi 4677fi
4957rm -rf conftest.dSYM 
4958rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4678rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4959fi 4679fi
4960 4680
4961 4681
4962 fi 4682 fi
4963 4683
4964fi 4684fi
4965{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 4685{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
4966$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 4686echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; }
4967if test $ac_cv_func_strerror_r_char_p = yes; then 4687if test $ac_cv_func_strerror_r_char_p = yes; then
4968 4688
4969cat >>confdefs.h <<\_ACEOF 4689cat >>confdefs.h <<\_ACEOF
4970#define STRERROR_R_CHAR_P 1 4690#define STRERROR_R_CHAR_P 1
4971_ACEOF 4691_ACEOF
4972 4692
4973fi 4693fi
4974 4694
4975 4695
4976for ac_func in vprintf 4696for ac_func in vprintf
4977do 4697do
4978as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4698as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4979{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4699{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4980$as_echo_n "checking for $ac_func... " >&6; } 4700echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4981if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4701if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4982 $as_echo_n "(cached) " >&6 4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4983else 4703else
4984 cat >conftest.$ac_ext <<_ACEOF 4704 cat >conftest.$ac_ext <<_ACEOF
4985/* confdefs.h. */ 4705/* confdefs.h. */
4986_ACEOF 4706_ACEOF
4987cat confdefs.h >>conftest.$ac_ext 4707cat confdefs.h >>conftest.$ac_ext
4988cat >>conftest.$ac_ext <<_ACEOF 4708cat >>conftest.$ac_ext <<_ACEOF
4989/* end confdefs.h. */ 4709/* end confdefs.h. */
4990/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4710/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4991 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4992#define $ac_func innocuous_$ac_func 4712#define $ac_func innocuous_$ac_func
4993 4713
4994/* System header to define __stub macros and hopefully few prototypes, 4714/* System header to define __stub macros and hopefully few prototypes,
4995 which can conflict with char $ac_func (); below. 4715 which can conflict with char $ac_func (); below.
@@ -5022,67 +4742,61 @@ int @@ -5022,67 +4742,61 @@ int
5022main () 4742main ()
5023{ 4743{
5024return $ac_func (); 4744return $ac_func ();
5025 ; 4745 ;
5026 return 0; 4746 return 0;
5027} 4747}
5028_ACEOF 4748_ACEOF
5029rm -f conftest.$ac_objext conftest$ac_exeext 4749rm -f conftest.$ac_objext conftest$ac_exeext
5030if { (ac_try="$ac_link" 4750if { (ac_try="$ac_link"
5031case "(($ac_try" in 4751case "(($ac_try" in
5032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5033 *) ac_try_echo=$ac_try;; 4753 *) ac_try_echo=$ac_try;;
5034esac 4754esac
5035eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4755eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5036$as_echo "$ac_try_echo") >&5 
5037 (eval "$ac_link") 2>conftest.er1 4756 (eval "$ac_link") 2>conftest.er1
5038 ac_status=$? 4757 ac_status=$?
5039 grep -v '^ *+' conftest.er1 >conftest.err 4758 grep -v '^ *+' conftest.er1 >conftest.err
5040 rm -f conftest.er1 4759 rm -f conftest.er1
5041 cat conftest.err >&5 4760 cat conftest.err >&5
5042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } && { 4762 (exit $ac_status); } && {
5044 test -z "$ac_c_werror_flag" || 4763 test -z "$ac_c_werror_flag" ||
5045 test ! -s conftest.err 4764 test ! -s conftest.err
5046 } && test -s conftest$ac_exeext && { 4765 } && test -s conftest$ac_exeext &&
5047 test "$cross_compiling" = yes || 4766 $as_test_x conftest$ac_exeext; then
5048 $as_test_x conftest$ac_exeext 
5049 }; then 
5050 eval "$as_ac_var=yes" 4767 eval "$as_ac_var=yes"
5051else 4768else
5052 $as_echo "$as_me: failed program was:" >&5 4769 echo "$as_me: failed program was:" >&5
5053sed 's/^/| /' conftest.$ac_ext >&5 4770sed 's/^/| /' conftest.$ac_ext >&5
5054 4771
5055 eval "$as_ac_var=no" 4772 eval "$as_ac_var=no"
5056fi 4773fi
5057 4774
5058rm -rf conftest.dSYM 
5059rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4775rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5060 conftest$ac_exeext conftest.$ac_ext 4776 conftest$ac_exeext conftest.$ac_ext
5061fi 4777fi
5062ac_res=`eval 'as_val=${'$as_ac_var'} 4778ac_res=`eval echo '${'$as_ac_var'}'`
5063 $as_echo "$as_val"'` 4779 { echo "$as_me:$LINENO: result: $ac_res" >&5
5064 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4780echo "${ECHO_T}$ac_res" >&6; }
5065$as_echo "$ac_res" >&6; } 4781if test `eval echo '${'$as_ac_var'}'` = yes; then
5066if test `eval 'as_val=${'$as_ac_var'} 
5067 $as_echo "$as_val"'` = yes; then 
5068 cat >>confdefs.h <<_ACEOF 4782 cat >>confdefs.h <<_ACEOF
5069#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4783#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5070_ACEOF 4784_ACEOF
5071 4785
5072{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 4786{ echo "$as_me:$LINENO: checking for _doprnt" >&5
5073$as_echo_n "checking for _doprnt... " >&6; } 4787echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
5074if test "${ac_cv_func__doprnt+set}" = set; then 4788if test "${ac_cv_func__doprnt+set}" = set; then
5075 $as_echo_n "(cached) " >&6 4789 echo $ECHO_N "(cached) $ECHO_C" >&6
5076else 4790else
5077 cat >conftest.$ac_ext <<_ACEOF 4791 cat >conftest.$ac_ext <<_ACEOF
5078/* confdefs.h. */ 4792/* confdefs.h. */
5079_ACEOF 4793_ACEOF
5080cat confdefs.h >>conftest.$ac_ext 4794cat confdefs.h >>conftest.$ac_ext
5081cat >>conftest.$ac_ext <<_ACEOF 4795cat >>conftest.$ac_ext <<_ACEOF
5082/* end confdefs.h. */ 4796/* end confdefs.h. */
5083/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 4797/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5084 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5085#define _doprnt innocuous__doprnt 4799#define _doprnt innocuous__doprnt
5086 4800
5087/* System header to define __stub macros and hopefully few prototypes, 4801/* System header to define __stub macros and hopefully few prototypes,
5088 which can conflict with char _doprnt (); below. 4802 which can conflict with char _doprnt (); below.
@@ -5115,79 +4829,75 @@ int @@ -5115,79 +4829,75 @@ int
5115main () 4829main ()
5116{ 4830{
5117return _doprnt (); 4831return _doprnt ();
5118 ; 4832 ;
5119 return 0; 4833 return 0;
5120} 4834}
5121_ACEOF 4835_ACEOF
5122rm -f conftest.$ac_objext conftest$ac_exeext 4836rm -f conftest.$ac_objext conftest$ac_exeext
5123if { (ac_try="$ac_link" 4837if { (ac_try="$ac_link"
5124case "(($ac_try" in 4838case "(($ac_try" in
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;; 4840 *) ac_try_echo=$ac_try;;
5127esac 4841esac
5128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129$as_echo "$ac_try_echo") >&5 
5130 (eval "$ac_link") 2>conftest.er1 4843 (eval "$ac_link") 2>conftest.er1
5131 ac_status=$? 4844 ac_status=$?
5132 grep -v '^ *+' conftest.er1 >conftest.err 4845 grep -v '^ *+' conftest.er1 >conftest.err
5133 rm -f conftest.er1 4846 rm -f conftest.er1
5134 cat conftest.err >&5 4847 cat conftest.err >&5
5135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } && { 4849 (exit $ac_status); } && {
5137 test -z "$ac_c_werror_flag" || 4850 test -z "$ac_c_werror_flag" ||
5138 test ! -s conftest.err 4851 test ! -s conftest.err
5139 } && test -s conftest$ac_exeext && { 4852 } && test -s conftest$ac_exeext &&
5140 test "$cross_compiling" = yes || 4853 $as_test_x conftest$ac_exeext; then
5141 $as_test_x conftest$ac_exeext 
5142 }; then 
5143 ac_cv_func__doprnt=yes 4854 ac_cv_func__doprnt=yes
5144else 4855else
5145 $as_echo "$as_me: failed program was:" >&5 4856 echo "$as_me: failed program was:" >&5
5146sed 's/^/| /' conftest.$ac_ext >&5 4857sed 's/^/| /' conftest.$ac_ext >&5
5147 4858
5148 ac_cv_func__doprnt=no 4859 ac_cv_func__doprnt=no
5149fi 4860fi
5150 4861
5151rm -rf conftest.dSYM 
5152rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153 conftest$ac_exeext conftest.$ac_ext 4863 conftest$ac_exeext conftest.$ac_ext
5154fi 4864fi
5155{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 4865{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5156$as_echo "$ac_cv_func__doprnt" >&6; } 4866echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
5157if test $ac_cv_func__doprnt = yes; then 4867if test $ac_cv_func__doprnt = yes; then
5158 4868
5159cat >>confdefs.h <<\_ACEOF 4869cat >>confdefs.h <<\_ACEOF
5160#define HAVE_DOPRNT 1 4870#define HAVE_DOPRNT 1
5161_ACEOF 4871_ACEOF
5162 4872
5163fi 4873fi
5164 4874
5165fi 4875fi
5166done 4876done
5167 4877
5168 4878
5169 4879
5170 4880
5171 4881
5172 4882
5173 4883
5174for ac_func in bcopy bzero memset memcpy setlocale 4884for ac_func in bcopy bzero memset memcpy setlocale
5175do 4885do
5176as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4886as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5177{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4887{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5178$as_echo_n "checking for $ac_func... " >&6; } 4888echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5179if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4889if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5180 $as_echo_n "(cached) " >&6 4890 echo $ECHO_N "(cached) $ECHO_C" >&6
5181else 4891else
5182 cat >conftest.$ac_ext <<_ACEOF 4892 cat >conftest.$ac_ext <<_ACEOF
5183/* confdefs.h. */ 4893/* confdefs.h. */
5184_ACEOF 4894_ACEOF
5185cat confdefs.h >>conftest.$ac_ext 4895cat confdefs.h >>conftest.$ac_ext
5186cat >>conftest.$ac_ext <<_ACEOF 4896cat >>conftest.$ac_ext <<_ACEOF
5187/* end confdefs.h. */ 4897/* end confdefs.h. */
5188/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4898/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5189 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5190#define $ac_func innocuous_$ac_func 4900#define $ac_func innocuous_$ac_func
5191 4901
5192/* System header to define __stub macros and hopefully few prototypes, 4902/* System header to define __stub macros and hopefully few prototypes,
5193 which can conflict with char $ac_func (); below. 4903 which can conflict with char $ac_func (); below.
@@ -5220,61 +4930,55 @@ int @@ -5220,61 +4930,55 @@ int
5220main () 4930main ()
5221{ 4931{
5222return $ac_func (); 4932return $ac_func ();
5223 ; 4933 ;
5224 return 0; 4934 return 0;
5225} 4935}
5226_ACEOF 4936_ACEOF
5227rm -f conftest.$ac_objext conftest$ac_exeext 4937rm -f conftest.$ac_objext conftest$ac_exeext
5228if { (ac_try="$ac_link" 4938if { (ac_try="$ac_link"
5229case "(($ac_try" in 4939case "(($ac_try" in
5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;; 4941 *) ac_try_echo=$ac_try;;
5232esac 4942esac
5233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4943eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5234$as_echo "$ac_try_echo") >&5 
5235 (eval "$ac_link") 2>conftest.er1 4944 (eval "$ac_link") 2>conftest.er1
5236 ac_status=$? 4945 ac_status=$?
5237 grep -v '^ *+' conftest.er1 >conftest.err 4946 grep -v '^ *+' conftest.er1 >conftest.err
5238 rm -f conftest.er1 4947 rm -f conftest.er1
5239 cat conftest.err >&5 4948 cat conftest.err >&5
5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } && { 4950 (exit $ac_status); } && {
5242 test -z "$ac_c_werror_flag" || 4951 test -z "$ac_c_werror_flag" ||
5243 test ! -s conftest.err 4952 test ! -s conftest.err
5244 } && test -s conftest$ac_exeext && { 4953 } && test -s conftest$ac_exeext &&
5245 test "$cross_compiling" = yes || 4954 $as_test_x conftest$ac_exeext; then
5246 $as_test_x conftest$ac_exeext 
5247 }; then 
5248 eval "$as_ac_var=yes" 4955 eval "$as_ac_var=yes"
5249else 4956else
5250 $as_echo "$as_me: failed program was:" >&5 4957 echo "$as_me: failed program was:" >&5
5251sed 's/^/| /' conftest.$ac_ext >&5 4958sed 's/^/| /' conftest.$ac_ext >&5
5252 4959
5253 eval "$as_ac_var=no" 4960 eval "$as_ac_var=no"
5254fi 4961fi
5255 4962
5256rm -rf conftest.dSYM 
5257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4963rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5258 conftest$ac_exeext conftest.$ac_ext 4964 conftest$ac_exeext conftest.$ac_ext
5259fi 4965fi
5260ac_res=`eval 'as_val=${'$as_ac_var'} 4966ac_res=`eval echo '${'$as_ac_var'}'`
5261 $as_echo "$as_val"'` 4967 { echo "$as_me:$LINENO: result: $ac_res" >&5
5262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4968echo "${ECHO_T}$ac_res" >&6; }
5263$as_echo "$ac_res" >&6; } 4969if test `eval echo '${'$as_ac_var'}'` = yes; then
5264if test `eval 'as_val=${'$as_ac_var'} 
5265 $as_echo "$as_val"'` = yes; then 
5266 cat >>confdefs.h <<_ACEOF 4970 cat >>confdefs.h <<_ACEOF
5267#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4971#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5268_ACEOF 4972_ACEOF
5269 4973
5270fi 4974fi
5271done 4975done
5272 4976
5273# 4977#
5274 4978
5275 4979
5276 4980
5277ac_config_files="$ac_config_files Makefile" 4981ac_config_files="$ac_config_files Makefile"
5278 4982
5279cat >confcache <<\_ACEOF 4983cat >confcache <<\_ACEOF
5280# This file is a shell script that caches the results of configure 4984# This file is a shell script that caches the results of configure
@@ -5293,32 +4997,31 @@ cat >confcache <<\_ACEOF @@ -5293,32 +4997,31 @@ cat >confcache <<\_ACEOF
5293_ACEOF 4997_ACEOF
5294 4998
5295# The following way of writing the cache mishandles newlines in values, 4999# The following way of writing the cache mishandles newlines in values,
5296# but we know of no workaround that is simple, portable, and efficient. 5000# but we know of no workaround that is simple, portable, and efficient.
5297# So, we kill variables containing newlines. 5001# So, we kill variables containing newlines.
5298# Ultrix sh set writes to stderr and can't be redirected directly, 5002# Ultrix sh set writes to stderr and can't be redirected directly,
5299# and sets the high bit in the cache file unless we assign to the vars. 5003# and sets the high bit in the cache file unless we assign to the vars.
5300( 5004(
5301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5005 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5302 eval ac_val=\$$ac_var 5006 eval ac_val=\$$ac_var
5303 case $ac_val in #( 5007 case $ac_val in #(
5304 *${as_nl}*) 5008 *${as_nl}*)
5305 case $ac_var in #( 5009 case $ac_var in #(
5306 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5010 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5307$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5011echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5308 esac 5012 esac
5309 case $ac_var in #( 5013 case $ac_var in #(
5310 _ | IFS | as_nl) ;; #( 5014 _ | IFS | as_nl) ;; #(
5311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
5312 *) $as_unset $ac_var ;; 5015 *) $as_unset $ac_var ;;
5313 esac ;; 5016 esac ;;
5314 esac 5017 esac
5315 done 5018 done
5316 5019
5317 (set) 2>&1 | 5020 (set) 2>&1 |
5318 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5021 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5319 *${as_nl}ac_space=\ *) 5022 *${as_nl}ac_space=\ *)
5320 # `set' does not quote correctly, so add quotes (double-quote 5023 # `set' does not quote correctly, so add quotes (double-quote
5321 # substitution turns \\\\ into \\, and sed turns \\ into \). 5024 # substitution turns \\\\ into \\, and sed turns \\ into \).
5322 sed -n \ 5025 sed -n \
5323 "s/'/'\\\\''/g; 5026 "s/'/'\\\\''/g;
5324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -5331,225 +5034,205 @@ $as_echo "$as_me: WARNING: Cache variabl @@ -5331,225 +5034,205 @@ $as_echo "$as_me: WARNING: Cache variabl
5331 sort 5034 sort
5332) | 5035) |
5333 sed ' 5036 sed '
5334 /^ac_cv_env_/b end 5037 /^ac_cv_env_/b end
5335 t clear 5038 t clear
5336 :clear 5039 :clear
5337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5040 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5338 t end 5041 t end
5339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5042 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5340 :end' >>confcache 5043 :end' >>confcache
5341if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5044if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5342 if test -w "$cache_file"; then 5045 if test -w "$cache_file"; then
5343 test "x$cache_file" != "x/dev/null" && 5046 test "x$cache_file" != "x/dev/null" &&
5344 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5047 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5345$as_echo "$as_me: updating cache $cache_file" >&6;} 5048echo "$as_me: updating cache $cache_file" >&6;}
5346 cat confcache >$cache_file 5049 cat confcache >$cache_file
5347 else 5050 else
5348 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5051 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5349$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5052echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5350 fi 5053 fi
5351fi 5054fi
5352rm -f confcache 5055rm -f confcache
5353 5056
5354test "x$prefix" = xNONE && prefix=$ac_default_prefix 5057test "x$prefix" = xNONE && prefix=$ac_default_prefix
5355# Let make expand exec_prefix. 5058# Let make expand exec_prefix.
5356test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5059test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5357 5060
5358DEFS=-DHAVE_CONFIG_H 5061DEFS=-DHAVE_CONFIG_H
5359 5062
5360ac_libobjs= 5063ac_libobjs=
5361ac_ltlibobjs= 5064ac_ltlibobjs=
5362for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5065for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5363 # 1. Remove the extension, and $U if already installed. 5066 # 1. Remove the extension, and $U if already installed.
5364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5068 ac_i=`echo "$ac_i" | sed "$ac_script"`
5366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5367 # will be set to the directory where LIBOBJS objects are built. 5070 # will be set to the directory where LIBOBJS objects are built.
5368 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5071 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5369 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5072 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5370done 5073done
5371LIBOBJS=$ac_libobjs 5074LIBOBJS=$ac_libobjs
5372 5075
5373LTLIBOBJS=$ac_ltlibobjs 5076LTLIBOBJS=$ac_ltlibobjs
5374 5077
5375 5078
5376 5079
5377: ${CONFIG_STATUS=./config.status} 5080: ${CONFIG_STATUS=./config.status}
5378ac_write_fail=0 
5379ac_clean_files_save=$ac_clean_files 5081ac_clean_files_save=$ac_clean_files
5380ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5082ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5381{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5083{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5382$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5084echo "$as_me: creating $CONFIG_STATUS" >&6;}
5383cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5085cat >$CONFIG_STATUS <<_ACEOF
5384#! $SHELL 5086#! $SHELL
5385# Generated by $as_me. 5087# Generated by $as_me.
5386# Run this file to recreate the current configuration. 5088# Run this file to recreate the current configuration.
5387# Compiler output produced by configure, useful for debugging 5089# Compiler output produced by configure, useful for debugging
5388# configure, is in config.log if it exists. 5090# configure, is in config.log if it exists.
5389 5091
5390debug=false 5092debug=false
5391ac_cs_recheck=false 5093ac_cs_recheck=false
5392ac_cs_silent=false 5094ac_cs_silent=false
5393SHELL=\${CONFIG_SHELL-$SHELL} 5095SHELL=\${CONFIG_SHELL-$SHELL}
5394_ACEOF 5096_ACEOF
5395 5097
5396cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5098cat >>$CONFIG_STATUS <<\_ACEOF
5397## --------------------- ## 5099## --------------------- ##
5398## M4sh Initialization. ## 5100## M4sh Initialization. ##
5399## --------------------- ## 5101## --------------------- ##
5400 5102
5401# Be more Bourne compatible 5103# Be more Bourne compatible
5402DUALCASE=1; export DUALCASE # for MKS sh 5104DUALCASE=1; export DUALCASE # for MKS sh
5403if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5105if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5404 emulate sh 5106 emulate sh
5405 NULLCMD=: 5107 NULLCMD=:
5406 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5108 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5407 # is contrary to our usage. Disable this feature. 5109 # is contrary to our usage. Disable this feature.
5408 alias -g '${1+"$@"}'='"$@"' 5110 alias -g '${1+"$@"}'='"$@"'
5409 setopt NO_GLOB_SUBST 5111 setopt NO_GLOB_SUBST
5410else 5112else
5411 case `(set -o) 2>/dev/null` in 5113 case `(set -o) 2>/dev/null` in
5412 *posix*) set -o posix ;; 5114 *posix*) set -o posix ;;
5413esac 5115esac
5414 5116
5415fi 5117fi
5416 5118
5417 5119
5418 5120
5419 5121
5420# PATH needs CR 5122# PATH needs CR
5421# Avoid depending upon Character Ranges. 5123# Avoid depending upon Character Ranges.
5422as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5124as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5125as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5424as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5126as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5425as_cr_digits='0123456789' 5127as_cr_digits='0123456789'
5426as_cr_alnum=$as_cr_Letters$as_cr_digits 5128as_cr_alnum=$as_cr_Letters$as_cr_digits
5427 5129
5428as_nl=' 
5429' 
5430export as_nl 
5431# Printing a long string crashes Solaris 7 /usr/bin/printf. 
5432as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
5433as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
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' 
5442 else 
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' 
5455 fi 
5456 export as_echo_body 
5457 as_echo='sh -c $as_echo_body as_echo' 
5458fi 
5459 
5460# The user is always right. 5130# The user is always right.
5461if test "${PATH_SEPARATOR+set}" != set; then 5131if test "${PATH_SEPARATOR+set}" != set; then
5462 PATH_SEPARATOR=: 5132 echo "#! /bin/sh" >conf$$.sh
5463 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5133 echo "exit 0" >>conf$$.sh
5464 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5134 chmod +x conf$$.sh
5465 PATH_SEPARATOR=';' 5135 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5466 } 5136 PATH_SEPARATOR=';'
 5137 else
 5138 PATH_SEPARATOR=:
 5139 fi
 5140 rm -f conf$$.sh
5467fi 5141fi
5468 5142
5469# Support unset when possible. 5143# Support unset when possible.
5470if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5144if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5471 as_unset=unset 5145 as_unset=unset
5472else 5146else
5473 as_unset=false 5147 as_unset=false
5474fi 5148fi
5475 5149
5476 5150
5477# IFS 5151# IFS
5478# We need space, tab and new line, in precisely that order. Quoting is 5152# We need space, tab and new line, in precisely that order. Quoting is
5479# there to prevent editors from complaining about space-tab. 5153# there to prevent editors from complaining about space-tab.
5480# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5154# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5481# splitting by setting IFS to empty value.) 5155# splitting by setting IFS to empty value.)
 5156as_nl='
 5157'
5482IFS=" "" $as_nl" 5158IFS=" "" $as_nl"
5483 5159
5484# Find who we are. Look in the path if we contain no directory separator. 5160# Find who we are. Look in the path if we contain no directory separator.
5485case $0 in 5161case $0 in
5486 *[\\/]* ) as_myself=$0 ;; 5162 *[\\/]* ) as_myself=$0 ;;
5487 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5163 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488for as_dir in $PATH 5164for as_dir in $PATH
5489do 5165do
5490 IFS=$as_save_IFS 5166 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=. 5167 test -z "$as_dir" && as_dir=.
5492 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5168 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5493done 5169done
5494IFS=$as_save_IFS 5170IFS=$as_save_IFS
5495 5171
5496 ;; 5172 ;;
5497esac 5173esac
5498# We did not find ourselves, most probably we were run as `sh COMMAND' 5174# We did not find ourselves, most probably we were run as `sh COMMAND'
5499# in which case we are not to be found in the path. 5175# in which case we are not to be found in the path.
5500if test "x$as_myself" = x; then 5176if test "x$as_myself" = x; then
5501 as_myself=$0 5177 as_myself=$0
5502fi 5178fi
5503if test ! -f "$as_myself"; then 5179if test ! -f "$as_myself"; then
5504 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5180 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5505 { (exit 1); exit 1; } 5181 { (exit 1); exit 1; }
5506fi 5182fi
5507 5183
5508# Work around bugs in pre-3.0 UWIN ksh. 5184# Work around bugs in pre-3.0 UWIN ksh.
5509for as_var in ENV MAIL MAILPATH 5185for as_var in ENV MAIL MAILPATH
5510do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5186do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5511done 5187done
5512PS1='$ ' 5188PS1='$ '
5513PS2='> ' 5189PS2='> '
5514PS4='+ ' 5190PS4='+ '
5515 5191
5516# NLS nuisances. 5192# NLS nuisances.
5517LC_ALL=C 5193for as_var in \
5518export LC_ALL 5194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5519LANGUAGE=C 5195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5520export LANGUAGE 5196 LC_TELEPHONE LC_TIME
 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
5521 5204
5522# Required to use basename. 5205# Required to use basename.
5523if expr a : '\(a\)' >/dev/null 2>&1 && 5206if expr a : '\(a\)' >/dev/null 2>&1 &&
5524 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5525 as_expr=expr 5208 as_expr=expr
5526else 5209else
5527 as_expr=false 5210 as_expr=false
5528fi 5211fi
5529 5212
5530if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5213if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5531 as_basename=basename 5214 as_basename=basename
5532else 5215else
5533 as_basename=false 5216 as_basename=false
5534fi 5217fi
5535 5218
5536 5219
5537# Name of the executable. 5220# Name of the executable.
5538as_me=`$as_basename -- "$0" || 5221as_me=`$as_basename -- "$0" ||
5539$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5222$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5540 X"$0" : 'X\(//\)$' \| \ 5223 X"$0" : 'X\(//\)$' \| \
5541 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5542$as_echo X/"$0" | 5225echo X/"$0" |
5543 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5226 sed '/^.*\/\([^/][^/]*\)\/*$/{
5544 s//\1/ 5227 s//\1/
5545 q 5228 q
5546 } 5229 }
5547 /^X\/\(\/\/\)$/{ 5230 /^X\/\(\/\/\)$/{
5548 s//\1/ 5231 s//\1/
5549 q 5232 q
5550 } 5233 }
5551 /^X\/\(\/\).*/{ 5234 /^X\/\(\/\).*/{
5552 s//\1/ 5235 s//\1/
5553 q 5236 q
5554 } 5237 }
5555 s/.*/./; q'` 5238 s/.*/./; q'`
@@ -5580,27 +5263,27 @@ $as_unset CDPATH @@ -5580,27 +5263,27 @@ $as_unset CDPATH
5580 ' <$as_myself | 5263 ' <$as_myself |
5581 sed ' 5264 sed '
5582 s/[$]LINENO.*/&-/ 5265 s/[$]LINENO.*/&-/
5583 t lineno 5266 t lineno
5584 b 5267 b
5585 :lineno 5268 :lineno
5586 N 5269 N
5587 :loop 5270 :loop
5588 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5589 t loop 5272 t loop
5590 s/-\n.*// 5273 s/-\n.*//
5591 ' >$as_me.lineno && 5274 ' >$as_me.lineno &&
5592 chmod +x "$as_me.lineno" || 5275 chmod +x "$as_me.lineno" ||
5593 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5276 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5594 { (exit 1); exit 1; }; } 5277 { (exit 1); exit 1; }; }
5595 5278
5596 # Don't try to exec as it changes $[0], causing all sort of problems 5279 # Don't try to exec as it changes $[0], causing all sort of problems
5597 # (the dirname of $[0] is not the place where we might find the 5280 # (the dirname of $[0] is not the place where we might find the
5598 # original and so on. Autoconf is especially sensitive to this). 5281 # original and so on. Autoconf is especially sensitive to this).
5599 . "./$as_me.lineno" 5282 . "./$as_me.lineno"
5600 # Exit status is that of the last command. 5283 # Exit status is that of the last command.
5601 exit 5284 exit
5602} 5285}
5603 5286
5604 5287
5605if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5288if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5606 as_dirname=dirname 5289 as_dirname=dirname
@@ -5608,274 +5291,263 @@ else @@ -5608,274 +5291,263 @@ else
5608 as_dirname=false 5291 as_dirname=false
5609fi 5292fi
5610 5293
5611ECHO_C= ECHO_N= ECHO_T= 5294ECHO_C= ECHO_N= ECHO_T=
5612case `echo -n x` in 5295case `echo -n x` in
5613-n*) 5296-n*)
5614 case `echo 'x\c'` in 5297 case `echo 'x\c'` in
5615 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5616 *) ECHO_C='\c';; 5299 *) ECHO_C='\c';;
5617 esac;; 5300 esac;;
5618*) 5301*)
5619 ECHO_N='-n';; 5302 ECHO_N='-n';;
5620esac 5303esac
 5304
5621if expr a : '\(a\)' >/dev/null 2>&1 && 5305if expr a : '\(a\)' >/dev/null 2>&1 &&
5622 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5306 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5623 as_expr=expr 5307 as_expr=expr
5624else 5308else
5625 as_expr=false 5309 as_expr=false
5626fi 5310fi
5627 5311
5628rm -f conf$$ conf$$.exe conf$$.file 5312rm -f conf$$ conf$$.exe conf$$.file
5629if test -d conf$$.dir; then 5313if test -d conf$$.dir; then
5630 rm -f conf$$.dir/conf$$.file 5314 rm -f conf$$.dir/conf$$.file
5631else 5315else
5632 rm -f conf$$.dir 5316 rm -f conf$$.dir
5633 mkdir conf$$.dir 2>/dev/null 5317 mkdir conf$$.dir
5634fi 5318fi
5635if (echo >conf$$.file) 2>/dev/null; then 5319echo >conf$$.file
5636 if ln -s conf$$.file conf$$ 2>/dev/null; then 5320if ln -s conf$$.file conf$$ 2>/dev/null; then
5637 as_ln_s='ln -s' 5321 as_ln_s='ln -s'
5638 # ... but there are two gotchas: 5322 # ... but there are two gotchas:
5639 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5640 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5641 # In both cases, we have to default to `cp -p'. 5325 # In both cases, we have to default to `cp -p'.
5642 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5326 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 
5647 as_ln_s='cp -p' 5327 as_ln_s='cp -p'
5648 fi 5328elif ln conf$$.file conf$$ 2>/dev/null; then
 5329 as_ln_s=ln
5649else 5330else
5650 as_ln_s='cp -p' 5331 as_ln_s='cp -p'
5651fi 5332fi
5652rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5333rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5653rmdir conf$$.dir 2>/dev/null 5334rmdir conf$$.dir 2>/dev/null
5654 5335
5655if mkdir -p . 2>/dev/null; then 5336if mkdir -p . 2>/dev/null; then
5656 as_mkdir_p=: 5337 as_mkdir_p=:
5657else 5338else
5658 test -d ./-p && rmdir ./-p 5339 test -d ./-p && rmdir ./-p
5659 as_mkdir_p=false 5340 as_mkdir_p=false
5660fi 5341fi
5661 5342
5662if test -x / >/dev/null 2>&1; then 5343if test -x / >/dev/null 2>&1; then
5663 as_test_x='test -x' 5344 as_test_x='test -x'
5664else 5345else
5665 if ls -dL / >/dev/null 2>&1; then 5346 if ls -dL / >/dev/null 2>&1; then
5666 as_ls_L_option=L 5347 as_ls_L_option=L
5667 else 5348 else
5668 as_ls_L_option= 5349 as_ls_L_option=
5669 fi 5350 fi
5670 as_test_x=' 5351 as_test_x='
5671 eval sh -c '\'' 5352 eval sh -c '\''
5672 if test -d "$1"; then 5353 if test -d "$1"; then
5673 test -d "$1/."; 5354 test -d "$1/.";
5674 else 5355 else
5675 case $1 in 5356 case $1 in
5676 -*)set "./$1";; 5357 -*)set "./$1";;
5677 esac; 5358 esac;
5678 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5359 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5679 ???[sx]*):;;*)false;;esac;fi 5360 ???[sx]*):;;*)false;;esac;fi
5680 '\'' sh 5361 '\'' sh
5681 ' 5362 '
5682fi 5363fi
5683as_executable_p=$as_test_x 5364as_executable_p=$as_test_x
5684 5365
5685# Sed expression to map a string onto a valid CPP name. 5366# Sed expression to map a string onto a valid CPP name.
5686as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5367as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5687 5368
5688# Sed expression to map a string onto a valid variable name. 5369# Sed expression to map a string onto a valid variable name.
5689as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5370as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5690 5371
5691 5372
5692exec 6>&1 5373exec 6>&1
5693 5374
5694# Save the log message, to keep $[0] and so on meaningful, and to 5375# Save the log message, to keep $[0] and so on meaningful, and to
5695# report actual input values of CONFIG_FILES etc. instead of their 5376# report actual input values of CONFIG_FILES etc. instead of their
5696# values after options handling. 5377# values after options handling.
5697ac_log=" 5378ac_log="
5698This file was extended by nbsd-digest $as_me 20080509, which was 5379This file was extended by nbsd-digest $as_me 20080509, which was
5699generated by GNU Autoconf 2.62. Invocation command line was 5380generated by GNU Autoconf 2.61. Invocation command line was
5700 5381
5701 CONFIG_FILES = $CONFIG_FILES 5382 CONFIG_FILES = $CONFIG_FILES
5702 CONFIG_HEADERS = $CONFIG_HEADERS 5383 CONFIG_HEADERS = $CONFIG_HEADERS
5703 CONFIG_LINKS = $CONFIG_LINKS 5384 CONFIG_LINKS = $CONFIG_LINKS
5704 CONFIG_COMMANDS = $CONFIG_COMMANDS 5385 CONFIG_COMMANDS = $CONFIG_COMMANDS
5705 $ $0 $@ 5386 $ $0 $@
5706 5387
5707on `(hostname || uname -n) 2>/dev/null | sed 1q` 5388on `(hostname || uname -n) 2>/dev/null | sed 1q`
5708" 5389"
5709 5390
5710_ACEOF 5391_ACEOF
5711 5392
5712cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5393cat >>$CONFIG_STATUS <<_ACEOF
5713# Files that config.status was made for. 5394# Files that config.status was made for.
5714config_files="$ac_config_files" 5395config_files="$ac_config_files"
5715config_headers="$ac_config_headers" 5396config_headers="$ac_config_headers"
5716 5397
5717_ACEOF 5398_ACEOF
5718 5399
5719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5400cat >>$CONFIG_STATUS <<\_ACEOF
5720ac_cs_usage="\ 5401ac_cs_usage="\
5721\`$as_me' instantiates files from templates according to the 5402\`$as_me' instantiates files from templates according to the
5722current configuration. 5403current configuration.
5723 5404
5724Usage: $0 [OPTIONS] [FILE]... 5405Usage: $0 [OPTIONS] [FILE]...
5725 5406
5726 -h, --help print this help, then exit 5407 -h, --help print this help, then exit
5727 -V, --version print version number and configuration settings, then exit 5408 -V, --version print version number and configuration settings, then exit
5728 -q, --quiet do not print progress messages 5409 -q, --quiet do not print progress messages
5729 -d, --debug don't remove temporary files 5410 -d, --debug don't remove temporary files
5730 --recheck update $as_me by reconfiguring in the same conditions 5411 --recheck update $as_me by reconfiguring in the same conditions
5731 --file=FILE[:TEMPLATE] 5412 --file=FILE[:TEMPLATE]
5732 instantiate the configuration file FILE 5413 instantiate the configuration file FILE
5733 --header=FILE[:TEMPLATE] 5414 --header=FILE[:TEMPLATE]
5734 instantiate the configuration header FILE 5415 instantiate the configuration header FILE
5735 5416
5736Configuration files: 5417Configuration files:
5737$config_files 5418$config_files
5738 5419
5739Configuration headers: 5420Configuration headers:
5740$config_headers 5421$config_headers
5741 5422
5742Report bugs to <bug-autoconf@gnu.org>." 5423Report bugs to <bug-autoconf@gnu.org>."
5743 5424
5744_ACEOF 5425_ACEOF
5745cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5426cat >>$CONFIG_STATUS <<_ACEOF
5746ac_cs_version="\\ 5427ac_cs_version="\\
5747nbsd-digest config.status 20080509 5428nbsd-digest config.status 20080509
5748configured by $0, generated by GNU Autoconf 2.62, 5429configured by $0, generated by GNU Autoconf 2.61,
5749 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5430 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5750 5431
5751Copyright (C) 2008 Free Software Foundation, Inc. 5432Copyright (C) 2006 Free Software Foundation, Inc.
5752This config.status script is free software; the Free Software Foundation 5433This config.status script is free software; the Free Software Foundation
5753gives unlimited permission to copy, distribute and modify it." 5434gives unlimited permission to copy, distribute and modify it."
5754 5435
5755ac_pwd='$ac_pwd' 5436ac_pwd='$ac_pwd'
5756srcdir='$srcdir' 5437srcdir='$srcdir'
5757INSTALL='$INSTALL' 5438INSTALL='$INSTALL'
5758AWK='$AWK' 
5759test -n "\$AWK" || AWK=awk 
5760_ACEOF 5439_ACEOF
5761 5440
5762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5441cat >>$CONFIG_STATUS <<\_ACEOF
5763# The default lists apply if the user does not specify any file. 5442# If no file are specified by the user, then we need to provide default
 5443# value. By we need to know if files were specified by the user.
5764ac_need_defaults=: 5444ac_need_defaults=:
5765while test $# != 0 5445while test $# != 0
5766do 5446do
5767 case $1 in 5447 case $1 in
5768 --*=*) 5448 --*=*)
5769 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5449 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5450 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5771 ac_shift=: 5451 ac_shift=:
5772 ;; 5452 ;;
5773 *) 5453 *)
5774 ac_option=$1 5454 ac_option=$1
5775 ac_optarg=$2 5455 ac_optarg=$2
5776 ac_shift=shift 5456 ac_shift=shift
5777 ;; 5457 ;;
5778 esac 5458 esac
5779 5459
5780 case $ac_option in 5460 case $ac_option in
5781 # Handling of the options. 5461 # Handling of the options.
5782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5462 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5783 ac_cs_recheck=: ;; 5463 ac_cs_recheck=: ;;
5784 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5464 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5785 $as_echo "$ac_cs_version"; exit ;; 5465 echo "$ac_cs_version"; exit ;;
5786 --debug | --debu | --deb | --de | --d | -d ) 5466 --debug | --debu | --deb | --de | --d | -d )
5787 debug=: ;; 5467 debug=: ;;
5788 --file | --fil | --fi | --f ) 5468 --file | --fil | --fi | --f )
5789 $ac_shift 5469 $ac_shift
5790 case $ac_optarg in 5470 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5791 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
5792 esac 
5793 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 
5794 ac_need_defaults=false;; 5471 ac_need_defaults=false;;
5795 --header | --heade | --head | --hea ) 5472 --header | --heade | --head | --hea )
5796 $ac_shift 5473 $ac_shift
5797 case $ac_optarg in 5474 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
5799 esac 
5800 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 
5801 ac_need_defaults=false;; 5475 ac_need_defaults=false;;
5802 --he | --h) 5476 --he | --h)
5803 # Conflict between --help and --header 5477 # Conflict between --help and --header
5804 { $as_echo "$as_me: error: ambiguous option: $1 5478 { echo "$as_me: error: ambiguous option: $1
5805Try \`$0 --help' for more information." >&2 5479Try \`$0 --help' for more information." >&2
5806 { (exit 1); exit 1; }; };; 5480 { (exit 1); exit 1; }; };;
5807 --help | --hel | -h ) 5481 --help | --hel | -h )
5808 $as_echo "$ac_cs_usage"; exit ;; 5482 echo "$ac_cs_usage"; exit ;;
5809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5810 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5484 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5811 ac_cs_silent=: ;; 5485 ac_cs_silent=: ;;
5812 5486
5813 # This is an error. 5487 # This is an error.
5814 -*) { $as_echo "$as_me: error: unrecognized option: $1 5488 -*) { echo "$as_me: error: unrecognized option: $1
5815Try \`$0 --help' for more information." >&2 5489Try \`$0 --help' for more information." >&2
5816 { (exit 1); exit 1; }; } ;; 5490 { (exit 1); exit 1; }; } ;;
5817 5491
5818 *) ac_config_targets="$ac_config_targets $1" 5492 *) ac_config_targets="$ac_config_targets $1"
5819 ac_need_defaults=false ;; 5493 ac_need_defaults=false ;;
5820 5494
5821 esac 5495 esac
5822 shift 5496 shift
5823done 5497done
5824 5498
5825ac_configure_extra_args= 5499ac_configure_extra_args=
5826 5500
5827if $ac_cs_silent; then 5501if $ac_cs_silent; then
5828 exec 6>/dev/null 5502 exec 6>/dev/null
5829 ac_configure_extra_args="$ac_configure_extra_args --silent" 5503 ac_configure_extra_args="$ac_configure_extra_args --silent"
5830fi 5504fi
5831 5505
5832_ACEOF 5506_ACEOF
5833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5507cat >>$CONFIG_STATUS <<_ACEOF
5834if \$ac_cs_recheck; then 5508if \$ac_cs_recheck; then
5835 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5509 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5836 shift 5510 CONFIG_SHELL=$SHELL
5837 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
5838 CONFIG_SHELL='$SHELL' 
5839 export CONFIG_SHELL 5511 export CONFIG_SHELL
5840 exec "\$@" 5512 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5841fi 5513fi
5842 5514
5843_ACEOF 5515_ACEOF
5844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5516cat >>$CONFIG_STATUS <<\_ACEOF
5845exec 5>>config.log 5517exec 5>>config.log
5846{ 5518{
5847 echo 5519 echo
5848 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5520 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5849## Running $as_me. ## 5521## Running $as_me. ##
5850_ASBOX 5522_ASBOX
5851 $as_echo "$ac_log" 5523 echo "$ac_log"
5852} >&5 5524} >&5
5853 5525
5854_ACEOF 5526_ACEOF
5855cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5527cat >>$CONFIG_STATUS <<_ACEOF
5856_ACEOF 5528_ACEOF
5857 5529
5858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5530cat >>$CONFIG_STATUS <<\_ACEOF
5859 5531
5860# Handling of arguments. 5532# Handling of arguments.
5861for ac_config_target in $ac_config_targets 5533for ac_config_target in $ac_config_targets
5862do 5534do
5863 case $ac_config_target in 5535 case $ac_config_target in
5864 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5536 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5865 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5537 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5866 5538
5867 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5539 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5868$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5540echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5869 { (exit 1); exit 1; }; };; 5541 { (exit 1); exit 1; }; };;
5870 esac 5542 esac
5871done 5543done
5872 5544
5873 5545
5874# If the user did not use the arguments to specify the items to instantiate, 5546# If the user did not use the arguments to specify the items to instantiate,
5875# then the envvar interface is used. Set only those that are not. 5547# then the envvar interface is used. Set only those that are not.
5876# We use the long form for the default assignment because of an extremely 5548# We use the long form for the default assignment because of an extremely
5877# bizarre bug on SunOS 4.1.3. 5549# bizarre bug on SunOS 4.1.3.
5878if $ac_need_defaults; then 5550if $ac_need_defaults; then
5879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5880 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5552 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5881fi 5553fi
@@ -5895,305 +5567,179 @@ $debug || @@ -5895,305 +5567,179 @@ $debug ||
5895 trap '{ (exit 1); exit 1; }' 1 2 13 15 5567 trap '{ (exit 1); exit 1; }' 1 2 13 15
5896} 5568}
5897# Create a (secure) tmp directory for tmp files. 5569# Create a (secure) tmp directory for tmp files.
5898 5570
5899{ 5571{
5900 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5572 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5901 test -n "$tmp" && test -d "$tmp" 5573 test -n "$tmp" && test -d "$tmp"
5902} || 5574} ||
5903{ 5575{
5904 tmp=./conf$$-$RANDOM 5576 tmp=./conf$$-$RANDOM
5905 (umask 077 && mkdir "$tmp") 5577 (umask 077 && mkdir "$tmp")
5906} || 5578} ||
5907{ 5579{
5908 $as_echo "$as_me: cannot create a temporary directory in ." >&2 5580 echo "$me: cannot create a temporary directory in ." >&2
5909 { (exit 1); exit 1; } 5581 { (exit 1); exit 1; }
5910} 5582}
5911 5583
5912# Set up the scripts for CONFIG_FILES section. 5584#
5913# No need to generate them if there are no CONFIG_FILES. 5585# Set up the sed scripts for CONFIG_FILES section.
5914# This happens for instance with `./config.status config.h'. 5586#
5915if test -n "$CONFIG_FILES"; then 
5916 
5917 5587
5918ac_cr=' ' 5588# No need to generate the scripts if there are no CONFIG_FILES.
5919ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5589# This happens for instance when ./config.status config.h
5920if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5590if test -n "$CONFIG_FILES"; then
5921 ac_cs_awk_cr='\\r' 
5922else 
5923 ac_cs_awk_cr=$ac_cr 
5924fi 
5925 5591
5926echo 'BEGIN {' >"$tmp/subs1.awk" && 
5927_ACEOF 5592_ACEOF
5928 5593
5929 5594
5930{ 5595
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 '$'` 
5939ac_delim='%!_!# ' 5596ac_delim='%!_!# '
5940for ac_last_try in false false false false false :; do 5597for ac_last_try in false false false false false :; do
5941 . ./conf$$subs.sh || 5598 cat >conf$$subs.sed <<_ACEOF
5942 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5599SHELL!$SHELL$ac_delim
5943$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5600PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5944 { (exit 1); exit 1; }; } 5601PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 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
5945 5666
5946 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 5667 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
5947 break 5668 break
5948 elif $ac_last_try; then 5669 elif $ac_last_try; then
5949 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5670 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5950$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5671echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5951 { (exit 1); exit 1; }; } 5672 { (exit 1); exit 1; }; }
5952 else 5673 else
5953 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5674 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5954 fi 5675 fi
5955done 5676done
5956rm -f conf$$subs.sh 
5957 5677
5958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5678ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5959cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 5679if test -n "$ac_eof"; then
 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
5960_ACEOF 5702_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 = "" 
6010 5703
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 
6044 5704
6045# VPATH may cause trouble with some makes, so we remove $(srcdir), 5705# VPATH may cause trouble with some makes, so we remove $(srcdir),
6046# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5706# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6047# trailing colons and then remove the whole line if VPATH becomes empty 5707# trailing colons and then remove the whole line if VPATH becomes empty
6048# (actually we leave an empty line to preserve line numbers). 5708# (actually we leave an empty line to preserve line numbers).
6049if test "x$srcdir" = x.; then 5709if test "x$srcdir" = x.; then
6050 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5710 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6051s/:*\$(srcdir):*/:/ 5711s/:*\$(srcdir):*/:/
6052s/:*\${srcdir}:*/:/ 5712s/:*\${srcdir}:*/:/
6053s/:*@srcdir@:*/:/ 5713s/:*@srcdir@:*/:/
6054s/^\([^=]*=[ ]*\):*/\1/ 5714s/^\([^=]*=[ ]*\):*/\1/
6055s/:*$// 5715s/:*$//
6056s/^[^=]*=[ ]*$// 5716s/^[^=]*=[ ]*$//
6057}' 5717}'
6058fi 5718fi
6059 5719
6060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5720cat >>$CONFIG_STATUS <<\_ACEOF
6061fi # test -n "$CONFIG_FILES" 5721fi # test -n "$CONFIG_FILES"
6062 5722
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 
6070 5723
6071# Transform confdefs.h into an awk script `defines.awk', embedded as 5724for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
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 
6179do 5725do
6180 case $ac_tag in 5726 case $ac_tag in
6181 :[FHLC]) ac_mode=$ac_tag; continue;; 5727 :[FHLC]) ac_mode=$ac_tag; continue;;
6182 esac 5728 esac
6183 case $ac_mode$ac_tag in 5729 case $ac_mode$ac_tag in
6184 :[FHL]*:*);; 5730 :[FHL]*:*);;
6185 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 5731 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6186$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 5732echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6187 { (exit 1); exit 1; }; };; 5733 { (exit 1); exit 1; }; };;
6188 :[FH]-) ac_tag=-:-;; 5734 :[FH]-) ac_tag=-:-;;
6189 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5735 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6190 esac 5736 esac
6191 ac_save_IFS=$IFS 5737 ac_save_IFS=$IFS
6192 IFS=: 5738 IFS=:
6193 set x $ac_tag 5739 set x $ac_tag
6194 IFS=$ac_save_IFS 5740 IFS=$ac_save_IFS
6195 shift 5741 shift
6196 ac_file=$1 5742 ac_file=$1
6197 shift 5743 shift
6198 5744
6199 case $ac_mode in 5745 case $ac_mode in
@@ -6202,134 +5748,122 @@ $as_echo "$as_me: error: Invalid tag $ac @@ -6202,134 +5748,122 @@ $as_echo "$as_me: error: Invalid tag $ac
6202 ac_file_inputs= 5748 ac_file_inputs=
6203 for ac_f 5749 for ac_f
6204 do 5750 do
6205 case $ac_f in 5751 case $ac_f in
6206 -) ac_f="$tmp/stdin";; 5752 -) ac_f="$tmp/stdin";;
6207 *) # Look for the file first in the build tree, then in the source tree 5753 *) # Look for the file first in the build tree, then in the source tree
6208 # (if the path is not absolute). The absolute path cannot be DOS-style, 5754 # (if the path is not absolute). The absolute path cannot be DOS-style,
6209 # because $ac_f cannot contain `:'. 5755 # because $ac_f cannot contain `:'.
6210 test -f "$ac_f" || 5756 test -f "$ac_f" ||
6211 case $ac_f in 5757 case $ac_f in
6212 [\\/$]*) false;; 5758 [\\/$]*) false;;
6213 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5759 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6214 esac || 5760 esac ||
6215 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 5761 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6216$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5762echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6217 { (exit 1); exit 1; }; };; 5763 { (exit 1); exit 1; }; };;
6218 esac 5764 esac
6219 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5765 ac_file_inputs="$ac_file_inputs $ac_f"
6220 ac_file_inputs="$ac_file_inputs '$ac_f'" 
6221 done 5766 done
6222 5767
6223 # Let's still pretend it is `configure' which instantiates (i.e., don't 5768 # Let's still pretend it is `configure' which instantiates (i.e., don't
6224 # use $as_me), people would be surprised to read: 5769 # use $as_me), people would be surprised to read:
6225 # /* config.h. Generated by config.status. */ 5770 # /* config.h. Generated by config.status. */
6226 configure_input='Generated from '` 5771 configure_input="Generated from "`IFS=:
6227 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5772 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6228 `' by configure.' 
6229 if test x"$ac_file" != x-; then 5773 if test x"$ac_file" != x-; then
6230 configure_input="$ac_file. $configure_input" 5774 configure_input="$ac_file. $configure_input"
6231 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 5775 { echo "$as_me:$LINENO: creating $ac_file" >&5
6232$as_echo "$as_me: creating $ac_file" >&6;} 5776echo "$as_me: creating $ac_file" >&6;}
6233 fi 5777 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 
6241 5778
6242 case $ac_tag in 5779 case $ac_tag in
6243 *:-:* | *:-) cat >"$tmp/stdin" \ 5780 *:-:* | *:-) 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; }; } ;; 
6247 esac 5781 esac
6248 ;; 5782 ;;
6249 esac 5783 esac
6250 5784
6251 ac_dir=`$as_dirname -- "$ac_file" || 5785 ac_dir=`$as_dirname -- "$ac_file" ||
6252$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5786$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6253 X"$ac_file" : 'X\(//\)[^/]' \| \ 5787 X"$ac_file" : 'X\(//\)[^/]' \| \
6254 X"$ac_file" : 'X\(//\)$' \| \ 5788 X"$ac_file" : 'X\(//\)$' \| \
6255 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6256$as_echo X"$ac_file" | 5790echo X"$ac_file" |
6257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6258 s//\1/ 5792 s//\1/
6259 q 5793 q
6260 } 5794 }
6261 /^X\(\/\/\)[^/].*/{ 5795 /^X\(\/\/\)[^/].*/{
6262 s//\1/ 5796 s//\1/
6263 q 5797 q
6264 } 5798 }
6265 /^X\(\/\/\)$/{ 5799 /^X\(\/\/\)$/{
6266 s//\1/ 5800 s//\1/
6267 q 5801 q
6268 } 5802 }
6269 /^X\(\/\).*/{ 5803 /^X\(\/\).*/{
6270 s//\1/ 5804 s//\1/
6271 q 5805 q
6272 } 5806 }
6273 s/.*/./; q'` 5807 s/.*/./; q'`
6274 { as_dir="$ac_dir" 5808 { as_dir="$ac_dir"
6275 case $as_dir in #( 5809 case $as_dir in #(
6276 -*) as_dir=./$as_dir;; 5810 -*) as_dir=./$as_dir;;
6277 esac 5811 esac
6278 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5812 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6279 as_dirs= 5813 as_dirs=
6280 while :; do 5814 while :; do
6281 case $as_dir in #( 5815 case $as_dir in #(
6282 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5816 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6283 *) as_qdir=$as_dir;; 5817 *) as_qdir=$as_dir;;
6284 esac 5818 esac
6285 as_dirs="'$as_qdir' $as_dirs" 5819 as_dirs="'$as_qdir' $as_dirs"
6286 as_dir=`$as_dirname -- "$as_dir" || 5820 as_dir=`$as_dirname -- "$as_dir" ||
6287$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5821$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6288 X"$as_dir" : 'X\(//\)[^/]' \| \ 5822 X"$as_dir" : 'X\(//\)[^/]' \| \
6289 X"$as_dir" : 'X\(//\)$' \| \ 5823 X"$as_dir" : 'X\(//\)$' \| \
6290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6291$as_echo X"$as_dir" | 5825echo X"$as_dir" |
6292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6293 s//\1/ 5827 s//\1/
6294 q 5828 q
6295 } 5829 }
6296 /^X\(\/\/\)[^/].*/{ 5830 /^X\(\/\/\)[^/].*/{
6297 s//\1/ 5831 s//\1/
6298 q 5832 q
6299 } 5833 }
6300 /^X\(\/\/\)$/{ 5834 /^X\(\/\/\)$/{
6301 s//\1/ 5835 s//\1/
6302 q 5836 q
6303 } 5837 }
6304 /^X\(\/\).*/{ 5838 /^X\(\/\).*/{
6305 s//\1/ 5839 s//\1/
6306 q 5840 q
6307 } 5841 }
6308 s/.*/./; q'` 5842 s/.*/./; q'`
6309 test -d "$as_dir" && break 5843 test -d "$as_dir" && break
6310 done 5844 done
6311 test -z "$as_dirs" || eval "mkdir $as_dirs" 5845 test -z "$as_dirs" || eval "mkdir $as_dirs"
6312 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5846 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6313$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 5847echo "$as_me: error: cannot create directory $as_dir" >&2;}
6314 { (exit 1); exit 1; }; }; } 5848 { (exit 1); exit 1; }; }; }
6315 ac_builddir=. 5849 ac_builddir=.
6316 5850
6317case "$ac_dir" in 5851case "$ac_dir" in
6318.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5852.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6319*) 5853*)
6320 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5854 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6321 # A ".." for each directory in $ac_dir_suffix. 5855 # A ".." for each directory in $ac_dir_suffix.
6322 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5856 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6323 case $ac_top_builddir_sub in 5857 case $ac_top_builddir_sub in
6324 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5858 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6325 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5859 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6326 esac ;; 5860 esac ;;
6327esac 5861esac
6328ac_abs_top_builddir=$ac_pwd 5862ac_abs_top_builddir=$ac_pwd
6329ac_abs_builddir=$ac_pwd$ac_dir_suffix 5863ac_abs_builddir=$ac_pwd$ac_dir_suffix
6330# for backward compatibility: 5864# for backward compatibility:
6331ac_top_builddir=$ac_top_build_prefix 5865ac_top_builddir=$ac_top_build_prefix
6332 5866
6333case $srcdir in 5867case $srcdir in
6334 .) # We are building in place. 5868 .) # We are building in place.
6335 ac_srcdir=. 5869 ac_srcdir=.
@@ -6349,164 +5883,213 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ @@ -6349,164 +5883,213 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6349 5883
6350 case $ac_mode in 5884 case $ac_mode in
6351 :F) 5885 :F)
6352 # 5886 #
6353 # CONFIG_FILE 5887 # CONFIG_FILE
6354 # 5888 #
6355 5889
6356 case $INSTALL in 5890 case $INSTALL in
6357 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5891 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6358 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5892 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6359 esac 5893 esac
6360_ACEOF 5894_ACEOF
6361 5895
6362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5896cat >>$CONFIG_STATUS <<\_ACEOF
6363# If the template does not know about datarootdir, expand it. 5897# If the template does not know about datarootdir, expand it.
6364# FIXME: This hack should be removed a few years after 2.60. 5898# FIXME: This hack should be removed a few years after 2.60.
6365ac_datarootdir_hack=; ac_datarootdir_seen= 5899ac_datarootdir_hack=; ac_datarootdir_seen=
6366 5900
6367ac_sed_dataroot=' 5901case `sed -n '/datarootdir/ {
6368/datarootdir/ { 
6369 p 5902 p
6370 q 5903 q
6371} 5904}
6372/@datadir@/p 5905/@datadir@/p
6373/@docdir@/p 5906/@docdir@/p
6374/@infodir@/p 5907/@infodir@/p
6375/@localedir@/p 5908/@localedir@/p
6376/@mandir@/p 5909/@mandir@/p
6377' 5910' $ac_file_inputs` in
6378case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
6379*datarootdir*) ac_datarootdir_seen=yes;; 5911*datarootdir*) ac_datarootdir_seen=yes;;
6380*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5912*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6381 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5913 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6382$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5914echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6383_ACEOF 5915_ACEOF
6384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5916cat >>$CONFIG_STATUS <<_ACEOF
6385 ac_datarootdir_hack=' 5917 ac_datarootdir_hack='
6386 s&@datadir@&$datadir&g 5918 s&@datadir@&$datadir&g
6387 s&@docdir@&$docdir&g 5919 s&@docdir@&$docdir&g
6388 s&@infodir@&$infodir&g 5920 s&@infodir@&$infodir&g
6389 s&@localedir@&$localedir&g 5921 s&@localedir@&$localedir&g
6390 s&@mandir@&$mandir&g 5922 s&@mandir@&$mandir&g
6391 s&\\\${datarootdir}&$datarootdir&g' ;; 5923 s&\\\${datarootdir}&$datarootdir&g' ;;
6392esac 5924esac
6393_ACEOF 5925_ACEOF
6394 5926
6395# Neutralize VPATH when `$srcdir' = `.'. 5927# Neutralize VPATH when `$srcdir' = `.'.
6396# Shell code in configure.ac might set extrasub. 5928# Shell code in configure.ac might set extrasub.
6397# FIXME: do we really want to maintain this feature? 5929# FIXME: do we really want to maintain this feature?
6398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5930cat >>$CONFIG_STATUS <<_ACEOF
6399ac_sed_extra="$ac_vpsub 5931 sed "$ac_vpsub
6400$extrasub 5932$extrasub
6401_ACEOF 5933_ACEOF
6402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5934cat >>$CONFIG_STATUS <<\_ACEOF
6403:t 5935:t
6404/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5936/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6405s|@configure_input@|$ac_sed_conf_input|;t t 5937s&@configure_input@&$configure_input&;t t
6406s&@top_builddir@&$ac_top_builddir_sub&;t t 5938s&@top_builddir@&$ac_top_builddir_sub&;t t
6407s&@top_build_prefix@&$ac_top_build_prefix&;t t 
6408s&@srcdir@&$ac_srcdir&;t t 5939s&@srcdir@&$ac_srcdir&;t t
6409s&@abs_srcdir@&$ac_abs_srcdir&;t t 5940s&@abs_srcdir@&$ac_abs_srcdir&;t t
6410s&@top_srcdir@&$ac_top_srcdir&;t t 5941s&@top_srcdir@&$ac_top_srcdir&;t t
6411s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5942s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6412s&@builddir@&$ac_builddir&;t t 5943s&@builddir@&$ac_builddir&;t t
6413s&@abs_builddir@&$ac_abs_builddir&;t t 5944s&@abs_builddir@&$ac_abs_builddir&;t t
6414s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5945s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6415s&@INSTALL@&$ac_INSTALL&;t t 5946s&@INSTALL@&$ac_INSTALL&;t t
6416$ac_datarootdir_hack 5947$ac_datarootdir_hack
6417" 5948" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
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; }; } 
6422 5949
6423test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5950test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6424 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5951 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6425 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6426 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5953 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6427which seems to be undefined. Please make sure it is defined." >&5 5954which seems to be undefined. Please make sure it is defined." >&5
6428$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5955echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6429which seems to be undefined. Please make sure it is defined." >&2;} 5956which seems to be undefined. Please make sure it is defined." >&2;}
6430 5957
6431 rm -f "$tmp/stdin" 5958 rm -f "$tmp/stdin"
6432 case $ac_file in 5959 case $ac_file in
6433 -) cat "$tmp/out" && rm -f "$tmp/out";; 5960 -) cat "$tmp/out"; rm -f "$tmp/out";;
6434 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 5961 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6435 esac \ 5962 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; }; } 
6439 ;; 5963 ;;
6440 :H) 5964 :H)
6441 # 5965 #
6442 # CONFIG_HEADER 5966 # CONFIG_HEADER
6443 # 5967 #
 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
6444 if test x"$ac_file" != x-; then 6046 if test x"$ac_file" != x-; then
6445 { 6047 echo "/* $configure_input */" >"$tmp/config.h"
6446 $as_echo "/* $configure_input */" \ 6048 cat "$ac_result" >>"$tmp/config.h"
6447 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 6049 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6448 } >"$tmp/config.h" \ 6050 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6449 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6051echo "$as_me: $ac_file is unchanged" >&6;}
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;} 
6455 else 6052 else
6456 rm -f "$ac_file" 6053 rm -f $ac_file
6457 mv "$tmp/config.h" "$ac_file" \ 6054 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; }; } 
6461 fi 6055 fi
6462 else 6056 else
6463 $as_echo "/* $configure_input */" \ 6057 echo "/* $configure_input */"
6464 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 6058 cat "$ac_result"
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; }; } 
6468 fi 6059 fi
 6060 rm -f "$tmp/out12"
6469 ;; 6061 ;;
6470 6062
6471 6063
6472 esac 6064 esac
6473 6065
6474done # for ac_tag 6066done # for ac_tag
6475 6067
6476 6068
6477{ (exit 0); exit 0; } 6069{ (exit 0); exit 0; }
6478_ACEOF 6070_ACEOF
6479chmod +x $CONFIG_STATUS 6071chmod +x $CONFIG_STATUS
6480ac_clean_files=$ac_clean_files_save 6072ac_clean_files=$ac_clean_files_save
6481 6073
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 
6487 6074
6488# configure is writing to config.log, and then calls config.status. 6075# configure is writing to config.log, and then calls config.status.
6489# config.status does its own redirection, appending to config.log. 6076# config.status does its own redirection, appending to config.log.
6490# Unfortunately, on DOS this fails, as config.log is still kept open 6077# Unfortunately, on DOS this fails, as config.log is still kept open
6491# by configure, so config.status won't be able to write to it; its 6078# by configure, so config.status won't be able to write to it; its
6492# output is simply discarded. So we exec the FD to /dev/null, 6079# output is simply discarded. So we exec the FD to /dev/null,
6493# effectively closing config.log, so it can be properly (re)opened and 6080# effectively closing config.log, so it can be properly (re)opened and
6494# appended to by config.status. When coming back to configure, we 6081# appended to by config.status. When coming back to configure, we
6495# need to make the FD available again. 6082# need to make the FD available again.
6496if test "$no_create" != yes; then 6083if test "$no_create" != yes; then
6497 ac_cs_success=: 6084 ac_cs_success=:
6498 ac_config_status_args= 6085 ac_config_status_args=
6499 test "$silent" = yes && 6086 test "$silent" = yes &&
6500 ac_config_status_args="$ac_config_status_args --quiet" 6087 ac_config_status_args="$ac_config_status_args --quiet"
6501 exec 5>/dev/null 6088 exec 5>/dev/null
6502 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6089 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6503 exec 5>>config.log 6090 exec 5>>config.log
6504 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6505 # would make configure fail if this is the last instruction. 6092 # would make configure fail if this is the last instruction.
6506 $ac_cs_success || { (exit 1); exit 1; } 6093 $ac_cs_success || { (exit 1); exit 1; }
6507fi 6094fi
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 
6512 6095