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