ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/autoconf/configure
Revision: 1.8
Committed: Sat May 10 18:06:41 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +0 -0 lines
State: FILE REMOVED
Log Message:
*** empty log message ***

File Contents

# Content
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" "" $as_nl"
69
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82 ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
88 fi
89 if 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; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for 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
107 do
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
112 fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo 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
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
159 fi
160
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
164 }
165 as_func_success () {
166 as_func_return 0
167 }
168 as_func_failure () {
169 as_func_return 1
170 }
171 as_func_ret_success () {
172 return 0
173 }
174 as_func_ret_failure () {
175 return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180 :
181 else
182 exitcode=1
183 echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192 :
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205 else
206 exitcode=1
207 echo positional parameters were not saved.
208 fi
209
210 test \$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 :
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
227 /*)
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
232 done
233 IFS=$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
240 if 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
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
251
252 fi
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
261 if 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
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278 (exit $1)
279 }
280 as_func_success () {
281 as_func_return 0
282 }
283 as_func_failure () {
284 as_func_return 1
285 }
286 as_func_ret_success () {
287 return 0
288 }
289 as_func_ret_failure () {
290 return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295 :
296 else
297 exitcode=1
298 echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307 :
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320 else
321 exitcode=1
322 echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335 break
336 fi
337
338 fi
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
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
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; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367 (exit \$1)
368 }
369 as_func_success () {
370 as_func_return 0
371 }
372 as_func_failure () {
373 as_func_return 1
374 }
375 as_func_ret_success () {
376 return 0
377 }
378 as_func_ret_failure () {
379 return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384 :
385 else
386 exitcode=1
387 echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396 :
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409 else
410 exitcode=1
411 echo positional parameters were not saved.
412 fi
413
414 test \$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" || {
427
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
447 N
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
456
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `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';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
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 ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
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 '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_subst_vars='SHELL
580 PATH_SEPARATOR
581 PACKAGE_NAME
582 PACKAGE_TARNAME
583 PACKAGE_VERSION
584 PACKAGE_STRING
585 PACKAGE_BUGREPORT
586 exec_prefix
587 prefix
588 program_transform_name
589 bindir
590 sbindir
591 libexecdir
592 datarootdir
593 datadir
594 sysconfdir
595 sharedstatedir
596 localstatedir
597 includedir
598 oldincludedir
599 docdir
600 infodir
601 htmldir
602 dvidir
603 pdfdir
604 psdir
605 libdir
606 localedir
607 mandir
608 DEFS
609 ECHO_C
610 ECHO_N
611 ECHO_T
612 LIBS
613 build_alias
614 host_alias
615 target_alias
616 CC
617 CFLAGS
618 LDFLAGS
619 CPPFLAGS
620 ac_ct_CC
621 EXEEXT
622 OBJEXT
623 LIBOBJS
624 LTLIBOBJS'
625 ac_subst_files=''
626 ac_precious_vars='build_alias
627 host_alias
628 target_alias
629 CC
630 CFLAGS
631 LDFLAGS
632 LIBS
633 CPPFLAGS'
634
635
636 # Initialize some variables set by options.
637 ac_init_help=
638 ac_init_version=false
639 # The variables have the same names as the options, with
640 # dashes changed to underlines.
641 cache_file=/dev/null
642 exec_prefix=NONE
643 no_create=
644 no_recursion=
645 prefix=NONE
646 program_prefix=NONE
647 program_suffix=NONE
648 program_transform_name=s,x,x,
649 silent=
650 site=
651 srcdir=
652 verbose=
653 x_includes=NONE
654 x_libraries=NONE
655
656 # Installation directory options.
657 # These are left unexpanded so users can "make install exec_prefix=/foo"
658 # and all the variables that are supposed to be based on exec_prefix
659 # by default will actually change.
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.)
662 bindir='${exec_prefix}/bin'
663 sbindir='${exec_prefix}/sbin'
664 libexecdir='${exec_prefix}/libexec'
665 datarootdir='${prefix}/share'
666 datadir='${datarootdir}'
667 sysconfdir='${prefix}/etc'
668 sharedstatedir='${prefix}/com'
669 localstatedir='${prefix}/var'
670 includedir='${prefix}/include'
671 oldincludedir='/usr/include'
672 docdir='${datarootdir}/doc/${PACKAGE}'
673 infodir='${datarootdir}/info'
674 htmldir='${docdir}'
675 dvidir='${docdir}'
676 pdfdir='${docdir}'
677 psdir='${docdir}'
678 libdir='${exec_prefix}/lib'
679 localedir='${datarootdir}/locale'
680 mandir='${datarootdir}/man'
681
682 ac_prev=
683 ac_dashdash=
684 for ac_option
685 do
686 # If the previous option needs an argument, assign it.
687 if test -n "$ac_prev"; then
688 eval $ac_prev=\$ac_option
689 ac_prev=
690 continue
691 fi
692
693 case $ac_option in
694 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 *) ac_optarg=yes ;;
696 esac
697
698 # Accept the important Cygnus configure options, so we can diagnose typos.
699
700 case $ac_dashdash$ac_option in
701 --)
702 ac_dashdash=yes ;;
703
704 -bindir | --bindir | --bindi | --bind | --bin | --bi)
705 ac_prev=bindir ;;
706 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
707 bindir=$ac_optarg ;;
708
709 -build | --build | --buil | --bui | --bu)
710 ac_prev=build_alias ;;
711 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
712 build_alias=$ac_optarg ;;
713
714 -cache-file | --cache-file | --cache-fil | --cache-fi \
715 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
716 ac_prev=cache_file ;;
717 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
718 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
719 cache_file=$ac_optarg ;;
720
721 --config-cache | -C)
722 cache_file=config.cache ;;
723
724 -datadir | --datadir | --datadi | --datad)
725 ac_prev=datadir ;;
726 -datadir=* | --datadir=* | --datadi=* | --datad=*)
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 ;;
735
736 -disable-* | --disable-*)
737 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
741 { (exit 1); exit 1; }; }
742 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
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 ;;
754
755 -enable-* | --enable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762 eval enable_$ac_feature=\$ac_optarg ;;
763
764 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
765 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
766 | --exec | --exe | --ex)
767 ac_prev=exec_prefix ;;
768 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
769 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
770 | --exec=* | --exe=* | --ex=*)
771 exec_prefix=$ac_optarg ;;
772
773 -gas | --gas | --ga | --g)
774 # Obsolete; use --with-gas.
775 with_gas=yes ;;
776
777 -help | --help | --hel | --he | -h)
778 ac_init_help=long ;;
779 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
780 ac_init_help=recursive ;;
781 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
782 ac_init_help=short ;;
783
784 -host | --host | --hos | --ho)
785 ac_prev=host_alias ;;
786 -host=* | --host=* | --hos=* | --ho=*)
787 host_alias=$ac_optarg ;;
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
795 -includedir | --includedir | --includedi | --included | --include \
796 | --includ | --inclu | --incl | --inc)
797 ac_prev=includedir ;;
798 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
799 | --includ=* | --inclu=* | --incl=* | --inc=*)
800 includedir=$ac_optarg ;;
801
802 -infodir | --infodir | --infodi | --infod | --info | --inf)
803 ac_prev=infodir ;;
804 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
805 infodir=$ac_optarg ;;
806
807 -libdir | --libdir | --libdi | --libd)
808 ac_prev=libdir ;;
809 -libdir=* | --libdir=* | --libdi=* | --libd=*)
810 libdir=$ac_optarg ;;
811
812 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
813 | --libexe | --libex | --libe)
814 ac_prev=libexecdir ;;
815 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
816 | --libexe=* | --libex=* | --libe=*)
817 libexecdir=$ac_optarg ;;
818
819 -localedir | --localedir | --localedi | --localed | --locale)
820 ac_prev=localedir ;;
821 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
822 localedir=$ac_optarg ;;
823
824 -localstatedir | --localstatedir | --localstatedi | --localstated \
825 | --localstate | --localstat | --localsta | --localst | --locals)
826 ac_prev=localstatedir ;;
827 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
828 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
829 localstatedir=$ac_optarg ;;
830
831 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
832 ac_prev=mandir ;;
833 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
834 mandir=$ac_optarg ;;
835
836 -nfp | --nfp | --nf)
837 # Obsolete; use --without-fp.
838 with_fp=no ;;
839
840 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
841 | --no-cr | --no-c | -n)
842 no_create=yes ;;
843
844 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
845 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
846 no_recursion=yes ;;
847
848 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
849 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
850 | --oldin | --oldi | --old | --ol | --o)
851 ac_prev=oldincludedir ;;
852 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
853 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
854 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
855 oldincludedir=$ac_optarg ;;
856
857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
858 ac_prev=prefix ;;
859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
860 prefix=$ac_optarg ;;
861
862 -program-prefix | --program-prefix | --program-prefi | --program-pref \
863 | --program-pre | --program-pr | --program-p)
864 ac_prev=program_prefix ;;
865 -program-prefix=* | --program-prefix=* | --program-prefi=* \
866 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
867 program_prefix=$ac_optarg ;;
868
869 -program-suffix | --program-suffix | --program-suffi | --program-suff \
870 | --program-suf | --program-su | --program-s)
871 ac_prev=program_suffix ;;
872 -program-suffix=* | --program-suffix=* | --program-suffi=* \
873 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
874 program_suffix=$ac_optarg ;;
875
876 -program-transform-name | --program-transform-name \
877 | --program-transform-nam | --program-transform-na \
878 | --program-transform-n | --program-transform- \
879 | --program-transform | --program-transfor \
880 | --program-transfo | --program-transf \
881 | --program-trans | --program-tran \
882 | --progr-tra | --program-tr | --program-t)
883 ac_prev=program_transform_name ;;
884 -program-transform-name=* | --program-transform-name=* \
885 | --program-transform-nam=* | --program-transform-na=* \
886 | --program-transform-n=* | --program-transform-=* \
887 | --program-transform=* | --program-transfor=* \
888 | --program-transfo=* | --program-transf=* \
889 | --program-trans=* | --program-tran=* \
890 | --progr-tra=* | --program-tr=* | --program-t=*)
891 program_transform_name=$ac_optarg ;;
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
903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
904 | -silent | --silent | --silen | --sile | --sil)
905 silent=yes ;;
906
907 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
908 ac_prev=sbindir ;;
909 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
910 | --sbi=* | --sb=*)
911 sbindir=$ac_optarg ;;
912
913 -sharedstatedir | --sharedstatedir | --sharedstatedi \
914 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
915 | --sharedst | --shareds | --shared | --share | --shar \
916 | --sha | --sh)
917 ac_prev=sharedstatedir ;;
918 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
919 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
920 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
921 | --sha=* | --sh=*)
922 sharedstatedir=$ac_optarg ;;
923
924 -site | --site | --sit)
925 ac_prev=site ;;
926 -site=* | --site=* | --sit=*)
927 site=$ac_optarg ;;
928
929 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
930 ac_prev=srcdir ;;
931 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
932 srcdir=$ac_optarg ;;
933
934 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
935 | --syscon | --sysco | --sysc | --sys | --sy)
936 ac_prev=sysconfdir ;;
937 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
938 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
939 sysconfdir=$ac_optarg ;;
940
941 -target | --target | --targe | --targ | --tar | --ta | --t)
942 ac_prev=target_alias ;;
943 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
944 target_alias=$ac_optarg ;;
945
946 -v | -verbose | --verbose | --verbos | --verbo | --verb)
947 verbose=yes ;;
948
949 -version | --version | --versio | --versi | --vers | -V)
950 ac_init_version=: ;;
951
952 -with-* | --with-*)
953 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
956 { echo "$as_me: error: invalid package name: $ac_package" >&2
957 { (exit 1); exit 1; }; }
958 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
959 eval with_$ac_package=\$ac_optarg ;;
960
961 -without-* | --without-*)
962 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
965 { echo "$as_me: error: invalid package name: $ac_package" >&2
966 { (exit 1); exit 1; }; }
967 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
968 eval with_$ac_package=no ;;
969
970 --x)
971 # Obsolete; use --with-x.
972 with_x=yes ;;
973
974 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
975 | --x-incl | --x-inc | --x-in | --x-i)
976 ac_prev=x_includes ;;
977 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
978 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
979 x_includes=$ac_optarg ;;
980
981 -x-libraries | --x-libraries | --x-librarie | --x-librari \
982 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
983 ac_prev=x_libraries ;;
984 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
985 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
986 x_libraries=$ac_optarg ;;
987
988 -*) { echo "$as_me: error: unrecognized option: $ac_option
989 Try \`$0 --help' for more information." >&2
990 { (exit 1); exit 1; }; }
991 ;;
992
993 *=*)
994 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
997 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
998 { (exit 1); exit 1; }; }
999 eval $ac_envvar=\$ac_optarg
1000 export $ac_envvar ;;
1001
1002 *)
1003 # FIXME: should be removed in autoconf 3.0.
1004 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1005 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1007 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1008 ;;
1009
1010 esac
1011 done
1012
1013 if test -n "$ac_prev"; then
1014 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1015 { echo "$as_me: error: missing argument to $ac_option" >&2
1016 { (exit 1); exit 1; }; }
1017 fi
1018
1019 # Be sure to have absolute directory names.
1020 for 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
1024 do
1025 eval ac_val=\$$ac_var
1026 case $ac_val in
1027 [\\/$]* | ?:[\\/]* ) continue;;
1028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1029 esac
1030 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1031 { (exit 1); exit 1; }; }
1032 done
1033
1034 # There might be people who depend on the old broken behavior: `$host'
1035 # used to hold the argument of --host etc.
1036 # FIXME: To remove some day.
1037 build=$build_alias
1038 host=$host_alias
1039 target=$target_alias
1040
1041 # FIXME: To remove some day.
1042 if test "x$host_alias" != x; then
1043 if test "x$build_alias" = x; then
1044 cross_compiling=maybe
1045 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1046 If a cross compiler is detected then cross compile mode will be used." >&2
1047 elif test "x$build_alias" != "x$host_alias"; then
1048 cross_compiling=yes
1049 fi
1050 fi
1051
1052 ac_tool_prefix=
1053 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1054
1055 test "$silent" = yes && exec 6>/dev/null
1056
1057
1058 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1059 ac_ls_di=`ls -di .` &&
1060 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1061 { echo "$as_me: error: Working directory cannot be determined" >&2
1062 { (exit 1); exit 1; }; }
1063 test "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
1068 # Find the source files, if location was not specified.
1069 if test -z "$srcdir"; then
1070 ac_srcdir_defaulted=yes
1071 # Try the directory containing this script, then the parent directory.
1072 ac_confdir=`$as_dirname -- "$0" ||
1073 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1074 X"$0" : 'X\(//\)[^/]' \| \
1075 X"$0" : 'X\(//\)$' \| \
1076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1077 echo X"$0" |
1078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1079 s//\1/
1080 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 }
1094 s/.*/./; q'`
1095 srcdir=$ac_confdir
1096 if test ! -r "$srcdir/$ac_unique_file"; then
1097 srcdir=..
1098 fi
1099 else
1100 ac_srcdir_defaulted=no
1101 fi
1102 if test ! -r "$srcdir/$ac_unique_file"; then
1103 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1104 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1105 { (exit 1); exit 1; }; }
1106 fi
1107 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1108 ac_abs_confdir=`(
1109 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1110 { (exit 1); exit 1; }; }
1111 pwd)`
1112 # When building in place, set srcdir=.
1113 if test "$ac_abs_confdir" = "$ac_pwd"; then
1114 srcdir=.
1115 fi
1116 # Remove unnecessary trailing slashes from srcdir.
1117 # Double slashes in file names in object file debugging info
1118 # mess up M-x gdb in Emacs.
1119 case $srcdir in
1120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1121 esac
1122 for ac_var in $ac_precious_vars; do
1123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1124 eval ac_env_${ac_var}_value=\$${ac_var}
1125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1127 done
1128
1129 #
1130 # Report the --help message.
1131 #
1132 if test "$ac_init_help" = "long"; then
1133 # Omit some internal or obsolete options to make the list less imposing.
1134 # This message is too long to be a string in the A/UX 3.1 sh.
1135 cat <<_ACEOF
1136 \`configure' configures this package to adapt to many kinds of systems.
1137
1138 Usage: $0 [OPTION]... [VAR=VALUE]...
1139
1140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1141 VAR=VALUE. See below for descriptions of some of the useful variables.
1142
1143 Defaults for the options are specified in brackets.
1144
1145 Configuration:
1146 -h, --help display this help and exit
1147 --help=short display options specific to this package
1148 --help=recursive display the short help of all the included packages
1149 -V, --version display version information and exit
1150 -q, --quiet, --silent do not print \`checking...' messages
1151 --cache-file=FILE cache test results in FILE [disabled]
1152 -C, --config-cache alias for \`--cache-file=config.cache'
1153 -n, --no-create do not create output files
1154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1155
1156 Installation directories:
1157 --prefix=PREFIX install architecture-independent files in PREFIX
1158 [$ac_default_prefix]
1159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1160 [PREFIX]
1161
1162 By default, \`make install' will install all the files in
1163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1165 for instance \`--prefix=\$HOME'.
1166
1167 For better control, use the options below.
1168
1169 Fine tuning of the installation directories:
1170 --bindir=DIR user executables [EPREFIX/bin]
1171 --sbindir=DIR system admin executables [EPREFIX/sbin]
1172 --libexecdir=DIR program executables [EPREFIX/libexec]
1173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1176 --libdir=DIR object code libraries [EPREFIX/lib]
1177 --includedir=DIR C header files [PREFIX/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]
1181 --infodir=DIR info documentation [DATAROOTDIR/info]
1182 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
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]
1189 _ACEOF
1190
1191 cat <<\_ACEOF
1192 _ACEOF
1193 fi
1194
1195 if test -n "$ac_init_help"; then
1196
1197 cat <<\_ACEOF
1198
1199 Some influential environment variables:
1200 CC C compiler command
1201 CFLAGS C compiler flags
1202 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1203 nonstandard directory <lib dir>
1204 LIBS libraries to pass to the linker, e.g. -l<library>
1205 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1206 you have headers in a nonstandard directory <include dir>
1207
1208 Use these variables to override the choices made by `configure' or to help
1209 it to find libraries and programs with nonstandard names/locations.
1210
1211 _ACEOF
1212 ac_status=$?
1213 fi
1214
1215 if test "$ac_init_help" = "recursive"; then
1216 # If there are subdirs, report their specific --help.
1217 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1218 test -d "$ac_dir" || continue
1219 ac_builddir=.
1220
1221 case "$ac_dir" in
1222 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1223 *)
1224 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1225 # A ".." for each directory in $ac_dir_suffix.
1226 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1227 case $ac_top_builddir_sub in
1228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1230 esac ;;
1231 esac
1232 ac_abs_top_builddir=$ac_pwd
1233 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1234 # for backward compatibility:
1235 ac_top_builddir=$ac_top_build_prefix
1236
1237 case $srcdir in
1238 .) # We are building in place.
1239 ac_srcdir=.
1240 ac_top_srcdir=$ac_top_builddir_sub
1241 ac_abs_top_srcdir=$ac_pwd ;;
1242 [\\/]* | ?:[\\/]* ) # Absolute name.
1243 ac_srcdir=$srcdir$ac_dir_suffix;
1244 ac_top_srcdir=$srcdir
1245 ac_abs_top_srcdir=$srcdir ;;
1246 *) # Relative name.
1247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1248 ac_top_srcdir=$ac_top_build_prefix$srcdir
1249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1250 esac
1251 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1252
1253 cd "$ac_dir" || { ac_status=$?; continue; }
1254 # Check for guested configure.
1255 if test -f "$ac_srcdir/configure.gnu"; then
1256 echo &&
1257 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1258 elif test -f "$ac_srcdir/configure"; then
1259 echo &&
1260 $SHELL "$ac_srcdir/configure" --help=recursive
1261 else
1262 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1263 fi || ac_status=$?
1264 cd "$ac_pwd" || { ac_status=$?; break; }
1265 done
1266 fi
1267
1268 test -n "$ac_init_help" && exit $ac_status
1269 if $ac_init_version; then
1270 cat <<\_ACEOF
1271 configure
1272 generated by GNU Autoconf 2.61
1273
1274 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1275 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1276 This configure script is free software; the Free Software Foundation
1277 gives unlimited permission to copy, distribute and modify it.
1278 _ACEOF
1279 exit
1280 fi
1281 cat >config.log <<_ACEOF
1282 This file contains any messages produced by compilers while
1283 running configure, to aid debugging if configure makes a mistake.
1284
1285 It was created by $as_me, which was
1286 generated by GNU Autoconf 2.61. Invocation command line was
1287
1288 $ $0 $@
1289
1290 _ACEOF
1291 exec 5>>config.log
1292 {
1293 cat <<_ASUNAME
1294 ## --------- ##
1295 ## Platform. ##
1296 ## --------- ##
1297
1298 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1299 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1300 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1301 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1302 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1303
1304 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1305 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1306
1307 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1308 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1309 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1310 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1311 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1312 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1313 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1314
1315 _ASUNAME
1316
1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 for as_dir in $PATH
1319 do
1320 IFS=$as_save_IFS
1321 test -z "$as_dir" && as_dir=.
1322 echo "PATH: $as_dir"
1323 done
1324 IFS=$as_save_IFS
1325
1326 } >&5
1327
1328 cat >&5 <<_ACEOF
1329
1330
1331 ## ----------- ##
1332 ## Core tests. ##
1333 ## ----------- ##
1334
1335 _ACEOF
1336
1337
1338 # Keep a trace of the command line.
1339 # Strip out --no-create and --no-recursion so they do not pile up.
1340 # Strip out --silent because we don't want to record it for future runs.
1341 # Also quote any args containing shell meta-characters.
1342 # Make two passes to allow for proper duplicate-argument suppression.
1343 ac_configure_args=
1344 ac_configure_args0=
1345 ac_configure_args1=
1346 ac_must_keep_next=false
1347 for ac_pass in 1 2
1348 do
1349 for ac_arg
1350 do
1351 case $ac_arg in
1352 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1354 | -silent | --silent | --silen | --sile | --sil)
1355 continue ;;
1356 *\'*)
1357 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1358 esac
1359 case $ac_pass in
1360 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1361 2)
1362 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1363 if test $ac_must_keep_next = true; then
1364 ac_must_keep_next=false # Got value, back to normal.
1365 else
1366 case $ac_arg in
1367 *=* | --config-cache | -C | -disable-* | --disable-* \
1368 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1369 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1370 | -with-* | --with-* | -without-* | --without-* | --x)
1371 case "$ac_configure_args0 " in
1372 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1373 esac
1374 ;;
1375 -* ) ac_must_keep_next=true ;;
1376 esac
1377 fi
1378 ac_configure_args="$ac_configure_args '$ac_arg'"
1379 ;;
1380 esac
1381 done
1382 done
1383 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1384 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1385
1386 # When interrupted or exit'd, cleanup temporary files, and complete
1387 # config.log. We remove comments because anyway the quotes in there
1388 # would cause problems or look ugly.
1389 # WARNING: Use '\'' to represent an apostrophe within the trap.
1390 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1391 trap 'exit_status=$?
1392 # Save into config.log some information that might help in debugging.
1393 {
1394 echo
1395
1396 cat <<\_ASBOX
1397 ## ---------------- ##
1398 ## Cache variables. ##
1399 ## ---------------- ##
1400 _ASBOX
1401 echo
1402 # The following way of writing the cache mishandles newlines in values,
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
1410 echo "$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
1418 (set) 2>&1 |
1419 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1420 *${as_nl}ac_space=\ *)
1421 sed -n \
1422 "s/'\''/'\''\\\\'\'''\''/g;
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"
1427 ;;
1428 esac |
1429 sort
1430 )
1431 echo
1432
1433 cat <<\_ASBOX
1434 ## ----------------- ##
1435 ## Output variables. ##
1436 ## ----------------- ##
1437 _ASBOX
1438 echo
1439 for ac_var in $ac_subst_vars
1440 do
1441 eval ac_val=\$$ac_var
1442 case $ac_val in
1443 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1444 esac
1445 echo "$ac_var='\''$ac_val'\''"
1446 done | sort
1447 echo
1448
1449 if test -n "$ac_subst_files"; then
1450 cat <<\_ASBOX
1451 ## ------------------- ##
1452 ## File substitutions. ##
1453 ## ------------------- ##
1454 _ASBOX
1455 echo
1456 for ac_var in $ac_subst_files
1457 do
1458 eval ac_val=\$$ac_var
1459 case $ac_val in
1460 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1461 esac
1462 echo "$ac_var='\''$ac_val'\''"
1463 done | sort
1464 echo
1465 fi
1466
1467 if test -s confdefs.h; then
1468 cat <<\_ASBOX
1469 ## ----------- ##
1470 ## confdefs.h. ##
1471 ## ----------- ##
1472 _ASBOX
1473 echo
1474 cat confdefs.h
1475 echo
1476 fi
1477 test "$ac_signal" != 0 &&
1478 echo "$as_me: caught signal $ac_signal"
1479 echo "$as_me: exit $exit_status"
1480 } >&5
1481 rm -f core *.core core.conftest.* &&
1482 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1483 exit $exit_status
1484 ' 0
1485 for ac_signal in 1 2 13 15; do
1486 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1487 done
1488 ac_signal=0
1489
1490 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1491 rm -f -r conftest* confdefs.h
1492
1493 # Predefined preprocessor variables.
1494
1495 cat >>confdefs.h <<_ACEOF
1496 #define PACKAGE_NAME "$PACKAGE_NAME"
1497 _ACEOF
1498
1499
1500 cat >>confdefs.h <<_ACEOF
1501 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1502 _ACEOF
1503
1504
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1507 _ACEOF
1508
1509
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_STRING "$PACKAGE_STRING"
1512 _ACEOF
1513
1514
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1517 _ACEOF
1518
1519
1520 # Let the site file select an alternate cache file if it wants to.
1521 # Prefer explicitly selected file to automatically selected ones.
1522 if test -n "$CONFIG_SITE"; then
1523 set x "$CONFIG_SITE"
1524 elif test "x$prefix" != xNONE; then
1525 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1526 else
1527 set x "$ac_default_prefix/share/config.site" \
1528 "$ac_default_prefix/etc/config.site"
1529 fi
1530 shift
1531 for ac_site_file
1532 do
1533 if test -r "$ac_site_file"; then
1534 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1535 echo "$as_me: loading site script $ac_site_file" >&6;}
1536 sed 's/^/| /' "$ac_site_file" >&5
1537 . "$ac_site_file"
1538 fi
1539 done
1540
1541 if test -r "$cache_file"; then
1542 # Some versions of bash will fail to source /dev/null (special
1543 # files actually), so we avoid doing that.
1544 if test -f "$cache_file"; then
1545 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1546 echo "$as_me: loading cache $cache_file" >&6;}
1547 case $cache_file in
1548 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1549 *) . "./$cache_file";;
1550 esac
1551 fi
1552 else
1553 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1554 echo "$as_me: creating cache $cache_file" >&6;}
1555 >$cache_file
1556 fi
1557
1558 # Check that the precious variables saved in the cache have kept the same
1559 # value.
1560 ac_cache_corrupted=false
1561 for ac_var in $ac_precious_vars; do
1562 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1563 eval ac_new_set=\$ac_env_${ac_var}_set
1564 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1565 eval ac_new_val=\$ac_env_${ac_var}_value
1566 case $ac_old_set,$ac_new_set in
1567 set,)
1568 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1569 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1570 ac_cache_corrupted=: ;;
1571 ,set)
1572 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1573 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1574 ac_cache_corrupted=: ;;
1575 ,);;
1576 *)
1577 if test "x$ac_old_val" != "x$ac_new_val"; then
1578 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1579 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1580 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1581 echo "$as_me: former value: $ac_old_val" >&2;}
1582 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1583 echo "$as_me: current value: $ac_new_val" >&2;}
1584 ac_cache_corrupted=:
1585 fi;;
1586 esac
1587 # Pass precious variables to config.status.
1588 if test "$ac_new_set" = set; then
1589 case $ac_new_val in
1590 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1591 *) ac_arg=$ac_var=$ac_new_val ;;
1592 esac
1593 case " $ac_configure_args " in
1594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1595 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1596 esac
1597 fi
1598 done
1599 if $ac_cache_corrupted; then
1600 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1601 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1602 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1603 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1604 { (exit 1); exit 1; }; }
1605 fi
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623 ac_ext=c
1624 ac_cpp='$CPP $CPPFLAGS'
1625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1628
1629
1630 ac_config_headers="$ac_config_headers config.h"
1631
1632
1633 ac_ext=c
1634 ac_cpp='$CPP $CPPFLAGS'
1635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1638 if test -n "$ac_tool_prefix"; then
1639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1643 if test "${ac_cv_prog_CC+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646 if test -n "$CC"; then
1647 ac_cv_prog_CC="$CC" # Let the user override the test.
1648 else
1649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650 for as_dir in $PATH
1651 do
1652 IFS=$as_save_IFS
1653 test -z "$as_dir" && as_dir=.
1654 for ac_exec_ext in '' $ac_executable_extensions; do
1655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 break 2
1659 fi
1660 done
1661 done
1662 IFS=$as_save_IFS
1663
1664 fi
1665 fi
1666 CC=$ac_cv_prog_CC
1667 if test -n "$CC"; then
1668 { echo "$as_me:$LINENO: result: $CC" >&5
1669 echo "${ECHO_T}$CC" >&6; }
1670 else
1671 { echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6; }
1673 fi
1674
1675
1676 fi
1677 if test -z "$ac_cv_prog_CC"; then
1678 ac_ct_CC=$CC
1679 # Extract the first word of "gcc", so it can be a program name with args.
1680 set dummy gcc; ac_word=$2
1681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 else
1686 if test -n "$ac_ct_CC"; then
1687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1688 else
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 for as_dir in $PATH
1691 do
1692 IFS=$as_save_IFS
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1696 ac_cv_prog_ac_ct_CC="gcc"
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 break 2
1699 fi
1700 done
1701 done
1702 IFS=$as_save_IFS
1703
1704 fi
1705 fi
1706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1707 if test -n "$ac_ct_CC"; then
1708 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1709 echo "${ECHO_T}$ac_ct_CC" >&6; }
1710 else
1711 { echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6; }
1713 fi
1714
1715 if test "x$ac_ct_CC" = x; then
1716 CC=""
1717 else
1718 case $cross_compiling:$ac_tool_warned in
1719 yes:)
1720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1721 whose name does not start with the host triplet. If you think this
1722 configuration is useful to you, please write to autoconf@gnu.org." >&5
1723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1724 whose name does not start with the host triplet. If you think this
1725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1726 ac_tool_warned=yes ;;
1727 esac
1728 CC=$ac_ct_CC
1729 fi
1730 else
1731 CC="$ac_cv_prog_CC"
1732 fi
1733
1734 if test -z "$CC"; then
1735 if test -n "$ac_tool_prefix"; then
1736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1737 set dummy ${ac_tool_prefix}cc; ac_word=$2
1738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1740 if test "${ac_cv_prog_CC+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 if test -n "$CC"; then
1744 ac_cv_prog_CC="$CC" # Let the user override the test.
1745 else
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1748 do
1749 IFS=$as_save_IFS
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1753 ac_cv_prog_CC="${ac_tool_prefix}cc"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 break 2
1756 fi
1757 done
1758 done
1759 IFS=$as_save_IFS
1760
1761 fi
1762 fi
1763 CC=$ac_cv_prog_CC
1764 if test -n "$CC"; then
1765 { echo "$as_me:$LINENO: result: $CC" >&5
1766 echo "${ECHO_T}$CC" >&6; }
1767 else
1768 { echo "$as_me:$LINENO: result: no" >&5
1769 echo "${ECHO_T}no" >&6; }
1770 fi
1771
1772
1773 fi
1774 fi
1775 if test -z "$CC"; then
1776 # Extract the first word of "cc", so it can be a program name with args.
1777 set dummy cc; ac_word=$2
1778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1780 if test "${ac_cv_prog_CC+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 else
1783 if test -n "$CC"; then
1784 ac_cv_prog_CC="$CC" # Let the user override the test.
1785 else
1786 ac_prog_rejected=no
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 for as_dir in $PATH
1789 do
1790 IFS=$as_save_IFS
1791 test -z "$as_dir" && as_dir=.
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1795 ac_prog_rejected=yes
1796 continue
1797 fi
1798 ac_cv_prog_CC="cc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 break 2
1801 fi
1802 done
1803 done
1804 IFS=$as_save_IFS
1805
1806 if test $ac_prog_rejected = yes; then
1807 # We found a bogon in the path, so make sure we never use it.
1808 set dummy $ac_cv_prog_CC
1809 shift
1810 if test $# != 0; then
1811 # We chose a different compiler from the bogus one.
1812 # However, it has the same basename, so the bogon will be chosen
1813 # first if we set CC to just the basename; use the full file name.
1814 shift
1815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1816 fi
1817 fi
1818 fi
1819 fi
1820 CC=$ac_cv_prog_CC
1821 if test -n "$CC"; then
1822 { echo "$as_me:$LINENO: result: $CC" >&5
1823 echo "${ECHO_T}$CC" >&6; }
1824 else
1825 { echo "$as_me:$LINENO: result: no" >&5
1826 echo "${ECHO_T}no" >&6; }
1827 fi
1828
1829
1830 fi
1831 if test -z "$CC"; then
1832 if test -n "$ac_tool_prefix"; then
1833 for ac_prog in cl.exe
1834 do
1835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1839 if test "${ac_cv_prog_CC+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 else
1842 if test -n "$CC"; then
1843 ac_cv_prog_CC="$CC" # Let the user override the test.
1844 else
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH
1847 do
1848 IFS=$as_save_IFS
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1854 break 2
1855 fi
1856 done
1857 done
1858 IFS=$as_save_IFS
1859
1860 fi
1861 fi
1862 CC=$ac_cv_prog_CC
1863 if test -n "$CC"; then
1864 { echo "$as_me:$LINENO: result: $CC" >&5
1865 echo "${ECHO_T}$CC" >&6; }
1866 else
1867 { echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6; }
1869 fi
1870
1871
1872 test -n "$CC" && break
1873 done
1874 fi
1875 if test -z "$CC"; then
1876 ac_ct_CC=$CC
1877 for ac_prog in cl.exe
1878 do
1879 # Extract the first word of "$ac_prog", so it can be a program name with args.
1880 set dummy $ac_prog; ac_word=$2
1881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 else
1886 if test -n "$ac_ct_CC"; then
1887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1888 else
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 for as_dir in $PATH
1891 do
1892 IFS=$as_save_IFS
1893 test -z "$as_dir" && as_dir=.
1894 for ac_exec_ext in '' $ac_executable_extensions; do
1895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896 ac_cv_prog_ac_ct_CC="$ac_prog"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 break 2
1899 fi
1900 done
1901 done
1902 IFS=$as_save_IFS
1903
1904 fi
1905 fi
1906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1909 echo "${ECHO_T}$ac_ct_CC" >&6; }
1910 else
1911 { echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6; }
1913 fi
1914
1915
1916 test -n "$ac_ct_CC" && break
1917 done
1918
1919 if test "x$ac_ct_CC" = x; then
1920 CC=""
1921 else
1922 case $cross_compiling:$ac_tool_warned in
1923 yes:)
1924 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1925 whose name does not start with the host triplet. If you think this
1926 configuration is useful to you, please write to autoconf@gnu.org." >&5
1927 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1928 whose name does not start with the host triplet. If you think this
1929 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1930 ac_tool_warned=yes ;;
1931 esac
1932 CC=$ac_ct_CC
1933 fi
1934 fi
1935
1936 fi
1937
1938
1939 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: no acceptable C compiler found in \$PATH
1942 See \`config.log' for more details." >&2;}
1943 { (exit 1); exit 1; }; }
1944
1945 # Provide some information about the compiler.
1946 echo "$as_me:$LINENO: checking for C compiler version" >&5
1947 ac_compiler=`set X $ac_compile; echo $2`
1948 { (ac_try="$ac_compiler --version >&5"
1949 case "(($ac_try" in
1950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1952 esac
1953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1954 (eval "$ac_compiler --version >&5") 2>&5
1955 ac_status=$?
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }
1958 { (ac_try="$ac_compiler -v >&5"
1959 case "(($ac_try" in
1960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1962 esac
1963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1964 (eval "$ac_compiler -v >&5") 2>&5
1965 ac_status=$?
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); }
1968 { (ac_try="$ac_compiler -V >&5"
1969 case "(($ac_try" in
1970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1971 *) ac_try_echo=$ac_try;;
1972 esac
1973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1974 (eval "$ac_compiler -V >&5") 2>&5
1975 ac_status=$?
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); }
1978
1979 cat >conftest.$ac_ext <<_ACEOF
1980 /* confdefs.h. */
1981 _ACEOF
1982 cat confdefs.h >>conftest.$ac_ext
1983 cat >>conftest.$ac_ext <<_ACEOF
1984 /* end confdefs.h. */
1985
1986 int
1987 main ()
1988 {
1989
1990 ;
1991 return 0;
1992 }
1993 _ACEOF
1994 ac_clean_files_save=$ac_clean_files
1995 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1996 # Try to create an executable without -o first, disregard a.out.
1997 # It will help us diagnose broken compilers, and finding out an intuition
1998 # of exeext.
1999 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2000 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2001 ac_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.
2006 ac_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.
2011 ac_rmfiles=
2012 for ac_file in $ac_files
2013 do
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
2018 done
2019 rm -f $ac_rmfiles
2020
2021 if { (ac_try="$ac_link_default"
2022 case "(($ac_try" in
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2025 esac
2026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2027 (eval "$ac_link_default") 2>&5
2028 ac_status=$?
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; then
2031 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2033 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2034 # so that the user can short-circuit this test for compilers unknown to
2035 # Autoconf.
2036 for ac_file in $ac_files ''
2037 do
2038 test -f "$ac_file" || continue
2039 case $ac_file in
2040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2041 ;;
2042 [ab].out )
2043 # We found the default executable, but exeext='' is most
2044 # certainly right.
2045 break;;
2046 *.* )
2047 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2048 then :; else
2049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2050 fi
2051 # We set ac_cv_exeext here because the later test for it is not
2052 # safe: cross compilers may not add the suffix if given an `-o'
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.
2056 break;;
2057 * )
2058 break;;
2059 esac
2060 done
2061 test "$ac_cv_exeext" = no && ac_cv_exeext=
2062
2063 else
2064 ac_file=''
2065 fi
2066
2067 { echo "$as_me:$LINENO: result: $ac_file" >&5
2068 echo "${ECHO_T}$ac_file" >&6; }
2069 if test -z "$ac_file"; then
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.$ac_ext >&5
2072
2073 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2074 See \`config.log' for more details." >&5
2075 echo "$as_me: error: C compiler cannot create executables
2076 See \`config.log' for more details." >&2;}
2077 { (exit 77); exit 77; }; }
2078 fi
2079
2080 ac_exeext=$ac_cv_exeext
2081
2082 # Check that the compiler produces executables we can run. If not, either
2083 # the compiler is broken, or we cross compile.
2084 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2085 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2086 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2087 # If not cross compiling, check that we can run a simple program.
2088 if test "$cross_compiling" != yes; then
2089 if { ac_try='./$ac_file'
2090 { (case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093 esac
2094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2095 (eval "$ac_try") 2>&5
2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; }; then
2099 cross_compiling=no
2100 else
2101 if test "$cross_compiling" = maybe; then
2102 cross_compiling=yes
2103 else
2104 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2105 If you meant to cross compile, use \`--host'.
2106 See \`config.log' for more details." >&5
2107 echo "$as_me: error: cannot run C compiled programs.
2108 If you meant to cross compile, use \`--host'.
2109 See \`config.log' for more details." >&2;}
2110 { (exit 1); exit 1; }; }
2111 fi
2112 fi
2113 fi
2114 { echo "$as_me:$LINENO: result: yes" >&5
2115 echo "${ECHO_T}yes" >&6; }
2116
2117 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2118 ac_clean_files=$ac_clean_files_save
2119 # Check that the compiler produces executables we can run. If not, either
2120 # the compiler is broken, or we cross compile.
2121 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2122 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2123 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2124 echo "${ECHO_T}$cross_compiling" >&6; }
2125
2126 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2127 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2128 if { (ac_try="$ac_link"
2129 case "(($ac_try" in
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2132 esac
2133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2134 (eval "$ac_link") 2>&5
2135 ac_status=$?
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; then
2138 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2139 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2140 # work properly (i.e., refer to `conftest.exe'), while it won't with
2141 # `rm'.
2142 for ac_file in conftest.exe conftest conftest.*; do
2143 test -f "$ac_file" || continue
2144 case $ac_file in
2145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2146 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147 break;;
2148 * ) break;;
2149 esac
2150 done
2151 else
2152 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2153 See \`config.log' for more details." >&5
2154 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2155 See \`config.log' for more details." >&2;}
2156 { (exit 1); exit 1; }; }
2157 fi
2158
2159 rm -f conftest$ac_cv_exeext
2160 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2161 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2162
2163 rm -f conftest.$ac_ext
2164 EXEEXT=$ac_cv_exeext
2165 ac_exeext=$EXEEXT
2166 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2167 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2168 if test "${ac_cv_objext+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 else
2171 cat >conftest.$ac_ext <<_ACEOF
2172 /* confdefs.h. */
2173 _ACEOF
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2177
2178 int
2179 main ()
2180 {
2181
2182 ;
2183 return 0;
2184 }
2185 _ACEOF
2186 rm -f conftest.o conftest.obj
2187 if { (ac_try="$ac_compile"
2188 case "(($ac_try" in
2189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2191 esac
2192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2193 (eval "$ac_compile") 2>&5
2194 ac_status=$?
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; then
2197 for ac_file in conftest.o conftest.obj conftest.*; do
2198 test -f "$ac_file" || continue;
2199 case $ac_file in
2200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2201 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2202 break;;
2203 esac
2204 done
2205 else
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2208
2209 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2210 See \`config.log' for more details." >&5
2211 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2212 See \`config.log' for more details." >&2;}
2213 { (exit 1); exit 1; }; }
2214 fi
2215
2216 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2217 fi
2218 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2219 echo "${ECHO_T}$ac_cv_objext" >&6; }
2220 OBJEXT=$ac_cv_objext
2221 ac_objext=$OBJEXT
2222 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2223 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2224 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 else
2227 cat >conftest.$ac_ext <<_ACEOF
2228 /* confdefs.h. */
2229 _ACEOF
2230 cat confdefs.h >>conftest.$ac_ext
2231 cat >>conftest.$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2233
2234 int
2235 main ()
2236 {
2237 #ifndef __GNUC__
2238 choke me
2239 #endif
2240
2241 ;
2242 return 0;
2243 }
2244 _ACEOF
2245 rm -f conftest.$ac_objext
2246 if { (ac_try="$ac_compile"
2247 case "(($ac_try" in
2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2249 *) ac_try_echo=$ac_try;;
2250 esac
2251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2252 (eval "$ac_compile") 2>conftest.er1
2253 ac_status=$?
2254 grep -v '^ *+' conftest.er1 >conftest.err
2255 rm -f conftest.er1
2256 cat conftest.err >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } && {
2259 test -z "$ac_c_werror_flag" ||
2260 test ! -s conftest.err
2261 } && test -s conftest.$ac_objext; then
2262 ac_compiler_gnu=yes
2263 else
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.$ac_ext >&5
2266
2267 ac_compiler_gnu=no
2268 fi
2269
2270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2271 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2272
2273 fi
2274 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2275 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2276 GCC=`test $ac_compiler_gnu = yes && echo yes`
2277 ac_test_CFLAGS=${CFLAGS+set}
2278 ac_save_CFLAGS=$CFLAGS
2279 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2280 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2281 if test "${ac_cv_prog_cc_g+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 else
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"
2288 cat >conftest.$ac_ext <<_ACEOF
2289 /* confdefs.h. */
2290 _ACEOF
2291 cat confdefs.h >>conftest.$ac_ext
2292 cat >>conftest.$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2294
2295 int
2296 main ()
2297 {
2298
2299 ;
2300 return 0;
2301 }
2302 _ACEOF
2303 rm -f conftest.$ac_objext
2304 if { (ac_try="$ac_compile"
2305 case "(($ac_try" in
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2308 esac
2309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2310 (eval "$ac_compile") 2>conftest.er1
2311 ac_status=$?
2312 grep -v '^ *+' conftest.er1 >conftest.err
2313 rm -f conftest.er1
2314 cat conftest.err >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } && {
2317 test -z "$ac_c_werror_flag" ||
2318 test ! -s conftest.err
2319 } && test -s conftest.$ac_objext; then
2320 ac_cv_prog_cc_g=yes
2321 else
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2324
2325 CFLAGS=""
2326 cat >conftest.$ac_ext <<_ACEOF
2327 /* confdefs.h. */
2328 _ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2332
2333 int
2334 main ()
2335 {
2336
2337 ;
2338 return 0;
2339 }
2340 _ACEOF
2341 rm -f conftest.$ac_objext
2342 if { (ac_try="$ac_compile"
2343 case "(($ac_try" in
2344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2345 *) ac_try_echo=$ac_try;;
2346 esac
2347 eval "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 :
2359 else
2360 echo "$as_me: failed program was:" >&5
2361 sed '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
2368 cat confdefs.h >>conftest.$ac_ext
2369 cat >>conftest.$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2371
2372 int
2373 main ()
2374 {
2375
2376 ;
2377 return 0;
2378 }
2379 _ACEOF
2380 rm -f conftest.$ac_objext
2381 if { (ac_try="$ac_compile"
2382 case "(($ac_try" in
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2385 esac
2386 eval "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
2397 ac_cv_prog_cc_g=yes
2398 else
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2401
2402
2403 fi
2404
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 fi
2407
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 fi
2410
2411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412 ac_c_werror_flag=$ac_save_c_werror_flag
2413 fi
2414 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2415 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2416 if test "$ac_test_CFLAGS" = set; then
2417 CFLAGS=$ac_save_CFLAGS
2418 elif test $ac_cv_prog_cc_g = yes; then
2419 if test "$GCC" = yes; then
2420 CFLAGS="-g -O2"
2421 else
2422 CFLAGS="-g"
2423 fi
2424 else
2425 if test "$GCC" = yes; then
2426 CFLAGS="-O2"
2427 else
2428 CFLAGS=
2429 fi
2430 fi
2431 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2432 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_cc_c89+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 ac_cv_prog_cc_c89=no
2437 ac_save_CC=$CC
2438 cat >conftest.$ac_ext <<_ACEOF
2439 /* confdefs.h. */
2440 _ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2444 #include <stdarg.h>
2445 #include <stdio.h>
2446 #include <sys/types.h>
2447 #include <sys/stat.h>
2448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2449 struct buf { int x; };
2450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2451 static char *e (p, i)
2452 char **p;
2453 int i;
2454 {
2455 return p[i];
2456 }
2457 static char *f (char * (*g) (char **, int), char **p, ...)
2458 {
2459 char *s;
2460 va_list v;
2461 va_start (v,p);
2462 s = g (p, va_arg (v,int));
2463 va_end (v);
2464 return s;
2465 }
2466
2467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2468 function prototypes and stuff, but not '\xHH' hex character constants.
2469 These don't provoke an error unfortunately, instead are silently treated
2470 as 'x'. The following induces an error, until -std is added to get
2471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2472 array size at least. It's necessary to write '\x00'==0 to get something
2473 that's true only with -std. */
2474 int 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'
2479 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2480
2481 int test (int i, double x);
2482 struct s1 {int (*f) (int a);};
2483 struct s2 {int (*f) (double a);};
2484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2485 int argc;
2486 char **argv;
2487 int
2488 main ()
2489 {
2490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2491 ;
2492 return 0;
2493 }
2494 _ACEOF
2495 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2496 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2497 do
2498 CC="$ac_save_CC $ac_arg"
2499 rm -f conftest.$ac_objext
2500 if { (ac_try="$ac_compile"
2501 case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504 esac
2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2506 (eval "$ac_compile") 2>conftest.er1
2507 ac_status=$?
2508 grep -v '^ *+' conftest.er1 >conftest.err
2509 rm -f conftest.er1
2510 cat conftest.err >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } && {
2513 test -z "$ac_c_werror_flag" ||
2514 test ! -s conftest.err
2515 } && test -s conftest.$ac_objext; then
2516 ac_cv_prog_cc_c89=$ac_arg
2517 else
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2520
2521
2522 fi
2523
2524 rm -f core conftest.err conftest.$ac_objext
2525 test "x$ac_cv_prog_cc_c89" != "xno" && break
2526 done
2527 rm -f conftest.$ac_ext
2528 CC=$ac_save_CC
2529
2530 fi
2531 # AC_CACHE_VAL
2532 case "x$ac_cv_prog_cc_c89" in
2533 x)
2534 { echo "$as_me:$LINENO: result: none needed" >&5
2535 echo "${ECHO_T}none needed" >&6; } ;;
2536 xno)
2537 { echo "$as_me:$LINENO: result: unsupported" >&5
2538 echo "${ECHO_T}unsupported" >&6; } ;;
2539 *)
2540 CC="$CC $ac_cv_prog_cc_c89"
2541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2542 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2543 esac
2544
2545
2546 ac_ext=c
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551
2552
2553
2554 { echo "$as_me:$LINENO: checking for futimes" >&5
2555 echo $ECHO_N "checking for futimes... $ECHO_C" >&6; }
2556 if test "${ac_cv_futimes+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559 cat >conftest.$ac_ext <<_ACEOF
2560
2561 #include <sys/types.h>
2562 #include <sys/time.h>
2563 #include <utime.h>
2564 struct timeval tv[2];
2565 int res;
2566 int fd;
2567 int main(void)
2568 {
2569 res = futimes (fd, tv);
2570 return 0;
2571 }
2572
2573 _ACEOF
2574 rm -f conftest.$ac_objext conftest$ac_exeext
2575 if { (ac_try="$ac_link"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_link") 2>conftest.er1
2582 ac_status=$?
2583 grep -v '^ *+' conftest.er1 >conftest.err
2584 rm -f conftest.er1
2585 cat conftest.err >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } && {
2588 test -z "$ac_c_werror_flag" ||
2589 test ! -s conftest.err
2590 } && test -s conftest$ac_exeext &&
2591 $as_test_x conftest$ac_exeext; then
2592 ac_cv_futimes=yes
2593 else
2594 echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2596
2597 ac_cv_futimes=no
2598 fi
2599
2600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2601 conftest$ac_exeext conftest.$ac_ext
2602 fi
2603 { echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5
2604 echo "${ECHO_T}$ac_cv_futimes" >&6; }
2605 test $ac_cv_futimes = yes &&
2606 cat >>confdefs.h <<\_ACEOF
2607 #define HAVE_FUTIMES 1
2608 _ACEOF
2609
2610
2611 { echo "$as_me:$LINENO: checking for readahead" >&5
2612 echo $ECHO_N "checking for readahead... $ECHO_C" >&6; }
2613 if test "${ac_cv_readahead+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 else
2616 cat >conftest.$ac_ext <<_ACEOF
2617
2618 #include <fcntl.h>
2619 int main(void)
2620 {
2621 int fd = 0;
2622 off64_t offset = 1;
2623 size_t count = 2;
2624 ssize_t res;
2625 res = readahead (fd, offset, count);
2626 return 0;
2627 }
2628
2629 _ACEOF
2630 rm -f conftest.$ac_objext conftest$ac_exeext
2631 if { (ac_try="$ac_link"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_link") 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest$ac_exeext &&
2647 $as_test_x conftest$ac_exeext; then
2648 ac_cv_readahead=yes
2649 else
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2652
2653 ac_cv_readahead=no
2654 fi
2655
2656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2657 conftest$ac_exeext conftest.$ac_ext
2658 fi
2659 { echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5
2660 echo "${ECHO_T}$ac_cv_readahead" >&6; }
2661 test $ac_cv_readahead = yes &&
2662 cat >>confdefs.h <<\_ACEOF
2663 #define HAVE_READAHEAD 1
2664 _ACEOF
2665
2666
2667 { echo "$as_me:$LINENO: checking for fdatasync" >&5
2668 echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
2669 if test "${ac_cv_fdatasync+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 else
2672 cat >conftest.$ac_ext <<_ACEOF
2673
2674 #include <unistd.h>
2675 int main(void)
2676 {
2677 int fd = 0;
2678 fdatasync (fd);
2679 return 0;
2680 }
2681
2682 _ACEOF
2683 rm -f conftest.$ac_objext conftest$ac_exeext
2684 if { (ac_try="$ac_link"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_link") 2>conftest.er1
2691 ac_status=$?
2692 grep -v '^ *+' conftest.er1 >conftest.err
2693 rm -f conftest.er1
2694 cat conftest.err >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); } && {
2697 test -z "$ac_c_werror_flag" ||
2698 test ! -s conftest.err
2699 } && test -s conftest$ac_exeext &&
2700 $as_test_x conftest$ac_exeext; then
2701 ac_cv_fdatasync=yes
2702 else
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 ac_cv_fdatasync=no
2707 fi
2708
2709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2710 conftest$ac_exeext conftest.$ac_ext
2711 fi
2712 { echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5
2713 echo "${ECHO_T}$ac_cv_fdatasync" >&6; }
2714 test $ac_cv_fdatasync = yes &&
2715 cat >>confdefs.h <<\_ACEOF
2716 #define HAVE_FDATASYNC 1
2717 _ACEOF
2718
2719
2720 { echo "$as_me:$LINENO: checking for pread and pwrite" >&5
2721 echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; }
2722 if test "${ac_cv_preadwrite+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 else
2725 cat >conftest.$ac_ext <<_ACEOF
2726
2727 #include <unistd.h>
2728 int main(void)
2729 {
2730 int fd = 0;
2731 size_t count = 1;
2732 char buf;
2733 off_t offset = 1;
2734 ssize_t res;
2735 res = pread (fd, &buf, count, offset);
2736 res = pwrite (fd, &buf, count, offset);
2737 return 0;
2738 }
2739
2740 _ACEOF
2741 rm -f conftest.$ac_objext conftest$ac_exeext
2742 if { (ac_try="$ac_link"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_link") 2>conftest.er1
2749 ac_status=$?
2750 grep -v '^ *+' conftest.er1 >conftest.err
2751 rm -f conftest.er1
2752 cat conftest.err >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); } && {
2755 test -z "$ac_c_werror_flag" ||
2756 test ! -s conftest.err
2757 } && test -s conftest$ac_exeext &&
2758 $as_test_x conftest$ac_exeext; then
2759 ac_cv_preadwrite=yes
2760 else
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2763
2764 ac_cv_preadwrite=no
2765 fi
2766
2767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2768 conftest$ac_exeext conftest.$ac_ext
2769 fi
2770 { echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5
2771 echo "${ECHO_T}$ac_cv_preadwrite" >&6; }
2772 test $ac_cv_preadwrite = yes &&
2773 cat >>confdefs.h <<\_ACEOF
2774 #define HAVE_PREADWRITE 1
2775 _ACEOF
2776
2777
2778 { echo "$as_me:$LINENO: checking for readdir_r" >&5
2779 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
2780 if test "${ac_cv_readdir_r+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2782 else
2783 cat >conftest.$ac_ext <<_ACEOF
2784
2785 #include <dirent.h>
2786 int main(void)
2787 {
2788 DIR *dir = 0;
2789 struct dirent ent, *eres;
2790 int res = readdir_r (dir, &ent, &eres);
2791 return 0;
2792 }
2793
2794 _ACEOF
2795 rm -f conftest.$ac_objext conftest$ac_exeext
2796 if { (ac_try="$ac_link"
2797 case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2802 (eval "$ac_link") 2>conftest.er1
2803 ac_status=$?
2804 grep -v '^ *+' conftest.er1 >conftest.err
2805 rm -f conftest.er1
2806 cat conftest.err >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } && {
2809 test -z "$ac_c_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest$ac_exeext &&
2812 $as_test_x conftest$ac_exeext; then
2813 ac_cv_readdir_r=yes
2814 else
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2817
2818 ac_cv_readdir_r=no
2819 fi
2820
2821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2822 conftest$ac_exeext conftest.$ac_ext
2823 fi
2824 { echo "$as_me:$LINENO: result: $ac_cv_readdir_r" >&5
2825 echo "${ECHO_T}$ac_cv_readdir_r" >&6; }
2826 test $ac_cv_readdir_r = yes &&
2827 cat >>confdefs.h <<\_ACEOF
2828 #define HAVE_READDIR_R 1
2829 _ACEOF
2830
2831
2832 { echo "$as_me:$LINENO: checking for sendfile" >&5
2833 echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; }
2834 if test "${ac_cv_sendfile+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 else
2837 cat >conftest.$ac_ext <<_ACEOF
2838
2839 # include <sys/types.h>
2840 #if __linux
2841 # include <sys/sendfile.h>
2842 #elif __freebsd
2843 # include <sys/socket.h>
2844 # include <sys/uio.h>
2845 #elif __hpux
2846 # include <sys/socket.h>
2847 #else
2848 # error unsupported architecture
2849 #endif
2850 int main(void)
2851 {
2852 int fd = 0;
2853 off_t offset = 1;
2854 size_t count = 2;
2855 ssize_t res;
2856 #if __linux
2857 res = sendfile (fd, fd, offset, count);
2858 #elif __freebsd
2859 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2860 #elif __hpux
2861 res = sendfile (fd, fd, offset, count, 0, 0);
2862 #endif
2863 return 0;
2864 }
2865
2866 _ACEOF
2867 rm -f conftest.$ac_objext conftest$ac_exeext
2868 if { (ac_try="$ac_link"
2869 case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872 esac
2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 (eval "$ac_link") 2>conftest.er1
2875 ac_status=$?
2876 grep -v '^ *+' conftest.er1 >conftest.err
2877 rm -f conftest.er1
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest$ac_exeext &&
2884 $as_test_x conftest$ac_exeext; then
2885 ac_cv_sendfile=yes
2886 else
2887 echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2889
2890 ac_cv_sendfile=no
2891 fi
2892
2893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2894 conftest$ac_exeext conftest.$ac_ext
2895 fi
2896 { echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5
2897 echo "${ECHO_T}$ac_cv_sendfile" >&6; }
2898 test $ac_cv_sendfile = yes &&
2899 cat >>confdefs.h <<\_ACEOF
2900 #define HAVE_SENDFILE 1
2901 _ACEOF
2902
2903
2904 cat >confcache <<\_ACEOF
2905 # This file is a shell script that caches the results of configure
2906 # tests run on this system so they can be shared between configure
2907 # scripts and configure runs, see configure's option --config-cache.
2908 # It is not useful on other systems. If it contains results you don't
2909 # want to keep, you may remove or edit it.
2910 #
2911 # config.status only pays attention to the cache file if you give it
2912 # the --recheck option to rerun configure.
2913 #
2914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2916 # following values.
2917
2918 _ACEOF
2919
2920 # The following way of writing the cache mishandles newlines in values,
2921 # but we know of no workaround that is simple, portable, and efficient.
2922 # So, we kill variables containing newlines.
2923 # Ultrix sh set writes to stderr and can't be redirected directly,
2924 # and sets the high bit in the cache file unless we assign to the vars.
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
2932 echo "$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
2941 (set) 2>&1 |
2942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2943 *${as_nl}ac_space=\ *)
2944 # `set' does not quote correctly, so add quotes (double-quote
2945 # substitution turns \\\\ into \\, and sed turns \\ into \).
2946 sed -n \
2947 "s/'/'\\\\''/g;
2948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2949 ;; #(
2950 *)
2951 # `set' quotes correctly as required by POSIX, so do not add quotes.
2952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2953 ;;
2954 esac |
2955 sort
2956 ) |
2957 sed '
2958 /^ac_cv_env_/b end
2959 t clear
2960 :clear
2961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2962 t end
2963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2964 :end' >>confcache
2965 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2966 if test -w "$cache_file"; then
2967 test "x$cache_file" != "x/dev/null" &&
2968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2969 echo "$as_me: updating cache $cache_file" >&6;}
2970 cat confcache >$cache_file
2971 else
2972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2973 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2974 fi
2975 fi
2976 rm -f confcache
2977
2978 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2979 # Let make expand exec_prefix.
2980 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2981
2982 DEFS=-DHAVE_CONFIG_H
2983
2984 ac_libobjs=
2985 ac_ltlibobjs=
2986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2987 # 1. Remove the extension, and $U if already installed.
2988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
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.
2992 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2993 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2994 done
2995 LIBOBJS=$ac_libobjs
2996
2997 LTLIBOBJS=$ac_ltlibobjs
2998
2999
3000
3001 : ${CONFIG_STATUS=./config.status}
3002 ac_clean_files_save=$ac_clean_files
3003 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3006 cat >$CONFIG_STATUS <<_ACEOF
3007 #! $SHELL
3008 # Generated by $as_me.
3009 # Run this file to recreate the current configuration.
3010 # Compiler output produced by configure, useful for debugging
3011 # configure, is in config.log if it exists.
3012
3013 debug=false
3014 ac_cs_recheck=false
3015 ac_cs_silent=false
3016 SHELL=\${CONFIG_SHELL-$SHELL}
3017 _ACEOF
3018
3019 cat >>$CONFIG_STATUS <<\_ACEOF
3020 ## --------------------- ##
3021 ## M4sh Initialization. ##
3022 ## --------------------- ##
3023
3024 # Be more Bourne compatible
3025 DUALCASE=1; export DUALCASE # for MKS sh
3026 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3027 emulate sh
3028 NULLCMD=:
3029 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3030 # is contrary to our usage. Disable this feature.
3031 alias -g '${1+"$@"}'='"$@"'
3032 setopt NO_GLOB_SUBST
3033 else
3034 case `(set -o) 2>/dev/null` in
3035 *posix*) set -o posix ;;
3036 esac
3037
3038 fi
3039
3040
3041
3042
3043 # PATH needs CR
3044 # Avoid depending upon Character Ranges.
3045 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3046 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3047 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3048 as_cr_digits='0123456789'
3049 as_cr_alnum=$as_cr_Letters$as_cr_digits
3050
3051 # The user is always right.
3052 if test "${PATH_SEPARATOR+set}" != set; then
3053 echo "#! /bin/sh" >conf$$.sh
3054 echo "exit 0" >>conf$$.sh
3055 chmod +x conf$$.sh
3056 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3057 PATH_SEPARATOR=';'
3058 else
3059 PATH_SEPARATOR=:
3060 fi
3061 rm -f conf$$.sh
3062 fi
3063
3064 # Support unset when possible.
3065 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3066 as_unset=unset
3067 else
3068 as_unset=false
3069 fi
3070
3071
3072 # IFS
3073 # We need space, tab and new line, in precisely that order. Quoting is
3074 # there to prevent editors from complaining about space-tab.
3075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3076 # splitting by setting IFS to empty value.)
3077 as_nl='
3078 '
3079 IFS=" "" $as_nl"
3080
3081 # Find who we are. Look in the path if we contain no directory separator.
3082 case $0 in
3083 *[\\/]* ) as_myself=$0 ;;
3084 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3086 do
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3090 done
3091 IFS=$as_save_IFS
3092
3093 ;;
3094 esac
3095 # We did not find ourselves, most probably we were run as `sh COMMAND'
3096 # in which case we are not to be found in the path.
3097 if test "x$as_myself" = x; then
3098 as_myself=$0
3099 fi
3100 if 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; }
3103 fi
3104
3105 # Work around bugs in pre-3.0 UWIN ksh.
3106 for as_var in ENV MAIL MAILPATH
3107 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3108 done
3109 PS1='$ '
3110 PS2='> '
3111 PS4='+ '
3112
3113 # NLS nuisances.
3114 for 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
3118 do
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
3123 fi
3124 done
3125
3126 # Required to use basename.
3127 if expr a : '\(a\)' >/dev/null 2>&1 &&
3128 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3129 as_expr=expr
3130 else
3131 as_expr=false
3132 fi
3133
3134 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3135 as_basename=basename
3136 else
3137 as_basename=false
3138 fi
3139
3140
3141 # Name of the executable.
3142 as_me=`$as_basename -- "$0" ||
3143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3144 X"$0" : 'X\(//\)$' \| \
3145 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3146 echo 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
3166 as_lineno_1=$LINENO
3167 as_lineno_2=$LINENO
3168 test "x$as_lineno_1" != "x$as_lineno_2" &&
3169 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3170
3171 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3172 # uniformly replaced by the line number. The first 'sed' inserts a
3173 # line-number line after each line using $LINENO; the second 'sed'
3174 # does the real work. The second script uses 'N' to pair each
3175 # line-number line with the line containing $LINENO, and appends
3176 # trailing '-' during substitution so that $LINENO is not a special
3177 # case at line end.
3178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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/=
3184 ' <$as_myself |
3185 sed '
3186 s/[$]LINENO.*/&-/
3187 t lineno
3188 b
3189 :lineno
3190 N
3191 :loop
3192 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3193 t loop
3194 s/-\n.*//
3195 ' >$as_me.lineno &&
3196 chmod +x "$as_me.lineno" ||
3197 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3198 { (exit 1); exit 1; }; }
3199
3200 # Don't try to exec as it changes $[0], causing all sort of problems
3201 # (the dirname of $[0] is not the place where we might find the
3202 # original and so on. Autoconf is especially sensitive to this).
3203 . "./$as_me.lineno"
3204 # Exit status is that of the last command.
3205 exit
3206 }
3207
3208
3209 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3210 as_dirname=dirname
3211 else
3212 as_dirname=false
3213 fi
3214
3215 ECHO_C= ECHO_N= ECHO_T=
3216 case `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';;
3224 esac
3225
3226 if expr a : '\(a\)' >/dev/null 2>&1 &&
3227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3228 as_expr=expr
3229 else
3230 as_expr=false
3231 fi
3232
3233 rm -f conf$$ conf$$.exe conf$$.file
3234 if test -d conf$$.dir; then
3235 rm -f conf$$.dir/conf$$.file
3236 else
3237 rm -f conf$$.dir
3238 mkdir conf$$.dir
3239 fi
3240 echo >conf$$.file
3241 if ln -s conf$$.file conf$$ 2>/dev/null; then
3242 as_ln_s='ln -s'
3243 # ... but there are two gotchas:
3244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
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 ||
3248 as_ln_s='cp -p'
3249 elif ln conf$$.file conf$$ 2>/dev/null; then
3250 as_ln_s=ln
3251 else
3252 as_ln_s='cp -p'
3253 fi
3254 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3255 rmdir conf$$.dir 2>/dev/null
3256
3257 if mkdir -p . 2>/dev/null; then
3258 as_mkdir_p=:
3259 else
3260 test -d ./-p && rmdir ./-p
3261 as_mkdir_p=false
3262 fi
3263
3264 if test -x / >/dev/null 2>&1; then
3265 as_test_x='test -x'
3266 else
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 '
3284 fi
3285 as_executable_p=$as_test_x
3286
3287 # Sed expression to map a string onto a valid CPP name.
3288 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3289
3290 # Sed expression to map a string onto a valid variable name.
3291 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3292
3293
3294 exec 6>&1
3295
3296 # Save the log message, to keep $[0] and so on meaningful, and to
3297 # report actual input values of CONFIG_FILES etc. instead of their
3298 # values after options handling.
3299 ac_log="
3300 This file was extended by $as_me, which was
3301 generated by GNU Autoconf 2.61. Invocation command line was
3302
3303 CONFIG_FILES = $CONFIG_FILES
3304 CONFIG_HEADERS = $CONFIG_HEADERS
3305 CONFIG_LINKS = $CONFIG_LINKS
3306 CONFIG_COMMANDS = $CONFIG_COMMANDS
3307 $ $0 $@
3308
3309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3310 "
3311
3312 _ACEOF
3313
3314 cat >>$CONFIG_STATUS <<_ACEOF
3315 # Files that config.status was made for.
3316 config_headers="$ac_config_headers"
3317
3318 _ACEOF
3319
3320 cat >>$CONFIG_STATUS <<\_ACEOF
3321 ac_cs_usage="\
3322 \`$as_me' instantiates files from templates according to the
3323 current configuration.
3324
3325 Usage: $0 [OPTIONS] [FILE]...
3326
3327 -h, --help print this help, then exit
3328 -V, --version print version number and configuration settings, then exit
3329 -q, --quiet do not print progress messages
3330 -d, --debug don't remove temporary files
3331 --recheck update $as_me by reconfiguring in the same conditions
3332 --header=FILE[:TEMPLATE]
3333 instantiate the configuration header FILE
3334
3335 Configuration headers:
3336 $config_headers
3337
3338 Report bugs to <bug-autoconf@gnu.org>."
3339
3340 _ACEOF
3341 cat >>$CONFIG_STATUS <<_ACEOF
3342 ac_cs_version="\\
3343 config.status
3344 configured by $0, generated by GNU Autoconf 2.61,
3345 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3346
3347 Copyright (C) 2006 Free Software Foundation, Inc.
3348 This config.status script is free software; the Free Software Foundation
3349 gives unlimited permission to copy, distribute and modify it."
3350
3351 ac_pwd='$ac_pwd'
3352 srcdir='$srcdir'
3353 _ACEOF
3354
3355 cat >>$CONFIG_STATUS <<\_ACEOF
3356 # If no file are specified by the user, then we need to provide default
3357 # value. By we need to know if files were specified by the user.
3358 ac_need_defaults=:
3359 while test $# != 0
3360 do
3361 case $1 in
3362 --*=*)
3363 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3364 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3365 ac_shift=:
3366 ;;
3367 *)
3368 ac_option=$1
3369 ac_optarg=$2
3370 ac_shift=shift
3371 ;;
3372 esac
3373
3374 case $ac_option in
3375 # Handling of the options.
3376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3377 ac_cs_recheck=: ;;
3378 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3379 echo "$ac_cs_version"; exit ;;
3380 --debug | --debu | --deb | --de | --d | -d )
3381 debug=: ;;
3382 --header | --heade | --head | --hea )
3383 $ac_shift
3384 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3385 ac_need_defaults=false;;
3386 --he | --h)
3387 # Conflict between --help and --header
3388 { echo "$as_me: error: ambiguous option: $1
3389 Try \`$0 --help' for more information." >&2
3390 { (exit 1); exit 1; }; };;
3391 --help | --hel | -h )
3392 echo "$ac_cs_usage"; exit ;;
3393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3395 ac_cs_silent=: ;;
3396
3397 # This is an error.
3398 -*) { echo "$as_me: error: unrecognized option: $1
3399 Try \`$0 --help' for more information." >&2
3400 { (exit 1); exit 1; }; } ;;
3401
3402 *) ac_config_targets="$ac_config_targets $1"
3403 ac_need_defaults=false ;;
3404
3405 esac
3406 shift
3407 done
3408
3409 ac_configure_extra_args=
3410
3411 if $ac_cs_silent; then
3412 exec 6>/dev/null
3413 ac_configure_extra_args="$ac_configure_extra_args --silent"
3414 fi
3415
3416 _ACEOF
3417 cat >>$CONFIG_STATUS <<_ACEOF
3418 if \$ac_cs_recheck; then
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
3422 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3423 fi
3424
3425 _ACEOF
3426 cat >>$CONFIG_STATUS <<\_ACEOF
3427 exec 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
3437 cat >>$CONFIG_STATUS <<_ACEOF
3438 _ACEOF
3439
3440 cat >>$CONFIG_STATUS <<\_ACEOF
3441
3442 # Handling of arguments.
3443 for ac_config_target in $ac_config_targets
3444 do
3445 case $ac_config_target in
3446 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3447
3448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3449 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3450 { (exit 1); exit 1; }; };;
3451 esac
3452 done
3453
3454
3455 # If the user did not use the arguments to specify the items to instantiate,
3456 # then the envvar interface is used. Set only those that are not.
3457 # We use the long form for the default assignment because of an extremely
3458 # bizarre bug on SunOS 4.1.3.
3459 if $ac_need_defaults; then
3460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3461 fi
3462
3463 # Have a temporary directory for convenience. Make it in the build tree
3464 # simply because there is no reason against having it here, and in addition,
3465 # creating and moving files from /tmp can sometimes cause problems.
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'.
3469 $debug ||
3470 {
3471 tmp=
3472 trap 'exit_status=$?
3473 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3474 ' 0
3475 trap '{ (exit 1); exit 1; }' 1 2 13 15
3476 }
3477 # Create a (secure) tmp directory for tmp files.
3478
3479 {
3480 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3481 test -n "$tmp" && test -d "$tmp"
3482 } ||
3483 {
3484 tmp=./conf$$-$RANDOM
3485 (umask 077 && mkdir "$tmp")
3486 } ||
3487 {
3488 echo "$me: cannot create a temporary directory in ." >&2
3489 { (exit 1); exit 1; }
3490 }
3491
3492
3493 for ac_tag in :H $CONFIG_HEADERS
3494 do
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
3501 echo "$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
3513
3514 case $ac_mode in
3515 :L) ac_source=$1;;
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
3531 echo "$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
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
3545 echo "$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 ||
3559 echo 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 ||
3594 echo 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
3616 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3617 { (exit 1); exit 1; }; }; }
3618 ac_builddir=.
3619
3620 case "$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 ;;
3630 esac
3631 ac_abs_top_builddir=$ac_pwd
3632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3633 # for backward compatibility:
3634 ac_top_builddir=$ac_top_build_prefix
3635
3636 case $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 ;;
3649 esac
3650 ac_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.
3663 rm -f conftest.defines conftest.tail
3664 # First, append a space to every undef/define line, to ease matching.
3665 echo '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.
3671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3672 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3673 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3674 # PARAMS is the parameter list in the macro definition--in most cases, it's
3675 # just an empty string.
3676 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3677 ac_dB='\\)[ (].*,\\1define\\2'
3678 ac_dC=' '
3679 ac_dD=' ,'
3680
3681 uniq confdefs.h |
3682 sed -n '
3683 t rset
3684 :rset
3685 s/^[ ]*#[ ]*define[ ][ ]*//
3686 t ok
3687 d
3688 :ok
3689 s/[\\&,]/\\&/g
3690 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3691 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3692 ' >>conftest.defines
3693
3694 # Remove the space that was appended to ease matching.
3695 # Then replace #undef with comments. This is necessary, for
3696 # example, in the case of _POSIX_SOURCE, which is predefined and required
3697 # on some systems where configure will not decide to define it.
3698 # (The regexp can be short, since the line contains either #define or #undef.)
3699 echo 's/ $//
3700 s,^[ #]*u.*,/* & */,' >>conftest.defines
3701
3702 # Break up conftest.defines:
3703 ac_max_sed_lines=50
3704
3705 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3706 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3707 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3708 # et cetera.
3709 ac_in='$ac_file_inputs'
3710 ac_out='"$tmp/out1"'
3711 ac_nxt='"$tmp/out2"'
3712
3713 while :
3714 do
3715 # Write a here document:
3716 cat >>$CONFIG_STATUS <<_ACEOF
3717 # First, check the format of the line:
3718 cat >"\$tmp/defines.sed" <<\\CEOF
3719 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3720 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3721 b
3722 :def
3723 _ACEOF
3724 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3725 echo 'CEOF
3726 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3727 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3728 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3729 grep . conftest.tail >/dev/null || break
3730 rm -f conftest.defines
3731 mv conftest.tail conftest.defines
3732 done
3733 rm -f conftest.defines conftest.tail
3734
3735 echo "ac_result=$ac_in" >>$CONFIG_STATUS
3736 cat >>$CONFIG_STATUS <<\_ACEOF
3737 if test x"$ac_file" != x-; then
3738 echo "/* $configure_input */" >"$tmp/config.h"
3739 cat "$ac_result" >>"$tmp/config.h"
3740 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3741 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3742 echo "$as_me: $ac_file is unchanged" >&6;}
3743 else
3744 rm -f $ac_file
3745 mv "$tmp/config.h" $ac_file
3746 fi
3747 else
3748 echo "/* $configure_input */"
3749 cat "$ac_result"
3750 fi
3751 rm -f "$tmp/out12"
3752 ;;
3753
3754
3755 esac
3756
3757 done # for ac_tag
3758
3759
3760 { (exit 0); exit 0; }
3761 _ACEOF
3762 chmod +x $CONFIG_STATUS
3763 ac_clean_files=$ac_clean_files_save
3764
3765
3766 # configure is writing to config.log, and then calls config.status.
3767 # config.status does its own redirection, appending to config.log.
3768 # Unfortunately, on DOS this fails, as config.log is still kept open
3769 # by configure, so config.status won't be able to write to it; its
3770 # output is simply discarded. So we exec the FD to /dev/null,
3771 # effectively closing config.log, so it can be properly (re)opened and
3772 # appended to by config.status. When coming back to configure, we
3773 # need to make the FD available again.
3774 if test "$no_create" != yes; then
3775 ac_cs_success=:
3776 ac_config_status_args=
3777 test "$silent" = yes &&
3778 ac_config_status_args="$ac_config_status_args --quiet"
3779 exec 5>/dev/null
3780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3781 exec 5>>config.log
3782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3783 # would make configure fail if this is the last instruction.
3784 $ac_cs_success || { (exit 1); exit 1; }
3785 fi
3786