ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/IO-AIO/autoconf/configure
(Generate patch)

Comparing cvsroot/IO-AIO/autoconf/configure (file contents):
Revision 1.6 by root, Tue Aug 23 12:37:19 2005 UTC vs.
Revision 1.7 by root, Fri Jun 1 05:51:21 2007 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59. 3# Generated by GNU Autoconf 2.61.
4# 4#
5# Copyright (C) 2003 Free Software Foundation, Inc. 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ## 9## --------------------- ##
9## M4sh Initialization. ## 10## M4sh Initialization. ##
10## --------------------- ## 11## --------------------- ##
11 12
12# Be Bourne compatible 13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh 16 emulate sh
15 NULLCMD=: 17 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature. 19 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"' 20 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 setopt NO_GLOB_SUBST
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else 22else
47 $as_unset $as_var 23 case `(set -o) 2>/dev/null` in
48 fi 24 *posix*) set -o posix ;;
49done 25esac
50 26
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi 27fi
57 28
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63 29
64 30
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76 31
77 32# PATH needs CR
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges. 33# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789' 37as_cr_digits='0123456789'
94 PATH_SEPARATOR=: 48 PATH_SEPARATOR=:
95 fi 49 fi
96 rm -f conf$$.sh 50 rm -f conf$$.sh
97fi 51fi
98 52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56else
57 as_unset=false
58fi
99 59
100 as_lineno_1=$LINENO 60
101 as_lineno_2=$LINENO 61# IFS
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 62# We need space, tab and new line, in precisely that order. Quoting is
103 test "x$as_lineno_1" != "x$as_lineno_2" && 63# there to prevent editors from complaining about space-tab.
104 test "x$as_lineno_3" = "x$as_lineno_2" || { 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl"
69
105 # Find who we are. Look in the path if we contain no path at all 70# Find who we are. Look in the path if we contain no directory separator.
106 # relative or not.
107 case $0 in 71case $0 in
108 *[\\/]* ) as_myself=$0 ;; 72 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH 74for as_dir in $PATH
111do 75do
112 IFS=$as_save_IFS 76 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=. 77 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done 79done
80IFS=$as_save_IFS
116 81
117 ;; 82 ;;
118 esac 83esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND' 84# We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path. 85# in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then 86if test "x$as_myself" = x; then
122 as_myself=$0 87 as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
107do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 fi 112 fi
124 if test ! -f "$as_myself"; then 113done
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 114
126 { (exit 1); exit 1; }; } 115# Required to use basename.
127 fi 116if expr a : '\(a\)' >/dev/null 2>&1 &&
128 case $CONFIG_SHELL in 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
129 '') 118 as_expr=expr
119else
120 as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125else
126 as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\/\)$/{
141 s//\1/
142 q
143 }
144 /^X\/\(\/\).*/{
145 s//\1/
146 q
147 }
148 s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157else
158 as_have_required=no
159fi
160
161 if test $as_have_required = yes && (eval ":
162(as_func_return () {
163 (exit \$1)
164}
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
177
178exitcode=0
179if as_func_success; then
180 :
181else
182 exitcode=1
183 echo as_func_success failed.
184fi
185
186if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192 :
193else
194 exitcode=1
195 echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do 223do
133 IFS=$as_save_IFS 224 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=. 225 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in 226 case $as_dir in
137 /*) 227 /*)
138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232done
233IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278 (exit $1)
279}
280as_func_success () {
281 as_func_return 0
282}
283as_func_failure () {
284 as_func_return 1
285}
286as_func_ret_success () {
287 return 0
288}
289as_func_ret_failure () {
290 return 1
291}
292
293exitcode=0
294if as_func_success; then
295 :
296else
297 exitcode=1
298 echo as_func_success failed.
299fi
300
301if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307 :
308else
309 exitcode=1
310 echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320else
321 exitcode=1
322 echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
139 as_lineno_1=$LINENO 328 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO 329 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" && 330 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 332
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 333_ASEOF
146 CONFIG_SHELL=$as_dir/$as_base 334}; then
147 export CONFIG_SHELL 335 break
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 336fi
149 fi;; 337
150 esac 338fi
339
340 done
341
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
151 done 345 done
152done 346 export CONFIG_SHELL
153;; 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
154 esac 348fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367 (exit \$1)
368}
369as_func_success () {
370 as_func_return 0
371}
372as_func_failure () {
373 as_func_return 1
374}
375as_func_ret_success () {
376 return 0
377}
378as_func_ret_failure () {
379 return 1
380}
381
382exitcode=0
383if as_func_success; then
384 :
385else
386 exitcode=1
387 echo as_func_success failed.
388fi
389
390if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396 :
397else
398 exitcode=1
399 echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409else
410 exitcode=1
411 echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
419}
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155 427
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a 429 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real 430 # line-number line after each line using $LINENO; the second 'sed'
159 # work. The second script uses 'N' to pair each line-number line 431 # does the real work. The second script uses 'N' to pair each
160 # with the numbered line, and appends trailing '-' during 432 # line-number line with the line containing $LINENO, and appends
161 # substitution so that $LINENO is not a special case at line end. 433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
439 p
440 /[$]LINENO/=
164 sed '=' <$as_myself | 441 ' <$as_myself |
165 sed ' 442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
166 N 447 N
167 s,$,-,
168 : loop 448 :loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170 t loop 450 t loop
171 s,-$,, 451 s/-\n.*//
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno && 452 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno || 453 chmod +x "$as_me.lineno" ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; } 455 { (exit 1); exit 1; }; }
177 456
178 # Don't try to exec as it changes $[0], causing all sort of problems 457 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the 458 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this). 459 # original and so on. Autoconf is especially sensitive to this).
181 . ./$as_me.lineno 460 . "./$as_me.lineno"
182 # Exit status is that of the last command. 461 # Exit status is that of the last command.
183 exit 462 exit
184} 463}
185 464
186 465
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
188 *c*,-n*) ECHO_N= ECHO_C=' 467 as_dirname=dirname
189' ECHO_T=' ' ;; 468else
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 469 as_dirname=false
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
479*)
480 ECHO_N='-n';;
192esac 481esac
193 482
194if expr a : '\(a\)' >/dev/null 2>&1; then 483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
195 as_expr=expr 485 as_expr=expr
196else 486else
197 as_expr=false 487 as_expr=false
198fi 488fi
199 489
200rm -f conf$$ conf$$.exe conf$$.file 490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496fi
201echo >conf$$.file 497echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then 498if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic 499 as_ln_s='ln -s'
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 500 # ... but there are two gotchas:
205 if test -f conf$$.exe; then 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
206 # Don't use ln at all; we don't have any links 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207 as_ln_s='cp -p' 505 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then 506elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln 507 as_ln_s=ln
213else 508else
214 as_ln_s='cp -p' 509 as_ln_s='cp -p'
215fi 510fi
216rm -f conf$$ conf$$.exe conf$$.file 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
217 513
218if mkdir -p . 2>/dev/null; then 514if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 515 as_mkdir_p=:
220else 516else
221 test -d ./-p && rmdir ./-p 517 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false 518 as_mkdir_p=false
223fi 519fi
224 520
521if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541fi
225as_executable_p="test -f" 542as_executable_p=$as_test_x
226 543
227# Sed expression to map a string onto a valid CPP name. 544# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 546
230# Sed expression to map a string onto a valid variable name. 547# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 549
233 550
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239 551
240# CDPATH. 552exec 7<&0 </dev/null 6>&1
241$as_unset CDPATH
242
243 553
244# Name of the host. 554# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too. 556# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 558
249exec 6>&1
250
251# 559#
252# Initializations. 560# Initializations.
253# 561#
254ac_default_prefix=/usr/local 562ac_default_prefix=/usr/local
563ac_clean_files=
255ac_config_libobj_dir=. 564ac_config_libobj_dir=.
565LIBOBJS=
256cross_compiling=no 566cross_compiling=no
257subdirs= 567subdirs=
258MFLAGS= 568MFLAGS=
259MAKEFLAGS= 569MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh} 570SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete. It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266 571
267# Identity of this package. 572# Identity of this package.
268PACKAGE_NAME= 573PACKAGE_NAME=
269PACKAGE_TARNAME= 574PACKAGE_TARNAME=
270PACKAGE_VERSION= 575PACKAGE_VERSION=
271PACKAGE_STRING= 576PACKAGE_STRING=
272PACKAGE_BUGREPORT= 577PACKAGE_BUGREPORT=
273 578
274ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LIBOBJS LTLIBOBJS' 579ac_subst_vars='SHELL
580PATH_SEPARATOR
581PACKAGE_NAME
582PACKAGE_TARNAME
583PACKAGE_VERSION
584PACKAGE_STRING
585PACKAGE_BUGREPORT
586exec_prefix
587prefix
588program_transform_name
589bindir
590sbindir
591libexecdir
592datarootdir
593datadir
594sysconfdir
595sharedstatedir
596localstatedir
597includedir
598oldincludedir
599docdir
600infodir
601htmldir
602dvidir
603pdfdir
604psdir
605libdir
606localedir
607mandir
608DEFS
609ECHO_C
610ECHO_N
611ECHO_T
612LIBS
613build_alias
614host_alias
615target_alias
616CC
617CFLAGS
618LDFLAGS
619CPPFLAGS
620ac_ct_CC
621EXEEXT
622OBJEXT
623LIBOBJS
624LTLIBOBJS'
275ac_subst_files='' 625ac_subst_files=''
626 ac_precious_vars='build_alias
627host_alias
628target_alias
629CC
630CFLAGS
631LDFLAGS
632LIBS
633CPPFLAGS'
634
276 635
277# Initialize some variables set by options. 636# Initialize some variables set by options.
278ac_init_help= 637ac_init_help=
279ac_init_version=false 638ac_init_version=false
280# The variables have the same names as the options, with 639# The variables have the same names as the options, with
297# Installation directory options. 656# Installation directory options.
298# These are left unexpanded so users can "make install exec_prefix=/foo" 657# These are left unexpanded so users can "make install exec_prefix=/foo"
299# and all the variables that are supposed to be based on exec_prefix 658# and all the variables that are supposed to be based on exec_prefix
300# by default will actually change. 659# by default will actually change.
301# Use braces instead of parens because sh, perl, etc. also accept them. 660# Use braces instead of parens because sh, perl, etc. also accept them.
661# (The list follows the same order as the GNU Coding Standards.)
302bindir='${exec_prefix}/bin' 662bindir='${exec_prefix}/bin'
303sbindir='${exec_prefix}/sbin' 663sbindir='${exec_prefix}/sbin'
304libexecdir='${exec_prefix}/libexec' 664libexecdir='${exec_prefix}/libexec'
305datadir='${prefix}/share' 665datarootdir='${prefix}/share'
666datadir='${datarootdir}'
306sysconfdir='${prefix}/etc' 667sysconfdir='${prefix}/etc'
307sharedstatedir='${prefix}/com' 668sharedstatedir='${prefix}/com'
308localstatedir='${prefix}/var' 669localstatedir='${prefix}/var'
309libdir='${exec_prefix}/lib'
310includedir='${prefix}/include' 670includedir='${prefix}/include'
311oldincludedir='/usr/include' 671oldincludedir='/usr/include'
672docdir='${datarootdir}/doc/${PACKAGE}'
312infodir='${prefix}/info' 673infodir='${datarootdir}/info'
313mandir='${prefix}/man' 674htmldir='${docdir}'
675dvidir='${docdir}'
676pdfdir='${docdir}'
677psdir='${docdir}'
678libdir='${exec_prefix}/lib'
679localedir='${datarootdir}/locale'
680mandir='${datarootdir}/man'
314 681
315ac_prev= 682ac_prev=
683ac_dashdash=
316for ac_option 684for ac_option
317do 685do
318 # If the previous option needs an argument, assign it. 686 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then 687 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option" 688 eval $ac_prev=\$ac_option
321 ac_prev= 689 ac_prev=
322 continue 690 continue
323 fi 691 fi
324 692
693 case $ac_option in
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 694 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 *) ac_optarg=yes ;;
696 esac
326 697
327 # Accept the important Cygnus configure options, so we can diagnose typos. 698 # Accept the important Cygnus configure options, so we can diagnose typos.
328 699
329 case $ac_option in 700 case $ac_dashdash$ac_option in
701 --)
702 ac_dashdash=yes ;;
330 703
331 -bindir | --bindir | --bindi | --bind | --bin | --bi) 704 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 ac_prev=bindir ;; 705 ac_prev=bindir ;;
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 706 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir=$ac_optarg ;; 707 bindir=$ac_optarg ;;
346 cache_file=$ac_optarg ;; 719 cache_file=$ac_optarg ;;
347 720
348 --config-cache | -C) 721 --config-cache | -C)
349 cache_file=config.cache ;; 722 cache_file=config.cache ;;
350 723
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 724 -datadir | --datadir | --datadi | --datad)
352 ac_prev=datadir ;; 725 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 726 -datadir=* | --datadir=* | --datadi=* | --datad=*)
354 | --da=*)
355 datadir=$ac_optarg ;; 727 datadir=$ac_optarg ;;
728
729 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
730 | --dataroo | --dataro | --datar)
731 ac_prev=datarootdir ;;
732 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
733 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
734 datarootdir=$ac_optarg ;;
356 735
357 -disable-* | --disable-*) 736 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 737 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names. 738 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 739 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 740 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; } 741 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 742 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
364 eval "enable_$ac_feature=no" ;; 743 eval enable_$ac_feature=no ;;
744
745 -docdir | --docdir | --docdi | --doc | --do)
746 ac_prev=docdir ;;
747 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
748 docdir=$ac_optarg ;;
749
750 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
751 ac_prev=dvidir ;;
752 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
753 dvidir=$ac_optarg ;;
365 754
366 -enable-* | --enable-*) 755 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 756 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names. 757 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; } 760 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;; 762 eval enable_$ac_feature=\$ac_optarg ;;
378 763
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 764 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 765 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex) 766 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;; 767 ac_prev=exec_prefix ;;
399 -host | --host | --hos | --ho) 784 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;; 785 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*) 786 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;; 787 host_alias=$ac_optarg ;;
403 788
789 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
790 ac_prev=htmldir ;;
791 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
792 | --ht=*)
793 htmldir=$ac_optarg ;;
794
404 -includedir | --includedir | --includedi | --included | --include \ 795 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc) 796 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;; 797 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 798 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*) 799 | --includ=* | --inclu=* | --incl=* | --inc=*)
423 ac_prev=libexecdir ;; 814 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 815 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*) 816 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;; 817 libexecdir=$ac_optarg ;;
427 818
819 -localedir | --localedir | --localedi | --localed | --locale)
820 ac_prev=localedir ;;
821 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
822 localedir=$ac_optarg ;;
823
428 -localstatedir | --localstatedir | --localstatedi | --localstated \ 824 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \ 825 | --localstate | --localstat | --localsta | --localst | --locals)
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;; 826 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 827 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 828 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;; 829 localstatedir=$ac_optarg ;;
436 830
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 831 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 ac_prev=mandir ;; 832 ac_prev=mandir ;;
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 833 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
494 | --program-transfo=* | --program-transf=* \ 888 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \ 889 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*) 890 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;; 891 program_transform_name=$ac_optarg ;;
498 892
893 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
894 ac_prev=pdfdir ;;
895 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
896 pdfdir=$ac_optarg ;;
897
898 -psdir | --psdir | --psdi | --psd | --ps)
899 ac_prev=psdir ;;
900 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
901 psdir=$ac_optarg ;;
902
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil) 904 | -silent | --silent | --silen | --sile | --sil)
501 silent=yes ;; 905 silent=yes ;;
502 906
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 907 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_init_version=: ;; 950 ac_init_version=: ;;
547 951
548 -with-* | --with-*) 952 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 953 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names. 954 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 955 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2 956 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; } 957 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'` 958 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;; 959 eval with_$ac_package=\$ac_optarg ;;
560 960
561 -without-* | --without-*) 961 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 962 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names. 963 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 964 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2 965 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; } 966 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'` 967 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
568 eval "with_$ac_package=no" ;; 968 eval with_$ac_package=no ;;
569 969
570 --x) 970 --x)
571 # Obsolete; use --with-x. 971 # Obsolete; use --with-x.
572 with_x=yes ;; 972 with_x=yes ;;
573 973
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 994 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names. 995 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 996 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 997 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; } 998 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'" 999 eval $ac_envvar=\$ac_optarg
601 export $ac_envvar ;; 1000 export $ac_envvar ;;
602 1001
603 *) 1002 *)
604 # FIXME: should be removed in autoconf 3.0. 1003 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1004 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1014 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2 1015 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; } 1016 { (exit 1); exit 1; }; }
618fi 1017fi
619 1018
620# Be sure to have absolute paths. 1019# Be sure to have absolute directory names.
621for ac_var in exec_prefix prefix 1020for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1021 datadir sysconfdir sharedstatedir localstatedir includedir \
1022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1023 libdir localedir mandir
622do 1024do
623 eval ac_val=$`echo $ac_var` 1025 eval ac_val=\$$ac_var
624 case $ac_val in 1026 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 1027 [\\/$]* | ?:[\\/]* ) continue;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
627 { (exit 1); exit 1; }; };;
628 esac 1029 esac
629done
630
631# Be sure to have absolute paths.
632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634do
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1030 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };; 1031 { (exit 1); exit 1; }; }
640 esac
641done 1032done
642 1033
643# There might be people who depend on the old broken behavior: `$host' 1034# There might be people who depend on the old broken behavior: `$host'
644# used to hold the argument of --host etc. 1035# used to hold the argument of --host etc.
645# FIXME: To remove some day. 1036# FIXME: To remove some day.
662test -n "$host_alias" && ac_tool_prefix=$host_alias- 1053test -n "$host_alias" && ac_tool_prefix=$host_alias-
663 1054
664test "$silent" = yes && exec 6>/dev/null 1055test "$silent" = yes && exec 6>/dev/null
665 1056
666 1057
1058ac_pwd=`pwd` && test -n "$ac_pwd" &&
1059ac_ls_di=`ls -di .` &&
1060ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1061 { echo "$as_me: error: Working directory cannot be determined" >&2
1062 { (exit 1); exit 1; }; }
1063test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1064 { echo "$as_me: error: pwd does not report name of working directory" >&2
1065 { (exit 1); exit 1; }; }
1066
1067
667# Find the source files, if location was not specified. 1068# Find the source files, if location was not specified.
668if test -z "$srcdir"; then 1069if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes 1070 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent. 1071 # Try the directory containing this script, then the parent directory.
671 ac_confdir=`(dirname "$0") 2>/dev/null || 1072 ac_confdir=`$as_dirname -- "$0" ||
672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1073$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \ 1074 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \ 1075 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \ 1076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
676 . : '\(.\)' 2>/dev/null ||
677echo X"$0" | 1077echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1079 s//\1/
680 /^X\(\/\/\)$/{ s//\1/; q; } 1080 q
681 /^X\(\/\).*/{ s//\1/; q; } 1081 }
1082 /^X\(\/\/\)[^/].*/{
1083 s//\1/
1084 q
1085 }
1086 /^X\(\/\/\)$/{
1087 s//\1/
1088 q
1089 }
1090 /^X\(\/\).*/{
1091 s//\1/
1092 q
1093 }
682 s/.*/./; q'` 1094 s/.*/./; q'`
683 srcdir=$ac_confdir 1095 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then 1096 if test ! -r "$srcdir/$ac_unique_file"; then
685 srcdir=.. 1097 srcdir=..
686 fi 1098 fi
687else 1099else
688 ac_srcdir_defaulted=no 1100 ac_srcdir_defaulted=no
689fi 1101fi
690if test ! -r $srcdir/$ac_unique_file; then 1102if test ! -r "$srcdir/$ac_unique_file"; then
691 if test "$ac_srcdir_defaulted" = yes; then 1103 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1104 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
693 { (exit 1); exit 1; }; } 1105 { (exit 1); exit 1; }; }
694 else 1106fi
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1107ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1108ac_abs_confdir=`(
1109 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
696 { (exit 1); exit 1; }; } 1110 { (exit 1); exit 1; }; }
697 fi 1111 pwd)`
1112# When building in place, set srcdir=.
1113if test "$ac_abs_confdir" = "$ac_pwd"; then
1114 srcdir=.
698fi 1115fi
699(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1116# Remove unnecessary trailing slashes from srcdir.
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1117# Double slashes in file names in object file debugging info
701 { (exit 1); exit 1; }; } 1118# mess up M-x gdb in Emacs.
702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1119case $srcdir in
703ac_env_build_alias_set=${build_alias+set} 1120*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
704ac_env_build_alias_value=$build_alias 1121esac
705ac_cv_env_build_alias_set=${build_alias+set} 1122for ac_var in $ac_precious_vars; do
706ac_cv_env_build_alias_value=$build_alias 1123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
707ac_env_host_alias_set=${host_alias+set} 1124 eval ac_env_${ac_var}_value=\$${ac_var}
708ac_env_host_alias_value=$host_alias 1125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
709ac_cv_env_host_alias_set=${host_alias+set} 1126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
710ac_cv_env_host_alias_value=$host_alias 1127done
711ac_env_target_alias_set=${target_alias+set}
712ac_env_target_alias_value=$target_alias
713ac_cv_env_target_alias_set=${target_alias+set}
714ac_cv_env_target_alias_value=$target_alias
715ac_env_CC_set=${CC+set}
716ac_env_CC_value=$CC
717ac_cv_env_CC_set=${CC+set}
718ac_cv_env_CC_value=$CC
719ac_env_CFLAGS_set=${CFLAGS+set}
720ac_env_CFLAGS_value=$CFLAGS
721ac_cv_env_CFLAGS_set=${CFLAGS+set}
722ac_cv_env_CFLAGS_value=$CFLAGS
723ac_env_LDFLAGS_set=${LDFLAGS+set}
724ac_env_LDFLAGS_value=$LDFLAGS
725ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726ac_cv_env_LDFLAGS_value=$LDFLAGS
727ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728ac_env_CPPFLAGS_value=$CPPFLAGS
729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731 1128
732# 1129#
733# Report the --help message. 1130# Report the --help message.
734# 1131#
735if test "$ac_init_help" = "long"; then 1132if test "$ac_init_help" = "long"; then
754 --cache-file=FILE cache test results in FILE [disabled] 1151 --cache-file=FILE cache test results in FILE [disabled]
755 -C, --config-cache alias for \`--cache-file=config.cache' 1152 -C, --config-cache alias for \`--cache-file=config.cache'
756 -n, --no-create do not create output files 1153 -n, --no-create do not create output files
757 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
758 1155
759_ACEOF
760
761 cat <<_ACEOF
762Installation directories: 1156Installation directories:
763 --prefix=PREFIX install architecture-independent files in PREFIX 1157 --prefix=PREFIX install architecture-independent files in PREFIX
764 [$ac_default_prefix] 1158 [$ac_default_prefix]
765 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
766 [PREFIX] 1160 [PREFIX]
774 1168
775Fine tuning of the installation directories: 1169Fine tuning of the installation directories:
776 --bindir=DIR user executables [EPREFIX/bin] 1170 --bindir=DIR user executables [EPREFIX/bin]
777 --sbindir=DIR system admin executables [EPREFIX/sbin] 1171 --sbindir=DIR system admin executables [EPREFIX/sbin]
778 --libexecdir=DIR program executables [EPREFIX/libexec] 1172 --libexecdir=DIR program executables [EPREFIX/libexec]
779 --datadir=DIR read-only architecture-independent data [PREFIX/share]
780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
782 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
783 --libdir=DIR object code libraries [EPREFIX/lib] 1176 --libdir=DIR object code libraries [EPREFIX/lib]
784 --includedir=DIR C header files [PREFIX/include] 1177 --includedir=DIR C header files [PREFIX/include]
785 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1178 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1179 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1180 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
786 --infodir=DIR info documentation [PREFIX/info] 1181 --infodir=DIR info documentation [DATAROOTDIR/info]
1182 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
787 --mandir=DIR man documentation [PREFIX/man] 1183 --mandir=DIR man documentation [DATAROOTDIR/man]
1184 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1185 --htmldir=DIR html documentation [DOCDIR]
1186 --dvidir=DIR dvi documentation [DOCDIR]
1187 --pdfdir=DIR pdf documentation [DOCDIR]
1188 --psdir=DIR ps documentation [DOCDIR]
788_ACEOF 1189_ACEOF
789 1190
790 cat <<\_ACEOF 1191 cat <<\_ACEOF
791_ACEOF 1192_ACEOF
792fi 1193fi
798Some influential environment variables: 1199Some influential environment variables:
799 CC C compiler command 1200 CC C compiler command
800 CFLAGS C compiler flags 1201 CFLAGS C compiler flags
801 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1202 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
802 nonstandard directory <lib dir> 1203 nonstandard directory <lib dir>
1204 LIBS libraries to pass to the linker, e.g. -l<library>
803 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1205 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
804 headers in a nonstandard directory <include dir> 1206 you have headers in a nonstandard directory <include dir>
805 1207
806Use these variables to override the choices made by `configure' or to help 1208Use these variables to override the choices made by `configure' or to help
807it to find libraries and programs with nonstandard names/locations. 1209it to find libraries and programs with nonstandard names/locations.
808 1210
809_ACEOF 1211_ACEOF
1212ac_status=$?
810fi 1213fi
811 1214
812if test "$ac_init_help" = "recursive"; then 1215if test "$ac_init_help" = "recursive"; then
813 # If there are subdirs, report their specific --help. 1216 # If there are subdirs, report their specific --help.
814 ac_popdir=`pwd`
815 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1217 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
816 test -d $ac_dir || continue 1218 test -d "$ac_dir" || continue
817 ac_builddir=. 1219 ac_builddir=.
818 1220
819if test "$ac_dir" != .; then 1221case "$ac_dir" in
1222.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1223*)
820 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1224 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
821 # A "../" for each directory in $ac_dir_suffix. 1225 # A ".." for each directory in $ac_dir_suffix.
822 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1226 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
823else 1227 case $ac_top_builddir_sub in
824 ac_dir_suffix= ac_top_builddir= 1228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
825fi 1229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1230 esac ;;
1231esac
1232ac_abs_top_builddir=$ac_pwd
1233ac_abs_builddir=$ac_pwd$ac_dir_suffix
1234# for backward compatibility:
1235ac_top_builddir=$ac_top_build_prefix
826 1236
827case $srcdir in 1237case $srcdir in
828 .) # No --srcdir option. We are building in place. 1238 .) # We are building in place.
829 ac_srcdir=. 1239 ac_srcdir=.
830 if test -z "$ac_top_builddir"; then 1240 ac_top_srcdir=$ac_top_builddir_sub
831 ac_top_srcdir=. 1241 ac_abs_top_srcdir=$ac_pwd ;;
832 else
833 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
834 fi ;;
835 [\\/]* | ?:[\\/]* ) # Absolute path. 1242 [\\/]* | ?:[\\/]* ) # Absolute name.
836 ac_srcdir=$srcdir$ac_dir_suffix; 1243 ac_srcdir=$srcdir$ac_dir_suffix;
837 ac_top_srcdir=$srcdir ;; 1244 ac_top_srcdir=$srcdir
1245 ac_abs_top_srcdir=$srcdir ;;
838 *) # Relative path. 1246 *) # Relative name.
839 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
840 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1248 ac_top_srcdir=$ac_top_build_prefix$srcdir
1249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
841esac 1250esac
1251ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
842 1252
843# Do not use `cd foo && pwd` to compute absolute paths, because 1253 cd "$ac_dir" || { ac_status=$?; continue; }
844# the directories may not exist. 1254 # Check for guested configure.
845case `pwd` in
846.) ac_abs_builddir="$ac_dir";;
847*)
848 case "$ac_dir" in
849 .) ac_abs_builddir=`pwd`;;
850 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
851 *) ac_abs_builddir=`pwd`/"$ac_dir";;
852 esac;;
853esac
854case $ac_abs_builddir in
855.) ac_abs_top_builddir=${ac_top_builddir}.;;
856*)
857 case ${ac_top_builddir}. in
858 .) ac_abs_top_builddir=$ac_abs_builddir;;
859 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
860 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
861 esac;;
862esac
863case $ac_abs_builddir in
864.) ac_abs_srcdir=$ac_srcdir;;
865*)
866 case $ac_srcdir in
867 .) ac_abs_srcdir=$ac_abs_builddir;;
868 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
869 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
870 esac;;
871esac
872case $ac_abs_builddir in
873.) ac_abs_top_srcdir=$ac_top_srcdir;;
874*)
875 case $ac_top_srcdir in
876 .) ac_abs_top_srcdir=$ac_abs_builddir;;
877 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
878 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
879 esac;;
880esac
881
882 cd $ac_dir
883 # Check for guested configure; otherwise get Cygnus style configure.
884 if test -f $ac_srcdir/configure.gnu; then 1255 if test -f "$ac_srcdir/configure.gnu"; then
885 echo 1256 echo &&
886 $SHELL $ac_srcdir/configure.gnu --help=recursive 1257 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
887 elif test -f $ac_srcdir/configure; then 1258 elif test -f "$ac_srcdir/configure"; then
888 echo 1259 echo &&
889 $SHELL $ac_srcdir/configure --help=recursive 1260 $SHELL "$ac_srcdir/configure" --help=recursive
890 elif test -f $ac_srcdir/configure.ac ||
891 test -f $ac_srcdir/configure.in; then
892 echo
893 $ac_configure --help
894 else 1261 else
895 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1262 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
896 fi 1263 fi || ac_status=$?
897 cd "$ac_popdir" 1264 cd "$ac_pwd" || { ac_status=$?; break; }
898 done 1265 done
899fi 1266fi
900 1267
901test -n "$ac_init_help" && exit 0 1268test -n "$ac_init_help" && exit $ac_status
902if $ac_init_version; then 1269if $ac_init_version; then
903 cat <<\_ACEOF 1270 cat <<\_ACEOF
1271configure
1272generated by GNU Autoconf 2.61
904 1273
905Copyright (C) 2003 Free Software Foundation, Inc. 1274Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12752002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
906This configure script is free software; the Free Software Foundation 1276This configure script is free software; the Free Software Foundation
907gives unlimited permission to copy, distribute and modify it. 1277gives unlimited permission to copy, distribute and modify it.
908_ACEOF 1278_ACEOF
909 exit 0 1279 exit
910fi 1280fi
911exec 5>config.log 1281cat >config.log <<_ACEOF
912cat >&5 <<_ACEOF
913This file contains any messages produced by compilers while 1282This file contains any messages produced by compilers while
914running configure, to aid debugging if configure makes a mistake. 1283running configure, to aid debugging if configure makes a mistake.
915 1284
916It was created by $as_me, which was 1285It was created by $as_me, which was
917generated by GNU Autoconf 2.59. Invocation command line was 1286generated by GNU Autoconf 2.61. Invocation command line was
918 1287
919 $ $0 $@ 1288 $ $0 $@
920 1289
921_ACEOF 1290_ACEOF
1291exec 5>>config.log
922{ 1292{
923cat <<_ASUNAME 1293cat <<_ASUNAME
924## --------- ## 1294## --------- ##
925## Platform. ## 1295## Platform. ##
926## --------- ## 1296## --------- ##
935/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1305/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
936 1306
937/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1307/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
938/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1308/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
939/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1309/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
940hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1310/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
941/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1311/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
942/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1312/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
943/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1313/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
944 1314
945_ASUNAME 1315_ASUNAME
949do 1319do
950 IFS=$as_save_IFS 1320 IFS=$as_save_IFS
951 test -z "$as_dir" && as_dir=. 1321 test -z "$as_dir" && as_dir=.
952 echo "PATH: $as_dir" 1322 echo "PATH: $as_dir"
953done 1323done
1324IFS=$as_save_IFS
954 1325
955} >&5 1326} >&5
956 1327
957cat >&5 <<_ACEOF 1328cat >&5 <<_ACEOF
958 1329
970# Also quote any args containing shell meta-characters. 1341# Also quote any args containing shell meta-characters.
971# Make two passes to allow for proper duplicate-argument suppression. 1342# Make two passes to allow for proper duplicate-argument suppression.
972ac_configure_args= 1343ac_configure_args=
973ac_configure_args0= 1344ac_configure_args0=
974ac_configure_args1= 1345ac_configure_args1=
975ac_sep=
976ac_must_keep_next=false 1346ac_must_keep_next=false
977for ac_pass in 1 2 1347for ac_pass in 1 2
978do 1348do
979 for ac_arg 1349 for ac_arg
980 do 1350 do
981 case $ac_arg in 1351 case $ac_arg in
982 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1352 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil) 1354 | -silent | --silent | --silen | --sile | --sil)
985 continue ;; 1355 continue ;;
986 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1356 *\'*)
987 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1357 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
988 esac 1358 esac
989 case $ac_pass in 1359 case $ac_pass in
990 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1360 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
991 2) 1361 2)
1003 esac 1373 esac
1004 ;; 1374 ;;
1005 -* ) ac_must_keep_next=true ;; 1375 -* ) ac_must_keep_next=true ;;
1006 esac 1376 esac
1007 fi 1377 fi
1008 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1378 ac_configure_args="$ac_configure_args '$ac_arg'"
1009 # Get rid of the leading space.
1010 ac_sep=" "
1011 ;; 1379 ;;
1012 esac 1380 esac
1013 done 1381 done
1014done 1382done
1015$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1383$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1016$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1384$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1017 1385
1018# When interrupted or exit'd, cleanup temporary files, and complete 1386# When interrupted or exit'd, cleanup temporary files, and complete
1019# config.log. We remove comments because anyway the quotes in there 1387# config.log. We remove comments because anyway the quotes in there
1020# would cause problems or look ugly. 1388# would cause problems or look ugly.
1021# WARNING: Be sure not to use single quotes in there, as some shells, 1389# WARNING: Use '\'' to represent an apostrophe within the trap.
1022# such as our DU 5.0 friend, will then `close' the trap. 1390# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1023trap 'exit_status=$? 1391trap 'exit_status=$?
1024 # Save into config.log some information that might help in debugging. 1392 # Save into config.log some information that might help in debugging.
1025 { 1393 {
1026 echo 1394 echo
1027 1395
1030## Cache variables. ## 1398## Cache variables. ##
1031## ---------------- ## 1399## ---------------- ##
1032_ASBOX 1400_ASBOX
1033 echo 1401 echo
1034 # The following way of writing the cache mishandles newlines in values, 1402 # The following way of writing the cache mishandles newlines in values,
1035{ 1403(
1404 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1405 eval ac_val=\$$ac_var
1406 case $ac_val in #(
1407 *${as_nl}*)
1408 case $ac_var in #(
1409 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1410echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1411 esac
1412 case $ac_var in #(
1413 _ | IFS | as_nl) ;; #(
1414 *) $as_unset $ac_var ;;
1415 esac ;;
1416 esac
1417 done
1036 (set) 2>&1 | 1418 (set) 2>&1 |
1037 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1419 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1038 *ac_space=\ *) 1420 *${as_nl}ac_space=\ *)
1039 sed -n \ 1421 sed -n \
1040 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1422 "s/'\''/'\''\\\\'\'''\''/g;
1041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1424 ;; #(
1425 *)
1426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1042 ;; 1427 ;;
1043 *)
1044 sed -n \
1045 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1046 ;;
1047 esac; 1428 esac |
1048} 1429 sort
1430)
1049 echo 1431 echo
1050 1432
1051 cat <<\_ASBOX 1433 cat <<\_ASBOX
1052## ----------------- ## 1434## ----------------- ##
1053## Output variables. ## 1435## Output variables. ##
1054## ----------------- ## 1436## ----------------- ##
1055_ASBOX 1437_ASBOX
1056 echo 1438 echo
1057 for ac_var in $ac_subst_vars 1439 for ac_var in $ac_subst_vars
1058 do 1440 do
1059 eval ac_val=$`echo $ac_var` 1441 eval ac_val=\$$ac_var
1442 case $ac_val in
1443 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1444 esac
1060 echo "$ac_var='"'"'$ac_val'"'"'" 1445 echo "$ac_var='\''$ac_val'\''"
1061 done | sort 1446 done | sort
1062 echo 1447 echo
1063 1448
1064 if test -n "$ac_subst_files"; then 1449 if test -n "$ac_subst_files"; then
1065 cat <<\_ASBOX 1450 cat <<\_ASBOX
1066## ------------- ## 1451## ------------------- ##
1067## Output files. ## 1452## File substitutions. ##
1068## ------------- ## 1453## ------------------- ##
1069_ASBOX 1454_ASBOX
1070 echo 1455 echo
1071 for ac_var in $ac_subst_files 1456 for ac_var in $ac_subst_files
1072 do 1457 do
1073 eval ac_val=$`echo $ac_var` 1458 eval ac_val=\$$ac_var
1459 case $ac_val in
1460 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1461 esac
1074 echo "$ac_var='"'"'$ac_val'"'"'" 1462 echo "$ac_var='\''$ac_val'\''"
1075 done | sort 1463 done | sort
1076 echo 1464 echo
1077 fi 1465 fi
1078 1466
1079 if test -s confdefs.h; then 1467 if test -s confdefs.h; then
1081## ----------- ## 1469## ----------- ##
1082## confdefs.h. ## 1470## confdefs.h. ##
1083## ----------- ## 1471## ----------- ##
1084_ASBOX 1472_ASBOX
1085 echo 1473 echo
1086 sed "/^$/d" confdefs.h | sort 1474 cat confdefs.h
1087 echo 1475 echo
1088 fi 1476 fi
1089 test "$ac_signal" != 0 && 1477 test "$ac_signal" != 0 &&
1090 echo "$as_me: caught signal $ac_signal" 1478 echo "$as_me: caught signal $ac_signal"
1091 echo "$as_me: exit $exit_status" 1479 echo "$as_me: exit $exit_status"
1092 } >&5 1480 } >&5
1093 rm -f core *.core && 1481 rm -f core *.core core.conftest.* &&
1094 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1482 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1095 exit $exit_status 1483 exit $exit_status
1096 ' 0 1484' 0
1097for ac_signal in 1 2 13 15; do 1485for ac_signal in 1 2 13 15; do
1098 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1486 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1099done 1487done
1100ac_signal=0 1488ac_signal=0
1101 1489
1102# confdefs.h avoids OS command line length limits that DEFS can exceed. 1490# confdefs.h avoids OS command line length limits that DEFS can exceed.
1103rm -rf conftest* confdefs.h 1491rm -f -r conftest* confdefs.h
1104# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1105echo >confdefs.h
1106 1492
1107# Predefined preprocessor variables. 1493# Predefined preprocessor variables.
1108 1494
1109cat >>confdefs.h <<_ACEOF 1495cat >>confdefs.h <<_ACEOF
1110#define PACKAGE_NAME "$PACKAGE_NAME" 1496#define PACKAGE_NAME "$PACKAGE_NAME"
1131_ACEOF 1517_ACEOF
1132 1518
1133 1519
1134# Let the site file select an alternate cache file if it wants to. 1520# Let the site file select an alternate cache file if it wants to.
1135# Prefer explicitly selected file to automatically selected ones. 1521# Prefer explicitly selected file to automatically selected ones.
1136if test -z "$CONFIG_SITE"; then 1522if test -n "$CONFIG_SITE"; then
1523 set x "$CONFIG_SITE"
1137 if test "x$prefix" != xNONE; then 1524elif test "x$prefix" != xNONE; then
1138 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1525 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1139 else 1526else
1140 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1527 set x "$ac_default_prefix/share/config.site" \
1141 fi 1528 "$ac_default_prefix/etc/config.site"
1142fi 1529fi
1143for ac_site_file in $CONFIG_SITE; do 1530shift
1531for ac_site_file
1532do
1144 if test -r "$ac_site_file"; then 1533 if test -r "$ac_site_file"; then
1145 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1534 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1146echo "$as_me: loading site script $ac_site_file" >&6;} 1535echo "$as_me: loading site script $ac_site_file" >&6;}
1147 sed 's/^/| /' "$ac_site_file" >&5 1536 sed 's/^/| /' "$ac_site_file" >&5
1148 . "$ac_site_file" 1537 . "$ac_site_file"
1154 # files actually), so we avoid doing that. 1543 # files actually), so we avoid doing that.
1155 if test -f "$cache_file"; then 1544 if test -f "$cache_file"; then
1156 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1545 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1157echo "$as_me: loading cache $cache_file" >&6;} 1546echo "$as_me: loading cache $cache_file" >&6;}
1158 case $cache_file in 1547 case $cache_file in
1159 [\\/]* | ?:[\\/]* ) . $cache_file;; 1548 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1160 *) . ./$cache_file;; 1549 *) . "./$cache_file";;
1161 esac 1550 esac
1162 fi 1551 fi
1163else 1552else
1164 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1553 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1165echo "$as_me: creating cache $cache_file" >&6;} 1554echo "$as_me: creating cache $cache_file" >&6;}
1167fi 1556fi
1168 1557
1169# Check that the precious variables saved in the cache have kept the same 1558# Check that the precious variables saved in the cache have kept the same
1170# value. 1559# value.
1171ac_cache_corrupted=false 1560ac_cache_corrupted=false
1172for ac_var in `(set) 2>&1 | 1561for ac_var in $ac_precious_vars; do
1173 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1174 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1562 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1175 eval ac_new_set=\$ac_env_${ac_var}_set 1563 eval ac_new_set=\$ac_env_${ac_var}_set
1176 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1564 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1177 eval ac_new_val="\$ac_env_${ac_var}_value" 1565 eval ac_new_val=\$ac_env_${ac_var}_value
1178 case $ac_old_set,$ac_new_set in 1566 case $ac_old_set,$ac_new_set in
1179 set,) 1567 set,)
1180 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1568 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1181echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1569echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1182 ac_cache_corrupted=: ;; 1570 ac_cache_corrupted=: ;;
1197 fi;; 1585 fi;;
1198 esac 1586 esac
1199 # Pass precious variables to config.status. 1587 # Pass precious variables to config.status.
1200 if test "$ac_new_set" = set; then 1588 if test "$ac_new_set" = set; then
1201 case $ac_new_val in 1589 case $ac_new_val in
1202 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1203 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1590 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1204 *) ac_arg=$ac_var=$ac_new_val ;; 1591 *) ac_arg=$ac_var=$ac_new_val ;;
1205 esac 1592 esac
1206 case " $ac_configure_args " in 1593 case " $ac_configure_args " in
1207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1208 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1595 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1215 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1602 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1216echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1603echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1217 { (exit 1); exit 1; }; } 1604 { (exit 1); exit 1; }; }
1218fi 1605fi
1219 1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1220ac_ext=c 1623ac_ext=c
1221ac_cpp='$CPP $CPPFLAGS' 1624ac_cpp='$CPP $CPPFLAGS'
1222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1224ac_compiler_gnu=$ac_cv_c_compiler_gnu 1627ac_compiler_gnu=$ac_cv_c_compiler_gnu
1225 1628
1226 1629
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244 ac_config_headers="$ac_config_headers config.h" 1630ac_config_headers="$ac_config_headers config.h"
1245 1631
1246 1632
1247ac_ext=c 1633ac_ext=c
1248ac_cpp='$CPP $CPPFLAGS' 1634ac_cpp='$CPP $CPPFLAGS'
1249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1251ac_compiler_gnu=$ac_cv_c_compiler_gnu 1637ac_compiler_gnu=$ac_cv_c_compiler_gnu
1252if test -n "$ac_tool_prefix"; then 1638if test -n "$ac_tool_prefix"; then
1253 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1254set dummy ${ac_tool_prefix}gcc; ac_word=$2 1640set dummy ${ac_tool_prefix}gcc; ac_word=$2
1255echo "$as_me:$LINENO: checking for $ac_word" >&5 1641{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1256echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1642echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1257if test "${ac_cv_prog_CC+set}" = set; then 1643if test "${ac_cv_prog_CC+set}" = set; then
1258 echo $ECHO_N "(cached) $ECHO_C" >&6 1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1259else 1645else
1260 if test -n "$CC"; then 1646 if test -n "$CC"; then
1261 ac_cv_prog_CC="$CC" # Let the user override the test. 1647 ac_cv_prog_CC="$CC" # Let the user override the test.
1264for as_dir in $PATH 1650for as_dir in $PATH
1265do 1651do
1266 IFS=$as_save_IFS 1652 IFS=$as_save_IFS
1267 test -z "$as_dir" && as_dir=. 1653 test -z "$as_dir" && as_dir=.
1268 for ac_exec_ext in '' $ac_executable_extensions; do 1654 for ac_exec_ext in '' $ac_executable_extensions; do
1269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1270 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1272 break 2 1658 break 2
1273 fi 1659 fi
1274done 1660done
1275done 1661done
1662IFS=$as_save_IFS
1276 1663
1277fi 1664fi
1278fi 1665fi
1279CC=$ac_cv_prog_CC 1666CC=$ac_cv_prog_CC
1280if test -n "$CC"; then 1667if test -n "$CC"; then
1281 echo "$as_me:$LINENO: result: $CC" >&5 1668 { echo "$as_me:$LINENO: result: $CC" >&5
1282echo "${ECHO_T}$CC" >&6 1669echo "${ECHO_T}$CC" >&6; }
1283else 1670else
1284 echo "$as_me:$LINENO: result: no" >&5 1671 { echo "$as_me:$LINENO: result: no" >&5
1285echo "${ECHO_T}no" >&6 1672echo "${ECHO_T}no" >&6; }
1286fi 1673fi
1674
1287 1675
1288fi 1676fi
1289if test -z "$ac_cv_prog_CC"; then 1677if test -z "$ac_cv_prog_CC"; then
1290 ac_ct_CC=$CC 1678 ac_ct_CC=$CC
1291 # Extract the first word of "gcc", so it can be a program name with args. 1679 # Extract the first word of "gcc", so it can be a program name with args.
1292set dummy gcc; ac_word=$2 1680set dummy gcc; ac_word=$2
1293echo "$as_me:$LINENO: checking for $ac_word" >&5 1681{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1294echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1295if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1683if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1296 echo $ECHO_N "(cached) $ECHO_C" >&6 1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1297else 1685else
1298 if test -n "$ac_ct_CC"; then 1686 if test -n "$ac_ct_CC"; then
1299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1302for as_dir in $PATH 1690for as_dir in $PATH
1303do 1691do
1304 IFS=$as_save_IFS 1692 IFS=$as_save_IFS
1305 test -z "$as_dir" && as_dir=. 1693 test -z "$as_dir" && as_dir=.
1306 for ac_exec_ext in '' $ac_executable_extensions; do 1694 for ac_exec_ext in '' $ac_executable_extensions; do
1307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1308 ac_cv_prog_ac_ct_CC="gcc" 1696 ac_cv_prog_ac_ct_CC="gcc"
1309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1310 break 2 1698 break 2
1311 fi 1699 fi
1312done 1700done
1313done 1701done
1702IFS=$as_save_IFS
1314 1703
1315fi 1704fi
1316fi 1705fi
1317ac_ct_CC=$ac_cv_prog_ac_ct_CC 1706ac_ct_CC=$ac_cv_prog_ac_ct_CC
1318if test -n "$ac_ct_CC"; then 1707if test -n "$ac_ct_CC"; then
1319 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1708 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1320echo "${ECHO_T}$ac_ct_CC" >&6 1709echo "${ECHO_T}$ac_ct_CC" >&6; }
1321else 1710else
1322 echo "$as_me:$LINENO: result: no" >&5 1711 { echo "$as_me:$LINENO: result: no" >&5
1323echo "${ECHO_T}no" >&6 1712echo "${ECHO_T}no" >&6; }
1324fi 1713fi
1325 1714
1715 if test "x$ac_ct_CC" = x; then
1716 CC=""
1717 else
1718 case $cross_compiling:$ac_tool_warned in
1719yes:)
1720{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1721whose name does not start with the host triplet. If you think this
1722configuration is useful to you, please write to autoconf@gnu.org." >&5
1723echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1724whose name does not start with the host triplet. If you think this
1725configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1726ac_tool_warned=yes ;;
1727esac
1326 CC=$ac_ct_CC 1728 CC=$ac_ct_CC
1729 fi
1327else 1730else
1328 CC="$ac_cv_prog_CC" 1731 CC="$ac_cv_prog_CC"
1329fi 1732fi
1330 1733
1331if test -z "$CC"; then 1734if test -z "$CC"; then
1332 if test -n "$ac_tool_prefix"; then 1735 if test -n "$ac_tool_prefix"; then
1333 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1334set dummy ${ac_tool_prefix}cc; ac_word=$2 1737set dummy ${ac_tool_prefix}cc; ac_word=$2
1335echo "$as_me:$LINENO: checking for $ac_word" >&5 1738{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1336echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1337if test "${ac_cv_prog_CC+set}" = set; then 1740if test "${ac_cv_prog_CC+set}" = set; then
1338 echo $ECHO_N "(cached) $ECHO_C" >&6 1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1339else 1742else
1340 if test -n "$CC"; then 1743 if test -n "$CC"; then
1341 ac_cv_prog_CC="$CC" # Let the user override the test. 1744 ac_cv_prog_CC="$CC" # Let the user override the test.
1344for as_dir in $PATH 1747for as_dir in $PATH
1345do 1748do
1346 IFS=$as_save_IFS 1749 IFS=$as_save_IFS
1347 test -z "$as_dir" && as_dir=. 1750 test -z "$as_dir" && as_dir=.
1348 for ac_exec_ext in '' $ac_executable_extensions; do 1751 for ac_exec_ext in '' $ac_executable_extensions; do
1349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1350 ac_cv_prog_CC="${ac_tool_prefix}cc" 1753 ac_cv_prog_CC="${ac_tool_prefix}cc"
1351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1352 break 2 1755 break 2
1353 fi 1756 fi
1354done 1757done
1355done 1758done
1759IFS=$as_save_IFS
1356 1760
1357fi 1761fi
1358fi 1762fi
1359CC=$ac_cv_prog_CC 1763CC=$ac_cv_prog_CC
1360if test -n "$CC"; then 1764if test -n "$CC"; then
1361 echo "$as_me:$LINENO: result: $CC" >&5 1765 { echo "$as_me:$LINENO: result: $CC" >&5
1362echo "${ECHO_T}$CC" >&6 1766echo "${ECHO_T}$CC" >&6; }
1363else 1767else
1364 echo "$as_me:$LINENO: result: no" >&5 1768 { echo "$as_me:$LINENO: result: no" >&5
1365echo "${ECHO_T}no" >&6 1769echo "${ECHO_T}no" >&6; }
1366fi 1770fi
1367 1771
1368fi 1772
1369if test -z "$ac_cv_prog_CC"; then
1370 ac_ct_CC=$CC
1371 # Extract the first word of "cc", so it can be a program name with args.
1372set dummy cc; ac_word=$2
1373echo "$as_me:$LINENO: checking for $ac_word" >&5
1374echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1375if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1376 echo $ECHO_N "(cached) $ECHO_C" >&6
1377else
1378 if test -n "$ac_ct_CC"; then
1379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1380else
1381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382for as_dir in $PATH
1383do
1384 IFS=$as_save_IFS
1385 test -z "$as_dir" && as_dir=.
1386 for ac_exec_ext in '' $ac_executable_extensions; do
1387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1388 ac_cv_prog_ac_ct_CC="cc"
1389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1390 break 2
1391 fi 1773 fi
1392done
1393done
1394
1395fi
1396fi
1397ac_ct_CC=$ac_cv_prog_ac_ct_CC
1398if test -n "$ac_ct_CC"; then
1399 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1400echo "${ECHO_T}$ac_ct_CC" >&6
1401else
1402 echo "$as_me:$LINENO: result: no" >&5
1403echo "${ECHO_T}no" >&6
1404fi
1405
1406 CC=$ac_ct_CC
1407else
1408 CC="$ac_cv_prog_CC"
1409fi
1410
1411fi 1774fi
1412if test -z "$CC"; then 1775if test -z "$CC"; then
1413 # Extract the first word of "cc", so it can be a program name with args. 1776 # Extract the first word of "cc", so it can be a program name with args.
1414set dummy cc; ac_word=$2 1777set dummy cc; ac_word=$2
1415echo "$as_me:$LINENO: checking for $ac_word" >&5 1778{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1416echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1417if test "${ac_cv_prog_CC+set}" = set; then 1780if test "${ac_cv_prog_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6 1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1419else 1782else
1420 if test -n "$CC"; then 1783 if test -n "$CC"; then
1421 ac_cv_prog_CC="$CC" # Let the user override the test. 1784 ac_cv_prog_CC="$CC" # Let the user override the test.
1425for as_dir in $PATH 1788for as_dir in $PATH
1426do 1789do
1427 IFS=$as_save_IFS 1790 IFS=$as_save_IFS
1428 test -z "$as_dir" && as_dir=. 1791 test -z "$as_dir" && as_dir=.
1429 for ac_exec_ext in '' $ac_executable_extensions; do 1792 for ac_exec_ext in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1431 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1432 ac_prog_rejected=yes 1795 ac_prog_rejected=yes
1433 continue 1796 continue
1434 fi 1797 fi
1435 ac_cv_prog_CC="cc" 1798 ac_cv_prog_CC="cc"
1436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1437 break 2 1800 break 2
1438 fi 1801 fi
1439done 1802done
1440done 1803done
1804IFS=$as_save_IFS
1441 1805
1442if test $ac_prog_rejected = yes; then 1806if test $ac_prog_rejected = yes; then
1443 # We found a bogon in the path, so make sure we never use it. 1807 # We found a bogon in the path, so make sure we never use it.
1444 set dummy $ac_cv_prog_CC 1808 set dummy $ac_cv_prog_CC
1445 shift 1809 shift
1453fi 1817fi
1454fi 1818fi
1455fi 1819fi
1456CC=$ac_cv_prog_CC 1820CC=$ac_cv_prog_CC
1457if test -n "$CC"; then 1821if test -n "$CC"; then
1458 echo "$as_me:$LINENO: result: $CC" >&5 1822 { echo "$as_me:$LINENO: result: $CC" >&5
1459echo "${ECHO_T}$CC" >&6 1823echo "${ECHO_T}$CC" >&6; }
1460else 1824else
1461 echo "$as_me:$LINENO: result: no" >&5 1825 { echo "$as_me:$LINENO: result: no" >&5
1462echo "${ECHO_T}no" >&6 1826echo "${ECHO_T}no" >&6; }
1463fi 1827fi
1828
1464 1829
1465fi 1830fi
1466if test -z "$CC"; then 1831if test -z "$CC"; then
1467 if test -n "$ac_tool_prefix"; then 1832 if test -n "$ac_tool_prefix"; then
1468 for ac_prog in cl 1833 for ac_prog in cl.exe
1469 do 1834 do
1470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1471set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1836set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1472echo "$as_me:$LINENO: checking for $ac_word" >&5 1837{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1473echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1838echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1474if test "${ac_cv_prog_CC+set}" = set; then 1839if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6 1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1476else 1841else
1477 if test -n "$CC"; then 1842 if test -n "$CC"; then
1478 ac_cv_prog_CC="$CC" # Let the user override the test. 1843 ac_cv_prog_CC="$CC" # Let the user override the test.
1481for as_dir in $PATH 1846for as_dir in $PATH
1482do 1847do
1483 IFS=$as_save_IFS 1848 IFS=$as_save_IFS
1484 test -z "$as_dir" && as_dir=. 1849 test -z "$as_dir" && as_dir=.
1485 for ac_exec_ext in '' $ac_executable_extensions; do 1850 for ac_exec_ext in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1487 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 break 2 1854 break 2
1490 fi 1855 fi
1491done 1856done
1492done 1857done
1858IFS=$as_save_IFS
1493 1859
1494fi 1860fi
1495fi 1861fi
1496CC=$ac_cv_prog_CC 1862CC=$ac_cv_prog_CC
1497if test -n "$CC"; then 1863if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5 1864 { echo "$as_me:$LINENO: result: $CC" >&5
1499echo "${ECHO_T}$CC" >&6 1865echo "${ECHO_T}$CC" >&6; }
1500else 1866else
1501 echo "$as_me:$LINENO: result: no" >&5 1867 { echo "$as_me:$LINENO: result: no" >&5
1502echo "${ECHO_T}no" >&6 1868echo "${ECHO_T}no" >&6; }
1503fi 1869fi
1870
1504 1871
1505 test -n "$CC" && break 1872 test -n "$CC" && break
1506 done 1873 done
1507fi 1874fi
1508if test -z "$CC"; then 1875if test -z "$CC"; then
1509 ac_ct_CC=$CC 1876 ac_ct_CC=$CC
1510 for ac_prog in cl 1877 for ac_prog in cl.exe
1511do 1878do
1512 # Extract the first word of "$ac_prog", so it can be a program name with args. 1879 # Extract the first word of "$ac_prog", so it can be a program name with args.
1513set dummy $ac_prog; ac_word=$2 1880set dummy $ac_prog; ac_word=$2
1514echo "$as_me:$LINENO: checking for $ac_word" >&5 1881{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1882echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1516if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1883if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6 1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1518else 1885else
1519 if test -n "$ac_ct_CC"; then 1886 if test -n "$ac_ct_CC"; then
1520 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1523for as_dir in $PATH 1890for as_dir in $PATH
1524do 1891do
1525 IFS=$as_save_IFS 1892 IFS=$as_save_IFS
1526 test -z "$as_dir" && as_dir=. 1893 test -z "$as_dir" && as_dir=.
1527 for ac_exec_ext in '' $ac_executable_extensions; do 1894 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1529 ac_cv_prog_ac_ct_CC="$ac_prog" 1896 ac_cv_prog_ac_ct_CC="$ac_prog"
1530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 break 2 1898 break 2
1532 fi 1899 fi
1533done 1900done
1534done 1901done
1902IFS=$as_save_IFS
1535 1903
1536fi 1904fi
1537fi 1905fi
1538ac_ct_CC=$ac_cv_prog_ac_ct_CC 1906ac_ct_CC=$ac_cv_prog_ac_ct_CC
1539if test -n "$ac_ct_CC"; then 1907if test -n "$ac_ct_CC"; then
1540 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1908 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1541echo "${ECHO_T}$ac_ct_CC" >&6 1909echo "${ECHO_T}$ac_ct_CC" >&6; }
1542else 1910else
1543 echo "$as_me:$LINENO: result: no" >&5 1911 { echo "$as_me:$LINENO: result: no" >&5
1544echo "${ECHO_T}no" >&6 1912echo "${ECHO_T}no" >&6; }
1545fi 1913fi
1914
1546 1915
1547 test -n "$ac_ct_CC" && break 1916 test -n "$ac_ct_CC" && break
1548done 1917done
1549 1918
1919 if test "x$ac_ct_CC" = x; then
1920 CC=""
1921 else
1922 case $cross_compiling:$ac_tool_warned in
1923yes:)
1924{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1925whose name does not start with the host triplet. If you think this
1926configuration is useful to you, please write to autoconf@gnu.org." >&5
1927echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1928whose name does not start with the host triplet. If you think this
1929configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1930ac_tool_warned=yes ;;
1931esac
1550 CC=$ac_ct_CC 1932 CC=$ac_ct_CC
1933 fi
1551fi 1934fi
1552 1935
1553fi 1936fi
1554 1937
1555 1938
1558echo "$as_me: error: no acceptable C compiler found in \$PATH 1941echo "$as_me: error: no acceptable C compiler found in \$PATH
1559See \`config.log' for more details." >&2;} 1942See \`config.log' for more details." >&2;}
1560 { (exit 1); exit 1; }; } 1943 { (exit 1); exit 1; }; }
1561 1944
1562# Provide some information about the compiler. 1945# Provide some information about the compiler.
1563echo "$as_me:$LINENO:" \
1564 "checking for C compiler version" >&5 1946echo "$as_me:$LINENO: checking for C compiler version" >&5
1565ac_compiler=`set X $ac_compile; echo $2` 1947ac_compiler=`set X $ac_compile; echo $2`
1566{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1948{ (ac_try="$ac_compiler --version >&5"
1949case "(($ac_try" in
1950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1952esac
1953eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1567 (eval $ac_compiler --version </dev/null >&5) 2>&5 1954 (eval "$ac_compiler --version >&5") 2>&5
1568 ac_status=$? 1955 ac_status=$?
1569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1570 (exit $ac_status); } 1957 (exit $ac_status); }
1571{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1958{ (ac_try="$ac_compiler -v >&5"
1959case "(($ac_try" in
1960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1962esac
1963eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1572 (eval $ac_compiler -v </dev/null >&5) 2>&5 1964 (eval "$ac_compiler -v >&5") 2>&5
1573 ac_status=$? 1965 ac_status=$?
1574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1575 (exit $ac_status); } 1967 (exit $ac_status); }
1576{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1968{ (ac_try="$ac_compiler -V >&5"
1969case "(($ac_try" in
1970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1971 *) ac_try_echo=$ac_try;;
1972esac
1973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1577 (eval $ac_compiler -V </dev/null >&5) 2>&5 1974 (eval "$ac_compiler -V >&5") 2>&5
1578 ac_status=$? 1975 ac_status=$?
1579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1580 (exit $ac_status); } 1977 (exit $ac_status); }
1581 1978
1582cat >conftest.$ac_ext <<_ACEOF 1979cat >conftest.$ac_ext <<_ACEOF
1597ac_clean_files_save=$ac_clean_files 1994ac_clean_files_save=$ac_clean_files
1598ac_clean_files="$ac_clean_files a.out a.exe b.out" 1995ac_clean_files="$ac_clean_files a.out a.exe b.out"
1599# Try to create an executable without -o first, disregard a.out. 1996# Try to create an executable without -o first, disregard a.out.
1600# It will help us diagnose broken compilers, and finding out an intuition 1997# It will help us diagnose broken compilers, and finding out an intuition
1601# of exeext. 1998# of exeext.
1602echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1999{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1603echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2000echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1604ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2001ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2002#
2003# List of possible output files, starting from the most likely.
2004# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2005# only as a last resort. b.out is created by i960 compilers.
2006ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2007#
2008# The IRIX 6 linker writes into existing files which may not be
2009# executable, retaining their permissions. Remove them first so a
2010# subsequent execution test works.
2011ac_rmfiles=
2012for ac_file in $ac_files
2013do
2014 case $ac_file in
2015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2016 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2017 esac
2018done
2019rm -f $ac_rmfiles
2020
2021if { (ac_try="$ac_link_default"
2022case "(($ac_try" in
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2025esac
1605if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2026eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1606 (eval $ac_link_default) 2>&5 2027 (eval "$ac_link_default") 2>&5
1607 ac_status=$? 2028 ac_status=$?
1608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609 (exit $ac_status); }; then 2030 (exit $ac_status); }; then
1610 # Find the output, starting from the most likely. This scheme is 2031 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1611# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2032# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1612# resort. 2033# in a Makefile. We should not override ac_cv_exeext if it was cached,
1613 2034# so that the user can short-circuit this test for compilers unknown to
1614# Be careful to initialize this variable, since it used to be cached. 2035# Autoconf.
1615# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2036for ac_file in $ac_files ''
1616ac_cv_exeext=
1617# b.out is created by i960 compilers.
1618for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1619do 2037do
1620 test -f "$ac_file" || continue 2038 test -f "$ac_file" || continue
1621 case $ac_file in 2039 case $ac_file in
1622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1623 ;;
1624 conftest.$ac_ext )
1625 # This is the source file.
1626 ;; 2041 ;;
1627 [ab].out ) 2042 [ab].out )
1628 # We found the default executable, but exeext='' is most 2043 # We found the default executable, but exeext='' is most
1629 # certainly right. 2044 # certainly right.
1630 break;; 2045 break;;
1631 *.* ) 2046 *.* )
2047 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2048 then :; else
1632 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1633 # FIXME: I believe we export ac_cv_exeext for Libtool, 2050 fi
1634 # but it would be cool to find out if it's true. Does anybody 2051 # We set ac_cv_exeext here because the later test for it is not
1635 # maintain Libtool? --akim. 2052 # safe: cross compilers may not add the suffix if given an `-o'
1636 export ac_cv_exeext 2053 # argument, so we may need to know it at that point already.
2054 # Even if this section looks crufty: it has the advantage of
2055 # actually working.
1637 break;; 2056 break;;
1638 * ) 2057 * )
1639 break;; 2058 break;;
1640 esac 2059 esac
1641done 2060done
2061test "$ac_cv_exeext" = no && ac_cv_exeext=
2062
1642else 2063else
2064 ac_file=''
2065fi
2066
2067{ echo "$as_me:$LINENO: result: $ac_file" >&5
2068echo "${ECHO_T}$ac_file" >&6; }
2069if test -z "$ac_file"; then
1643 echo "$as_me: failed program was:" >&5 2070 echo "$as_me: failed program was:" >&5
1644sed 's/^/| /' conftest.$ac_ext >&5 2071sed 's/^/| /' conftest.$ac_ext >&5
1645 2072
1646{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2073{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1647See \`config.log' for more details." >&5 2074See \`config.log' for more details." >&5
1649See \`config.log' for more details." >&2;} 2076See \`config.log' for more details." >&2;}
1650 { (exit 77); exit 77; }; } 2077 { (exit 77); exit 77; }; }
1651fi 2078fi
1652 2079
1653ac_exeext=$ac_cv_exeext 2080ac_exeext=$ac_cv_exeext
1654echo "$as_me:$LINENO: result: $ac_file" >&5
1655echo "${ECHO_T}$ac_file" >&6
1656 2081
1657# Check the compiler produces executables we can run. If not, either 2082# Check that the compiler produces executables we can run. If not, either
1658# the compiler is broken, or we cross compile. 2083# the compiler is broken, or we cross compile.
1659echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2084{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1660echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2085echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1661# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2086# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1662# If not cross compiling, check that we can run a simple program. 2087# If not cross compiling, check that we can run a simple program.
1663if test "$cross_compiling" != yes; then 2088if test "$cross_compiling" != yes; then
1664 if { ac_try='./$ac_file' 2089 if { ac_try='./$ac_file'
2090 { (case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093esac
1665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1666 (eval $ac_try) 2>&5 2095 (eval "$ac_try") 2>&5
1667 ac_status=$? 2096 ac_status=$?
1668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1669 (exit $ac_status); }; }; then 2098 (exit $ac_status); }; }; then
1670 cross_compiling=no 2099 cross_compiling=no
1671 else 2100 else
1680See \`config.log' for more details." >&2;} 2109See \`config.log' for more details." >&2;}
1681 { (exit 1); exit 1; }; } 2110 { (exit 1); exit 1; }; }
1682 fi 2111 fi
1683 fi 2112 fi
1684fi 2113fi
1685echo "$as_me:$LINENO: result: yes" >&5 2114{ echo "$as_me:$LINENO: result: yes" >&5
1686echo "${ECHO_T}yes" >&6 2115echo "${ECHO_T}yes" >&6; }
1687 2116
1688rm -f a.out a.exe conftest$ac_cv_exeext b.out 2117rm -f a.out a.exe conftest$ac_cv_exeext b.out
1689ac_clean_files=$ac_clean_files_save 2118ac_clean_files=$ac_clean_files_save
1690# Check the compiler produces executables we can run. If not, either 2119# Check that the compiler produces executables we can run. If not, either
1691# the compiler is broken, or we cross compile. 2120# the compiler is broken, or we cross compile.
1692echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2121{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1693echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2122echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
1694echo "$as_me:$LINENO: result: $cross_compiling" >&5 2123{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1695echo "${ECHO_T}$cross_compiling" >&6 2124echo "${ECHO_T}$cross_compiling" >&6; }
1696 2125
1697echo "$as_me:$LINENO: checking for suffix of executables" >&5 2126{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1698echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2127echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2128if { (ac_try="$ac_link"
2129case "(($ac_try" in
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2132esac
1699if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2133eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1700 (eval $ac_link) 2>&5 2134 (eval "$ac_link") 2>&5
1701 ac_status=$? 2135 ac_status=$?
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }; then 2137 (exit $ac_status); }; then
1704 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2138 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1705# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2139# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1706# work properly (i.e., refer to `conftest.exe'), while it won't with 2140# work properly (i.e., refer to `conftest.exe'), while it won't with
1707# `rm'. 2141# `rm'.
1708for ac_file in conftest.exe conftest conftest.*; do 2142for ac_file in conftest.exe conftest conftest.*; do
1709 test -f "$ac_file" || continue 2143 test -f "$ac_file" || continue
1710 case $ac_file in 2144 case $ac_file in
1711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1712 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2146 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1713 export ac_cv_exeext
1714 break;; 2147 break;;
1715 * ) break;; 2148 * ) break;;
1716 esac 2149 esac
1717done 2150done
1718else 2151else
1722See \`config.log' for more details." >&2;} 2155See \`config.log' for more details." >&2;}
1723 { (exit 1); exit 1; }; } 2156 { (exit 1); exit 1; }; }
1724fi 2157fi
1725 2158
1726rm -f conftest$ac_cv_exeext 2159rm -f conftest$ac_cv_exeext
1727echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2160{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1728echo "${ECHO_T}$ac_cv_exeext" >&6 2161echo "${ECHO_T}$ac_cv_exeext" >&6; }
1729 2162
1730rm -f conftest.$ac_ext 2163rm -f conftest.$ac_ext
1731EXEEXT=$ac_cv_exeext 2164EXEEXT=$ac_cv_exeext
1732ac_exeext=$EXEEXT 2165ac_exeext=$EXEEXT
1733echo "$as_me:$LINENO: checking for suffix of object files" >&5 2166{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1734echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2167echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1735if test "${ac_cv_objext+set}" = set; then 2168if test "${ac_cv_objext+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6 2169 echo $ECHO_N "(cached) $ECHO_C" >&6
1737else 2170else
1738 cat >conftest.$ac_ext <<_ACEOF 2171 cat >conftest.$ac_ext <<_ACEOF
1739/* confdefs.h. */ 2172/* confdefs.h. */
1749 ; 2182 ;
1750 return 0; 2183 return 0;
1751} 2184}
1752_ACEOF 2185_ACEOF
1753rm -f conftest.o conftest.obj 2186rm -f conftest.o conftest.obj
2187if { (ac_try="$ac_compile"
2188case "(($ac_try" in
2189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2191esac
1754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2192eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1755 (eval $ac_compile) 2>&5 2193 (eval "$ac_compile") 2>&5
1756 ac_status=$? 2194 ac_status=$?
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }; then 2196 (exit $ac_status); }; then
1759 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2197 for ac_file in conftest.o conftest.obj conftest.*; do
2198 test -f "$ac_file" || continue;
1760 case $ac_file in 2199 case $ac_file in
1761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1762 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2201 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1763 break;; 2202 break;;
1764 esac 2203 esac
1765done 2204done
1766else 2205else
1774 { (exit 1); exit 1; }; } 2213 { (exit 1); exit 1; }; }
1775fi 2214fi
1776 2215
1777rm -f conftest.$ac_cv_objext conftest.$ac_ext 2216rm -f conftest.$ac_cv_objext conftest.$ac_ext
1778fi 2217fi
1779echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2218{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1780echo "${ECHO_T}$ac_cv_objext" >&6 2219echo "${ECHO_T}$ac_cv_objext" >&6; }
1781OBJEXT=$ac_cv_objext 2220OBJEXT=$ac_cv_objext
1782ac_objext=$OBJEXT 2221ac_objext=$OBJEXT
1783echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2222{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1784echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2223echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1785if test "${ac_cv_c_compiler_gnu+set}" = set; then 2224if test "${ac_cv_c_compiler_gnu+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6 2225 echo $ECHO_N "(cached) $ECHO_C" >&6
1787else 2226else
1788 cat >conftest.$ac_ext <<_ACEOF 2227 cat >conftest.$ac_ext <<_ACEOF
1789/* confdefs.h. */ 2228/* confdefs.h. */
1802 ; 2241 ;
1803 return 0; 2242 return 0;
1804} 2243}
1805_ACEOF 2244_ACEOF
1806rm -f conftest.$ac_objext 2245rm -f conftest.$ac_objext
2246if { (ac_try="$ac_compile"
2247case "(($ac_try" in
2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2249 *) ac_try_echo=$ac_try;;
2250esac
1807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1808 (eval $ac_compile) 2>conftest.er1 2252 (eval "$ac_compile") 2>conftest.er1
1809 ac_status=$? 2253 ac_status=$?
1810 grep -v '^ *+' conftest.er1 >conftest.err 2254 grep -v '^ *+' conftest.er1 >conftest.err
1811 rm -f conftest.er1 2255 rm -f conftest.er1
1812 cat conftest.err >&5 2256 cat conftest.err >&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); } && 2258 (exit $ac_status); } && {
1815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2259 test -z "$ac_c_werror_flag" ||
1816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2260 test ! -s conftest.err
1817 (eval $ac_try) 2>&5 2261 } && test -s conftest.$ac_objext; then
1818 ac_status=$?
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; } &&
1821 { ac_try='test -s conftest.$ac_objext'
1822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1823 (eval $ac_try) 2>&5
1824 ac_status=$?
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; }; then
1827 ac_compiler_gnu=yes 2262 ac_compiler_gnu=yes
1828else 2263else
1829 echo "$as_me: failed program was:" >&5 2264 echo "$as_me: failed program was:" >&5
1830sed 's/^/| /' conftest.$ac_ext >&5 2265sed 's/^/| /' conftest.$ac_ext >&5
1831 2266
1832ac_compiler_gnu=no 2267 ac_compiler_gnu=no
1833fi 2268fi
2269
1834rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1835ac_cv_c_compiler_gnu=$ac_compiler_gnu 2271ac_cv_c_compiler_gnu=$ac_compiler_gnu
1836 2272
1837fi 2273fi
1838echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2274{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1839echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2275echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1840GCC=`test $ac_compiler_gnu = yes && echo yes` 2276GCC=`test $ac_compiler_gnu = yes && echo yes`
1841ac_test_CFLAGS=${CFLAGS+set} 2277ac_test_CFLAGS=${CFLAGS+set}
1842ac_save_CFLAGS=$CFLAGS 2278ac_save_CFLAGS=$CFLAGS
1843CFLAGS="-g"
1844echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2279{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1845echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2280echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1846if test "${ac_cv_prog_cc_g+set}" = set; then 2281if test "${ac_cv_prog_cc_g+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6 2282 echo $ECHO_N "(cached) $ECHO_C" >&6
1848else 2283else
2284 ac_save_c_werror_flag=$ac_c_werror_flag
2285 ac_c_werror_flag=yes
2286 ac_cv_prog_cc_g=no
2287 CFLAGS="-g"
1849 cat >conftest.$ac_ext <<_ACEOF 2288 cat >conftest.$ac_ext <<_ACEOF
1850/* confdefs.h. */ 2289/* confdefs.h. */
1851_ACEOF 2290_ACEOF
1852cat confdefs.h >>conftest.$ac_ext 2291cat confdefs.h >>conftest.$ac_ext
1853cat >>conftest.$ac_ext <<_ACEOF 2292cat >>conftest.$ac_ext <<_ACEOF
1854/* end confdefs.h. */ 2293/* end confdefs.h. */
1860 ; 2299 ;
1861 return 0; 2300 return 0;
1862} 2301}
1863_ACEOF 2302_ACEOF
1864rm -f conftest.$ac_objext 2303rm -f conftest.$ac_objext
2304if { (ac_try="$ac_compile"
2305case "(($ac_try" in
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2308esac
1865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2309eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1866 (eval $ac_compile) 2>conftest.er1 2310 (eval "$ac_compile") 2>conftest.er1
1867 ac_status=$? 2311 ac_status=$?
1868 grep -v '^ *+' conftest.er1 >conftest.err 2312 grep -v '^ *+' conftest.er1 >conftest.err
1869 rm -f conftest.er1 2313 rm -f conftest.er1
1870 cat conftest.err >&5 2314 cat conftest.err >&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); } && 2316 (exit $ac_status); } && {
1873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2317 test -z "$ac_c_werror_flag" ||
1874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2318 test ! -s conftest.err
1875 (eval $ac_try) 2>&5 2319 } && test -s conftest.$ac_objext; then
1876 ac_status=$?
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }; } &&
1879 { ac_try='test -s conftest.$ac_objext'
1880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1881 (eval $ac_try) 2>&5
1882 ac_status=$?
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; }; then
1885 ac_cv_prog_cc_g=yes 2320 ac_cv_prog_cc_g=yes
1886else 2321else
1887 echo "$as_me: failed program was:" >&5 2322 echo "$as_me: failed program was:" >&5
1888sed 's/^/| /' conftest.$ac_ext >&5 2323sed 's/^/| /' conftest.$ac_ext >&5
1889 2324
2325 CFLAGS=""
2326 cat >conftest.$ac_ext <<_ACEOF
2327/* confdefs.h. */
2328_ACEOF
2329cat confdefs.h >>conftest.$ac_ext
2330cat >>conftest.$ac_ext <<_ACEOF
2331/* end confdefs.h. */
2332
2333int
2334main ()
2335{
2336
2337 ;
2338 return 0;
2339}
2340_ACEOF
2341rm -f conftest.$ac_objext
2342if { (ac_try="$ac_compile"
2343case "(($ac_try" in
2344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2345 *) ac_try_echo=$ac_try;;
2346esac
2347eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2348 (eval "$ac_compile") 2>conftest.er1
2349 ac_status=$?
2350 grep -v '^ *+' conftest.er1 >conftest.err
2351 rm -f conftest.er1
2352 cat conftest.err >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } && {
2355 test -z "$ac_c_werror_flag" ||
2356 test ! -s conftest.err
2357 } && test -s conftest.$ac_objext; then
2358 :
2359else
2360 echo "$as_me: failed program was:" >&5
2361sed 's/^/| /' conftest.$ac_ext >&5
2362
2363 ac_c_werror_flag=$ac_save_c_werror_flag
2364 CFLAGS="-g"
2365 cat >conftest.$ac_ext <<_ACEOF
2366/* confdefs.h. */
2367_ACEOF
2368cat confdefs.h >>conftest.$ac_ext
2369cat >>conftest.$ac_ext <<_ACEOF
2370/* end confdefs.h. */
2371
2372int
2373main ()
2374{
2375
2376 ;
2377 return 0;
2378}
2379_ACEOF
2380rm -f conftest.$ac_objext
2381if { (ac_try="$ac_compile"
2382case "(($ac_try" in
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2385esac
2386eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2387 (eval "$ac_compile") 2>conftest.er1
2388 ac_status=$?
2389 grep -v '^ *+' conftest.er1 >conftest.err
2390 rm -f conftest.er1
2391 cat conftest.err >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } && {
2394 test -z "$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 } && test -s conftest.$ac_objext; then
1890ac_cv_prog_cc_g=no 2397 ac_cv_prog_cc_g=yes
2398else
2399 echo "$as_me: failed program was:" >&5
2400sed 's/^/| /' conftest.$ac_ext >&5
2401
2402
1891fi 2403fi
2404
1892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893fi 2406fi
2407
2408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409fi
2410
2411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412 ac_c_werror_flag=$ac_save_c_werror_flag
2413fi
1894echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2414{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1895echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2415echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1896if test "$ac_test_CFLAGS" = set; then 2416if test "$ac_test_CFLAGS" = set; then
1897 CFLAGS=$ac_save_CFLAGS 2417 CFLAGS=$ac_save_CFLAGS
1898elif test $ac_cv_prog_cc_g = yes; then 2418elif test $ac_cv_prog_cc_g = yes; then
1899 if test "$GCC" = yes; then 2419 if test "$GCC" = yes; then
1900 CFLAGS="-g -O2" 2420 CFLAGS="-g -O2"
1906 CFLAGS="-O2" 2426 CFLAGS="-O2"
1907 else 2427 else
1908 CFLAGS= 2428 CFLAGS=
1909 fi 2429 fi
1910fi 2430fi
1911echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2431{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1912echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2432echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1913if test "${ac_cv_prog_cc_stdc+set}" = set; then 2433if test "${ac_cv_prog_cc_c89+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6 2434 echo $ECHO_N "(cached) $ECHO_C" >&6
1915else 2435else
1916 ac_cv_prog_cc_stdc=no 2436 ac_cv_prog_cc_c89=no
1917ac_save_CC=$CC 2437ac_save_CC=$CC
1918cat >conftest.$ac_ext <<_ACEOF 2438cat >conftest.$ac_ext <<_ACEOF
1919/* confdefs.h. */ 2439/* confdefs.h. */
1920_ACEOF 2440_ACEOF
1921cat confdefs.h >>conftest.$ac_ext 2441cat confdefs.h >>conftest.$ac_ext
1945} 2465}
1946 2466
1947/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2467/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1948 function prototypes and stuff, but not '\xHH' hex character constants. 2468 function prototypes and stuff, but not '\xHH' hex character constants.
1949 These don't provoke an error unfortunately, instead are silently treated 2469 These don't provoke an error unfortunately, instead are silently treated
1950 as 'x'. The following induces an error, until -std1 is added to get 2470 as 'x'. The following induces an error, until -std is added to get
1951 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1952 array size at least. It's necessary to write '\x00'==0 to get something 2472 array size at least. It's necessary to write '\x00'==0 to get something
1953 that's true only with -std1. */ 2473 that's true only with -std. */
1954int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2474int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2475
2476/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2477 inside strings and character constants. */
2478#define FOO(x) 'x'
2479int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1955 2480
1956int test (int i, double x); 2481int test (int i, double x);
1957struct s1 {int (*f) (int a);}; 2482struct s1 {int (*f) (int a);};
1958struct s2 {int (*f) (double a);}; 2483struct s2 {int (*f) (double a);};
1959int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2484int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1965return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2490return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1966 ; 2491 ;
1967 return 0; 2492 return 0;
1968} 2493}
1969_ACEOF 2494_ACEOF
1970# Don't try gcc -ansi; that turns off useful extensions and 2495for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1971# breaks some systems' header files. 2496 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1972# AIX -qlanglvl=ansi
1973# Ultrix and OSF/1 -std1
1974# HP-UX 10.20 and later -Ae
1975# HP-UX older versions -Aa -D_HPUX_SOURCE
1976# SVR4 -Xc -D__EXTENSIONS__
1977for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1978do 2497do
1979 CC="$ac_save_CC $ac_arg" 2498 CC="$ac_save_CC $ac_arg"
1980 rm -f conftest.$ac_objext 2499 rm -f conftest.$ac_objext
2500if { (ac_try="$ac_compile"
2501case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504esac
1981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1982 (eval $ac_compile) 2>conftest.er1 2506 (eval "$ac_compile") 2>conftest.er1
1983 ac_status=$? 2507 ac_status=$?
1984 grep -v '^ *+' conftest.er1 >conftest.err 2508 grep -v '^ *+' conftest.er1 >conftest.err
1985 rm -f conftest.er1 2509 rm -f conftest.er1
1986 cat conftest.err >&5 2510 cat conftest.err >&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); } && 2512 (exit $ac_status); } && {
1989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2513 test -z "$ac_c_werror_flag" ||
1990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2514 test ! -s conftest.err
1991 (eval $ac_try) 2>&5 2515 } && test -s conftest.$ac_objext; then
1992 ac_status=$?
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; } &&
1995 { ac_try='test -s conftest.$ac_objext'
1996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1997 (eval $ac_try) 2>&5
1998 ac_status=$?
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; }; then
2001 ac_cv_prog_cc_stdc=$ac_arg 2516 ac_cv_prog_cc_c89=$ac_arg
2002break
2003else 2517else
2004 echo "$as_me: failed program was:" >&5 2518 echo "$as_me: failed program was:" >&5
2005sed 's/^/| /' conftest.$ac_ext >&5 2519sed 's/^/| /' conftest.$ac_ext >&5
2006 2520
2521
2007fi 2522fi
2523
2008rm -f conftest.err conftest.$ac_objext 2524rm -f core conftest.err conftest.$ac_objext
2525 test "x$ac_cv_prog_cc_c89" != "xno" && break
2009done 2526done
2010rm -f conftest.$ac_ext conftest.$ac_objext 2527rm -f conftest.$ac_ext
2011CC=$ac_save_CC 2528CC=$ac_save_CC
2012 2529
2013fi 2530fi
2014 2531# AC_CACHE_VAL
2015case "x$ac_cv_prog_cc_stdc" in 2532case "x$ac_cv_prog_cc_c89" in
2016 x|xno) 2533 x)
2017 echo "$as_me:$LINENO: result: none needed" >&5 2534 { echo "$as_me:$LINENO: result: none needed" >&5
2018echo "${ECHO_T}none needed" >&6 ;; 2535echo "${ECHO_T}none needed" >&6; } ;;
2536 xno)
2537 { echo "$as_me:$LINENO: result: unsupported" >&5
2538echo "${ECHO_T}unsupported" >&6; } ;;
2019 *) 2539 *)
2540 CC="$CC $ac_cv_prog_cc_c89"
2020 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2021echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2542echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2022 CC="$CC $ac_cv_prog_cc_stdc" ;;
2023esac 2543esac
2024 2544
2025# Some people use a C++ compiler to compile C. Since we use `exit', 2545
2026# in C++ we need to declare it. In case someone uses the same compiler 2546ac_ext=c
2027# for both compiling C and C++ we need to have the C++ compiler decide 2547ac_cpp='$CPP $CPPFLAGS'
2028# the declaration of exit, since it's the most demanding environment. 2548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551
2552
2553
2554{ echo "$as_me:$LINENO: checking for futimes" >&5
2555echo $ECHO_N "checking for futimes... $ECHO_C" >&6; }
2556if test "${ac_cv_futimes+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2558else
2029cat >conftest.$ac_ext <<_ACEOF 2559 cat >conftest.$ac_ext <<_ACEOF
2030#ifndef __cplusplus 2560
2031 choke me 2561#include <sys/types.h>
2032#endif 2562#include <sys/time.h>
2563#include <utime.h>
2564struct timeval tv[2];
2565int res;
2566int fd;
2567int main(void)
2568{
2569 res = futimes (fd, tv);
2570 return 0;
2571}
2572
2033_ACEOF 2573_ACEOF
2034rm -f conftest.$ac_objext 2574rm -f conftest.$ac_objext conftest$ac_exeext
2575if { (ac_try="$ac_link"
2576case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579esac
2035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2580eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2036 (eval $ac_compile) 2>conftest.er1 2581 (eval "$ac_link") 2>conftest.er1
2037 ac_status=$? 2582 ac_status=$?
2038 grep -v '^ *+' conftest.er1 >conftest.err 2583 grep -v '^ *+' conftest.er1 >conftest.err
2039 rm -f conftest.er1 2584 rm -f conftest.er1
2040 cat conftest.err >&5 2585 cat conftest.err >&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); } && 2587 (exit $ac_status); } && {
2043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2588 test -z "$ac_c_werror_flag" ||
2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2589 test ! -s conftest.err
2045 (eval $ac_try) 2>&5 2590 } && test -s conftest$ac_exeext &&
2046 ac_status=$? 2591 $as_test_x conftest$ac_exeext; then
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 ac_cv_futimes=yes
2048 (exit $ac_status); }; } &&
2049 { ac_try='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2051 (eval $ac_try) 2>&5
2052 ac_status=$?
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2055 for ac_declaration in \
2056 '' \
2057 'extern "C" void std::exit (int) throw (); using std::exit;' \
2058 'extern "C" void std::exit (int); using std::exit;' \
2059 'extern "C" void exit (int) throw ();' \
2060 'extern "C" void exit (int);' \
2061 'void exit (int);'
2062do
2063 cat >conftest.$ac_ext <<_ACEOF
2064/* confdefs.h. */
2065_ACEOF
2066cat confdefs.h >>conftest.$ac_ext
2067cat >>conftest.$ac_ext <<_ACEOF
2068/* end confdefs.h. */
2069$ac_declaration
2070#include <stdlib.h>
2071int
2072main ()
2073{
2074exit (42);
2075 ;
2076 return 0;
2077}
2078_ACEOF
2079rm -f conftest.$ac_objext
2080if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2081 (eval $ac_compile) 2>conftest.er1
2082 ac_status=$?
2083 grep -v '^ *+' conftest.er1 >conftest.err
2084 rm -f conftest.er1
2085 cat conftest.err >&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); } &&
2088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 (eval $ac_try) 2>&5
2091 ac_status=$?
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }; } &&
2094 { ac_try='test -s conftest.$ac_objext'
2095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 (eval $ac_try) 2>&5
2097 ac_status=$?
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }; }; then
2100 :
2101else 2593else
2102 echo "$as_me: failed program was:" >&5 2594 echo "$as_me: failed program was:" >&5
2103sed 's/^/| /' conftest.$ac_ext >&5 2595sed 's/^/| /' conftest.$ac_ext >&5
2104 2596
2105continue 2597 ac_cv_futimes=no
2106fi 2598fi
2599
2107rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2600rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2108 cat >conftest.$ac_ext <<_ACEOF 2601 conftest$ac_exeext conftest.$ac_ext
2109/* confdefs.h. */ 2602fi
2110_ACEOF 2603{ echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5
2111cat confdefs.h >>conftest.$ac_ext 2604echo "${ECHO_T}$ac_cv_futimes" >&6; }
2605test $ac_cv_futimes = yes &&
2112cat >>conftest.$ac_ext <<_ACEOF 2606cat >>confdefs.h <<\_ACEOF
2113/* end confdefs.h. */ 2607#define HAVE_FUTIMES 1
2114$ac_declaration
2115int
2116main ()
2117{
2118exit (42);
2119 ;
2120 return 0;
2121}
2122_ACEOF 2608_ACEOF
2123rm -f conftest.$ac_objext
2124if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2125 (eval $ac_compile) 2>conftest.er1
2126 ac_status=$?
2127 grep -v '^ *+' conftest.er1 >conftest.err
2128 rm -f conftest.er1
2129 cat conftest.err >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); } &&
2132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 (eval $ac_try) 2>&5
2135 ac_status=$?
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; } &&
2138 { ac_try='test -s conftest.$ac_objext'
2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 (eval $ac_try) 2>&5
2141 ac_status=$?
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; }; then
2144 break
2145else
2146 echo "$as_me: failed program was:" >&5
2147sed 's/^/| /' conftest.$ac_ext >&5
2148 2609
2149fi
2150rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2151done
2152rm -f conftest*
2153if test -n "$ac_declaration"; then
2154 echo '#ifdef __cplusplus' >>confdefs.h
2155 echo $ac_declaration >>confdefs.h
2156 echo '#endif' >>confdefs.h
2157fi
2158 2610
2159else
2160 echo "$as_me: failed program was:" >&5
2161sed 's/^/| /' conftest.$ac_ext >&5
2162
2163fi
2164rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2165ac_ext=c
2166ac_cpp='$CPP $CPPFLAGS'
2167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2169ac_compiler_gnu=$ac_cv_c_compiler_gnu
2170
2171
2172
2173echo "$as_me:$LINENO: checking for readahead" >&5 2611{ echo "$as_me:$LINENO: checking for readahead" >&5
2174echo $ECHO_N "checking for readahead... $ECHO_C" >&6 2612echo $ECHO_N "checking for readahead... $ECHO_C" >&6; }
2175if test "${ac_cv_readahead+set}" = set; then 2613if test "${ac_cv_readahead+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6 2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2177else 2615else
2178 cat >conftest.$ac_ext <<_ACEOF 2616 cat >conftest.$ac_ext <<_ACEOF
2179 2617
2188 return 0; 2626 return 0;
2189} 2627}
2190 2628
2191_ACEOF 2629_ACEOF
2192rm -f conftest.$ac_objext conftest$ac_exeext 2630rm -f conftest.$ac_objext conftest$ac_exeext
2631if { (ac_try="$ac_link"
2632case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635esac
2193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2636eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2194 (eval $ac_link) 2>conftest.er1 2637 (eval "$ac_link") 2>conftest.er1
2195 ac_status=$? 2638 ac_status=$?
2196 grep -v '^ *+' conftest.er1 >conftest.err 2639 grep -v '^ *+' conftest.er1 >conftest.err
2197 rm -f conftest.er1 2640 rm -f conftest.er1
2198 cat conftest.err >&5 2641 cat conftest.err >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); } && 2643 (exit $ac_status); } && {
2201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2644 test -z "$ac_c_werror_flag" ||
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2645 test ! -s conftest.err
2203 (eval $ac_try) 2>&5 2646 } && test -s conftest$ac_exeext &&
2204 ac_status=$? 2647 $as_test_x conftest$ac_exeext; then
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try='test -s conftest$ac_exeext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2209 (eval $ac_try) 2>&5
2210 ac_status=$?
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2213 ac_cv_readahead=yes 2648 ac_cv_readahead=yes
2214else 2649else
2215 echo "$as_me: failed program was:" >&5 2650 echo "$as_me: failed program was:" >&5
2216sed 's/^/| /' conftest.$ac_ext >&5 2651sed 's/^/| /' conftest.$ac_ext >&5
2217 2652
2218ac_cv_readahead=no 2653 ac_cv_readahead=no
2219fi 2654fi
2220rm -f conftest.err conftest.$ac_objext \ 2655
2656rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2221 conftest$ac_exeext conftest.$ac_ext 2657 conftest$ac_exeext conftest.$ac_ext
2222fi 2658fi
2223echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5 2659{ echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5
2224echo "${ECHO_T}$ac_cv_readahead" >&6 2660echo "${ECHO_T}$ac_cv_readahead" >&6; }
2225test $ac_cv_readahead = yes && 2661test $ac_cv_readahead = yes &&
2226cat >>confdefs.h <<\_ACEOF 2662cat >>confdefs.h <<\_ACEOF
2227#define HAVE_READAHEAD 1 2663#define HAVE_READAHEAD 1
2228_ACEOF 2664_ACEOF
2229 2665
2230 2666
2231echo "$as_me:$LINENO: checking for fdatasync" >&5 2667{ echo "$as_me:$LINENO: checking for fdatasync" >&5
2232echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6 2668echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
2233if test "${ac_cv_fdatasync+set}" = set; then 2669if test "${ac_cv_fdatasync+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6 2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2235else 2671else
2236 cat >conftest.$ac_ext <<_ACEOF 2672 cat >conftest.$ac_ext <<_ACEOF
2237 2673
2243 return 0; 2679 return 0;
2244} 2680}
2245 2681
2246_ACEOF 2682_ACEOF
2247rm -f conftest.$ac_objext conftest$ac_exeext 2683rm -f conftest.$ac_objext conftest$ac_exeext
2684if { (ac_try="$ac_link"
2685case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688esac
2248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2689eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2249 (eval $ac_link) 2>conftest.er1 2690 (eval "$ac_link") 2>conftest.er1
2250 ac_status=$? 2691 ac_status=$?
2251 grep -v '^ *+' conftest.er1 >conftest.err 2692 grep -v '^ *+' conftest.er1 >conftest.err
2252 rm -f conftest.er1 2693 rm -f conftest.er1
2253 cat conftest.err >&5 2694 cat conftest.err >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } && 2696 (exit $ac_status); } && {
2256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2697 test -z "$ac_c_werror_flag" ||
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2698 test ! -s conftest.err
2258 (eval $ac_try) 2>&5 2699 } && test -s conftest$ac_exeext &&
2259 ac_status=$? 2700 $as_test_x conftest$ac_exeext; then
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; } &&
2262 { ac_try='test -s conftest$ac_exeext'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 (eval $ac_try) 2>&5
2265 ac_status=$?
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; }; then
2268 ac_cv_fdatasync=yes 2701 ac_cv_fdatasync=yes
2269else 2702else
2270 echo "$as_me: failed program was:" >&5 2703 echo "$as_me: failed program was:" >&5
2271sed 's/^/| /' conftest.$ac_ext >&5 2704sed 's/^/| /' conftest.$ac_ext >&5
2272 2705
2273ac_cv_fdatasync=no 2706 ac_cv_fdatasync=no
2274fi 2707fi
2275rm -f conftest.err conftest.$ac_objext \ 2708
2709rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2276 conftest$ac_exeext conftest.$ac_ext 2710 conftest$ac_exeext conftest.$ac_ext
2277fi 2711fi
2278echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5 2712{ echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5
2279echo "${ECHO_T}$ac_cv_fdatasync" >&6 2713echo "${ECHO_T}$ac_cv_fdatasync" >&6; }
2280test $ac_cv_fdatasync = yes && 2714test $ac_cv_fdatasync = yes &&
2281cat >>confdefs.h <<\_ACEOF 2715cat >>confdefs.h <<\_ACEOF
2282#define HAVE_FDATASYNC 1 2716#define HAVE_FDATASYNC 1
2283_ACEOF 2717_ACEOF
2284 2718
2285 2719
2286echo "$as_me:$LINENO: checking for pread and pwrite" >&5 2720{ echo "$as_me:$LINENO: checking for pread and pwrite" >&5
2287echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6 2721echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; }
2288if test "${ac_cv_preadwrite+set}" = set; then 2722if test "${ac_cv_preadwrite+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6 2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2290else 2724else
2291 cat >conftest.$ac_ext <<_ACEOF 2725 cat >conftest.$ac_ext <<_ACEOF
2292 2726
2303 return 0; 2737 return 0;
2304} 2738}
2305 2739
2306_ACEOF 2740_ACEOF
2307rm -f conftest.$ac_objext conftest$ac_exeext 2741rm -f conftest.$ac_objext conftest$ac_exeext
2742if { (ac_try="$ac_link"
2743case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746esac
2308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2747eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2309 (eval $ac_link) 2>conftest.er1 2748 (eval "$ac_link") 2>conftest.er1
2310 ac_status=$? 2749 ac_status=$?
2311 grep -v '^ *+' conftest.er1 >conftest.err 2750 grep -v '^ *+' conftest.er1 >conftest.err
2312 rm -f conftest.er1 2751 rm -f conftest.er1
2313 cat conftest.err >&5 2752 cat conftest.err >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } && 2754 (exit $ac_status); } && {
2316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2755 test -z "$ac_c_werror_flag" ||
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2756 test ! -s conftest.err
2318 (eval $ac_try) 2>&5 2757 } && test -s conftest$ac_exeext &&
2319 ac_status=$? 2758 $as_test_x conftest$ac_exeext; then
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try='test -s conftest$ac_exeext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 (eval $ac_try) 2>&5
2325 ac_status=$?
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2328 ac_cv_preadwrite=yes 2759 ac_cv_preadwrite=yes
2329else 2760else
2330 echo "$as_me: failed program was:" >&5 2761 echo "$as_me: failed program was:" >&5
2331sed 's/^/| /' conftest.$ac_ext >&5 2762sed 's/^/| /' conftest.$ac_ext >&5
2332 2763
2333ac_cv_preadwrite=no 2764 ac_cv_preadwrite=no
2334fi 2765fi
2335rm -f conftest.err conftest.$ac_objext \ 2766
2767rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2336 conftest$ac_exeext conftest.$ac_ext 2768 conftest$ac_exeext conftest.$ac_ext
2337fi 2769fi
2338echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5 2770{ echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5
2339echo "${ECHO_T}$ac_cv_preadwrite" >&6 2771echo "${ECHO_T}$ac_cv_preadwrite" >&6; }
2340test $ac_cv_preadwrite = yes && 2772test $ac_cv_preadwrite = yes &&
2341cat >>confdefs.h <<\_ACEOF 2773cat >>confdefs.h <<\_ACEOF
2342#define HAVE_PREADWRITE 1 2774#define HAVE_PREADWRITE 1
2343_ACEOF 2775_ACEOF
2344 2776
2345 2777
2346echo "$as_me:$LINENO: checking for readdir_r" >&5 2778{ echo "$as_me:$LINENO: checking for readdir_r" >&5
2347echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6 2779echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
2348if test "${ac_cv_readdir_r+set}" = set; then 2780if test "${ac_cv_readdir_r+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6 2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2350else 2782else
2351 cat >conftest.$ac_ext <<_ACEOF 2783 cat >conftest.$ac_ext <<_ACEOF
2352 2784
2359 return 0; 2791 return 0;
2360} 2792}
2361 2793
2362_ACEOF 2794_ACEOF
2363rm -f conftest.$ac_objext conftest$ac_exeext 2795rm -f conftest.$ac_objext conftest$ac_exeext
2796if { (ac_try="$ac_link"
2797case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800esac
2364if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval $ac_link) 2>conftest.er1 2802 (eval "$ac_link") 2>conftest.er1
2366 ac_status=$? 2803 ac_status=$?
2367 grep -v '^ *+' conftest.er1 >conftest.err 2804 grep -v '^ *+' conftest.er1 >conftest.err
2368 rm -f conftest.er1 2805 rm -f conftest.er1
2369 cat conftest.err >&5 2806 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } && 2808 (exit $ac_status); } && {
2372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2809 test -z "$ac_c_werror_flag" ||
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2810 test ! -s conftest.err
2374 (eval $ac_try) 2>&5 2811 } && test -s conftest$ac_exeext &&
2375 ac_status=$? 2812 $as_test_x conftest$ac_exeext; then
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; } &&
2378 { ac_try='test -s conftest$ac_exeext'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 (eval $ac_try) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then
2384 ac_cv_readdir_r=yes 2813 ac_cv_readdir_r=yes
2385else 2814else
2386 echo "$as_me: failed program was:" >&5 2815 echo "$as_me: failed program was:" >&5
2387sed 's/^/| /' conftest.$ac_ext >&5 2816sed 's/^/| /' conftest.$ac_ext >&5
2388 2817
2389ac_cv_readdir_r=no 2818 ac_cv_readdir_r=no
2390fi 2819fi
2391rm -f conftest.err conftest.$ac_objext \ 2820
2821rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2392 conftest$ac_exeext conftest.$ac_ext 2822 conftest$ac_exeext conftest.$ac_ext
2393fi 2823fi
2394echo "$as_me:$LINENO: result: $ac_cv_readdir_r" >&5 2824{ echo "$as_me:$LINENO: result: $ac_cv_readdir_r" >&5
2395echo "${ECHO_T}$ac_cv_readdir_r" >&6 2825echo "${ECHO_T}$ac_cv_readdir_r" >&6; }
2396test $ac_cv_readdir_r = yes && 2826test $ac_cv_readdir_r = yes &&
2397cat >>confdefs.h <<\_ACEOF 2827cat >>confdefs.h <<\_ACEOF
2398#define HAVE_READDIR_R 1 2828#define HAVE_READDIR_R 1
2399_ACEOF 2829_ACEOF
2400 2830
2401 2831
2402echo "$as_me:$LINENO: checking for sendfile" >&5 2832{ echo "$as_me:$LINENO: checking for sendfile" >&5
2403echo $ECHO_N "checking for sendfile... $ECHO_C" >&6 2833echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; }
2404if test "${ac_cv_sendfile+set}" = set; then 2834if test "${ac_cv_sendfile+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6 2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2406else 2836else
2407 cat >conftest.$ac_ext <<_ACEOF 2837 cat >conftest.$ac_ext <<_ACEOF
2408 2838
2433 return 0; 2863 return 0;
2434} 2864}
2435 2865
2436_ACEOF 2866_ACEOF
2437rm -f conftest.$ac_objext conftest$ac_exeext 2867rm -f conftest.$ac_objext conftest$ac_exeext
2868if { (ac_try="$ac_link"
2869case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872esac
2438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2439 (eval $ac_link) 2>conftest.er1 2874 (eval "$ac_link") 2>conftest.er1
2440 ac_status=$? 2875 ac_status=$?
2441 grep -v '^ *+' conftest.er1 >conftest.err 2876 grep -v '^ *+' conftest.er1 >conftest.err
2442 rm -f conftest.er1 2877 rm -f conftest.er1
2443 cat conftest.err >&5 2878 cat conftest.err >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); } && 2880 (exit $ac_status); } && {
2446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2881 test -z "$ac_c_werror_flag" ||
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2882 test ! -s conftest.err
2448 (eval $ac_try) 2>&5 2883 } && test -s conftest$ac_exeext &&
2449 ac_status=$? 2884 $as_test_x conftest$ac_exeext; then
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; } &&
2452 { ac_try='test -s conftest$ac_exeext'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 (eval $ac_try) 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 ac_cv_sendfile=yes 2885 ac_cv_sendfile=yes
2459else 2886else
2460 echo "$as_me: failed program was:" >&5 2887 echo "$as_me: failed program was:" >&5
2461sed 's/^/| /' conftest.$ac_ext >&5 2888sed 's/^/| /' conftest.$ac_ext >&5
2462 2889
2463ac_cv_sendfile=no 2890 ac_cv_sendfile=no
2464fi 2891fi
2465rm -f conftest.err conftest.$ac_objext \ 2892
2893rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2466 conftest$ac_exeext conftest.$ac_ext 2894 conftest$ac_exeext conftest.$ac_ext
2467fi 2895fi
2468echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5 2896{ echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5
2469echo "${ECHO_T}$ac_cv_sendfile" >&6 2897echo "${ECHO_T}$ac_cv_sendfile" >&6; }
2470test $ac_cv_sendfile = yes && 2898test $ac_cv_sendfile = yes &&
2471cat >>confdefs.h <<\_ACEOF 2899cat >>confdefs.h <<\_ACEOF
2472#define HAVE_SENDFILE 1 2900#define HAVE_SENDFILE 1
2473_ACEOF 2901_ACEOF
2474 2902
2489 2917
2490_ACEOF 2918_ACEOF
2491 2919
2492# The following way of writing the cache mishandles newlines in values, 2920# The following way of writing the cache mishandles newlines in values,
2493# but we know of no workaround that is simple, portable, and efficient. 2921# but we know of no workaround that is simple, portable, and efficient.
2494# So, don't put newlines in cache variables' values. 2922# So, we kill variables containing newlines.
2495# Ultrix sh set writes to stderr and can't be redirected directly, 2923# Ultrix sh set writes to stderr and can't be redirected directly,
2496# and sets the high bit in the cache file unless we assign to the vars. 2924# and sets the high bit in the cache file unless we assign to the vars.
2497{ 2925(
2926 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2927 eval ac_val=\$$ac_var
2928 case $ac_val in #(
2929 *${as_nl}*)
2930 case $ac_var in #(
2931 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2932echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2933 esac
2934 case $ac_var in #(
2935 _ | IFS | as_nl) ;; #(
2936 *) $as_unset $ac_var ;;
2937 esac ;;
2938 esac
2939 done
2940
2498 (set) 2>&1 | 2941 (set) 2>&1 |
2499 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2500 *ac_space=\ *) 2943 *${as_nl}ac_space=\ *)
2501 # `set' does not quote correctly, so add quotes (double-quote 2944 # `set' does not quote correctly, so add quotes (double-quote
2502 # substitution turns \\\\ into \\, and sed turns \\ into \). 2945 # substitution turns \\\\ into \\, and sed turns \\ into \).
2503 sed -n \ 2946 sed -n \
2504 "s/'/'\\\\''/g; 2947 "s/'/'\\\\''/g;
2505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2506 ;; 2949 ;; #(
2507 *) 2950 *)
2508 # `set' quotes correctly as required by POSIX, so do not add quotes. 2951 # `set' quotes correctly as required by POSIX, so do not add quotes.
2509 sed -n \ 2952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2511 ;; 2953 ;;
2512 esac; 2954 esac |
2513} | 2955 sort
2956) |
2514 sed ' 2957 sed '
2958 /^ac_cv_env_/b end
2515 t clear 2959 t clear
2516 : clear 2960 :clear
2517 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2518 t end 2962 t end
2519 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2520 : end' >>confcache 2964 :end' >>confcache
2521if diff $cache_file confcache >/dev/null 2>&1; then :; else 2965if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2522 if test -w $cache_file; then 2966 if test -w "$cache_file"; then
2523 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2967 test "x$cache_file" != "x/dev/null" &&
2968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2969echo "$as_me: updating cache $cache_file" >&6;}
2524 cat confcache >$cache_file 2970 cat confcache >$cache_file
2525 else 2971 else
2972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2526 echo "not updating unwritable cache $cache_file" 2973echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2527 fi 2974 fi
2528fi 2975fi
2529rm -f confcache 2976rm -f confcache
2530 2977
2531test "x$prefix" = xNONE && prefix=$ac_default_prefix 2978test "x$prefix" = xNONE && prefix=$ac_default_prefix
2532# Let make expand exec_prefix. 2979# Let make expand exec_prefix.
2533test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2980test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2534
2535# VPATH may cause trouble with some makes, so we remove $(srcdir),
2536# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2537# trailing colons and then remove the whole line if VPATH becomes empty
2538# (actually we leave an empty line to preserve line numbers).
2539if test "x$srcdir" = x.; then
2540 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2541s/:*\$(srcdir):*/:/;
2542s/:*\${srcdir}:*/:/;
2543s/:*@srcdir@:*/:/;
2544s/^\([^=]*=[ ]*\):*/\1/;
2545s/:*$//;
2546s/^[^=]*=[ ]*$//;
2547}'
2548fi
2549 2981
2550DEFS=-DHAVE_CONFIG_H 2982DEFS=-DHAVE_CONFIG_H
2551 2983
2552ac_libobjs= 2984ac_libobjs=
2553ac_ltlibobjs= 2985ac_ltlibobjs=
2554for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2986for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2555 # 1. Remove the extension, and $U if already installed. 2987 # 1. Remove the extension, and $U if already installed.
2556 ac_i=`echo "$ac_i" |
2557 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 2988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2558 # 2. Add them. 2989 ac_i=`echo "$ac_i" | sed "$ac_script"`
2990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2991 # will be set to the directory where LIBOBJS objects are built.
2559 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 2992 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2560 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 2993 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2561done 2994done
2562LIBOBJS=$ac_libobjs 2995LIBOBJS=$ac_libobjs
2563 2996
2564LTLIBOBJS=$ac_ltlibobjs 2997LTLIBOBJS=$ac_ltlibobjs
2565 2998
2586cat >>$CONFIG_STATUS <<\_ACEOF 3019cat >>$CONFIG_STATUS <<\_ACEOF
2587## --------------------- ## 3020## --------------------- ##
2588## M4sh Initialization. ## 3021## M4sh Initialization. ##
2589## --------------------- ## 3022## --------------------- ##
2590 3023
2591# Be Bourne compatible 3024# Be more Bourne compatible
3025DUALCASE=1; export DUALCASE # for MKS sh
2592if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3026if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2593 emulate sh 3027 emulate sh
2594 NULLCMD=: 3028 NULLCMD=:
2595 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3029 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2596 # is contrary to our usage. Disable this feature. 3030 # is contrary to our usage. Disable this feature.
2597 alias -g '${1+"$@"}'='"$@"' 3031 alias -g '${1+"$@"}'='"$@"'
2598elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3032 setopt NO_GLOB_SUBST
2599 set -o posix
2600fi
2601DUALCASE=1; export DUALCASE # for MKS sh
2602
2603# Support unset when possible.
2604if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2605 as_unset=unset
2606else
2607 as_unset=false
2608fi
2609
2610
2611# Work around bugs in pre-3.0 UWIN ksh.
2612$as_unset ENV MAIL MAILPATH
2613PS1='$ '
2614PS2='> '
2615PS4='+ '
2616
2617# NLS nuisances.
2618for as_var in \
2619 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2620 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2621 LC_TELEPHONE LC_TIME
2622do
2623 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2624 eval $as_var=C; export $as_var
2625 else 3033else
2626 $as_unset $as_var 3034 case `(set -o) 2>/dev/null` in
2627 fi 3035 *posix*) set -o posix ;;
2628done 3036esac
2629 3037
2630# Required to use basename.
2631if expr a : '\(a\)' >/dev/null 2>&1; then
2632 as_expr=expr
2633else
2634 as_expr=false
2635fi 3038fi
2636 3039
2637if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2638 as_basename=basename
2639else
2640 as_basename=false
2641fi
2642 3040
2643 3041
2644# Name of the executable.
2645as_me=`$as_basename "$0" ||
2646$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2647 X"$0" : 'X\(//\)$' \| \
2648 X"$0" : 'X\(/\)$' \| \
2649 . : '\(.\)' 2>/dev/null ||
2650echo X/"$0" |
2651 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2652 /^X\/\(\/\/\)$/{ s//\1/; q; }
2653 /^X\/\(\/\).*/{ s//\1/; q; }
2654 s/.*/./; q'`
2655 3042
2656 3043# PATH needs CR
2657# PATH needs CR, and LINENO needs CR and PATH.
2658# Avoid depending upon Character Ranges. 3044# Avoid depending upon Character Ranges.
2659as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3045as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2660as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3046as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2661as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3047as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2662as_cr_digits='0123456789' 3048as_cr_digits='0123456789'
2673 PATH_SEPARATOR=: 3059 PATH_SEPARATOR=:
2674 fi 3060 fi
2675 rm -f conf$$.sh 3061 rm -f conf$$.sh
2676fi 3062fi
2677 3063
3064# Support unset when possible.
3065if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3066 as_unset=unset
3067else
3068 as_unset=false
3069fi
2678 3070
2679 as_lineno_1=$LINENO 3071
2680 as_lineno_2=$LINENO 3072# IFS
2681 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3073# We need space, tab and new line, in precisely that order. Quoting is
2682 test "x$as_lineno_1" != "x$as_lineno_2" && 3074# there to prevent editors from complaining about space-tab.
2683 test "x$as_lineno_3" = "x$as_lineno_2" || { 3075# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3076# splitting by setting IFS to empty value.)
3077as_nl='
3078'
3079IFS=" "" $as_nl"
3080
2684 # Find who we are. Look in the path if we contain no path at all 3081# Find who we are. Look in the path if we contain no directory separator.
2685 # relative or not.
2686 case $0 in 3082case $0 in
2687 *[\\/]* ) as_myself=$0 ;; 3083 *[\\/]* ) as_myself=$0 ;;
2688 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3084 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689for as_dir in $PATH 3085for as_dir in $PATH
2690do 3086do
2691 IFS=$as_save_IFS 3087 IFS=$as_save_IFS
2692 test -z "$as_dir" && as_dir=. 3088 test -z "$as_dir" && as_dir=.
2693 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3089 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2694done 3090done
3091IFS=$as_save_IFS
2695 3092
2696 ;; 3093 ;;
2697 esac 3094esac
2698 # We did not find ourselves, most probably we were run as `sh COMMAND' 3095# We did not find ourselves, most probably we were run as `sh COMMAND'
2699 # in which case we are not to be found in the path. 3096# in which case we are not to be found in the path.
2700 if test "x$as_myself" = x; then 3097if test "x$as_myself" = x; then
2701 as_myself=$0 3098 as_myself=$0
3099fi
3100if test ! -f "$as_myself"; then
3101 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3102 { (exit 1); exit 1; }
3103fi
3104
3105# Work around bugs in pre-3.0 UWIN ksh.
3106for as_var in ENV MAIL MAILPATH
3107do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3108done
3109PS1='$ '
3110PS2='> '
3111PS4='+ '
3112
3113# NLS nuisances.
3114for as_var in \
3115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3117 LC_TELEPHONE LC_TIME
3118do
3119 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3120 eval $as_var=C; export $as_var
3121 else
3122 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2702 fi 3123 fi
2703 if test ! -f "$as_myself"; then 3124done
2704 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3125
2705echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3126# Required to use basename.
2706 { (exit 1); exit 1; }; } 3127if expr a : '\(a\)' >/dev/null 2>&1 &&
2707 fi 3128 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2708 case $CONFIG_SHELL in 3129 as_expr=expr
2709 '') 3130else
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3131 as_expr=false
2711for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3132fi
2712do 3133
2713 IFS=$as_save_IFS 3134if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2714 test -z "$as_dir" && as_dir=. 3135 as_basename=basename
2715 for as_base in sh bash ksh sh5; do 3136else
2716 case $as_dir in 3137 as_basename=false
2717 /*) 3138fi
2718 if ("$as_dir/$as_base" -c ' 3139
3140
3141# Name of the executable.
3142as_me=`$as_basename -- "$0" ||
3143$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3144 X"$0" : 'X\(//\)$' \| \
3145 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3146echo X/"$0" |
3147 sed '/^.*\/\([^/][^/]*\)\/*$/{
3148 s//\1/
3149 q
3150 }
3151 /^X\/\(\/\/\)$/{
3152 s//\1/
3153 q
3154 }
3155 /^X\/\(\/\).*/{
3156 s//\1/
3157 q
3158 }
3159 s/.*/./; q'`
3160
3161# CDPATH.
3162$as_unset CDPATH
3163
3164
3165
2719 as_lineno_1=$LINENO 3166 as_lineno_1=$LINENO
2720 as_lineno_2=$LINENO 3167 as_lineno_2=$LINENO
2721 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2722 test "x$as_lineno_1" != "x$as_lineno_2" && 3168 test "x$as_lineno_1" != "x$as_lineno_2" &&
2723 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3169 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2724 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2725 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2726 CONFIG_SHELL=$as_dir/$as_base
2727 export CONFIG_SHELL
2728 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2729 fi;;
2730 esac
2731 done
2732done
2733;;
2734 esac
2735 3170
2736 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3171 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2737 # uniformly replaced by the line number. The first 'sed' inserts a 3172 # uniformly replaced by the line number. The first 'sed' inserts a
2738 # line-number line before each line; the second 'sed' does the real 3173 # line-number line after each line using $LINENO; the second 'sed'
2739 # work. The second script uses 'N' to pair each line-number line 3174 # does the real work. The second script uses 'N' to pair each
2740 # with the numbered line, and appends trailing '-' during 3175 # line-number line with the line containing $LINENO, and appends
2741 # substitution so that $LINENO is not a special case at line end. 3176 # trailing '-' during substitution so that $LINENO is not a special
3177 # case at line end.
2742 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2743 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3179 # scripts with optimization help from Paolo Bonzini. Blame Lee
3180 # E. McMahon (1931-1989) for sed's syntax. :-)
3181 sed -n '
3182 p
3183 /[$]LINENO/=
2744 sed '=' <$as_myself | 3184 ' <$as_myself |
2745 sed ' 3185 sed '
3186 s/[$]LINENO.*/&-/
3187 t lineno
3188 b
3189 :lineno
2746 N 3190 N
2747 s,$,-,
2748 : loop 3191 :loop
2749 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3192 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2750 t loop 3193 t loop
2751 s,-$,, 3194 s/-\n.*//
2752 s,^['$as_cr_digits']*\n,,
2753 ' >$as_me.lineno && 3195 ' >$as_me.lineno &&
2754 chmod +x $as_me.lineno || 3196 chmod +x "$as_me.lineno" ||
2755 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2756echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3197 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2757 { (exit 1); exit 1; }; } 3198 { (exit 1); exit 1; }; }
2758 3199
2759 # Don't try to exec as it changes $[0], causing all sort of problems 3200 # Don't try to exec as it changes $[0], causing all sort of problems
2760 # (the dirname of $[0] is not the place where we might find the 3201 # (the dirname of $[0] is not the place where we might find the
2761 # original and so on. Autoconf is especially sensible to this). 3202 # original and so on. Autoconf is especially sensitive to this).
2762 . ./$as_me.lineno 3203 . "./$as_me.lineno"
2763 # Exit status is that of the last command. 3204 # Exit status is that of the last command.
2764 exit 3205 exit
2765} 3206}
2766 3207
2767 3208
2768case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3209if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2769 *c*,-n*) ECHO_N= ECHO_C=' 3210 as_dirname=dirname
2770' ECHO_T=' ' ;; 3211else
2771 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3212 as_dirname=false
2772 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3213fi
3214
3215ECHO_C= ECHO_N= ECHO_T=
3216case `echo -n x` in
3217-n*)
3218 case `echo 'x\c'` in
3219 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3220 *) ECHO_C='\c';;
3221 esac;;
3222*)
3223 ECHO_N='-n';;
2773esac 3224esac
2774 3225
2775if expr a : '\(a\)' >/dev/null 2>&1; then 3226if expr a : '\(a\)' >/dev/null 2>&1 &&
3227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2776 as_expr=expr 3228 as_expr=expr
2777else 3229else
2778 as_expr=false 3230 as_expr=false
2779fi 3231fi
2780 3232
2781rm -f conf$$ conf$$.exe conf$$.file 3233rm -f conf$$ conf$$.exe conf$$.file
3234if test -d conf$$.dir; then
3235 rm -f conf$$.dir/conf$$.file
3236else
3237 rm -f conf$$.dir
3238 mkdir conf$$.dir
3239fi
2782echo >conf$$.file 3240echo >conf$$.file
2783if ln -s conf$$.file conf$$ 2>/dev/null; then 3241if ln -s conf$$.file conf$$ 2>/dev/null; then
2784 # We could just check for DJGPP; but this test a) works b) is more generic 3242 as_ln_s='ln -s'
2785 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3243 # ... but there are two gotchas:
2786 if test -f conf$$.exe; then 3244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2787 # Don't use ln at all; we don't have any links 3245 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3246 # In both cases, we have to default to `cp -p'.
3247 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2788 as_ln_s='cp -p' 3248 as_ln_s='cp -p'
2789 else
2790 as_ln_s='ln -s'
2791 fi
2792elif ln conf$$.file conf$$ 2>/dev/null; then 3249elif ln conf$$.file conf$$ 2>/dev/null; then
2793 as_ln_s=ln 3250 as_ln_s=ln
2794else 3251else
2795 as_ln_s='cp -p' 3252 as_ln_s='cp -p'
2796fi 3253fi
2797rm -f conf$$ conf$$.exe conf$$.file 3254rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3255rmdir conf$$.dir 2>/dev/null
2798 3256
2799if mkdir -p . 2>/dev/null; then 3257if mkdir -p . 2>/dev/null; then
2800 as_mkdir_p=: 3258 as_mkdir_p=:
2801else 3259else
2802 test -d ./-p && rmdir ./-p 3260 test -d ./-p && rmdir ./-p
2803 as_mkdir_p=false 3261 as_mkdir_p=false
2804fi 3262fi
2805 3263
3264if test -x / >/dev/null 2>&1; then
3265 as_test_x='test -x'
3266else
3267 if ls -dL / >/dev/null 2>&1; then
3268 as_ls_L_option=L
3269 else
3270 as_ls_L_option=
3271 fi
3272 as_test_x='
3273 eval sh -c '\''
3274 if test -d "$1"; then
3275 test -d "$1/.";
3276 else
3277 case $1 in
3278 -*)set "./$1";;
3279 esac;
3280 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3281 ???[sx]*):;;*)false;;esac;fi
3282 '\'' sh
3283 '
3284fi
2806as_executable_p="test -f" 3285as_executable_p=$as_test_x
2807 3286
2808# Sed expression to map a string onto a valid CPP name. 3287# Sed expression to map a string onto a valid CPP name.
2809as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3288as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2810 3289
2811# Sed expression to map a string onto a valid variable name. 3290# Sed expression to map a string onto a valid variable name.
2812as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3291as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2813 3292
2814 3293
2815# IFS
2816# We need space, tab and new line, in precisely that order.
2817as_nl='
2818'
2819IFS=" $as_nl"
2820
2821# CDPATH.
2822$as_unset CDPATH
2823
2824exec 6>&1 3294exec 6>&1
2825 3295
2826# Open the log real soon, to keep \$[0] and so on meaningful, and to 3296# Save the log message, to keep $[0] and so on meaningful, and to
2827# report actual input values of CONFIG_FILES etc. instead of their 3297# report actual input values of CONFIG_FILES etc. instead of their
2828# values after options handling. Logging --version etc. is OK. 3298# values after options handling.
2829exec 5>>config.log 3299ac_log="
2830{
2831 echo
2832 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2833## Running $as_me. ##
2834_ASBOX
2835} >&5
2836cat >&5 <<_CSEOF
2837
2838This file was extended by $as_me, which was 3300This file was extended by $as_me, which was
2839generated by GNU Autoconf 2.59. Invocation command line was 3301generated by GNU Autoconf 2.61. Invocation command line was
2840 3302
2841 CONFIG_FILES = $CONFIG_FILES 3303 CONFIG_FILES = $CONFIG_FILES
2842 CONFIG_HEADERS = $CONFIG_HEADERS 3304 CONFIG_HEADERS = $CONFIG_HEADERS
2843 CONFIG_LINKS = $CONFIG_LINKS 3305 CONFIG_LINKS = $CONFIG_LINKS
2844 CONFIG_COMMANDS = $CONFIG_COMMANDS 3306 CONFIG_COMMANDS = $CONFIG_COMMANDS
2845 $ $0 $@ 3307 $ $0 $@
2846 3308
2847_CSEOF
2848echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3309on `(hostname || uname -n) 2>/dev/null | sed 1q`
2849echo >&5 3310"
2850_ACEOF
2851 3311
3312_ACEOF
3313
3314cat >>$CONFIG_STATUS <<_ACEOF
2852# Files that config.status was made for. 3315# Files that config.status was made for.
2853if test -n "$ac_config_files"; then 3316config_headers="$ac_config_headers"
2854 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2855fi
2856 3317
2857if test -n "$ac_config_headers"; then 3318_ACEOF
2858 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2859fi
2860
2861if test -n "$ac_config_links"; then
2862 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2863fi
2864
2865if test -n "$ac_config_commands"; then
2866 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2867fi
2868 3319
2869cat >>$CONFIG_STATUS <<\_ACEOF 3320cat >>$CONFIG_STATUS <<\_ACEOF
2870
2871ac_cs_usage="\ 3321ac_cs_usage="\
2872\`$as_me' instantiates files from templates according to the 3322\`$as_me' instantiates files from templates according to the
2873current configuration. 3323current configuration.
2874 3324
2875Usage: $0 [OPTIONS] [FILE]... 3325Usage: $0 [OPTIONS] [FILE]...
2876 3326
2877 -h, --help print this help, then exit 3327 -h, --help print this help, then exit
2878 -V, --version print version number, then exit 3328 -V, --version print version number and configuration settings, then exit
2879 -q, --quiet do not print progress messages 3329 -q, --quiet do not print progress messages
2880 -d, --debug don't remove temporary files 3330 -d, --debug don't remove temporary files
2881 --recheck update $as_me by reconfiguring in the same conditions 3331 --recheck update $as_me by reconfiguring in the same conditions
2882 --header=FILE[:TEMPLATE] 3332 --header=FILE[:TEMPLATE]
2883 instantiate the configuration header FILE 3333 instantiate the configuration header FILE
2884 3334
2885Configuration headers: 3335Configuration headers:
2886$config_headers 3336$config_headers
2887 3337
2888Report bugs to <bug-autoconf@gnu.org>." 3338Report bugs to <bug-autoconf@gnu.org>."
2889_ACEOF
2890 3339
3340_ACEOF
2891cat >>$CONFIG_STATUS <<_ACEOF 3341cat >>$CONFIG_STATUS <<_ACEOF
2892ac_cs_version="\\ 3342ac_cs_version="\\
2893config.status 3343config.status
2894configured by $0, generated by GNU Autoconf 2.59, 3344configured by $0, generated by GNU Autoconf 2.61,
2895 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3345 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2896 3346
2897Copyright (C) 2003 Free Software Foundation, Inc. 3347Copyright (C) 2006 Free Software Foundation, Inc.
2898This config.status script is free software; the Free Software Foundation 3348This config.status script is free software; the Free Software Foundation
2899gives unlimited permission to copy, distribute and modify it." 3349gives unlimited permission to copy, distribute and modify it."
3350
3351ac_pwd='$ac_pwd'
2900srcdir=$srcdir 3352srcdir='$srcdir'
2901_ACEOF 3353_ACEOF
2902 3354
2903cat >>$CONFIG_STATUS <<\_ACEOF 3355cat >>$CONFIG_STATUS <<\_ACEOF
2904# If no file are specified by the user, then we need to provide default 3356# If no file are specified by the user, then we need to provide default
2905# value. By we need to know if files were specified by the user. 3357# value. By we need to know if files were specified by the user.
2906ac_need_defaults=: 3358ac_need_defaults=:
2907while test $# != 0 3359while test $# != 0
2908do 3360do
2909 case $1 in 3361 case $1 in
2910 --*=*) 3362 --*=*)
2911 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3363 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2912 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3364 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2913 ac_shift=: 3365 ac_shift=:
2914 ;; 3366 ;;
2915 -*) 3367 *)
2916 ac_option=$1 3368 ac_option=$1
2917 ac_optarg=$2 3369 ac_optarg=$2
2918 ac_shift=shift 3370 ac_shift=shift
2919 ;; 3371 ;;
2920 *) # This is not an option, so the user has probably given explicit
2921 # arguments.
2922 ac_option=$1
2923 ac_need_defaults=false;;
2924 esac 3372 esac
2925 3373
2926 case $ac_option in 3374 case $ac_option in
2927 # Handling of the options. 3375 # Handling of the options.
2928_ACEOF
2929cat >>$CONFIG_STATUS <<\_ACEOF
2930 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2931 ac_cs_recheck=: ;; 3377 ac_cs_recheck=: ;;
2932 --version | --vers* | -V ) 3378 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2933 echo "$ac_cs_version"; exit 0 ;; 3379 echo "$ac_cs_version"; exit ;;
2934 --he | --h) 3380 --debug | --debu | --deb | --de | --d | -d )
2935 # Conflict between --help and --header
2936 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2937Try \`$0 --help' for more information." >&5
2938echo "$as_me: error: ambiguous option: $1
2939Try \`$0 --help' for more information." >&2;}
2940 { (exit 1); exit 1; }; };;
2941 --help | --hel | -h )
2942 echo "$ac_cs_usage"; exit 0 ;;
2943 --debug | --d* | -d )
2944 debug=: ;; 3381 debug=: ;;
2945 --file | --fil | --fi | --f )
2946 $ac_shift
2947 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2948 ac_need_defaults=false;;
2949 --header | --heade | --head | --hea ) 3382 --header | --heade | --head | --hea )
2950 $ac_shift 3383 $ac_shift
2951 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3384 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2952 ac_need_defaults=false;; 3385 ac_need_defaults=false;;
3386 --he | --h)
3387 # Conflict between --help and --header
3388 { echo "$as_me: error: ambiguous option: $1
3389Try \`$0 --help' for more information." >&2
3390 { (exit 1); exit 1; }; };;
3391 --help | --hel | -h )
3392 echo "$ac_cs_usage"; exit ;;
2953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2954 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2955 ac_cs_silent=: ;; 3395 ac_cs_silent=: ;;
2956 3396
2957 # This is an error. 3397 # This is an error.
2958 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2959Try \`$0 --help' for more information." >&5
2960echo "$as_me: error: unrecognized option: $1 3398 -*) { echo "$as_me: error: unrecognized option: $1
2961Try \`$0 --help' for more information." >&2;} 3399Try \`$0 --help' for more information." >&2
2962 { (exit 1); exit 1; }; } ;; 3400 { (exit 1); exit 1; }; } ;;
2963 3401
2964 *) ac_config_targets="$ac_config_targets $1" ;; 3402 *) ac_config_targets="$ac_config_targets $1"
3403 ac_need_defaults=false ;;
2965 3404
2966 esac 3405 esac
2967 shift 3406 shift
2968done 3407done
2969 3408
2975fi 3414fi
2976 3415
2977_ACEOF 3416_ACEOF
2978cat >>$CONFIG_STATUS <<_ACEOF 3417cat >>$CONFIG_STATUS <<_ACEOF
2979if \$ac_cs_recheck; then 3418if \$ac_cs_recheck; then
2980 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3419 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3420 CONFIG_SHELL=$SHELL
3421 export CONFIG_SHELL
2981 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3422 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2982fi 3423fi
2983 3424
2984_ACEOF 3425_ACEOF
2985
2986
2987
2988
2989
2990cat >>$CONFIG_STATUS <<\_ACEOF 3426cat >>$CONFIG_STATUS <<\_ACEOF
3427exec 5>>config.log
3428{
3429 echo
3430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3431## Running $as_me. ##
3432_ASBOX
3433 echo "$ac_log"
3434} >&5
3435
3436_ACEOF
3437cat >>$CONFIG_STATUS <<_ACEOF
3438_ACEOF
3439
3440cat >>$CONFIG_STATUS <<\_ACEOF
3441
3442# Handling of arguments.
2991for ac_config_target in $ac_config_targets 3443for ac_config_target in $ac_config_targets
2992do 3444do
2993 case "$ac_config_target" in 3445 case $ac_config_target in
2994 # Handling of arguments.
2995 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3446 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3447
2996 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2997echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3449echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2998 { (exit 1); exit 1; }; };; 3450 { (exit 1); exit 1; }; };;
2999 esac 3451 esac
3000done 3452done
3453
3001 3454
3002# If the user did not use the arguments to specify the items to instantiate, 3455# If the user did not use the arguments to specify the items to instantiate,
3003# then the envvar interface is used. Set only those that are not. 3456# then the envvar interface is used. Set only those that are not.
3004# We use the long form for the default assignment because of an extremely 3457# We use the long form for the default assignment because of an extremely
3005# bizarre bug on SunOS 4.1.3. 3458# bizarre bug on SunOS 4.1.3.
3006if $ac_need_defaults; then 3459if $ac_need_defaults; then
3007 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3008fi 3461fi
3009 3462
3010# Have a temporary directory for convenience. Make it in the build tree 3463# Have a temporary directory for convenience. Make it in the build tree
3011# simply because there is no reason to put it here, and in addition, 3464# simply because there is no reason against having it here, and in addition,
3012# creating and moving files from /tmp can sometimes cause problems. 3465# creating and moving files from /tmp can sometimes cause problems.
3013# Create a temporary directory, and hook for its removal unless debugging. 3466# Hook for its removal unless debugging.
3467# Note that there is a small window in which the directory will not be cleaned:
3468# after its creation but before its name has been assigned to `$tmp'.
3014$debug || 3469$debug ||
3015{ 3470{
3016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3471 tmp=
3472 trap 'exit_status=$?
3473 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3474' 0
3017 trap '{ (exit 1); exit 1; }' 1 2 13 15 3475 trap '{ (exit 1); exit 1; }' 1 2 13 15
3018} 3476}
3019
3020# Create a (secure) tmp directory for tmp files. 3477# Create a (secure) tmp directory for tmp files.
3021 3478
3022{ 3479{
3023 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3480 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3024 test -n "$tmp" && test -d "$tmp" 3481 test -n "$tmp" && test -d "$tmp"
3025} || 3482} ||
3026{ 3483{
3027 tmp=./confstat$$-$RANDOM 3484 tmp=./conf$$-$RANDOM
3028 (umask 077 && mkdir $tmp) 3485 (umask 077 && mkdir "$tmp")
3029} || 3486} ||
3030{ 3487{
3031 echo "$me: cannot create a temporary directory in ." >&2 3488 echo "$me: cannot create a temporary directory in ." >&2
3032 { (exit 1); exit 1; } 3489 { (exit 1); exit 1; }
3033} 3490}
3034 3491
3035_ACEOF
3036 3492
3037cat >>$CONFIG_STATUS <<\_ACEOF 3493for ac_tag in :H $CONFIG_HEADERS
3494do
3495 case $ac_tag in
3496 :[FHLC]) ac_mode=$ac_tag; continue;;
3497 esac
3498 case $ac_mode$ac_tag in
3499 :[FHL]*:*);;
3500 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3501echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3502 { (exit 1); exit 1; }; };;
3503 :[FH]-) ac_tag=-:-;;
3504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3505 esac
3506 ac_save_IFS=$IFS
3507 IFS=:
3508 set x $ac_tag
3509 IFS=$ac_save_IFS
3510 shift
3511 ac_file=$1
3512 shift
3038 3513
3039# 3514 case $ac_mode in
3040# CONFIG_HEADER section. 3515 :L) ac_source=$1;;
3041# 3516 :[FH])
3517 ac_file_inputs=
3518 for ac_f
3519 do
3520 case $ac_f in
3521 -) ac_f="$tmp/stdin";;
3522 *) # Look for the file first in the build tree, then in the source tree
3523 # (if the path is not absolute). The absolute path cannot be DOS-style,
3524 # because $ac_f cannot contain `:'.
3525 test -f "$ac_f" ||
3526 case $ac_f in
3527 [\\/$]*) false;;
3528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3529 esac ||
3530 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3531echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3532 { (exit 1); exit 1; }; };;
3533 esac
3534 ac_file_inputs="$ac_file_inputs $ac_f"
3535 done
3042 3536
3537 # Let's still pretend it is `configure' which instantiates (i.e., don't
3538 # use $as_me), people would be surprised to read:
3539 # /* config.h. Generated by config.status. */
3540 configure_input="Generated from "`IFS=:
3541 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3542 if test x"$ac_file" != x-; then
3543 configure_input="$ac_file. $configure_input"
3544 { echo "$as_me:$LINENO: creating $ac_file" >&5
3545echo "$as_me: creating $ac_file" >&6;}
3546 fi
3547
3548 case $ac_tag in
3549 *:-:* | *:-) cat >"$tmp/stdin";;
3550 esac
3551 ;;
3552 esac
3553
3554 ac_dir=`$as_dirname -- "$ac_file" ||
3555$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3556 X"$ac_file" : 'X\(//\)[^/]' \| \
3557 X"$ac_file" : 'X\(//\)$' \| \
3558 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3559echo X"$ac_file" |
3560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3561 s//\1/
3562 q
3563 }
3564 /^X\(\/\/\)[^/].*/{
3565 s//\1/
3566 q
3567 }
3568 /^X\(\/\/\)$/{
3569 s//\1/
3570 q
3571 }
3572 /^X\(\/\).*/{
3573 s//\1/
3574 q
3575 }
3576 s/.*/./; q'`
3577 { as_dir="$ac_dir"
3578 case $as_dir in #(
3579 -*) as_dir=./$as_dir;;
3580 esac
3581 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3582 as_dirs=
3583 while :; do
3584 case $as_dir in #(
3585 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3586 *) as_qdir=$as_dir;;
3587 esac
3588 as_dirs="'$as_qdir' $as_dirs"
3589 as_dir=`$as_dirname -- "$as_dir" ||
3590$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3591 X"$as_dir" : 'X\(//\)[^/]' \| \
3592 X"$as_dir" : 'X\(//\)$' \| \
3593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3594echo X"$as_dir" |
3595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3596 s//\1/
3597 q
3598 }
3599 /^X\(\/\/\)[^/].*/{
3600 s//\1/
3601 q
3602 }
3603 /^X\(\/\/\)$/{
3604 s//\1/
3605 q
3606 }
3607 /^X\(\/\).*/{
3608 s//\1/
3609 q
3610 }
3611 s/.*/./; q'`
3612 test -d "$as_dir" && break
3613 done
3614 test -z "$as_dirs" || eval "mkdir $as_dirs"
3615 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3616echo "$as_me: error: cannot create directory $as_dir" >&2;}
3617 { (exit 1); exit 1; }; }; }
3618 ac_builddir=.
3619
3620case "$ac_dir" in
3621.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3622*)
3623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3624 # A ".." for each directory in $ac_dir_suffix.
3625 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3626 case $ac_top_builddir_sub in
3627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3629 esac ;;
3630esac
3631ac_abs_top_builddir=$ac_pwd
3632ac_abs_builddir=$ac_pwd$ac_dir_suffix
3633# for backward compatibility:
3634ac_top_builddir=$ac_top_build_prefix
3635
3636case $srcdir in
3637 .) # We are building in place.
3638 ac_srcdir=.
3639 ac_top_srcdir=$ac_top_builddir_sub
3640 ac_abs_top_srcdir=$ac_pwd ;;
3641 [\\/]* | ?:[\\/]* ) # Absolute name.
3642 ac_srcdir=$srcdir$ac_dir_suffix;
3643 ac_top_srcdir=$srcdir
3644 ac_abs_top_srcdir=$srcdir ;;
3645 *) # Relative name.
3646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3647 ac_top_srcdir=$ac_top_build_prefix$srcdir
3648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3649esac
3650ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3651
3652
3653 case $ac_mode in
3654
3655 :H)
3656 #
3657 # CONFIG_HEADER
3658 #
3659_ACEOF
3660
3661# Transform confdefs.h into a sed script `conftest.defines', that
3662# substitutes the proper values into config.h.in to produce config.h.
3663rm -f conftest.defines conftest.tail
3664# First, append a space to every undef/define line, to ease matching.
3665echo 's/$/ /' >conftest.defines
3666# Then, protect against being on the right side of a sed subst, or in
3667# an unquoted here document, in config.status. If some macros were
3668# called several times there might be several #defines for the same
3669# symbol, which is useless. But do not sort them, since the last
3670# AC_DEFINE must be honored.
3671ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3043# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 3672# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3044# NAME is the cpp macro being defined and VALUE is the value it is being given. 3673# NAME is the cpp macro being defined, VALUE is the value it is being given.
3045# 3674# PARAMS is the parameter list in the macro definition--in most cases, it's
3046# ac_d sets the value in "#define NAME VALUE" lines. 3675# just an empty string.
3047ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 3676ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3048ac_dB='[ ].*$,\1#\2' 3677ac_dB='\\)[ (].*,\\1define\\2'
3049ac_dC=' ' 3678ac_dC=' '
3050ac_dD=',;t' 3679ac_dD=' ,'
3051# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3052ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3053ac_uB='$,\1#\2define\3'
3054ac_uC=' '
3055ac_uD=',;t'
3056 3680
3057for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 3681uniq confdefs.h |
3058 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3682 sed -n '
3059 case $ac_file in 3683 t rset
3060 - | *:- | *:-:* ) # input from stdin 3684 :rset
3061 cat >$tmp/stdin 3685 s/^[ ]*#[ ]*define[ ][ ]*//
3062 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3686 t ok
3063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3687 d
3064 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3688 :ok
3065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3066 * ) ac_file_in=$ac_file.in ;;
3067 esac
3068
3069 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3070echo "$as_me: creating $ac_file" >&6;}
3071
3072 # First look for the input files in the build tree, otherwise in the
3073 # src tree.
3074 ac_file_inputs=`IFS=:
3075 for f in $ac_file_in; do
3076 case $f in
3077 -) echo $tmp/stdin ;;
3078 [\\/$]*)
3079 # Absolute (can't be DOS-style, as IFS=:)
3080 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3081echo "$as_me: error: cannot find input file: $f" >&2;}
3082 { (exit 1); exit 1; }; }
3083 # Do quote $f, to prevent DOS paths from being IFS'd.
3084 echo "$f";;
3085 *) # Relative
3086 if test -f "$f"; then
3087 # Build tree
3088 echo "$f"
3089 elif test -f "$srcdir/$f"; then
3090 # Source tree
3091 echo "$srcdir/$f"
3092 else
3093 # /dev/null tree
3094 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3095echo "$as_me: error: cannot find input file: $f" >&2;}
3096 { (exit 1); exit 1; }; }
3097 fi;;
3098 esac
3099 done` || { (exit 1); exit 1; }
3100 # Remove the trailing spaces.
3101 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3102
3103_ACEOF
3104
3105# Transform confdefs.h into two sed scripts, `conftest.defines' and
3106# `conftest.undefs', that substitutes the proper values into
3107# config.h.in to produce config.h. The first handles `#define'
3108# templates, and the second `#undef' templates.
3109# And first: Protect against being on the right side of a sed subst in
3110# config.status. Protect against being in an unquoted here document
3111# in config.status.
3112rm -f conftest.defines conftest.undefs
3113# Using a here document instead of a string reduces the quoting nightmare.
3114# Putting comments in sed scripts is not portable.
3115#
3116# `end' is used to avoid that the second main sed command (meant for
3117# 0-ary CPP macros) applies to n-ary macro definitions.
3118# See the Autoconf documentation for `clear'.
3119cat >confdef2sed.sed <<\_ACEOF
3120s/[\\&,]/\\&/g 3689 s/[\\&,]/\\&/g
3121s,[\\$`],\\&,g 3690 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3122t clear 3691 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3123: clear 3692 ' >>conftest.defines
3124s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3125t end
3126s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3127: end
3128_ACEOF
3129# If some macros were called several times there might be several times
3130# the same #defines, which is useless. Nevertheless, we may not want to
3131# sort them, since we want the *last* AC-DEFINE to be honored.
3132uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3133sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3134rm -f confdef2sed.sed
3135 3693
3694# Remove the space that was appended to ease matching.
3136# This sed command replaces #undef with comments. This is necessary, for 3695# Then replace #undef with comments. This is necessary, for
3137# example, in the case of _POSIX_SOURCE, which is predefined and required 3696# example, in the case of _POSIX_SOURCE, which is predefined and required
3138# on some systems where configure will not decide to define it. 3697# on some systems where configure will not decide to define it.
3139cat >>conftest.undefs <<\_ACEOF 3698# (The regexp can be short, since the line contains either #define or #undef.)
3140s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 3699echo 's/ $//
3141_ACEOF 3700s,^[ #]*u.*,/* & */,' >>conftest.defines
3142 3701
3143# Break up conftest.defines because some shells have a limit on the size 3702# Break up conftest.defines:
3144# of here documents, and old seds have small limits too (100 cmds). 3703ac_max_sed_lines=50
3145echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 3704
3146echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 3705# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3147echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 3706# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3148echo ' :' >>$CONFIG_STATUS 3707# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3149rm -f conftest.tail 3708# et cetera.
3150while grep . conftest.defines >/dev/null 3709ac_in='$ac_file_inputs'
3710ac_out='"$tmp/out1"'
3711ac_nxt='"$tmp/out2"'
3712
3713while :
3151do 3714do
3152 # Write a limited-size here document to $tmp/defines.sed. 3715 # Write a here document:
3153 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 3716 cat >>$CONFIG_STATUS <<_ACEOF
3154 # Speed up: don't consider the non `#define' lines. 3717 # First, check the format of the line:
3155 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 3718 cat >"\$tmp/defines.sed" <<\\CEOF
3156 # Work around the forget-to-reset-the-flag bug. 3719/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3157 echo 't clr' >>$CONFIG_STATUS 3720/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3158 echo ': clr' >>$CONFIG_STATUS 3721b
3722:def
3723_ACEOF
3159 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 3724 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3160 echo 'CEOF 3725 echo 'CEOF
3161 sed -f $tmp/defines.sed $tmp/in >$tmp/out 3726 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3162 rm -f $tmp/in 3727 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3163 mv $tmp/out $tmp/in
3164' >>$CONFIG_STATUS
3165 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 3728 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3729 grep . conftest.tail >/dev/null || break
3166 rm -f conftest.defines 3730 rm -f conftest.defines
3167 mv conftest.tail conftest.defines 3731 mv conftest.tail conftest.defines
3168done 3732done
3169rm -f conftest.defines 3733rm -f conftest.defines conftest.tail
3170echo ' fi # grep' >>$CONFIG_STATUS
3171echo >>$CONFIG_STATUS
3172 3734
3173# Break up conftest.undefs because some shells have a limit on the size 3735echo "ac_result=$ac_in" >>$CONFIG_STATUS
3174# of here documents, and old seds have small limits too (100 cmds).
3175echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3176rm -f conftest.tail
3177while grep . conftest.undefs >/dev/null
3178do
3179 # Write a limited-size here document to $tmp/undefs.sed.
3180 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3181 # Speed up: don't consider the non `#undef'
3182 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3183 # Work around the forget-to-reset-the-flag bug.
3184 echo 't clr' >>$CONFIG_STATUS
3185 echo ': clr' >>$CONFIG_STATUS
3186 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3187 echo 'CEOF
3188 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3189 rm -f $tmp/in
3190 mv $tmp/out $tmp/in
3191' >>$CONFIG_STATUS
3192 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3193 rm -f conftest.undefs
3194 mv conftest.tail conftest.undefs
3195done
3196rm -f conftest.undefs
3197
3198cat >>$CONFIG_STATUS <<\_ACEOF 3736cat >>$CONFIG_STATUS <<\_ACEOF
3199 # Let's still pretend it is `configure' which instantiates (i.e., don't
3200 # use $as_me), people would be surprised to read:
3201 # /* config.h. Generated by config.status. */
3202 if test x"$ac_file" = x-; then
3203 echo "/* Generated by configure. */" >$tmp/config.h
3204 else
3205 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3206 fi
3207 cat $tmp/in >>$tmp/config.h
3208 rm -f $tmp/in
3209 if test x"$ac_file" != x-; then 3737 if test x"$ac_file" != x-; then
3738 echo "/* $configure_input */" >"$tmp/config.h"
3739 cat "$ac_result" >>"$tmp/config.h"
3210 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 3740 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3211 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 3741 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3212echo "$as_me: $ac_file is unchanged" >&6;} 3742echo "$as_me: $ac_file is unchanged" >&6;}
3213 else 3743 else
3214 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3215$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3216 X"$ac_file" : 'X\(//\)[^/]' \| \
3217 X"$ac_file" : 'X\(//\)$' \| \
3218 X"$ac_file" : 'X\(/\)' \| \
3219 . : '\(.\)' 2>/dev/null ||
3220echo X"$ac_file" |
3221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3223 /^X\(\/\/\)$/{ s//\1/; q; }
3224 /^X\(\/\).*/{ s//\1/; q; }
3225 s/.*/./; q'`
3226 { if $as_mkdir_p; then
3227 mkdir -p "$ac_dir"
3228 else
3229 as_dir="$ac_dir"
3230 as_dirs=
3231 while test ! -d "$as_dir"; do
3232 as_dirs="$as_dir $as_dirs"
3233 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3234$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$as_dir" : 'X\(//\)[^/]' \| \
3236 X"$as_dir" : 'X\(//\)$' \| \
3237 X"$as_dir" : 'X\(/\)' \| \
3238 . : '\(.\)' 2>/dev/null ||
3239echo X"$as_dir" |
3240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3242 /^X\(\/\/\)$/{ s//\1/; q; }
3243 /^X\(\/\).*/{ s//\1/; q; }
3244 s/.*/./; q'`
3245 done
3246 test ! -n "$as_dirs" || mkdir $as_dirs
3247 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3248echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3249 { (exit 1); exit 1; }; }; }
3250
3251 rm -f $ac_file 3744 rm -f $ac_file
3252 mv $tmp/config.h $ac_file 3745 mv "$tmp/config.h" $ac_file
3253 fi 3746 fi
3254 else 3747 else
3255 cat $tmp/config.h 3748 echo "/* $configure_input */"
3256 rm -f $tmp/config.h 3749 cat "$ac_result"
3257 fi 3750 fi
3258done 3751 rm -f "$tmp/out12"
3259_ACEOF 3752 ;;
3260 3753
3261cat >>$CONFIG_STATUS <<\_ACEOF 3754
3755 esac
3756
3757done # for ac_tag
3758
3262 3759
3263{ (exit 0); exit 0; } 3760{ (exit 0); exit 0; }
3264_ACEOF 3761_ACEOF
3265chmod +x $CONFIG_STATUS 3762chmod +x $CONFIG_STATUS
3266ac_clean_files=$ac_clean_files_save 3763ac_clean_files=$ac_clean_files_save

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines