ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
Revision: 1.5
Committed: Fri May 30 04:54:13 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-3_16, rel-3_1, rel-3_15, rel-3_07, rel-3_04, rel-3_06, rel-3_05
Changes since 1.4: +0 -54 lines
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_unique_file="libeio/eio.h"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
617 CC
618 CFLAGS
619 LDFLAGS
620 CPPFLAGS
621 ac_ct_CC
622 EXEEXT
623 OBJEXT
624 LIBOBJS
625 LTLIBOBJS'
626 ac_subst_files=''
627 ac_precious_vars='build_alias
628 host_alias
629 target_alias
630 CC
631 CFLAGS
632 LDFLAGS
633 LIBS
634 CPPFLAGS'
635
636
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
642 cache_file=/dev/null
643 exec_prefix=NONE
644 no_create=
645 no_recursion=
646 prefix=NONE
647 program_prefix=NONE
648 program_suffix=NONE
649 program_transform_name=s,x,x,
650 silent=
651 site=
652 srcdir=
653 verbose=
654 x_includes=NONE
655 x_libraries=NONE
656
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir='${exec_prefix}/bin'
664 sbindir='${exec_prefix}/sbin'
665 libexecdir='${exec_prefix}/libexec'
666 datarootdir='${prefix}/share'
667 datadir='${datarootdir}'
668 sysconfdir='${prefix}/etc'
669 sharedstatedir='${prefix}/com'
670 localstatedir='${prefix}/var'
671 includedir='${prefix}/include'
672 oldincludedir='/usr/include'
673 docdir='${datarootdir}/doc/${PACKAGE}'
674 infodir='${datarootdir}/info'
675 htmldir='${docdir}'
676 dvidir='${docdir}'
677 pdfdir='${docdir}'
678 psdir='${docdir}'
679 libdir='${exec_prefix}/lib'
680 localedir='${datarootdir}/locale'
681 mandir='${datarootdir}/man'
682
683 ac_prev=
684 ac_dashdash=
685 for ac_option
686 do
687 # If the previous option needs an argument, assign it.
688 if test -n "$ac_prev"; then
689 eval $ac_prev=\$ac_option
690 ac_prev=
691 continue
692 fi
693
694 case $ac_option in
695 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
696 *) ac_optarg=yes ;;
697 esac
698
699 # Accept the important Cygnus configure options, so we can diagnose typos.
700
701 case $ac_dashdash$ac_option in
702 --)
703 ac_dashdash=yes ;;
704
705 -bindir | --bindir | --bindi | --bind | --bin | --bi)
706 ac_prev=bindir ;;
707 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
708 bindir=$ac_optarg ;;
709
710 -build | --build | --buil | --bui | --bu)
711 ac_prev=build_alias ;;
712 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
713 build_alias=$ac_optarg ;;
714
715 -cache-file | --cache-file | --cache-fil | --cache-fi \
716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
717 ac_prev=cache_file ;;
718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
720 cache_file=$ac_optarg ;;
721
722 --config-cache | -C)
723 cache_file=config.cache ;;
724
725 -datadir | --datadir | --datadi | --datad)
726 ac_prev=datadir ;;
727 -datadir=* | --datadir=* | --datadi=* | --datad=*)
728 datadir=$ac_optarg ;;
729
730 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
731 | --dataroo | --dataro | --datar)
732 ac_prev=datarootdir ;;
733 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735 datarootdir=$ac_optarg ;;
736
737 -disable-* | --disable-*)
738 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742 { (exit 1); exit 1; }; }
743 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
744 eval enable_$ac_feature=no ;;
745
746 -docdir | --docdir | --docdi | --doc | --do)
747 ac_prev=docdir ;;
748 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749 docdir=$ac_optarg ;;
750
751 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
752 ac_prev=dvidir ;;
753 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754 dvidir=$ac_optarg ;;
755
756 -enable-* | --enable-*)
757 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761 { (exit 1); exit 1; }; }
762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
763 eval enable_$ac_feature=\$ac_optarg ;;
764
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;;
769 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771 | --exec=* | --exe=* | --ex=*)
772 exec_prefix=$ac_optarg ;;
773
774 -gas | --gas | --ga | --g)
775 # Obsolete; use --with-gas.
776 with_gas=yes ;;
777
778 -help | --help | --hel | --he | -h)
779 ac_init_help=long ;;
780 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781 ac_init_help=recursive ;;
782 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783 ac_init_help=short ;;
784
785 -host | --host | --hos | --ho)
786 ac_prev=host_alias ;;
787 -host=* | --host=* | --hos=* | --ho=*)
788 host_alias=$ac_optarg ;;
789
790 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791 ac_prev=htmldir ;;
792 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793 | --ht=*)
794 htmldir=$ac_optarg ;;
795
796 -includedir | --includedir | --includedi | --included | --include \
797 | --includ | --inclu | --incl | --inc)
798 ac_prev=includedir ;;
799 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800 | --includ=* | --inclu=* | --incl=* | --inc=*)
801 includedir=$ac_optarg ;;
802
803 -infodir | --infodir | --infodi | --infod | --info | --inf)
804 ac_prev=infodir ;;
805 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806 infodir=$ac_optarg ;;
807
808 -libdir | --libdir | --libdi | --libd)
809 ac_prev=libdir ;;
810 -libdir=* | --libdir=* | --libdi=* | --libd=*)
811 libdir=$ac_optarg ;;
812
813 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814 | --libexe | --libex | --libe)
815 ac_prev=libexecdir ;;
816 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817 | --libexe=* | --libex=* | --libe=*)
818 libexecdir=$ac_optarg ;;
819
820 -localedir | --localedir | --localedi | --localed | --locale)
821 ac_prev=localedir ;;
822 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823 localedir=$ac_optarg ;;
824
825 -localstatedir | --localstatedir | --localstatedi | --localstated \
826 | --localstate | --localstat | --localsta | --localst | --locals)
827 ac_prev=localstatedir ;;
828 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830 localstatedir=$ac_optarg ;;
831
832 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833 ac_prev=mandir ;;
834 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835 mandir=$ac_optarg ;;
836
837 -nfp | --nfp | --nf)
838 # Obsolete; use --without-fp.
839 with_fp=no ;;
840
841 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842 | --no-cr | --no-c | -n)
843 no_create=yes ;;
844
845 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847 no_recursion=yes ;;
848
849 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851 | --oldin | --oldi | --old | --ol | --o)
852 ac_prev=oldincludedir ;;
853 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856 oldincludedir=$ac_optarg ;;
857
858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859 ac_prev=prefix ;;
860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861 prefix=$ac_optarg ;;
862
863 -program-prefix | --program-prefix | --program-prefi | --program-pref \
864 | --program-pre | --program-pr | --program-p)
865 ac_prev=program_prefix ;;
866 -program-prefix=* | --program-prefix=* | --program-prefi=* \
867 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868 program_prefix=$ac_optarg ;;
869
870 -program-suffix | --program-suffix | --program-suffi | --program-suff \
871 | --program-suf | --program-su | --program-s)
872 ac_prev=program_suffix ;;
873 -program-suffix=* | --program-suffix=* | --program-suffi=* \
874 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875 program_suffix=$ac_optarg ;;
876
877 -program-transform-name | --program-transform-name \
878 | --program-transform-nam | --program-transform-na \
879 | --program-transform-n | --program-transform- \
880 | --program-transform | --program-transfor \
881 | --program-transfo | --program-transf \
882 | --program-trans | --program-tran \
883 | --progr-tra | --program-tr | --program-t)
884 ac_prev=program_transform_name ;;
885 -program-transform-name=* | --program-transform-name=* \
886 | --program-transform-nam=* | --program-transform-na=* \
887 | --program-transform-n=* | --program-transform-=* \
888 | --program-transform=* | --program-transfor=* \
889 | --program-transfo=* | --program-transf=* \
890 | --program-trans=* | --program-tran=* \
891 | --progr-tra=* | --program-tr=* | --program-t=*)
892 program_transform_name=$ac_optarg ;;
893
894 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895 ac_prev=pdfdir ;;
896 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897 pdfdir=$ac_optarg ;;
898
899 -psdir | --psdir | --psdi | --psd | --ps)
900 ac_prev=psdir ;;
901 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902 psdir=$ac_optarg ;;
903
904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905 | -silent | --silent | --silen | --sile | --sil)
906 silent=yes ;;
907
908 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909 ac_prev=sbindir ;;
910 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911 | --sbi=* | --sb=*)
912 sbindir=$ac_optarg ;;
913
914 -sharedstatedir | --sharedstatedir | --sharedstatedi \
915 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916 | --sharedst | --shareds | --shared | --share | --shar \
917 | --sha | --sh)
918 ac_prev=sharedstatedir ;;
919 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922 | --sha=* | --sh=*)
923 sharedstatedir=$ac_optarg ;;
924
925 -site | --site | --sit)
926 ac_prev=site ;;
927 -site=* | --site=* | --sit=*)
928 site=$ac_optarg ;;
929
930 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931 ac_prev=srcdir ;;
932 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933 srcdir=$ac_optarg ;;
934
935 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936 | --syscon | --sysco | --sysc | --sys | --sy)
937 ac_prev=sysconfdir ;;
938 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940 sysconfdir=$ac_optarg ;;
941
942 -target | --target | --targe | --targ | --tar | --ta | --t)
943 ac_prev=target_alias ;;
944 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945 target_alias=$ac_optarg ;;
946
947 -v | -verbose | --verbose | --verbos | --verbo | --verb)
948 verbose=yes ;;
949
950 -version | --version | --versio | --versi | --vers | -V)
951 ac_init_version=: ;;
952
953 -with-* | --with-*)
954 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2
958 { (exit 1); exit 1; }; }
959 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960 eval with_$ac_package=\$ac_optarg ;;
961
962 -without-* | --without-*)
963 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
966 { echo "$as_me: error: invalid package name: $ac_package" >&2
967 { (exit 1); exit 1; }; }
968 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
969 eval with_$ac_package=no ;;
970
971 --x)
972 # Obsolete; use --with-x.
973 with_x=yes ;;
974
975 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
976 | --x-incl | --x-inc | --x-in | --x-i)
977 ac_prev=x_includes ;;
978 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
979 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
980 x_includes=$ac_optarg ;;
981
982 -x-libraries | --x-libraries | --x-librarie | --x-librari \
983 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
984 ac_prev=x_libraries ;;
985 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987 x_libraries=$ac_optarg ;;
988
989 -*) { echo "$as_me: error: unrecognized option: $ac_option
990 Try \`$0 --help' for more information." >&2
991 { (exit 1); exit 1; }; }
992 ;;
993
994 *=*)
995 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
998 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999 { (exit 1); exit 1; }; }
1000 eval $ac_envvar=\$ac_optarg
1001 export $ac_envvar ;;
1002
1003 *)
1004 # FIXME: should be removed in autoconf 3.0.
1005 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1009 ;;
1010
1011 esac
1012 done
1013
1014 if test -n "$ac_prev"; then
1015 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016 { echo "$as_me: error: missing argument to $ac_option" >&2
1017 { (exit 1); exit 1; }; }
1018 fi
1019
1020 # Be sure to have absolute directory names.
1021 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022 datadir sysconfdir sharedstatedir localstatedir includedir \
1023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024 libdir localedir mandir
1025 do
1026 eval ac_val=\$$ac_var
1027 case $ac_val in
1028 [\\/$]* | ?:[\\/]* ) continue;;
1029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1030 esac
1031 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032 { (exit 1); exit 1; }; }
1033 done
1034
1035 # There might be people who depend on the old broken behavior: `$host'
1036 # used to hold the argument of --host etc.
1037 # FIXME: To remove some day.
1038 build=$build_alias
1039 host=$host_alias
1040 target=$target_alias
1041
1042 # FIXME: To remove some day.
1043 if test "x$host_alias" != x; then
1044 if test "x$build_alias" = x; then
1045 cross_compiling=maybe
1046 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047 If a cross compiler is detected then cross compile mode will be used." >&2
1048 elif test "x$build_alias" != "x$host_alias"; then
1049 cross_compiling=yes
1050 fi
1051 fi
1052
1053 ac_tool_prefix=
1054 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1055
1056 test "$silent" = yes && exec 6>/dev/null
1057
1058
1059 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060 ac_ls_di=`ls -di .` &&
1061 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062 { echo "$as_me: error: Working directory cannot be determined" >&2
1063 { (exit 1); exit 1; }; }
1064 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065 { echo "$as_me: error: pwd does not report name of working directory" >&2
1066 { (exit 1); exit 1; }; }
1067
1068
1069 # Find the source files, if location was not specified.
1070 if test -z "$srcdir"; then
1071 ac_srcdir_defaulted=yes
1072 # Try the directory containing this script, then the parent directory.
1073 ac_confdir=`$as_dirname -- "$0" ||
1074 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075 X"$0" : 'X\(//\)[^/]' \| \
1076 X"$0" : 'X\(//\)$' \| \
1077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1078 echo X"$0" |
1079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1080 s//\1/
1081 q
1082 }
1083 /^X\(\/\/\)[^/].*/{
1084 s//\1/
1085 q
1086 }
1087 /^X\(\/\/\)$/{
1088 s//\1/
1089 q
1090 }
1091 /^X\(\/\).*/{
1092 s//\1/
1093 q
1094 }
1095 s/.*/./; q'`
1096 srcdir=$ac_confdir
1097 if test ! -r "$srcdir/$ac_unique_file"; then
1098 srcdir=..
1099 fi
1100 else
1101 ac_srcdir_defaulted=no
1102 fi
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1104 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1105 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1106 { (exit 1); exit 1; }; }
1107 fi
1108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1109 ac_abs_confdir=`(
1110 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1111 { (exit 1); exit 1; }; }
1112 pwd)`
1113 # When building in place, set srcdir=.
1114 if test "$ac_abs_confdir" = "$ac_pwd"; then
1115 srcdir=.
1116 fi
1117 # Remove unnecessary trailing slashes from srcdir.
1118 # Double slashes in file names in object file debugging info
1119 # mess up M-x gdb in Emacs.
1120 case $srcdir in
1121 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1122 esac
1123 for ac_var in $ac_precious_vars; do
1124 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1125 eval ac_env_${ac_var}_value=\$${ac_var}
1126 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1127 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1128 done
1129
1130 #
1131 # Report the --help message.
1132 #
1133 if test "$ac_init_help" = "long"; then
1134 # Omit some internal or obsolete options to make the list less imposing.
1135 # This message is too long to be a string in the A/UX 3.1 sh.
1136 cat <<_ACEOF
1137 \`configure' configures this package to adapt to many kinds of systems.
1138
1139 Usage: $0 [OPTION]... [VAR=VALUE]...
1140
1141 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1142 VAR=VALUE. See below for descriptions of some of the useful variables.
1143
1144 Defaults for the options are specified in brackets.
1145
1146 Configuration:
1147 -h, --help display this help and exit
1148 --help=short display options specific to this package
1149 --help=recursive display the short help of all the included packages
1150 -V, --version display version information and exit
1151 -q, --quiet, --silent do not print \`checking...' messages
1152 --cache-file=FILE cache test results in FILE [disabled]
1153 -C, --config-cache alias for \`--cache-file=config.cache'
1154 -n, --no-create do not create output files
1155 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1156
1157 Installation directories:
1158 --prefix=PREFIX install architecture-independent files in PREFIX
1159 [$ac_default_prefix]
1160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1161 [PREFIX]
1162
1163 By default, \`make install' will install all the files in
1164 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1165 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166 for instance \`--prefix=\$HOME'.
1167
1168 For better control, use the options below.
1169
1170 Fine tuning of the installation directories:
1171 --bindir=DIR user executables [EPREFIX/bin]
1172 --sbindir=DIR system admin executables [EPREFIX/sbin]
1173 --libexecdir=DIR program executables [EPREFIX/libexec]
1174 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1175 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1176 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1177 --libdir=DIR object code libraries [EPREFIX/lib]
1178 --includedir=DIR C header files [PREFIX/include]
1179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1182 --infodir=DIR info documentation [DATAROOTDIR/info]
1183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1184 --mandir=DIR man documentation [DATAROOTDIR/man]
1185 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1186 --htmldir=DIR html documentation [DOCDIR]
1187 --dvidir=DIR dvi documentation [DOCDIR]
1188 --pdfdir=DIR pdf documentation [DOCDIR]
1189 --psdir=DIR ps documentation [DOCDIR]
1190 _ACEOF
1191
1192 cat <<\_ACEOF
1193 _ACEOF
1194 fi
1195
1196 if test -n "$ac_init_help"; then
1197
1198 cat <<\_ACEOF
1199
1200 Some influential environment variables:
1201 CC C compiler command
1202 CFLAGS C compiler flags
1203 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1204 nonstandard directory <lib dir>
1205 LIBS libraries to pass to the linker, e.g. -l<library>
1206 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1207 you have headers in a nonstandard directory <include dir>
1208
1209 Use these variables to override the choices made by `configure' or to help
1210 it to find libraries and programs with nonstandard names/locations.
1211
1212 _ACEOF
1213 ac_status=$?
1214 fi
1215
1216 if test "$ac_init_help" = "recursive"; then
1217 # If there are subdirs, report their specific --help.
1218 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1219 test -d "$ac_dir" || continue
1220 ac_builddir=.
1221
1222 case "$ac_dir" in
1223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1224 *)
1225 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1226 # A ".." for each directory in $ac_dir_suffix.
1227 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1228 case $ac_top_builddir_sub in
1229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1231 esac ;;
1232 esac
1233 ac_abs_top_builddir=$ac_pwd
1234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1235 # for backward compatibility:
1236 ac_top_builddir=$ac_top_build_prefix
1237
1238 case $srcdir in
1239 .) # We are building in place.
1240 ac_srcdir=.
1241 ac_top_srcdir=$ac_top_builddir_sub
1242 ac_abs_top_srcdir=$ac_pwd ;;
1243 [\\/]* | ?:[\\/]* ) # Absolute name.
1244 ac_srcdir=$srcdir$ac_dir_suffix;
1245 ac_top_srcdir=$srcdir
1246 ac_abs_top_srcdir=$srcdir ;;
1247 *) # Relative name.
1248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1249 ac_top_srcdir=$ac_top_build_prefix$srcdir
1250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1251 esac
1252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1253
1254 cd "$ac_dir" || { ac_status=$?; continue; }
1255 # Check for guested configure.
1256 if test -f "$ac_srcdir/configure.gnu"; then
1257 echo &&
1258 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1259 elif test -f "$ac_srcdir/configure"; then
1260 echo &&
1261 $SHELL "$ac_srcdir/configure" --help=recursive
1262 else
1263 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1264 fi || ac_status=$?
1265 cd "$ac_pwd" || { ac_status=$?; break; }
1266 done
1267 fi
1268
1269 test -n "$ac_init_help" && exit $ac_status
1270 if $ac_init_version; then
1271 cat <<\_ACEOF
1272 configure
1273 generated by GNU Autoconf 2.61
1274
1275 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1276 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1277 This configure script is free software; the Free Software Foundation
1278 gives unlimited permission to copy, distribute and modify it.
1279 _ACEOF
1280 exit
1281 fi
1282 cat >config.log <<_ACEOF
1283 This file contains any messages produced by compilers while
1284 running configure, to aid debugging if configure makes a mistake.
1285
1286 It was created by $as_me, which was
1287 generated by GNU Autoconf 2.61. Invocation command line was
1288
1289 $ $0 $@
1290
1291 _ACEOF
1292 exec 5>>config.log
1293 {
1294 cat <<_ASUNAME
1295 ## --------- ##
1296 ## Platform. ##
1297 ## --------- ##
1298
1299 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1300 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1301 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1302 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1303 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1304
1305 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1306 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1307
1308 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1309 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1310 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1311 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1312 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1313 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1314 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1315
1316 _ASUNAME
1317
1318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319 for as_dir in $PATH
1320 do
1321 IFS=$as_save_IFS
1322 test -z "$as_dir" && as_dir=.
1323 echo "PATH: $as_dir"
1324 done
1325 IFS=$as_save_IFS
1326
1327 } >&5
1328
1329 cat >&5 <<_ACEOF
1330
1331
1332 ## ----------- ##
1333 ## Core tests. ##
1334 ## ----------- ##
1335
1336 _ACEOF
1337
1338
1339 # Keep a trace of the command line.
1340 # Strip out --no-create and --no-recursion so they do not pile up.
1341 # Strip out --silent because we don't want to record it for future runs.
1342 # Also quote any args containing shell meta-characters.
1343 # Make two passes to allow for proper duplicate-argument suppression.
1344 ac_configure_args=
1345 ac_configure_args0=
1346 ac_configure_args1=
1347 ac_must_keep_next=false
1348 for ac_pass in 1 2
1349 do
1350 for ac_arg
1351 do
1352 case $ac_arg in
1353 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1355 | -silent | --silent | --silen | --sile | --sil)
1356 continue ;;
1357 *\'*)
1358 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1359 esac
1360 case $ac_pass in
1361 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1362 2)
1363 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1364 if test $ac_must_keep_next = true; then
1365 ac_must_keep_next=false # Got value, back to normal.
1366 else
1367 case $ac_arg in
1368 *=* | --config-cache | -C | -disable-* | --disable-* \
1369 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1370 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1371 | -with-* | --with-* | -without-* | --without-* | --x)
1372 case "$ac_configure_args0 " in
1373 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1374 esac
1375 ;;
1376 -* ) ac_must_keep_next=true ;;
1377 esac
1378 fi
1379 ac_configure_args="$ac_configure_args '$ac_arg'"
1380 ;;
1381 esac
1382 done
1383 done
1384 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1385 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1386
1387 # When interrupted or exit'd, cleanup temporary files, and complete
1388 # config.log. We remove comments because anyway the quotes in there
1389 # would cause problems or look ugly.
1390 # WARNING: Use '\'' to represent an apostrophe within the trap.
1391 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1392 trap 'exit_status=$?
1393 # Save into config.log some information that might help in debugging.
1394 {
1395 echo
1396
1397 cat <<\_ASBOX
1398 ## ---------------- ##
1399 ## Cache variables. ##
1400 ## ---------------- ##
1401 _ASBOX
1402 echo
1403 # The following way of writing the cache mishandles newlines in values,
1404 (
1405 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1406 eval ac_val=\$$ac_var
1407 case $ac_val in #(
1408 *${as_nl}*)
1409 case $ac_var in #(
1410 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1411 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1412 esac
1413 case $ac_var in #(
1414 _ | IFS | as_nl) ;; #(
1415 *) $as_unset $ac_var ;;
1416 esac ;;
1417 esac
1418 done
1419 (set) 2>&1 |
1420 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1421 *${as_nl}ac_space=\ *)
1422 sed -n \
1423 "s/'\''/'\''\\\\'\'''\''/g;
1424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1425 ;; #(
1426 *)
1427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1428 ;;
1429 esac |
1430 sort
1431 )
1432 echo
1433
1434 cat <<\_ASBOX
1435 ## ----------------- ##
1436 ## Output variables. ##
1437 ## ----------------- ##
1438 _ASBOX
1439 echo
1440 for ac_var in $ac_subst_vars
1441 do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in
1444 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1445 esac
1446 echo "$ac_var='\''$ac_val'\''"
1447 done | sort
1448 echo
1449
1450 if test -n "$ac_subst_files"; then
1451 cat <<\_ASBOX
1452 ## ------------------- ##
1453 ## File substitutions. ##
1454 ## ------------------- ##
1455 _ASBOX
1456 echo
1457 for ac_var in $ac_subst_files
1458 do
1459 eval ac_val=\$$ac_var
1460 case $ac_val in
1461 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1462 esac
1463 echo "$ac_var='\''$ac_val'\''"
1464 done | sort
1465 echo
1466 fi
1467
1468 if test -s confdefs.h; then
1469 cat <<\_ASBOX
1470 ## ----------- ##
1471 ## confdefs.h. ##
1472 ## ----------- ##
1473 _ASBOX
1474 echo
1475 cat confdefs.h
1476 echo
1477 fi
1478 test "$ac_signal" != 0 &&
1479 echo "$as_me: caught signal $ac_signal"
1480 echo "$as_me: exit $exit_status"
1481 } >&5
1482 rm -f core *.core core.conftest.* &&
1483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1484 exit $exit_status
1485 ' 0
1486 for ac_signal in 1 2 13 15; do
1487 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1488 done
1489 ac_signal=0
1490
1491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1492 rm -f -r conftest* confdefs.h
1493
1494 # Predefined preprocessor variables.
1495
1496 cat >>confdefs.h <<_ACEOF
1497 #define PACKAGE_NAME "$PACKAGE_NAME"
1498 _ACEOF
1499
1500
1501 cat >>confdefs.h <<_ACEOF
1502 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1503 _ACEOF
1504
1505
1506 cat >>confdefs.h <<_ACEOF
1507 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1508 _ACEOF
1509
1510
1511 cat >>confdefs.h <<_ACEOF
1512 #define PACKAGE_STRING "$PACKAGE_STRING"
1513 _ACEOF
1514
1515
1516 cat >>confdefs.h <<_ACEOF
1517 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1518 _ACEOF
1519
1520
1521 # Let the site file select an alternate cache file if it wants to.
1522 # Prefer explicitly selected file to automatically selected ones.
1523 if test -n "$CONFIG_SITE"; then
1524 set x "$CONFIG_SITE"
1525 elif test "x$prefix" != xNONE; then
1526 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1527 else
1528 set x "$ac_default_prefix/share/config.site" \
1529 "$ac_default_prefix/etc/config.site"
1530 fi
1531 shift
1532 for ac_site_file
1533 do
1534 if test -r "$ac_site_file"; then
1535 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1536 echo "$as_me: loading site script $ac_site_file" >&6;}
1537 sed 's/^/| /' "$ac_site_file" >&5
1538 . "$ac_site_file"
1539 fi
1540 done
1541
1542 if test -r "$cache_file"; then
1543 # Some versions of bash will fail to source /dev/null (special
1544 # files actually), so we avoid doing that.
1545 if test -f "$cache_file"; then
1546 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1547 echo "$as_me: loading cache $cache_file" >&6;}
1548 case $cache_file in
1549 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1550 *) . "./$cache_file";;
1551 esac
1552 fi
1553 else
1554 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1555 echo "$as_me: creating cache $cache_file" >&6;}
1556 >$cache_file
1557 fi
1558
1559 # Check that the precious variables saved in the cache have kept the same
1560 # value.
1561 ac_cache_corrupted=false
1562 for ac_var in $ac_precious_vars; do
1563 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1564 eval ac_new_set=\$ac_env_${ac_var}_set
1565 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1566 eval ac_new_val=\$ac_env_${ac_var}_value
1567 case $ac_old_set,$ac_new_set in
1568 set,)
1569 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1570 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1571 ac_cache_corrupted=: ;;
1572 ,set)
1573 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1574 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1575 ac_cache_corrupted=: ;;
1576 ,);;
1577 *)
1578 if test "x$ac_old_val" != "x$ac_new_val"; then
1579 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1580 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1581 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1582 echo "$as_me: former value: $ac_old_val" >&2;}
1583 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1584 echo "$as_me: current value: $ac_new_val" >&2;}
1585 ac_cache_corrupted=:
1586 fi;;
1587 esac
1588 # Pass precious variables to config.status.
1589 if test "$ac_new_set" = set; then
1590 case $ac_new_val in
1591 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1592 *) ac_arg=$ac_var=$ac_new_val ;;
1593 esac
1594 case " $ac_configure_args " in
1595 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1596 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1597 esac
1598 fi
1599 done
1600 if $ac_cache_corrupted; then
1601 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1602 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1603 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1604 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1605 { (exit 1); exit 1; }; }
1606 fi
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624 ac_ext=c
1625 ac_cpp='$CPP $CPPFLAGS'
1626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1629
1630
1631
1632 ac_config_headers="$ac_config_headers libeio/config.h"
1633
1634
1635 ac_ext=c
1636 ac_cpp='$CPP $CPPFLAGS'
1637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1640 if test -n "$ac_tool_prefix"; then
1641 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1645 if test "${ac_cv_prog_CC+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 else
1648 if test -n "$CC"; then
1649 ac_cv_prog_CC="$CC" # Let the user override the test.
1650 else
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652 for as_dir in $PATH
1653 do
1654 IFS=$as_save_IFS
1655 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1658 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 break 2
1661 fi
1662 done
1663 done
1664 IFS=$as_save_IFS
1665
1666 fi
1667 fi
1668 CC=$ac_cv_prog_CC
1669 if test -n "$CC"; then
1670 { echo "$as_me:$LINENO: result: $CC" >&5
1671 echo "${ECHO_T}$CC" >&6; }
1672 else
1673 { echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6; }
1675 fi
1676
1677
1678 fi
1679 if test -z "$ac_cv_prog_CC"; then
1680 ac_ct_CC=$CC
1681 # Extract the first word of "gcc", so it can be a program name with args.
1682 set dummy gcc; ac_word=$2
1683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 else
1688 if test -n "$ac_ct_CC"; then
1689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1690 else
1691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 for as_dir in $PATH
1693 do
1694 IFS=$as_save_IFS
1695 test -z "$as_dir" && as_dir=.
1696 for ac_exec_ext in '' $ac_executable_extensions; do
1697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1698 ac_cv_prog_ac_ct_CC="gcc"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 break 2
1701 fi
1702 done
1703 done
1704 IFS=$as_save_IFS
1705
1706 fi
1707 fi
1708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1709 if test -n "$ac_ct_CC"; then
1710 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1711 echo "${ECHO_T}$ac_ct_CC" >&6; }
1712 else
1713 { echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6; }
1715 fi
1716
1717 if test "x$ac_ct_CC" = x; then
1718 CC=""
1719 else
1720 case $cross_compiling:$ac_tool_warned in
1721 yes:)
1722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1723 whose name does not start with the host triplet. If you think this
1724 configuration is useful to you, please write to autoconf@gnu.org." >&5
1725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1726 whose name does not start with the host triplet. If you think this
1727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1728 ac_tool_warned=yes ;;
1729 esac
1730 CC=$ac_ct_CC
1731 fi
1732 else
1733 CC="$ac_cv_prog_CC"
1734 fi
1735
1736 if test -z "$CC"; then
1737 if test -n "$ac_tool_prefix"; then
1738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1739 set dummy ${ac_tool_prefix}cc; ac_word=$2
1740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1742 if test "${ac_cv_prog_CC+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 else
1745 if test -n "$CC"; then
1746 ac_cv_prog_CC="$CC" # Let the user override the test.
1747 else
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 for as_dir in $PATH
1750 do
1751 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1755 ac_cv_prog_CC="${ac_tool_prefix}cc"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 break 2
1758 fi
1759 done
1760 done
1761 IFS=$as_save_IFS
1762
1763 fi
1764 fi
1765 CC=$ac_cv_prog_CC
1766 if test -n "$CC"; then
1767 { echo "$as_me:$LINENO: result: $CC" >&5
1768 echo "${ECHO_T}$CC" >&6; }
1769 else
1770 { echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6; }
1772 fi
1773
1774
1775 fi
1776 fi
1777 if test -z "$CC"; then
1778 # Extract the first word of "cc", so it can be a program name with args.
1779 set dummy cc; ac_word=$2
1780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1782 if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 else
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test.
1787 else
1788 ac_prog_rejected=no
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1791 do
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1797 ac_prog_rejected=yes
1798 continue
1799 fi
1800 ac_cv_prog_CC="cc"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2
1803 fi
1804 done
1805 done
1806 IFS=$as_save_IFS
1807
1808 if test $ac_prog_rejected = yes; then
1809 # We found a bogon in the path, so make sure we never use it.
1810 set dummy $ac_cv_prog_CC
1811 shift
1812 if test $# != 0; then
1813 # We chose a different compiler from the bogus one.
1814 # However, it has the same basename, so the bogon will be chosen
1815 # first if we set CC to just the basename; use the full file name.
1816 shift
1817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1818 fi
1819 fi
1820 fi
1821 fi
1822 CC=$ac_cv_prog_CC
1823 if test -n "$CC"; then
1824 { echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6; }
1826 else
1827 { echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6; }
1829 fi
1830
1831
1832 fi
1833 if test -z "$CC"; then
1834 if test -n "$ac_tool_prefix"; then
1835 for ac_prog in cl.exe
1836 do
1837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1841 if test "${ac_cv_prog_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 else
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC="$CC" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1849 do
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1857 fi
1858 done
1859 done
1860 IFS=$as_save_IFS
1861
1862 fi
1863 fi
1864 CC=$ac_cv_prog_CC
1865 if test -n "$CC"; then
1866 { echo "$as_me:$LINENO: result: $CC" >&5
1867 echo "${ECHO_T}$CC" >&6; }
1868 else
1869 { echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6; }
1871 fi
1872
1873
1874 test -n "$CC" && break
1875 done
1876 fi
1877 if test -z "$CC"; then
1878 ac_ct_CC=$CC
1879 for ac_prog in cl.exe
1880 do
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy $ac_prog; ac_word=$2
1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 if test -n "$ac_ct_CC"; then
1889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894 IFS=$as_save_IFS
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1898 ac_cv_prog_ac_ct_CC="$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 break 2
1901 fi
1902 done
1903 done
1904 IFS=$as_save_IFS
1905
1906 fi
1907 fi
1908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909 if test -n "$ac_ct_CC"; then
1910 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1911 echo "${ECHO_T}$ac_ct_CC" >&6; }
1912 else
1913 { echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6; }
1915 fi
1916
1917
1918 test -n "$ac_ct_CC" && break
1919 done
1920
1921 if test "x$ac_ct_CC" = x; then
1922 CC=""
1923 else
1924 case $cross_compiling:$ac_tool_warned in
1925 yes:)
1926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1927 whose name does not start with the host triplet. If you think this
1928 configuration is useful to you, please write to autoconf@gnu.org." >&5
1929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1930 whose name does not start with the host triplet. If you think this
1931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1932 ac_tool_warned=yes ;;
1933 esac
1934 CC=$ac_ct_CC
1935 fi
1936 fi
1937
1938 fi
1939
1940
1941 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1942 See \`config.log' for more details." >&5
1943 echo "$as_me: error: no acceptable C compiler found in \$PATH
1944 See \`config.log' for more details." >&2;}
1945 { (exit 1); exit 1; }; }
1946
1947 # Provide some information about the compiler.
1948 echo "$as_me:$LINENO: checking for C compiler version" >&5
1949 ac_compiler=`set X $ac_compile; echo $2`
1950 { (ac_try="$ac_compiler --version >&5"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1956 (eval "$ac_compiler --version >&5") 2>&5
1957 ac_status=$?
1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959 (exit $ac_status); }
1960 { (ac_try="$ac_compiler -v >&5"
1961 case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1966 (eval "$ac_compiler -v >&5") 2>&5
1967 ac_status=$?
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }
1970 { (ac_try="$ac_compiler -V >&5"
1971 case "(($ac_try" in
1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1974 esac
1975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1976 (eval "$ac_compiler -V >&5") 2>&5
1977 ac_status=$?
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }
1980
1981 cat >conftest.$ac_ext <<_ACEOF
1982 /* confdefs.h. */
1983 _ACEOF
1984 cat confdefs.h >>conftest.$ac_ext
1985 cat >>conftest.$ac_ext <<_ACEOF
1986 /* end confdefs.h. */
1987
1988 int
1989 main ()
1990 {
1991
1992 ;
1993 return 0;
1994 }
1995 _ACEOF
1996 ac_clean_files_save=$ac_clean_files
1997 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1998 # Try to create an executable without -o first, disregard a.out.
1999 # It will help us diagnose broken compilers, and finding out an intuition
2000 # of exeext.
2001 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2002 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2003 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2004 #
2005 # List of possible output files, starting from the most likely.
2006 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2007 # only as a last resort. b.out is created by i960 compilers.
2008 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2009 #
2010 # The IRIX 6 linker writes into existing files which may not be
2011 # executable, retaining their permissions. Remove them first so a
2012 # subsequent execution test works.
2013 ac_rmfiles=
2014 for ac_file in $ac_files
2015 do
2016 case $ac_file in
2017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2018 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2019 esac
2020 done
2021 rm -f $ac_rmfiles
2022
2023 if { (ac_try="$ac_link_default"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2029 (eval "$ac_link_default") 2>&5
2030 ac_status=$?
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; then
2033 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2034 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2035 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2036 # so that the user can short-circuit this test for compilers unknown to
2037 # Autoconf.
2038 for ac_file in $ac_files ''
2039 do
2040 test -f "$ac_file" || continue
2041 case $ac_file in
2042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2043 ;;
2044 [ab].out )
2045 # We found the default executable, but exeext='' is most
2046 # certainly right.
2047 break;;
2048 *.* )
2049 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2050 then :; else
2051 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 fi
2053 # We set ac_cv_exeext here because the later test for it is not
2054 # safe: cross compilers may not add the suffix if given an `-o'
2055 # argument, so we may need to know it at that point already.
2056 # Even if this section looks crufty: it has the advantage of
2057 # actually working.
2058 break;;
2059 * )
2060 break;;
2061 esac
2062 done
2063 test "$ac_cv_exeext" = no && ac_cv_exeext=
2064
2065 else
2066 ac_file=''
2067 fi
2068
2069 { echo "$as_me:$LINENO: result: $ac_file" >&5
2070 echo "${ECHO_T}$ac_file" >&6; }
2071 if test -z "$ac_file"; then
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2074
2075 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2076 See \`config.log' for more details." >&5
2077 echo "$as_me: error: C compiler cannot create executables
2078 See \`config.log' for more details." >&2;}
2079 { (exit 77); exit 77; }; }
2080 fi
2081
2082 ac_exeext=$ac_cv_exeext
2083
2084 # Check that the compiler produces executables we can run. If not, either
2085 # the compiler is broken, or we cross compile.
2086 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2087 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2088 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2089 # If not cross compiling, check that we can run a simple program.
2090 if test "$cross_compiling" != yes; then
2091 if { ac_try='./$ac_file'
2092 { (case "(($ac_try" in
2093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2094 *) ac_try_echo=$ac_try;;
2095 esac
2096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2097 (eval "$ac_try") 2>&5
2098 ac_status=$?
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); }; }; then
2101 cross_compiling=no
2102 else
2103 if test "$cross_compiling" = maybe; then
2104 cross_compiling=yes
2105 else
2106 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2107 If you meant to cross compile, use \`--host'.
2108 See \`config.log' for more details." >&5
2109 echo "$as_me: error: cannot run C compiled programs.
2110 If you meant to cross compile, use \`--host'.
2111 See \`config.log' for more details." >&2;}
2112 { (exit 1); exit 1; }; }
2113 fi
2114 fi
2115 fi
2116 { echo "$as_me:$LINENO: result: yes" >&5
2117 echo "${ECHO_T}yes" >&6; }
2118
2119 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2120 ac_clean_files=$ac_clean_files_save
2121 # Check that the compiler produces executables we can run. If not, either
2122 # the compiler is broken, or we cross compile.
2123 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2124 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2125 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2126 echo "${ECHO_T}$cross_compiling" >&6; }
2127
2128 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2129 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2130 if { (ac_try="$ac_link"
2131 case "(($ac_try" in
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2134 esac
2135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2136 (eval "$ac_link") 2>&5
2137 ac_status=$?
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; then
2140 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2141 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2142 # work properly (i.e., refer to `conftest.exe'), while it won't with
2143 # `rm'.
2144 for ac_file in conftest.exe conftest conftest.*; do
2145 test -f "$ac_file" || continue
2146 case $ac_file in
2147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2148 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149 break;;
2150 * ) break;;
2151 esac
2152 done
2153 else
2154 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2155 See \`config.log' for more details." >&5
2156 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2157 See \`config.log' for more details." >&2;}
2158 { (exit 1); exit 1; }; }
2159 fi
2160
2161 rm -f conftest$ac_cv_exeext
2162 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2163 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2164
2165 rm -f conftest.$ac_ext
2166 EXEEXT=$ac_cv_exeext
2167 ac_exeext=$EXEEXT
2168 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2169 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2170 if test "${ac_cv_objext+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 cat >conftest.$ac_ext <<_ACEOF
2174 /* confdefs.h. */
2175 _ACEOF
2176 cat confdefs.h >>conftest.$ac_ext
2177 cat >>conftest.$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2179
2180 int
2181 main ()
2182 {
2183
2184 ;
2185 return 0;
2186 }
2187 _ACEOF
2188 rm -f conftest.o conftest.obj
2189 if { (ac_try="$ac_compile"
2190 case "(($ac_try" in
2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192 *) ac_try_echo=$ac_try;;
2193 esac
2194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2195 (eval "$ac_compile") 2>&5
2196 ac_status=$?
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; then
2199 for ac_file in conftest.o conftest.obj conftest.*; do
2200 test -f "$ac_file" || continue;
2201 case $ac_file in
2202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2204 break;;
2205 esac
2206 done
2207 else
2208 echo "$as_me: failed program was:" >&5
2209 sed 's/^/| /' conftest.$ac_ext >&5
2210
2211 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2212 See \`config.log' for more details." >&5
2213 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2214 See \`config.log' for more details." >&2;}
2215 { (exit 1); exit 1; }; }
2216 fi
2217
2218 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2219 fi
2220 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2221 echo "${ECHO_T}$ac_cv_objext" >&6; }
2222 OBJEXT=$ac_cv_objext
2223 ac_objext=$OBJEXT
2224 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2225 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2226 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229 cat >conftest.$ac_ext <<_ACEOF
2230 /* confdefs.h. */
2231 _ACEOF
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h. */
2235
2236 int
2237 main ()
2238 {
2239 #ifndef __GNUC__
2240 choke me
2241 #endif
2242
2243 ;
2244 return 0;
2245 }
2246 _ACEOF
2247 rm -f conftest.$ac_objext
2248 if { (ac_try="$ac_compile"
2249 case "(($ac_try" in
2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251 *) ac_try_echo=$ac_try;;
2252 esac
2253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2254 (eval "$ac_compile") 2>conftest.er1
2255 ac_status=$?
2256 grep -v '^ *+' conftest.er1 >conftest.err
2257 rm -f conftest.er1
2258 cat conftest.err >&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); } && {
2261 test -z "$ac_c_werror_flag" ||
2262 test ! -s conftest.err
2263 } && test -s conftest.$ac_objext; then
2264 ac_compiler_gnu=yes
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2268
2269 ac_compiler_gnu=no
2270 fi
2271
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2274
2275 fi
2276 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2277 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2278 GCC=`test $ac_compiler_gnu = yes && echo yes`
2279 ac_test_CFLAGS=${CFLAGS+set}
2280 ac_save_CFLAGS=$CFLAGS
2281 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2282 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2283 if test "${ac_cv_prog_cc_g+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 else
2286 ac_save_c_werror_flag=$ac_c_werror_flag
2287 ac_c_werror_flag=yes
2288 ac_cv_prog_cc_g=no
2289 CFLAGS="-g"
2290 cat >conftest.$ac_ext <<_ACEOF
2291 /* confdefs.h. */
2292 _ACEOF
2293 cat confdefs.h >>conftest.$ac_ext
2294 cat >>conftest.$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2296
2297 int
2298 main ()
2299 {
2300
2301 ;
2302 return 0;
2303 }
2304 _ACEOF
2305 rm -f conftest.$ac_objext
2306 if { (ac_try="$ac_compile"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2312 (eval "$ac_compile") 2>conftest.er1
2313 ac_status=$?
2314 grep -v '^ *+' conftest.er1 >conftest.err
2315 rm -f conftest.er1
2316 cat conftest.err >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } && {
2319 test -z "$ac_c_werror_flag" ||
2320 test ! -s conftest.err
2321 } && test -s conftest.$ac_objext; then
2322 ac_cv_prog_cc_g=yes
2323 else
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2326
2327 CFLAGS=""
2328 cat >conftest.$ac_ext <<_ACEOF
2329 /* confdefs.h. */
2330 _ACEOF
2331 cat confdefs.h >>conftest.$ac_ext
2332 cat >>conftest.$ac_ext <<_ACEOF
2333 /* end confdefs.h. */
2334
2335 int
2336 main ()
2337 {
2338
2339 ;
2340 return 0;
2341 }
2342 _ACEOF
2343 rm -f conftest.$ac_objext
2344 if { (ac_try="$ac_compile"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350 (eval "$ac_compile") 2>conftest.er1
2351 ac_status=$?
2352 grep -v '^ *+' conftest.er1 >conftest.err
2353 rm -f conftest.er1
2354 cat conftest.err >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } && {
2357 test -z "$ac_c_werror_flag" ||
2358 test ! -s conftest.err
2359 } && test -s conftest.$ac_objext; then
2360 :
2361 else
2362 echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.$ac_ext >&5
2364
2365 ac_c_werror_flag=$ac_save_c_werror_flag
2366 CFLAGS="-g"
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373
2374 int
2375 main ()
2376 {
2377
2378 ;
2379 return 0;
2380 }
2381 _ACEOF
2382 rm -f conftest.$ac_objext
2383 if { (ac_try="$ac_compile"
2384 case "(($ac_try" in
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2387 esac
2388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2389 (eval "$ac_compile") 2>conftest.er1
2390 ac_status=$?
2391 grep -v '^ *+' conftest.er1 >conftest.err
2392 rm -f conftest.er1
2393 cat conftest.err >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } && {
2396 test -z "$ac_c_werror_flag" ||
2397 test ! -s conftest.err
2398 } && test -s conftest.$ac_objext; then
2399 ac_cv_prog_cc_g=yes
2400 else
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.$ac_ext >&5
2403
2404
2405 fi
2406
2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 fi
2409
2410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2411 fi
2412
2413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414 ac_c_werror_flag=$ac_save_c_werror_flag
2415 fi
2416 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2417 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2418 if test "$ac_test_CFLAGS" = set; then
2419 CFLAGS=$ac_save_CFLAGS
2420 elif test $ac_cv_prog_cc_g = yes; then
2421 if test "$GCC" = yes; then
2422 CFLAGS="-g -O2"
2423 else
2424 CFLAGS="-g"
2425 fi
2426 else
2427 if test "$GCC" = yes; then
2428 CFLAGS="-O2"
2429 else
2430 CFLAGS=
2431 fi
2432 fi
2433 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2434 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2435 if test "${ac_cv_prog_cc_c89+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438 ac_cv_prog_cc_c89=no
2439 ac_save_CC=$CC
2440 cat >conftest.$ac_ext <<_ACEOF
2441 /* confdefs.h. */
2442 _ACEOF
2443 cat confdefs.h >>conftest.$ac_ext
2444 cat >>conftest.$ac_ext <<_ACEOF
2445 /* end confdefs.h. */
2446 #include <stdarg.h>
2447 #include <stdio.h>
2448 #include <sys/types.h>
2449 #include <sys/stat.h>
2450 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2451 struct buf { int x; };
2452 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2453 static char *e (p, i)
2454 char **p;
2455 int i;
2456 {
2457 return p[i];
2458 }
2459 static char *f (char * (*g) (char **, int), char **p, ...)
2460 {
2461 char *s;
2462 va_list v;
2463 va_start (v,p);
2464 s = g (p, va_arg (v,int));
2465 va_end (v);
2466 return s;
2467 }
2468
2469 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2470 function prototypes and stuff, but not '\xHH' hex character constants.
2471 These don't provoke an error unfortunately, instead are silently treated
2472 as 'x'. The following induces an error, until -std is added to get
2473 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2474 array size at least. It's necessary to write '\x00'==0 to get something
2475 that's true only with -std. */
2476 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2477
2478 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2479 inside strings and character constants. */
2480 #define FOO(x) 'x'
2481 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2482
2483 int test (int i, double x);
2484 struct s1 {int (*f) (int a);};
2485 struct s2 {int (*f) (double a);};
2486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2487 int argc;
2488 char **argv;
2489 int
2490 main ()
2491 {
2492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2493 ;
2494 return 0;
2495 }
2496 _ACEOF
2497 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2498 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2499 do
2500 CC="$ac_save_CC $ac_arg"
2501 rm -f conftest.$ac_objext
2502 if { (ac_try="$ac_compile"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2508 (eval "$ac_compile") 2>conftest.er1
2509 ac_status=$?
2510 grep -v '^ *+' conftest.er1 >conftest.err
2511 rm -f conftest.er1
2512 cat conftest.err >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); } && {
2515 test -z "$ac_c_werror_flag" ||
2516 test ! -s conftest.err
2517 } && test -s conftest.$ac_objext; then
2518 ac_cv_prog_cc_c89=$ac_arg
2519 else
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2522
2523
2524 fi
2525
2526 rm -f core conftest.err conftest.$ac_objext
2527 test "x$ac_cv_prog_cc_c89" != "xno" && break
2528 done
2529 rm -f conftest.$ac_ext
2530 CC=$ac_save_CC
2531
2532 fi
2533 # AC_CACHE_VAL
2534 case "x$ac_cv_prog_cc_c89" in
2535 x)
2536 { echo "$as_me:$LINENO: result: none needed" >&5
2537 echo "${ECHO_T}none needed" >&6; } ;;
2538 xno)
2539 { echo "$as_me:$LINENO: result: unsupported" >&5
2540 echo "${ECHO_T}unsupported" >&6; } ;;
2541 *)
2542 CC="$CC $ac_cv_prog_cc_c89"
2543 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2544 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2545 esac
2546
2547
2548 ac_ext=c
2549 ac_cpp='$CPP $CPPFLAGS'
2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2553
2554
2555
2556 { echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
2557 echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; }
2558 if test "${ac_cv_search_pthread_create+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 ac_func_search_save_LIBS=$LIBS
2562 cat >conftest.$ac_ext <<_ACEOF
2563 /* confdefs.h. */
2564 _ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2568
2569 /* Override any GCC internal prototype to avoid an error.
2570 Use char because int might match the return type of a GCC
2571 builtin and then its argument prototype would still apply. */
2572 #ifdef __cplusplus
2573 extern "C"
2574 #endif
2575 char pthread_create ();
2576 int
2577 main ()
2578 {
2579 return pthread_create ();
2580 ;
2581 return 0;
2582 }
2583 _ACEOF
2584 for ac_lib in '' pthread pthreads pthreadVC2; do
2585 if test -z "$ac_lib"; then
2586 ac_res="none required"
2587 else
2588 ac_res=-l$ac_lib
2589 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2590 fi
2591 rm -f conftest.$ac_objext conftest$ac_exeext
2592 if { (ac_try="$ac_link"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_link") 2>conftest.er1
2599 ac_status=$?
2600 grep -v '^ *+' conftest.er1 >conftest.err
2601 rm -f conftest.er1
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } && {
2605 test -z "$ac_c_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest$ac_exeext &&
2608 $as_test_x conftest$ac_exeext; then
2609 ac_cv_search_pthread_create=$ac_res
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2613
2614
2615 fi
2616
2617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2618 conftest$ac_exeext
2619 if test "${ac_cv_search_pthread_create+set}" = set; then
2620 break
2621 fi
2622 done
2623 if test "${ac_cv_search_pthread_create+set}" = set; then
2624 :
2625 else
2626 ac_cv_search_pthread_create=no
2627 fi
2628 rm conftest.$ac_ext
2629 LIBS=$ac_func_search_save_LIBS
2630 fi
2631 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
2632 echo "${ECHO_T}$ac_cv_search_pthread_create" >&6; }
2633 ac_res=$ac_cv_search_pthread_create
2634 if test "$ac_res" != no; then
2635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2636
2637 else
2638 { { echo "$as_me:$LINENO: error: pthread functions not found" >&5
2639 echo "$as_me: error: pthread functions not found" >&2;}
2640 { (exit 1); exit 1; }; }
2641
2642 fi
2643
2644
2645 { echo "$as_me:$LINENO: checking for futimes" >&5
2646 echo $ECHO_N "checking for futimes... $ECHO_C" >&6; }
2647 if test "${ac_cv_futimes+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 else
2650 cat >conftest.$ac_ext <<_ACEOF
2651
2652 #include <sys/types.h>
2653 #include <sys/time.h>
2654 #include <utime.h>
2655 struct timeval tv[2];
2656 int res;
2657 int fd;
2658 int main(void)
2659 {
2660 res = futimes (fd, tv);
2661 return 0;
2662 }
2663
2664 _ACEOF
2665 rm -f conftest.$ac_objext conftest$ac_exeext
2666 if { (ac_try="$ac_link"
2667 case "(($ac_try" in
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2670 esac
2671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2672 (eval "$ac_link") 2>conftest.er1
2673 ac_status=$?
2674 grep -v '^ *+' conftest.er1 >conftest.err
2675 rm -f conftest.er1
2676 cat conftest.err >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } && {
2679 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 } && test -s conftest$ac_exeext &&
2682 $as_test_x conftest$ac_exeext; then
2683 ac_cv_futimes=yes
2684 else
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 ac_cv_futimes=no
2689 fi
2690
2691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2692 conftest$ac_exeext conftest.$ac_ext
2693 fi
2694 { echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5
2695 echo "${ECHO_T}$ac_cv_futimes" >&6; }
2696 test $ac_cv_futimes = yes &&
2697 cat >>confdefs.h <<\_ACEOF
2698 #define HAVE_FUTIMES 1
2699 _ACEOF
2700
2701
2702 { echo "$as_me:$LINENO: checking for readahead" >&5
2703 echo $ECHO_N "checking for readahead... $ECHO_C" >&6; }
2704 if test "${ac_cv_readahead+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 else
2707 cat >conftest.$ac_ext <<_ACEOF
2708
2709 #include <fcntl.h>
2710 int main(void)
2711 {
2712 int fd = 0;
2713 size_t count = 2;
2714 ssize_t res;
2715 res = readahead (fd, 0, count);
2716 return 0;
2717 }
2718
2719 _ACEOF
2720 rm -f conftest.$ac_objext conftest$ac_exeext
2721 if { (ac_try="$ac_link"
2722 case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_link") 2>conftest.er1
2728 ac_status=$?
2729 grep -v '^ *+' conftest.er1 >conftest.err
2730 rm -f conftest.er1
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } && {
2734 test -z "$ac_c_werror_flag" ||
2735 test ! -s conftest.err
2736 } && test -s conftest$ac_exeext &&
2737 $as_test_x conftest$ac_exeext; then
2738 ac_cv_readahead=yes
2739 else
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2742
2743 ac_cv_readahead=no
2744 fi
2745
2746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2747 conftest$ac_exeext conftest.$ac_ext
2748 fi
2749 { echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5
2750 echo "${ECHO_T}$ac_cv_readahead" >&6; }
2751 test $ac_cv_readahead = yes &&
2752 cat >>confdefs.h <<\_ACEOF
2753 #define HAVE_READAHEAD 1
2754 _ACEOF
2755
2756
2757 { echo "$as_me:$LINENO: checking for fdatasync" >&5
2758 echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
2759 if test "${ac_cv_fdatasync+set}" = set; then
2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 else
2762 cat >conftest.$ac_ext <<_ACEOF
2763
2764 #include <unistd.h>
2765 int main(void)
2766 {
2767 int fd = 0;
2768 fdatasync (fd);
2769 return 0;
2770 }
2771
2772 _ACEOF
2773 rm -f conftest.$ac_objext conftest$ac_exeext
2774 if { (ac_try="$ac_link"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>conftest.er1
2781 ac_status=$?
2782 grep -v '^ *+' conftest.er1 >conftest.err
2783 rm -f conftest.er1
2784 cat conftest.err >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && {
2787 test -z "$ac_c_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest$ac_exeext &&
2790 $as_test_x conftest$ac_exeext; then
2791 ac_cv_fdatasync=yes
2792 else
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2795
2796 ac_cv_fdatasync=no
2797 fi
2798
2799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2800 conftest$ac_exeext conftest.$ac_ext
2801 fi
2802 { echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5
2803 echo "${ECHO_T}$ac_cv_fdatasync" >&6; }
2804 test $ac_cv_fdatasync = yes &&
2805 cat >>confdefs.h <<\_ACEOF
2806 #define HAVE_FDATASYNC 1
2807 _ACEOF
2808
2809
2810 { echo "$as_me:$LINENO: checking for pread and pwrite" >&5
2811 echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; }
2812 if test "${ac_cv_preadwrite+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 else
2815 cat >conftest.$ac_ext <<_ACEOF
2816
2817 #include <unistd.h>
2818 int main(void)
2819 {
2820 int fd = 0;
2821 size_t count = 1;
2822 char buf;
2823 off_t offset = 1;
2824 ssize_t res;
2825 res = pread (fd, &buf, count, offset);
2826 res = pwrite (fd, &buf, count, offset);
2827 return 0;
2828 }
2829
2830 _ACEOF
2831 rm -f conftest.$ac_objext conftest$ac_exeext
2832 if { (ac_try="$ac_link"
2833 case "(($ac_try" in
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2836 esac
2837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2838 (eval "$ac_link") 2>conftest.er1
2839 ac_status=$?
2840 grep -v '^ *+' conftest.er1 >conftest.err
2841 rm -f conftest.er1
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } && {
2845 test -z "$ac_c_werror_flag" ||
2846 test ! -s conftest.err
2847 } && test -s conftest$ac_exeext &&
2848 $as_test_x conftest$ac_exeext; then
2849 ac_cv_preadwrite=yes
2850 else
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2853
2854 ac_cv_preadwrite=no
2855 fi
2856
2857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2858 conftest$ac_exeext conftest.$ac_ext
2859 fi
2860 { echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5
2861 echo "${ECHO_T}$ac_cv_preadwrite" >&6; }
2862 test $ac_cv_preadwrite = yes &&
2863 cat >>confdefs.h <<\_ACEOF
2864 #define HAVE_PREADWRITE 1
2865 _ACEOF
2866
2867
2868 { echo "$as_me:$LINENO: checking for sendfile" >&5
2869 echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; }
2870 if test "${ac_cv_sendfile+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874
2875 # include <sys/types.h>
2876 #if __linux
2877 # include <sys/sendfile.h>
2878 #elif __freebsd
2879 # include <sys/socket.h>
2880 # include <sys/uio.h>
2881 #elif __hpux
2882 # include <sys/socket.h>
2883 #else
2884 # error unsupported architecture
2885 #endif
2886 int main(void)
2887 {
2888 int fd = 0;
2889 off_t offset = 1;
2890 size_t count = 2;
2891 ssize_t res;
2892 #if __linux
2893 res = sendfile (fd, fd, offset, count);
2894 #elif __freebsd
2895 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2896 #elif __hpux
2897 res = sendfile (fd, fd, offset, count, 0, 0);
2898 #endif
2899 return 0;
2900 }
2901
2902 _ACEOF
2903 rm -f conftest.$ac_objext conftest$ac_exeext
2904 if { (ac_try="$ac_link"
2905 case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_link") 2>conftest.er1
2911 ac_status=$?
2912 grep -v '^ *+' conftest.er1 >conftest.err
2913 rm -f conftest.er1
2914 cat conftest.err >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } && {
2917 test -z "$ac_c_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest$ac_exeext &&
2920 $as_test_x conftest$ac_exeext; then
2921 ac_cv_sendfile=yes
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2925
2926 ac_cv_sendfile=no
2927 fi
2928
2929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2930 conftest$ac_exeext conftest.$ac_ext
2931 fi
2932 { echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5
2933 echo "${ECHO_T}$ac_cv_sendfile" >&6; }
2934 test $ac_cv_sendfile = yes &&
2935 cat >>confdefs.h <<\_ACEOF
2936 #define HAVE_SENDFILE 1
2937 _ACEOF
2938
2939
2940
2941
2942 cat >confcache <<\_ACEOF
2943 # This file is a shell script that caches the results of configure
2944 # tests run on this system so they can be shared between configure
2945 # scripts and configure runs, see configure's option --config-cache.
2946 # It is not useful on other systems. If it contains results you don't
2947 # want to keep, you may remove or edit it.
2948 #
2949 # config.status only pays attention to the cache file if you give it
2950 # the --recheck option to rerun configure.
2951 #
2952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2954 # following values.
2955
2956 _ACEOF
2957
2958 # The following way of writing the cache mishandles newlines in values,
2959 # but we know of no workaround that is simple, portable, and efficient.
2960 # So, we kill variables containing newlines.
2961 # Ultrix sh set writes to stderr and can't be redirected directly,
2962 # and sets the high bit in the cache file unless we assign to the vars.
2963 (
2964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2965 eval ac_val=\$$ac_var
2966 case $ac_val in #(
2967 *${as_nl}*)
2968 case $ac_var in #(
2969 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2971 esac
2972 case $ac_var in #(
2973 _ | IFS | as_nl) ;; #(
2974 *) $as_unset $ac_var ;;
2975 esac ;;
2976 esac
2977 done
2978
2979 (set) 2>&1 |
2980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2981 *${as_nl}ac_space=\ *)
2982 # `set' does not quote correctly, so add quotes (double-quote
2983 # substitution turns \\\\ into \\, and sed turns \\ into \).
2984 sed -n \
2985 "s/'/'\\\\''/g;
2986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2987 ;; #(
2988 *)
2989 # `set' quotes correctly as required by POSIX, so do not add quotes.
2990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2991 ;;
2992 esac |
2993 sort
2994 ) |
2995 sed '
2996 /^ac_cv_env_/b end
2997 t clear
2998 :clear
2999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3000 t end
3001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3002 :end' >>confcache
3003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3004 if test -w "$cache_file"; then
3005 test "x$cache_file" != "x/dev/null" &&
3006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3007 echo "$as_me: updating cache $cache_file" >&6;}
3008 cat confcache >$cache_file
3009 else
3010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3012 fi
3013 fi
3014 rm -f confcache
3015
3016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3017 # Let make expand exec_prefix.
3018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3019
3020 DEFS=-DHAVE_CONFIG_H
3021
3022 ac_libobjs=
3023 ac_ltlibobjs=
3024 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3025 # 1. Remove the extension, and $U if already installed.
3026 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3027 ac_i=`echo "$ac_i" | sed "$ac_script"`
3028 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3029 # will be set to the directory where LIBOBJS objects are built.
3030 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3031 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3032 done
3033 LIBOBJS=$ac_libobjs
3034
3035 LTLIBOBJS=$ac_ltlibobjs
3036
3037
3038
3039 : ${CONFIG_STATUS=./config.status}
3040 ac_clean_files_save=$ac_clean_files
3041 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3042 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3043 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3044 cat >$CONFIG_STATUS <<_ACEOF
3045 #! $SHELL
3046 # Generated by $as_me.
3047 # Run this file to recreate the current configuration.
3048 # Compiler output produced by configure, useful for debugging
3049 # configure, is in config.log if it exists.
3050
3051 debug=false
3052 ac_cs_recheck=false
3053 ac_cs_silent=false
3054 SHELL=\${CONFIG_SHELL-$SHELL}
3055 _ACEOF
3056
3057 cat >>$CONFIG_STATUS <<\_ACEOF
3058 ## --------------------- ##
3059 ## M4sh Initialization. ##
3060 ## --------------------- ##
3061
3062 # Be more Bourne compatible
3063 DUALCASE=1; export DUALCASE # for MKS sh
3064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3065 emulate sh
3066 NULLCMD=:
3067 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3068 # is contrary to our usage. Disable this feature.
3069 alias -g '${1+"$@"}'='"$@"'
3070 setopt NO_GLOB_SUBST
3071 else
3072 case `(set -o) 2>/dev/null` in
3073 *posix*) set -o posix ;;
3074 esac
3075
3076 fi
3077
3078
3079
3080
3081 # PATH needs CR
3082 # Avoid depending upon Character Ranges.
3083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3086 as_cr_digits='0123456789'
3087 as_cr_alnum=$as_cr_Letters$as_cr_digits
3088
3089 # The user is always right.
3090 if test "${PATH_SEPARATOR+set}" != set; then
3091 echo "#! /bin/sh" >conf$$.sh
3092 echo "exit 0" >>conf$$.sh
3093 chmod +x conf$$.sh
3094 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3095 PATH_SEPARATOR=';'
3096 else
3097 PATH_SEPARATOR=:
3098 fi
3099 rm -f conf$$.sh
3100 fi
3101
3102 # Support unset when possible.
3103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3104 as_unset=unset
3105 else
3106 as_unset=false
3107 fi
3108
3109
3110 # IFS
3111 # We need space, tab and new line, in precisely that order. Quoting is
3112 # there to prevent editors from complaining about space-tab.
3113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3114 # splitting by setting IFS to empty value.)
3115 as_nl='
3116 '
3117 IFS=" "" $as_nl"
3118
3119 # Find who we are. Look in the path if we contain no directory separator.
3120 case $0 in
3121 *[\\/]* ) as_myself=$0 ;;
3122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123 for as_dir in $PATH
3124 do
3125 IFS=$as_save_IFS
3126 test -z "$as_dir" && as_dir=.
3127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3128 done
3129 IFS=$as_save_IFS
3130
3131 ;;
3132 esac
3133 # We did not find ourselves, most probably we were run as `sh COMMAND'
3134 # in which case we are not to be found in the path.
3135 if test "x$as_myself" = x; then
3136 as_myself=$0
3137 fi
3138 if test ! -f "$as_myself"; then
3139 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3140 { (exit 1); exit 1; }
3141 fi
3142
3143 # Work around bugs in pre-3.0 UWIN ksh.
3144 for as_var in ENV MAIL MAILPATH
3145 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3146 done
3147 PS1='$ '
3148 PS2='> '
3149 PS4='+ '
3150
3151 # NLS nuisances.
3152 for as_var in \
3153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3155 LC_TELEPHONE LC_TIME
3156 do
3157 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3158 eval $as_var=C; export $as_var
3159 else
3160 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3161 fi
3162 done
3163
3164 # Required to use basename.
3165 if expr a : '\(a\)' >/dev/null 2>&1 &&
3166 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3167 as_expr=expr
3168 else
3169 as_expr=false
3170 fi
3171
3172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3173 as_basename=basename
3174 else
3175 as_basename=false
3176 fi
3177
3178
3179 # Name of the executable.
3180 as_me=`$as_basename -- "$0" ||
3181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3182 X"$0" : 'X\(//\)$' \| \
3183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3184 echo X/"$0" |
3185 sed '/^.*\/\([^/][^/]*\)\/*$/{
3186 s//\1/
3187 q
3188 }
3189 /^X\/\(\/\/\)$/{
3190 s//\1/
3191 q
3192 }
3193 /^X\/\(\/\).*/{
3194 s//\1/
3195 q
3196 }
3197 s/.*/./; q'`
3198
3199 # CDPATH.
3200 $as_unset CDPATH
3201
3202
3203
3204 as_lineno_1=$LINENO
3205 as_lineno_2=$LINENO
3206 test "x$as_lineno_1" != "x$as_lineno_2" &&
3207 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3208
3209 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3210 # uniformly replaced by the line number. The first 'sed' inserts a
3211 # line-number line after each line using $LINENO; the second 'sed'
3212 # does the real work. The second script uses 'N' to pair each
3213 # line-number line with the line containing $LINENO, and appends
3214 # trailing '-' during substitution so that $LINENO is not a special
3215 # case at line end.
3216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3217 # scripts with optimization help from Paolo Bonzini. Blame Lee
3218 # E. McMahon (1931-1989) for sed's syntax. :-)
3219 sed -n '
3220 p
3221 /[$]LINENO/=
3222 ' <$as_myself |
3223 sed '
3224 s/[$]LINENO.*/&-/
3225 t lineno
3226 b
3227 :lineno
3228 N
3229 :loop
3230 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3231 t loop
3232 s/-\n.*//
3233 ' >$as_me.lineno &&
3234 chmod +x "$as_me.lineno" ||
3235 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3236 { (exit 1); exit 1; }; }
3237
3238 # Don't try to exec as it changes $[0], causing all sort of problems
3239 # (the dirname of $[0] is not the place where we might find the
3240 # original and so on. Autoconf is especially sensitive to this).
3241 . "./$as_me.lineno"
3242 # Exit status is that of the last command.
3243 exit
3244 }
3245
3246
3247 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3248 as_dirname=dirname
3249 else
3250 as_dirname=false
3251 fi
3252
3253 ECHO_C= ECHO_N= ECHO_T=
3254 case `echo -n x` in
3255 -n*)
3256 case `echo 'x\c'` in
3257 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3258 *) ECHO_C='\c';;
3259 esac;;
3260 *)
3261 ECHO_N='-n';;
3262 esac
3263
3264 if expr a : '\(a\)' >/dev/null 2>&1 &&
3265 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3266 as_expr=expr
3267 else
3268 as_expr=false
3269 fi
3270
3271 rm -f conf$$ conf$$.exe conf$$.file
3272 if test -d conf$$.dir; then
3273 rm -f conf$$.dir/conf$$.file
3274 else
3275 rm -f conf$$.dir
3276 mkdir conf$$.dir
3277 fi
3278 echo >conf$$.file
3279 if ln -s conf$$.file conf$$ 2>/dev/null; then
3280 as_ln_s='ln -s'
3281 # ... but there are two gotchas:
3282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3284 # In both cases, we have to default to `cp -p'.
3285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3286 as_ln_s='cp -p'
3287 elif ln conf$$.file conf$$ 2>/dev/null; then
3288 as_ln_s=ln
3289 else
3290 as_ln_s='cp -p'
3291 fi
3292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3293 rmdir conf$$.dir 2>/dev/null
3294
3295 if mkdir -p . 2>/dev/null; then
3296 as_mkdir_p=:
3297 else
3298 test -d ./-p && rmdir ./-p
3299 as_mkdir_p=false
3300 fi
3301
3302 if test -x / >/dev/null 2>&1; then
3303 as_test_x='test -x'
3304 else
3305 if ls -dL / >/dev/null 2>&1; then
3306 as_ls_L_option=L
3307 else
3308 as_ls_L_option=
3309 fi
3310 as_test_x='
3311 eval sh -c '\''
3312 if test -d "$1"; then
3313 test -d "$1/.";
3314 else
3315 case $1 in
3316 -*)set "./$1";;
3317 esac;
3318 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3319 ???[sx]*):;;*)false;;esac;fi
3320 '\'' sh
3321 '
3322 fi
3323 as_executable_p=$as_test_x
3324
3325 # Sed expression to map a string onto a valid CPP name.
3326 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3327
3328 # Sed expression to map a string onto a valid variable name.
3329 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3330
3331
3332 exec 6>&1
3333
3334 # Save the log message, to keep $[0] and so on meaningful, and to
3335 # report actual input values of CONFIG_FILES etc. instead of their
3336 # values after options handling.
3337 ac_log="
3338 This file was extended by $as_me, which was
3339 generated by GNU Autoconf 2.61. Invocation command line was
3340
3341 CONFIG_FILES = $CONFIG_FILES
3342 CONFIG_HEADERS = $CONFIG_HEADERS
3343 CONFIG_LINKS = $CONFIG_LINKS
3344 CONFIG_COMMANDS = $CONFIG_COMMANDS
3345 $ $0 $@
3346
3347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3348 "
3349
3350 _ACEOF
3351
3352 cat >>$CONFIG_STATUS <<_ACEOF
3353 # Files that config.status was made for.
3354 config_headers="$ac_config_headers"
3355
3356 _ACEOF
3357
3358 cat >>$CONFIG_STATUS <<\_ACEOF
3359 ac_cs_usage="\
3360 \`$as_me' instantiates files from templates according to the
3361 current configuration.
3362
3363 Usage: $0 [OPTIONS] [FILE]...
3364
3365 -h, --help print this help, then exit
3366 -V, --version print version number and configuration settings, then exit
3367 -q, --quiet do not print progress messages
3368 -d, --debug don't remove temporary files
3369 --recheck update $as_me by reconfiguring in the same conditions
3370 --header=FILE[:TEMPLATE]
3371 instantiate the configuration header FILE
3372
3373 Configuration headers:
3374 $config_headers
3375
3376 Report bugs to <bug-autoconf@gnu.org>."
3377
3378 _ACEOF
3379 cat >>$CONFIG_STATUS <<_ACEOF
3380 ac_cs_version="\\
3381 config.status
3382 configured by $0, generated by GNU Autoconf 2.61,
3383 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3384
3385 Copyright (C) 2006 Free Software Foundation, Inc.
3386 This config.status script is free software; the Free Software Foundation
3387 gives unlimited permission to copy, distribute and modify it."
3388
3389 ac_pwd='$ac_pwd'
3390 srcdir='$srcdir'
3391 _ACEOF
3392
3393 cat >>$CONFIG_STATUS <<\_ACEOF
3394 # If no file are specified by the user, then we need to provide default
3395 # value. By we need to know if files were specified by the user.
3396 ac_need_defaults=:
3397 while test $# != 0
3398 do
3399 case $1 in
3400 --*=*)
3401 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3402 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3403 ac_shift=:
3404 ;;
3405 *)
3406 ac_option=$1
3407 ac_optarg=$2
3408 ac_shift=shift
3409 ;;
3410 esac
3411
3412 case $ac_option in
3413 # Handling of the options.
3414 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3415 ac_cs_recheck=: ;;
3416 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3417 echo "$ac_cs_version"; exit ;;
3418 --debug | --debu | --deb | --de | --d | -d )
3419 debug=: ;;
3420 --header | --heade | --head | --hea )
3421 $ac_shift
3422 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3423 ac_need_defaults=false;;
3424 --he | --h)
3425 # Conflict between --help and --header
3426 { echo "$as_me: error: ambiguous option: $1
3427 Try \`$0 --help' for more information." >&2
3428 { (exit 1); exit 1; }; };;
3429 --help | --hel | -h )
3430 echo "$ac_cs_usage"; exit ;;
3431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3433 ac_cs_silent=: ;;
3434
3435 # This is an error.
3436 -*) { echo "$as_me: error: unrecognized option: $1
3437 Try \`$0 --help' for more information." >&2
3438 { (exit 1); exit 1; }; } ;;
3439
3440 *) ac_config_targets="$ac_config_targets $1"
3441 ac_need_defaults=false ;;
3442
3443 esac
3444 shift
3445 done
3446
3447 ac_configure_extra_args=
3448
3449 if $ac_cs_silent; then
3450 exec 6>/dev/null
3451 ac_configure_extra_args="$ac_configure_extra_args --silent"
3452 fi
3453
3454 _ACEOF
3455 cat >>$CONFIG_STATUS <<_ACEOF
3456 if \$ac_cs_recheck; then
3457 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3458 CONFIG_SHELL=$SHELL
3459 export CONFIG_SHELL
3460 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3461 fi
3462
3463 _ACEOF
3464 cat >>$CONFIG_STATUS <<\_ACEOF
3465 exec 5>>config.log
3466 {
3467 echo
3468 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3469 ## Running $as_me. ##
3470 _ASBOX
3471 echo "$ac_log"
3472 } >&5
3473
3474 _ACEOF
3475 cat >>$CONFIG_STATUS <<_ACEOF
3476 _ACEOF
3477
3478 cat >>$CONFIG_STATUS <<\_ACEOF
3479
3480 # Handling of arguments.
3481 for ac_config_target in $ac_config_targets
3482 do
3483 case $ac_config_target in
3484 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3485
3486 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3487 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3488 { (exit 1); exit 1; }; };;
3489 esac
3490 done
3491
3492
3493 # If the user did not use the arguments to specify the items to instantiate,
3494 # then the envvar interface is used. Set only those that are not.
3495 # We use the long form for the default assignment because of an extremely
3496 # bizarre bug on SunOS 4.1.3.
3497 if $ac_need_defaults; then
3498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3499 fi
3500
3501 # Have a temporary directory for convenience. Make it in the build tree
3502 # simply because there is no reason against having it here, and in addition,
3503 # creating and moving files from /tmp can sometimes cause problems.
3504 # Hook for its removal unless debugging.
3505 # Note that there is a small window in which the directory will not be cleaned:
3506 # after its creation but before its name has been assigned to `$tmp'.
3507 $debug ||
3508 {
3509 tmp=
3510 trap 'exit_status=$?
3511 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3512 ' 0
3513 trap '{ (exit 1); exit 1; }' 1 2 13 15
3514 }
3515 # Create a (secure) tmp directory for tmp files.
3516
3517 {
3518 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3519 test -n "$tmp" && test -d "$tmp"
3520 } ||
3521 {
3522 tmp=./conf$$-$RANDOM
3523 (umask 077 && mkdir "$tmp")
3524 } ||
3525 {
3526 echo "$me: cannot create a temporary directory in ." >&2
3527 { (exit 1); exit 1; }
3528 }
3529
3530
3531 for ac_tag in :H $CONFIG_HEADERS
3532 do
3533 case $ac_tag in
3534 :[FHLC]) ac_mode=$ac_tag; continue;;
3535 esac
3536 case $ac_mode$ac_tag in
3537 :[FHL]*:*);;
3538 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3539 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3540 { (exit 1); exit 1; }; };;
3541 :[FH]-) ac_tag=-:-;;
3542 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3543 esac
3544 ac_save_IFS=$IFS
3545 IFS=:
3546 set x $ac_tag
3547 IFS=$ac_save_IFS
3548 shift
3549 ac_file=$1
3550 shift
3551
3552 case $ac_mode in
3553 :L) ac_source=$1;;
3554 :[FH])
3555 ac_file_inputs=
3556 for ac_f
3557 do
3558 case $ac_f in
3559 -) ac_f="$tmp/stdin";;
3560 *) # Look for the file first in the build tree, then in the source tree
3561 # (if the path is not absolute). The absolute path cannot be DOS-style,
3562 # because $ac_f cannot contain `:'.
3563 test -f "$ac_f" ||
3564 case $ac_f in
3565 [\\/$]*) false;;
3566 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3567 esac ||
3568 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3569 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3570 { (exit 1); exit 1; }; };;
3571 esac
3572 ac_file_inputs="$ac_file_inputs $ac_f"
3573 done
3574
3575 # Let's still pretend it is `configure' which instantiates (i.e., don't
3576 # use $as_me), people would be surprised to read:
3577 # /* config.h. Generated by config.status. */
3578 configure_input="Generated from "`IFS=:
3579 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3580 if test x"$ac_file" != x-; then
3581 configure_input="$ac_file. $configure_input"
3582 { echo "$as_me:$LINENO: creating $ac_file" >&5
3583 echo "$as_me: creating $ac_file" >&6;}
3584 fi
3585
3586 case $ac_tag in
3587 *:-:* | *:-) cat >"$tmp/stdin";;
3588 esac
3589 ;;
3590 esac
3591
3592 ac_dir=`$as_dirname -- "$ac_file" ||
3593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3594 X"$ac_file" : 'X\(//\)[^/]' \| \
3595 X"$ac_file" : 'X\(//\)$' \| \
3596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3597 echo X"$ac_file" |
3598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3599 s//\1/
3600 q
3601 }
3602 /^X\(\/\/\)[^/].*/{
3603 s//\1/
3604 q
3605 }
3606 /^X\(\/\/\)$/{
3607 s//\1/
3608 q
3609 }
3610 /^X\(\/\).*/{
3611 s//\1/
3612 q
3613 }
3614 s/.*/./; q'`
3615 { as_dir="$ac_dir"
3616 case $as_dir in #(
3617 -*) as_dir=./$as_dir;;
3618 esac
3619 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3620 as_dirs=
3621 while :; do
3622 case $as_dir in #(
3623 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3624 *) as_qdir=$as_dir;;
3625 esac
3626 as_dirs="'$as_qdir' $as_dirs"
3627 as_dir=`$as_dirname -- "$as_dir" ||
3628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3629 X"$as_dir" : 'X\(//\)[^/]' \| \
3630 X"$as_dir" : 'X\(//\)$' \| \
3631 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3632 echo X"$as_dir" |
3633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3634 s//\1/
3635 q
3636 }
3637 /^X\(\/\/\)[^/].*/{
3638 s//\1/
3639 q
3640 }
3641 /^X\(\/\/\)$/{
3642 s//\1/
3643 q
3644 }
3645 /^X\(\/\).*/{
3646 s//\1/
3647 q
3648 }
3649 s/.*/./; q'`
3650 test -d "$as_dir" && break
3651 done
3652 test -z "$as_dirs" || eval "mkdir $as_dirs"
3653 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3654 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3655 { (exit 1); exit 1; }; }; }
3656 ac_builddir=.
3657
3658 case "$ac_dir" in
3659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3660 *)
3661 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3662 # A ".." for each directory in $ac_dir_suffix.
3663 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3664 case $ac_top_builddir_sub in
3665 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3666 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3667 esac ;;
3668 esac
3669 ac_abs_top_builddir=$ac_pwd
3670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3671 # for backward compatibility:
3672 ac_top_builddir=$ac_top_build_prefix
3673
3674 case $srcdir in
3675 .) # We are building in place.
3676 ac_srcdir=.
3677 ac_top_srcdir=$ac_top_builddir_sub
3678 ac_abs_top_srcdir=$ac_pwd ;;
3679 [\\/]* | ?:[\\/]* ) # Absolute name.
3680 ac_srcdir=$srcdir$ac_dir_suffix;
3681 ac_top_srcdir=$srcdir
3682 ac_abs_top_srcdir=$srcdir ;;
3683 *) # Relative name.
3684 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3685 ac_top_srcdir=$ac_top_build_prefix$srcdir
3686 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3687 esac
3688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3689
3690
3691 case $ac_mode in
3692
3693 :H)
3694 #
3695 # CONFIG_HEADER
3696 #
3697 _ACEOF
3698
3699 # Transform confdefs.h into a sed script `conftest.defines', that
3700 # substitutes the proper values into config.h.in to produce config.h.
3701 rm -f conftest.defines conftest.tail
3702 # First, append a space to every undef/define line, to ease matching.
3703 echo 's/$/ /' >conftest.defines
3704 # Then, protect against being on the right side of a sed subst, or in
3705 # an unquoted here document, in config.status. If some macros were
3706 # called several times there might be several #defines for the same
3707 # symbol, which is useless. But do not sort them, since the last
3708 # AC_DEFINE must be honored.
3709 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3710 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3711 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3712 # PARAMS is the parameter list in the macro definition--in most cases, it's
3713 # just an empty string.
3714 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3715 ac_dB='\\)[ (].*,\\1define\\2'
3716 ac_dC=' '
3717 ac_dD=' ,'
3718
3719 uniq confdefs.h |
3720 sed -n '
3721 t rset
3722 :rset
3723 s/^[ ]*#[ ]*define[ ][ ]*//
3724 t ok
3725 d
3726 :ok
3727 s/[\\&,]/\\&/g
3728 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3729 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3730 ' >>conftest.defines
3731
3732 # Remove the space that was appended to ease matching.
3733 # Then replace #undef with comments. This is necessary, for
3734 # example, in the case of _POSIX_SOURCE, which is predefined and required
3735 # on some systems where configure will not decide to define it.
3736 # (The regexp can be short, since the line contains either #define or #undef.)
3737 echo 's/ $//
3738 s,^[ #]*u.*,/* & */,' >>conftest.defines
3739
3740 # Break up conftest.defines:
3741 ac_max_sed_lines=50
3742
3743 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3744 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3745 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3746 # et cetera.
3747 ac_in='$ac_file_inputs'
3748 ac_out='"$tmp/out1"'
3749 ac_nxt='"$tmp/out2"'
3750
3751 while :
3752 do
3753 # Write a here document:
3754 cat >>$CONFIG_STATUS <<_ACEOF
3755 # First, check the format of the line:
3756 cat >"\$tmp/defines.sed" <<\\CEOF
3757 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3758 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3759 b
3760 :def
3761 _ACEOF
3762 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3763 echo 'CEOF
3764 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3765 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3766 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3767 grep . conftest.tail >/dev/null || break
3768 rm -f conftest.defines
3769 mv conftest.tail conftest.defines
3770 done
3771 rm -f conftest.defines conftest.tail
3772
3773 echo "ac_result=$ac_in" >>$CONFIG_STATUS
3774 cat >>$CONFIG_STATUS <<\_ACEOF
3775 if test x"$ac_file" != x-; then
3776 echo "/* $configure_input */" >"$tmp/config.h"
3777 cat "$ac_result" >>"$tmp/config.h"
3778 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3779 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3780 echo "$as_me: $ac_file is unchanged" >&6;}
3781 else
3782 rm -f $ac_file
3783 mv "$tmp/config.h" $ac_file
3784 fi
3785 else
3786 echo "/* $configure_input */"
3787 cat "$ac_result"
3788 fi
3789 rm -f "$tmp/out12"
3790 ;;
3791
3792
3793 esac
3794
3795 done # for ac_tag
3796
3797
3798 { (exit 0); exit 0; }
3799 _ACEOF
3800 chmod +x $CONFIG_STATUS
3801 ac_clean_files=$ac_clean_files_save
3802
3803
3804 # configure is writing to config.log, and then calls config.status.
3805 # config.status does its own redirection, appending to config.log.
3806 # Unfortunately, on DOS this fails, as config.log is still kept open
3807 # by configure, so config.status won't be able to write to it; its
3808 # output is simply discarded. So we exec the FD to /dev/null,
3809 # effectively closing config.log, so it can be properly (re)opened and
3810 # appended to by config.status. When coming back to configure, we
3811 # need to make the FD available again.
3812 if test "$no_create" != yes; then
3813 ac_cs_success=:
3814 ac_config_status_args=
3815 test "$silent" = yes &&
3816 ac_config_status_args="$ac_config_status_args --quiet"
3817 exec 5>/dev/null
3818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3819 exec 5>>config.log
3820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3821 # would make configure fail if this is the last instruction.
3822 $ac_cs_success || { (exit 1); exit 1; }
3823 fi
3824