ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
Revision: 1.2
Committed: Sun May 11 01:03:33 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-3_01
Changes since 1.1: +94 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.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 root 1.2 { 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 root 1.1 { 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     off64_t offset = 1;
2714     size_t count = 2;
2715     ssize_t res;
2716     res = readahead (fd, offset, count);
2717     return 0;
2718     }
2719    
2720     _ACEOF
2721     rm -f conftest.$ac_objext conftest$ac_exeext
2722     if { (ac_try="$ac_link"
2723     case "(($ac_try" in
2724     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725     *) ac_try_echo=$ac_try;;
2726     esac
2727     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2728     (eval "$ac_link") 2>conftest.er1
2729     ac_status=$?
2730     grep -v '^ *+' conftest.er1 >conftest.err
2731     rm -f conftest.er1
2732     cat conftest.err >&5
2733     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734     (exit $ac_status); } && {
2735     test -z "$ac_c_werror_flag" ||
2736     test ! -s conftest.err
2737     } && test -s conftest$ac_exeext &&
2738     $as_test_x conftest$ac_exeext; then
2739     ac_cv_readahead=yes
2740     else
2741     echo "$as_me: failed program was:" >&5
2742     sed 's/^/| /' conftest.$ac_ext >&5
2743    
2744     ac_cv_readahead=no
2745     fi
2746    
2747     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2748     conftest$ac_exeext conftest.$ac_ext
2749     fi
2750     { echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5
2751     echo "${ECHO_T}$ac_cv_readahead" >&6; }
2752     test $ac_cv_readahead = yes &&
2753     cat >>confdefs.h <<\_ACEOF
2754     #define HAVE_READAHEAD 1
2755     _ACEOF
2756    
2757 root 1.2 test $ac_cv_readahead = yes &&
2758     cat >>confdefs.h <<\_ACEOF
2759     #define _GNU_SOURCE 1
2760     _ACEOF
2761    
2762 root 1.1
2763     { echo "$as_me:$LINENO: checking for fdatasync" >&5
2764     echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
2765     if test "${ac_cv_fdatasync+set}" = set; then
2766     echo $ECHO_N "(cached) $ECHO_C" >&6
2767     else
2768     cat >conftest.$ac_ext <<_ACEOF
2769    
2770     #include <unistd.h>
2771     int main(void)
2772     {
2773     int fd = 0;
2774     fdatasync (fd);
2775     return 0;
2776     }
2777    
2778     _ACEOF
2779     rm -f conftest.$ac_objext conftest$ac_exeext
2780     if { (ac_try="$ac_link"
2781     case "(($ac_try" in
2782     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783     *) ac_try_echo=$ac_try;;
2784     esac
2785     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786     (eval "$ac_link") 2>conftest.er1
2787     ac_status=$?
2788     grep -v '^ *+' conftest.er1 >conftest.err
2789     rm -f conftest.er1
2790     cat conftest.err >&5
2791     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792     (exit $ac_status); } && {
2793     test -z "$ac_c_werror_flag" ||
2794     test ! -s conftest.err
2795     } && test -s conftest$ac_exeext &&
2796     $as_test_x conftest$ac_exeext; then
2797     ac_cv_fdatasync=yes
2798     else
2799     echo "$as_me: failed program was:" >&5
2800     sed 's/^/| /' conftest.$ac_ext >&5
2801    
2802     ac_cv_fdatasync=no
2803     fi
2804    
2805     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2806     conftest$ac_exeext conftest.$ac_ext
2807     fi
2808     { echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5
2809     echo "${ECHO_T}$ac_cv_fdatasync" >&6; }
2810     test $ac_cv_fdatasync = yes &&
2811     cat >>confdefs.h <<\_ACEOF
2812     #define HAVE_FDATASYNC 1
2813     _ACEOF
2814    
2815    
2816     { echo "$as_me:$LINENO: checking for pread and pwrite" >&5
2817     echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; }
2818     if test "${ac_cv_preadwrite+set}" = set; then
2819     echo $ECHO_N "(cached) $ECHO_C" >&6
2820     else
2821     cat >conftest.$ac_ext <<_ACEOF
2822    
2823     #include <unistd.h>
2824     int main(void)
2825     {
2826     int fd = 0;
2827     size_t count = 1;
2828     char buf;
2829     off_t offset = 1;
2830     ssize_t res;
2831     res = pread (fd, &buf, count, offset);
2832     res = pwrite (fd, &buf, count, offset);
2833     return 0;
2834     }
2835    
2836     _ACEOF
2837     rm -f conftest.$ac_objext conftest$ac_exeext
2838     if { (ac_try="$ac_link"
2839     case "(($ac_try" in
2840     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841     *) ac_try_echo=$ac_try;;
2842     esac
2843     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844     (eval "$ac_link") 2>conftest.er1
2845     ac_status=$?
2846     grep -v '^ *+' conftest.er1 >conftest.err
2847     rm -f conftest.er1
2848     cat conftest.err >&5
2849     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850     (exit $ac_status); } && {
2851     test -z "$ac_c_werror_flag" ||
2852     test ! -s conftest.err
2853     } && test -s conftest$ac_exeext &&
2854     $as_test_x conftest$ac_exeext; then
2855     ac_cv_preadwrite=yes
2856     else
2857     echo "$as_me: failed program was:" >&5
2858     sed 's/^/| /' conftest.$ac_ext >&5
2859    
2860     ac_cv_preadwrite=no
2861     fi
2862    
2863     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2864     conftest$ac_exeext conftest.$ac_ext
2865     fi
2866     { echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5
2867     echo "${ECHO_T}$ac_cv_preadwrite" >&6; }
2868     test $ac_cv_preadwrite = yes &&
2869     cat >>confdefs.h <<\_ACEOF
2870     #define HAVE_PREADWRITE 1
2871     _ACEOF
2872    
2873    
2874     { echo "$as_me:$LINENO: checking for readdir_r" >&5
2875     echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
2876     if test "${ac_cv_readdir_r+set}" = set; then
2877     echo $ECHO_N "(cached) $ECHO_C" >&6
2878     else
2879     cat >conftest.$ac_ext <<_ACEOF
2880    
2881     #include <dirent.h>
2882     int main(void)
2883     {
2884     DIR *dir = 0;
2885     struct dirent ent, *eres;
2886     int res = readdir_r (dir, &ent, &eres);
2887     return 0;
2888     }
2889    
2890     _ACEOF
2891     rm -f conftest.$ac_objext conftest$ac_exeext
2892     if { (ac_try="$ac_link"
2893     case "(($ac_try" in
2894     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895     *) ac_try_echo=$ac_try;;
2896     esac
2897     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898     (eval "$ac_link") 2>conftest.er1
2899     ac_status=$?
2900     grep -v '^ *+' conftest.er1 >conftest.err
2901     rm -f conftest.er1
2902     cat conftest.err >&5
2903     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904     (exit $ac_status); } && {
2905     test -z "$ac_c_werror_flag" ||
2906     test ! -s conftest.err
2907     } && test -s conftest$ac_exeext &&
2908     $as_test_x conftest$ac_exeext; then
2909     ac_cv_readdir_r=yes
2910     else
2911     echo "$as_me: failed program was:" >&5
2912     sed 's/^/| /' conftest.$ac_ext >&5
2913    
2914     ac_cv_readdir_r=no
2915     fi
2916    
2917     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2918     conftest$ac_exeext conftest.$ac_ext
2919     fi
2920     { echo "$as_me:$LINENO: result: $ac_cv_readdir_r" >&5
2921     echo "${ECHO_T}$ac_cv_readdir_r" >&6; }
2922     test $ac_cv_readdir_r = yes &&
2923     cat >>confdefs.h <<\_ACEOF
2924     #define HAVE_READDIR_R 1
2925     _ACEOF
2926    
2927    
2928     { echo "$as_me:$LINENO: checking for sendfile" >&5
2929     echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; }
2930     if test "${ac_cv_sendfile+set}" = set; then
2931     echo $ECHO_N "(cached) $ECHO_C" >&6
2932     else
2933     cat >conftest.$ac_ext <<_ACEOF
2934    
2935     # include <sys/types.h>
2936     #if __linux
2937     # include <sys/sendfile.h>
2938     #elif __freebsd
2939     # include <sys/socket.h>
2940     # include <sys/uio.h>
2941     #elif __hpux
2942     # include <sys/socket.h>
2943     #else
2944     # error unsupported architecture
2945     #endif
2946     int main(void)
2947     {
2948     int fd = 0;
2949     off_t offset = 1;
2950     size_t count = 2;
2951     ssize_t res;
2952     #if __linux
2953     res = sendfile (fd, fd, offset, count);
2954     #elif __freebsd
2955     res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2956     #elif __hpux
2957     res = sendfile (fd, fd, offset, count, 0, 0);
2958     #endif
2959     return 0;
2960     }
2961    
2962     _ACEOF
2963     rm -f conftest.$ac_objext conftest$ac_exeext
2964     if { (ac_try="$ac_link"
2965     case "(($ac_try" in
2966     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967     *) ac_try_echo=$ac_try;;
2968     esac
2969     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2970     (eval "$ac_link") 2>conftest.er1
2971     ac_status=$?
2972     grep -v '^ *+' conftest.er1 >conftest.err
2973     rm -f conftest.er1
2974     cat conftest.err >&5
2975     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976     (exit $ac_status); } && {
2977     test -z "$ac_c_werror_flag" ||
2978     test ! -s conftest.err
2979     } && test -s conftest$ac_exeext &&
2980     $as_test_x conftest$ac_exeext; then
2981     ac_cv_sendfile=yes
2982     else
2983     echo "$as_me: failed program was:" >&5
2984     sed 's/^/| /' conftest.$ac_ext >&5
2985    
2986     ac_cv_sendfile=no
2987     fi
2988    
2989     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2990     conftest$ac_exeext conftest.$ac_ext
2991     fi
2992     { echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5
2993     echo "${ECHO_T}$ac_cv_sendfile" >&6; }
2994     test $ac_cv_sendfile = yes &&
2995     cat >>confdefs.h <<\_ACEOF
2996     #define HAVE_SENDFILE 1
2997     _ACEOF
2998    
2999    
3000    
3001    
3002     cat >confcache <<\_ACEOF
3003     # This file is a shell script that caches the results of configure
3004     # tests run on this system so they can be shared between configure
3005     # scripts and configure runs, see configure's option --config-cache.
3006     # It is not useful on other systems. If it contains results you don't
3007     # want to keep, you may remove or edit it.
3008     #
3009     # config.status only pays attention to the cache file if you give it
3010     # the --recheck option to rerun configure.
3011     #
3012     # `ac_cv_env_foo' variables (set or unset) will be overridden when
3013     # loading this file, other *unset* `ac_cv_foo' will be assigned the
3014     # following values.
3015    
3016     _ACEOF
3017    
3018     # The following way of writing the cache mishandles newlines in values,
3019     # but we know of no workaround that is simple, portable, and efficient.
3020     # So, we kill variables containing newlines.
3021     # Ultrix sh set writes to stderr and can't be redirected directly,
3022     # and sets the high bit in the cache file unless we assign to the vars.
3023     (
3024     for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3025     eval ac_val=\$$ac_var
3026     case $ac_val in #(
3027     *${as_nl}*)
3028     case $ac_var in #(
3029     *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3030     echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3031     esac
3032     case $ac_var in #(
3033     _ | IFS | as_nl) ;; #(
3034     *) $as_unset $ac_var ;;
3035     esac ;;
3036     esac
3037     done
3038    
3039     (set) 2>&1 |
3040     case $as_nl`(ac_space=' '; set) 2>&1` in #(
3041     *${as_nl}ac_space=\ *)
3042     # `set' does not quote correctly, so add quotes (double-quote
3043     # substitution turns \\\\ into \\, and sed turns \\ into \).
3044     sed -n \
3045     "s/'/'\\\\''/g;
3046     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3047     ;; #(
3048     *)
3049     # `set' quotes correctly as required by POSIX, so do not add quotes.
3050     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3051     ;;
3052     esac |
3053     sort
3054     ) |
3055     sed '
3056     /^ac_cv_env_/b end
3057     t clear
3058     :clear
3059     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3060     t end
3061     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3062     :end' >>confcache
3063     if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3064     if test -w "$cache_file"; then
3065     test "x$cache_file" != "x/dev/null" &&
3066     { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3067     echo "$as_me: updating cache $cache_file" >&6;}
3068     cat confcache >$cache_file
3069     else
3070     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3071     echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3072     fi
3073     fi
3074     rm -f confcache
3075    
3076     test "x$prefix" = xNONE && prefix=$ac_default_prefix
3077     # Let make expand exec_prefix.
3078     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3079    
3080     DEFS=-DHAVE_CONFIG_H
3081    
3082     ac_libobjs=
3083     ac_ltlibobjs=
3084     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3085     # 1. Remove the extension, and $U if already installed.
3086     ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3087     ac_i=`echo "$ac_i" | sed "$ac_script"`
3088     # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3089     # will be set to the directory where LIBOBJS objects are built.
3090     ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3091     ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3092     done
3093     LIBOBJS=$ac_libobjs
3094    
3095     LTLIBOBJS=$ac_ltlibobjs
3096    
3097    
3098    
3099     : ${CONFIG_STATUS=./config.status}
3100     ac_clean_files_save=$ac_clean_files
3101     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3102     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3103     echo "$as_me: creating $CONFIG_STATUS" >&6;}
3104     cat >$CONFIG_STATUS <<_ACEOF
3105     #! $SHELL
3106     # Generated by $as_me.
3107     # Run this file to recreate the current configuration.
3108     # Compiler output produced by configure, useful for debugging
3109     # configure, is in config.log if it exists.
3110    
3111     debug=false
3112     ac_cs_recheck=false
3113     ac_cs_silent=false
3114     SHELL=\${CONFIG_SHELL-$SHELL}
3115     _ACEOF
3116    
3117     cat >>$CONFIG_STATUS <<\_ACEOF
3118     ## --------------------- ##
3119     ## M4sh Initialization. ##
3120     ## --------------------- ##
3121    
3122     # Be more Bourne compatible
3123     DUALCASE=1; export DUALCASE # for MKS sh
3124     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3125     emulate sh
3126     NULLCMD=:
3127     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3128     # is contrary to our usage. Disable this feature.
3129     alias -g '${1+"$@"}'='"$@"'
3130     setopt NO_GLOB_SUBST
3131     else
3132     case `(set -o) 2>/dev/null` in
3133     *posix*) set -o posix ;;
3134     esac
3135    
3136     fi
3137    
3138    
3139    
3140    
3141     # PATH needs CR
3142     # Avoid depending upon Character Ranges.
3143     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3144     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3145     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3146     as_cr_digits='0123456789'
3147     as_cr_alnum=$as_cr_Letters$as_cr_digits
3148    
3149     # The user is always right.
3150     if test "${PATH_SEPARATOR+set}" != set; then
3151     echo "#! /bin/sh" >conf$$.sh
3152     echo "exit 0" >>conf$$.sh
3153     chmod +x conf$$.sh
3154     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3155     PATH_SEPARATOR=';'
3156     else
3157     PATH_SEPARATOR=:
3158     fi
3159     rm -f conf$$.sh
3160     fi
3161    
3162     # Support unset when possible.
3163     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3164     as_unset=unset
3165     else
3166     as_unset=false
3167     fi
3168    
3169    
3170     # IFS
3171     # We need space, tab and new line, in precisely that order. Quoting is
3172     # there to prevent editors from complaining about space-tab.
3173     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3174     # splitting by setting IFS to empty value.)
3175     as_nl='
3176     '
3177     IFS=" "" $as_nl"
3178    
3179     # Find who we are. Look in the path if we contain no directory separator.
3180     case $0 in
3181     *[\\/]* ) as_myself=$0 ;;
3182     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183     for as_dir in $PATH
3184     do
3185     IFS=$as_save_IFS
3186     test -z "$as_dir" && as_dir=.
3187     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3188     done
3189     IFS=$as_save_IFS
3190    
3191     ;;
3192     esac
3193     # We did not find ourselves, most probably we were run as `sh COMMAND'
3194     # in which case we are not to be found in the path.
3195     if test "x$as_myself" = x; then
3196     as_myself=$0
3197     fi
3198     if test ! -f "$as_myself"; then
3199     echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3200     { (exit 1); exit 1; }
3201     fi
3202    
3203     # Work around bugs in pre-3.0 UWIN ksh.
3204     for as_var in ENV MAIL MAILPATH
3205     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3206     done
3207     PS1='$ '
3208     PS2='> '
3209     PS4='+ '
3210    
3211     # NLS nuisances.
3212     for as_var in \
3213     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3214     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3215     LC_TELEPHONE LC_TIME
3216     do
3217     if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3218     eval $as_var=C; export $as_var
3219     else
3220     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3221     fi
3222     done
3223    
3224     # Required to use basename.
3225     if expr a : '\(a\)' >/dev/null 2>&1 &&
3226     test "X`expr 00001 : '.*\(...\)'`" = X001; then
3227     as_expr=expr
3228     else
3229     as_expr=false
3230     fi
3231    
3232     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3233     as_basename=basename
3234     else
3235     as_basename=false
3236     fi
3237    
3238    
3239     # Name of the executable.
3240     as_me=`$as_basename -- "$0" ||
3241     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3242     X"$0" : 'X\(//\)$' \| \
3243     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3244     echo X/"$0" |
3245     sed '/^.*\/\([^/][^/]*\)\/*$/{
3246     s//\1/
3247     q
3248     }
3249     /^X\/\(\/\/\)$/{
3250     s//\1/
3251     q
3252     }
3253     /^X\/\(\/\).*/{
3254     s//\1/
3255     q
3256     }
3257     s/.*/./; q'`
3258    
3259     # CDPATH.
3260     $as_unset CDPATH
3261    
3262    
3263    
3264     as_lineno_1=$LINENO
3265     as_lineno_2=$LINENO
3266     test "x$as_lineno_1" != "x$as_lineno_2" &&
3267     test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3268    
3269     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3270     # uniformly replaced by the line number. The first 'sed' inserts a
3271     # line-number line after each line using $LINENO; the second 'sed'
3272     # does the real work. The second script uses 'N' to pair each
3273     # line-number line with the line containing $LINENO, and appends
3274     # trailing '-' during substitution so that $LINENO is not a special
3275     # case at line end.
3276     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3277     # scripts with optimization help from Paolo Bonzini. Blame Lee
3278     # E. McMahon (1931-1989) for sed's syntax. :-)
3279     sed -n '
3280     p
3281     /[$]LINENO/=
3282     ' <$as_myself |
3283     sed '
3284     s/[$]LINENO.*/&-/
3285     t lineno
3286     b
3287     :lineno
3288     N
3289     :loop
3290     s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3291     t loop
3292     s/-\n.*//
3293     ' >$as_me.lineno &&
3294     chmod +x "$as_me.lineno" ||
3295     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3296     { (exit 1); exit 1; }; }
3297    
3298     # Don't try to exec as it changes $[0], causing all sort of problems
3299     # (the dirname of $[0] is not the place where we might find the
3300     # original and so on. Autoconf is especially sensitive to this).
3301     . "./$as_me.lineno"
3302     # Exit status is that of the last command.
3303     exit
3304     }
3305    
3306    
3307     if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3308     as_dirname=dirname
3309     else
3310     as_dirname=false
3311     fi
3312    
3313     ECHO_C= ECHO_N= ECHO_T=
3314     case `echo -n x` in
3315     -n*)
3316     case `echo 'x\c'` in
3317     *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3318     *) ECHO_C='\c';;
3319     esac;;
3320     *)
3321     ECHO_N='-n';;
3322     esac
3323    
3324     if expr a : '\(a\)' >/dev/null 2>&1 &&
3325     test "X`expr 00001 : '.*\(...\)'`" = X001; then
3326     as_expr=expr
3327     else
3328     as_expr=false
3329     fi
3330    
3331     rm -f conf$$ conf$$.exe conf$$.file
3332     if test -d conf$$.dir; then
3333     rm -f conf$$.dir/conf$$.file
3334     else
3335     rm -f conf$$.dir
3336     mkdir conf$$.dir
3337     fi
3338     echo >conf$$.file
3339     if ln -s conf$$.file conf$$ 2>/dev/null; then
3340     as_ln_s='ln -s'
3341     # ... but there are two gotchas:
3342     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3343     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3344     # In both cases, we have to default to `cp -p'.
3345     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3346     as_ln_s='cp -p'
3347     elif ln conf$$.file conf$$ 2>/dev/null; then
3348     as_ln_s=ln
3349     else
3350     as_ln_s='cp -p'
3351     fi
3352     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3353     rmdir conf$$.dir 2>/dev/null
3354    
3355     if mkdir -p . 2>/dev/null; then
3356     as_mkdir_p=:
3357     else
3358     test -d ./-p && rmdir ./-p
3359     as_mkdir_p=false
3360     fi
3361    
3362     if test -x / >/dev/null 2>&1; then
3363     as_test_x='test -x'
3364     else
3365     if ls -dL / >/dev/null 2>&1; then
3366     as_ls_L_option=L
3367     else
3368     as_ls_L_option=
3369     fi
3370     as_test_x='
3371     eval sh -c '\''
3372     if test -d "$1"; then
3373     test -d "$1/.";
3374     else
3375     case $1 in
3376     -*)set "./$1";;
3377     esac;
3378     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3379     ???[sx]*):;;*)false;;esac;fi
3380     '\'' sh
3381     '
3382     fi
3383     as_executable_p=$as_test_x
3384    
3385     # Sed expression to map a string onto a valid CPP name.
3386     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3387    
3388     # Sed expression to map a string onto a valid variable name.
3389     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3390    
3391    
3392     exec 6>&1
3393    
3394     # Save the log message, to keep $[0] and so on meaningful, and to
3395     # report actual input values of CONFIG_FILES etc. instead of their
3396     # values after options handling.
3397     ac_log="
3398     This file was extended by $as_me, which was
3399     generated by GNU Autoconf 2.61. Invocation command line was
3400    
3401     CONFIG_FILES = $CONFIG_FILES
3402     CONFIG_HEADERS = $CONFIG_HEADERS
3403     CONFIG_LINKS = $CONFIG_LINKS
3404     CONFIG_COMMANDS = $CONFIG_COMMANDS
3405     $ $0 $@
3406    
3407     on `(hostname || uname -n) 2>/dev/null | sed 1q`
3408     "
3409    
3410     _ACEOF
3411    
3412     cat >>$CONFIG_STATUS <<_ACEOF
3413     # Files that config.status was made for.
3414     config_headers="$ac_config_headers"
3415    
3416     _ACEOF
3417    
3418     cat >>$CONFIG_STATUS <<\_ACEOF
3419     ac_cs_usage="\
3420     \`$as_me' instantiates files from templates according to the
3421     current configuration.
3422    
3423     Usage: $0 [OPTIONS] [FILE]...
3424    
3425     -h, --help print this help, then exit
3426     -V, --version print version number and configuration settings, then exit
3427     -q, --quiet do not print progress messages
3428     -d, --debug don't remove temporary files
3429     --recheck update $as_me by reconfiguring in the same conditions
3430     --header=FILE[:TEMPLATE]
3431     instantiate the configuration header FILE
3432    
3433     Configuration headers:
3434     $config_headers
3435    
3436     Report bugs to <bug-autoconf@gnu.org>."
3437    
3438     _ACEOF
3439     cat >>$CONFIG_STATUS <<_ACEOF
3440     ac_cs_version="\\
3441     config.status
3442     configured by $0, generated by GNU Autoconf 2.61,
3443     with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3444    
3445     Copyright (C) 2006 Free Software Foundation, Inc.
3446     This config.status script is free software; the Free Software Foundation
3447     gives unlimited permission to copy, distribute and modify it."
3448    
3449     ac_pwd='$ac_pwd'
3450     srcdir='$srcdir'
3451     _ACEOF
3452    
3453     cat >>$CONFIG_STATUS <<\_ACEOF
3454     # If no file are specified by the user, then we need to provide default
3455     # value. By we need to know if files were specified by the user.
3456     ac_need_defaults=:
3457     while test $# != 0
3458     do
3459     case $1 in
3460     --*=*)
3461     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3462     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3463     ac_shift=:
3464     ;;
3465     *)
3466     ac_option=$1
3467     ac_optarg=$2
3468     ac_shift=shift
3469     ;;
3470     esac
3471    
3472     case $ac_option in
3473     # Handling of the options.
3474     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3475     ac_cs_recheck=: ;;
3476     --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3477     echo "$ac_cs_version"; exit ;;
3478     --debug | --debu | --deb | --de | --d | -d )
3479     debug=: ;;
3480     --header | --heade | --head | --hea )
3481     $ac_shift
3482     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3483     ac_need_defaults=false;;
3484     --he | --h)
3485     # Conflict between --help and --header
3486     { echo "$as_me: error: ambiguous option: $1
3487     Try \`$0 --help' for more information." >&2
3488     { (exit 1); exit 1; }; };;
3489     --help | --hel | -h )
3490     echo "$ac_cs_usage"; exit ;;
3491     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3492     | -silent | --silent | --silen | --sile | --sil | --si | --s)
3493     ac_cs_silent=: ;;
3494    
3495     # This is an error.
3496     -*) { echo "$as_me: error: unrecognized option: $1
3497     Try \`$0 --help' for more information." >&2
3498     { (exit 1); exit 1; }; } ;;
3499    
3500     *) ac_config_targets="$ac_config_targets $1"
3501     ac_need_defaults=false ;;
3502    
3503     esac
3504     shift
3505     done
3506    
3507     ac_configure_extra_args=
3508    
3509     if $ac_cs_silent; then
3510     exec 6>/dev/null
3511     ac_configure_extra_args="$ac_configure_extra_args --silent"
3512     fi
3513    
3514     _ACEOF
3515     cat >>$CONFIG_STATUS <<_ACEOF
3516     if \$ac_cs_recheck; then
3517     echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3518     CONFIG_SHELL=$SHELL
3519     export CONFIG_SHELL
3520     exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3521     fi
3522    
3523     _ACEOF
3524     cat >>$CONFIG_STATUS <<\_ACEOF
3525     exec 5>>config.log
3526     {
3527     echo
3528     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529     ## Running $as_me. ##
3530     _ASBOX
3531     echo "$ac_log"
3532     } >&5
3533    
3534     _ACEOF
3535     cat >>$CONFIG_STATUS <<_ACEOF
3536     _ACEOF
3537    
3538     cat >>$CONFIG_STATUS <<\_ACEOF
3539    
3540     # Handling of arguments.
3541     for ac_config_target in $ac_config_targets
3542     do
3543     case $ac_config_target in
3544     "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3545    
3546     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3547     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3548     { (exit 1); exit 1; }; };;
3549     esac
3550     done
3551    
3552    
3553     # If the user did not use the arguments to specify the items to instantiate,
3554     # then the envvar interface is used. Set only those that are not.
3555     # We use the long form for the default assignment because of an extremely
3556     # bizarre bug on SunOS 4.1.3.
3557     if $ac_need_defaults; then
3558     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3559     fi
3560    
3561     # Have a temporary directory for convenience. Make it in the build tree
3562     # simply because there is no reason against having it here, and in addition,
3563     # creating and moving files from /tmp can sometimes cause problems.
3564     # Hook for its removal unless debugging.
3565     # Note that there is a small window in which the directory will not be cleaned:
3566     # after its creation but before its name has been assigned to `$tmp'.
3567     $debug ||
3568     {
3569     tmp=
3570     trap 'exit_status=$?
3571     { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3572     ' 0
3573     trap '{ (exit 1); exit 1; }' 1 2 13 15
3574     }
3575     # Create a (secure) tmp directory for tmp files.
3576    
3577     {
3578     tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3579     test -n "$tmp" && test -d "$tmp"
3580     } ||
3581     {
3582     tmp=./conf$$-$RANDOM
3583     (umask 077 && mkdir "$tmp")
3584     } ||
3585     {
3586     echo "$me: cannot create a temporary directory in ." >&2
3587     { (exit 1); exit 1; }
3588     }
3589    
3590    
3591     for ac_tag in :H $CONFIG_HEADERS
3592     do
3593     case $ac_tag in
3594     :[FHLC]) ac_mode=$ac_tag; continue;;
3595     esac
3596     case $ac_mode$ac_tag in
3597     :[FHL]*:*);;
3598     :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3599     echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3600     { (exit 1); exit 1; }; };;
3601     :[FH]-) ac_tag=-:-;;
3602     :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3603     esac
3604     ac_save_IFS=$IFS
3605     IFS=:
3606     set x $ac_tag
3607     IFS=$ac_save_IFS
3608     shift
3609     ac_file=$1
3610     shift
3611    
3612     case $ac_mode in
3613     :L) ac_source=$1;;
3614     :[FH])
3615     ac_file_inputs=
3616     for ac_f
3617     do
3618     case $ac_f in
3619     -) ac_f="$tmp/stdin";;
3620     *) # Look for the file first in the build tree, then in the source tree
3621     # (if the path is not absolute). The absolute path cannot be DOS-style,
3622     # because $ac_f cannot contain `:'.
3623     test -f "$ac_f" ||
3624     case $ac_f in
3625     [\\/$]*) false;;
3626     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3627     esac ||
3628     { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3629     echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3630     { (exit 1); exit 1; }; };;
3631     esac
3632     ac_file_inputs="$ac_file_inputs $ac_f"
3633     done
3634    
3635     # Let's still pretend it is `configure' which instantiates (i.e., don't
3636     # use $as_me), people would be surprised to read:
3637     # /* config.h. Generated by config.status. */
3638     configure_input="Generated from "`IFS=:
3639     echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3640     if test x"$ac_file" != x-; then
3641     configure_input="$ac_file. $configure_input"
3642     { echo "$as_me:$LINENO: creating $ac_file" >&5
3643     echo "$as_me: creating $ac_file" >&6;}
3644     fi
3645    
3646     case $ac_tag in
3647     *:-:* | *:-) cat >"$tmp/stdin";;
3648     esac
3649     ;;
3650     esac
3651    
3652     ac_dir=`$as_dirname -- "$ac_file" ||
3653     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3654     X"$ac_file" : 'X\(//\)[^/]' \| \
3655     X"$ac_file" : 'X\(//\)$' \| \
3656     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3657     echo X"$ac_file" |
3658     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3659     s//\1/
3660     q
3661     }
3662     /^X\(\/\/\)[^/].*/{
3663     s//\1/
3664     q
3665     }
3666     /^X\(\/\/\)$/{
3667     s//\1/
3668     q
3669     }
3670     /^X\(\/\).*/{
3671     s//\1/
3672     q
3673     }
3674     s/.*/./; q'`
3675     { as_dir="$ac_dir"
3676     case $as_dir in #(
3677     -*) as_dir=./$as_dir;;
3678     esac
3679     test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3680     as_dirs=
3681     while :; do
3682     case $as_dir in #(
3683     *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3684     *) as_qdir=$as_dir;;
3685     esac
3686     as_dirs="'$as_qdir' $as_dirs"
3687     as_dir=`$as_dirname -- "$as_dir" ||
3688     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3689     X"$as_dir" : 'X\(//\)[^/]' \| \
3690     X"$as_dir" : 'X\(//\)$' \| \
3691     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3692     echo X"$as_dir" |
3693     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3694     s//\1/
3695     q
3696     }
3697     /^X\(\/\/\)[^/].*/{
3698     s//\1/
3699     q
3700     }
3701     /^X\(\/\/\)$/{
3702     s//\1/
3703     q
3704     }
3705     /^X\(\/\).*/{
3706     s//\1/
3707     q
3708     }
3709     s/.*/./; q'`
3710     test -d "$as_dir" && break
3711     done
3712     test -z "$as_dirs" || eval "mkdir $as_dirs"
3713     } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3714     echo "$as_me: error: cannot create directory $as_dir" >&2;}
3715     { (exit 1); exit 1; }; }; }
3716     ac_builddir=.
3717    
3718     case "$ac_dir" in
3719     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3720     *)
3721     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3722     # A ".." for each directory in $ac_dir_suffix.
3723     ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3724     case $ac_top_builddir_sub in
3725     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3726     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3727     esac ;;
3728     esac
3729     ac_abs_top_builddir=$ac_pwd
3730     ac_abs_builddir=$ac_pwd$ac_dir_suffix
3731     # for backward compatibility:
3732     ac_top_builddir=$ac_top_build_prefix
3733    
3734     case $srcdir in
3735     .) # We are building in place.
3736     ac_srcdir=.
3737     ac_top_srcdir=$ac_top_builddir_sub
3738     ac_abs_top_srcdir=$ac_pwd ;;
3739     [\\/]* | ?:[\\/]* ) # Absolute name.
3740     ac_srcdir=$srcdir$ac_dir_suffix;
3741     ac_top_srcdir=$srcdir
3742     ac_abs_top_srcdir=$srcdir ;;
3743     *) # Relative name.
3744     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3745     ac_top_srcdir=$ac_top_build_prefix$srcdir
3746     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3747     esac
3748     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3749    
3750    
3751     case $ac_mode in
3752    
3753     :H)
3754     #
3755     # CONFIG_HEADER
3756     #
3757     _ACEOF
3758    
3759     # Transform confdefs.h into a sed script `conftest.defines', that
3760     # substitutes the proper values into config.h.in to produce config.h.
3761     rm -f conftest.defines conftest.tail
3762     # First, append a space to every undef/define line, to ease matching.
3763     echo 's/$/ /' >conftest.defines
3764     # Then, protect against being on the right side of a sed subst, or in
3765     # an unquoted here document, in config.status. If some macros were
3766     # called several times there might be several #defines for the same
3767     # symbol, which is useless. But do not sort them, since the last
3768     # AC_DEFINE must be honored.
3769     ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3770     # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3771     # NAME is the cpp macro being defined, VALUE is the value it is being given.
3772     # PARAMS is the parameter list in the macro definition--in most cases, it's
3773     # just an empty string.
3774     ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3775     ac_dB='\\)[ (].*,\\1define\\2'
3776     ac_dC=' '
3777     ac_dD=' ,'
3778    
3779     uniq confdefs.h |
3780     sed -n '
3781     t rset
3782     :rset
3783     s/^[ ]*#[ ]*define[ ][ ]*//
3784     t ok
3785     d
3786     :ok
3787     s/[\\&,]/\\&/g
3788     s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3789     s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3790     ' >>conftest.defines
3791    
3792     # Remove the space that was appended to ease matching.
3793     # Then replace #undef with comments. This is necessary, for
3794     # example, in the case of _POSIX_SOURCE, which is predefined and required
3795     # on some systems where configure will not decide to define it.
3796     # (The regexp can be short, since the line contains either #define or #undef.)
3797     echo 's/ $//
3798     s,^[ #]*u.*,/* & */,' >>conftest.defines
3799    
3800     # Break up conftest.defines:
3801     ac_max_sed_lines=50
3802    
3803     # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3804     # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3805     # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3806     # et cetera.
3807     ac_in='$ac_file_inputs'
3808     ac_out='"$tmp/out1"'
3809     ac_nxt='"$tmp/out2"'
3810    
3811     while :
3812     do
3813     # Write a here document:
3814     cat >>$CONFIG_STATUS <<_ACEOF
3815     # First, check the format of the line:
3816     cat >"\$tmp/defines.sed" <<\\CEOF
3817     /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3818     /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3819     b
3820     :def
3821     _ACEOF
3822     sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3823     echo 'CEOF
3824     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3825     ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3826     sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3827     grep . conftest.tail >/dev/null || break
3828     rm -f conftest.defines
3829     mv conftest.tail conftest.defines
3830     done
3831     rm -f conftest.defines conftest.tail
3832    
3833     echo "ac_result=$ac_in" >>$CONFIG_STATUS
3834     cat >>$CONFIG_STATUS <<\_ACEOF
3835     if test x"$ac_file" != x-; then
3836     echo "/* $configure_input */" >"$tmp/config.h"
3837     cat "$ac_result" >>"$tmp/config.h"
3838     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3839     { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3840     echo "$as_me: $ac_file is unchanged" >&6;}
3841     else
3842     rm -f $ac_file
3843     mv "$tmp/config.h" $ac_file
3844     fi
3845     else
3846     echo "/* $configure_input */"
3847     cat "$ac_result"
3848     fi
3849     rm -f "$tmp/out12"
3850     ;;
3851    
3852    
3853     esac
3854    
3855     done # for ac_tag
3856    
3857    
3858     { (exit 0); exit 0; }
3859     _ACEOF
3860     chmod +x $CONFIG_STATUS
3861     ac_clean_files=$ac_clean_files_save
3862    
3863    
3864     # configure is writing to config.log, and then calls config.status.
3865     # config.status does its own redirection, appending to config.log.
3866     # Unfortunately, on DOS this fails, as config.log is still kept open
3867     # by configure, so config.status won't be able to write to it; its
3868     # output is simply discarded. So we exec the FD to /dev/null,
3869     # effectively closing config.log, so it can be properly (re)opened and
3870     # appended to by config.status. When coming back to configure, we
3871     # need to make the FD available again.
3872     if test "$no_create" != yes; then
3873     ac_cs_success=:
3874     ac_config_status_args=
3875     test "$silent" = yes &&
3876     ac_config_status_args="$ac_config_status_args --quiet"
3877     exec 5>/dev/null
3878     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3879     exec 5>>config.log
3880     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3881     # would make configure fail if this is the last instruction.
3882     $ac_cs_success || { (exit 1); exit 1; }
3883     fi
3884