Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / contrib / nslint-3.0a2 / configure
blobcdaf38228534f465954ae8506f8b40075bf0bf32
1 #! /bin/sh
2 # From configure.in @(#) Id (LBL).
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.62.
6 # Copyright (c) 1995, 1996, 1997, 2006, 2009
7 # The Regents of the University of California. All rights reserved.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in
28 *posix*) set -o posix ;;
29 esac
36 # PATH needs CR
37 # Avoid depending upon Character Ranges.
38 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41 as_cr_digits='0123456789'
42 as_cr_alnum=$as_cr_Letters$as_cr_digits
44 as_nl='
46 export as_nl
47 # Printing a long string crashes Solaris 7 /usr/bin/printf.
48 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
50 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
51 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
85 # Support unset when possible.
86 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
87 as_unset=unset
88 else
89 as_unset=false
93 # IFS
94 # We need space, tab and new line, in precisely that order. Quoting is
95 # there to prevent editors from complaining about space-tab.
96 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
97 # splitting by setting IFS to empty value.)
98 IFS=" "" $as_nl"
100 # Find who we are. Look in the path if we contain no directory separator.
101 case $0 in
102 *[\\/]* ) as_myself=$0 ;;
103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104 for as_dir in $PATH
106 IFS=$as_save_IFS
107 test -z "$as_dir" && as_dir=.
108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 done
110 IFS=$as_save_IFS
113 esac
114 # We did not find ourselves, most probably we were run as `sh COMMAND'
115 # in which case we are not to be found in the path.
116 if test "x$as_myself" = x; then
117 as_myself=$0
119 if test ! -f "$as_myself"; then
120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121 { (exit 1); exit 1; }
124 # Work around bugs in pre-3.0 UWIN ksh.
125 for as_var in ENV MAIL MAILPATH
126 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
127 done
128 PS1='$ '
129 PS2='> '
130 PS4='+ '
132 # NLS nuisances.
133 LC_ALL=C
134 export LC_ALL
135 LANGUAGE=C
136 export LANGUAGE
138 # Required to use basename.
139 if expr a : '\(a\)' >/dev/null 2>&1 &&
140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
141 as_expr=expr
142 else
143 as_expr=false
146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
147 as_basename=basename
148 else
149 as_basename=false
153 # Name of the executable.
154 as_me=`$as_basename -- "$0" ||
155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
156 X"$0" : 'X\(//\)$' \| \
157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 $as_echo X/"$0" |
159 sed '/^.*\/\([^/][^/]*\)\/*$/{
160 s//\1/
163 /^X\/\(\/\/\)$/{
164 s//\1/
167 /^X\/\(\/\).*/{
168 s//\1/
171 s/.*/./; q'`
173 # CDPATH.
174 $as_unset CDPATH
177 if test "x$CONFIG_SHELL" = x; then
178 if (eval ":") 2>/dev/null; then
179 as_have_required=yes
180 else
181 as_have_required=no
184 if test $as_have_required = yes && (eval ":
185 (as_func_return () {
186 (exit \$1)
188 as_func_success () {
189 as_func_return 0
191 as_func_failure () {
192 as_func_return 1
194 as_func_ret_success () {
195 return 0
197 as_func_ret_failure () {
198 return 1
201 exitcode=0
202 if as_func_success; then
204 else
205 exitcode=1
206 echo as_func_success failed.
209 if as_func_failure; then
210 exitcode=1
211 echo as_func_failure succeeded.
214 if as_func_ret_success; then
216 else
217 exitcode=1
218 echo as_func_ret_success failed.
221 if as_func_ret_failure; then
222 exitcode=1
223 echo as_func_ret_failure succeeded.
226 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 else
229 exitcode=1
230 echo positional parameters were not saved.
233 test \$exitcode = 0) || { (exit 1); exit 1; }
236 as_lineno_1=\$LINENO
237 as_lineno_2=\$LINENO
238 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
239 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
240 ") 2> /dev/null; then
242 else
243 as_candidate_shells=
244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
245 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247 IFS=$as_save_IFS
248 test -z "$as_dir" && as_dir=.
249 case $as_dir in
251 for as_base in sh bash ksh sh5; do
252 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
253 done;;
254 esac
255 done
256 IFS=$as_save_IFS
259 for as_shell in $as_candidate_shells $SHELL; do
260 # Try only shells that exist, to save several forks.
261 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
262 { ("$as_shell") 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 _ASEOF
280 }; then
281 CONFIG_SHELL=$as_shell
282 as_have_required=yes
283 if { "$as_shell" 2> /dev/null <<\_ASEOF
284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 emulate sh
286 NULLCMD=:
287 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
288 # is contrary to our usage. Disable this feature.
289 alias -g '${1+"$@"}'='"$@"'
290 setopt NO_GLOB_SUBST
291 else
292 case `(set -o) 2>/dev/null` in
293 *posix*) set -o posix ;;
294 esac
300 (as_func_return () {
301 (exit $1)
303 as_func_success () {
304 as_func_return 0
306 as_func_failure () {
307 as_func_return 1
309 as_func_ret_success () {
310 return 0
312 as_func_ret_failure () {
313 return 1
316 exitcode=0
317 if as_func_success; then
319 else
320 exitcode=1
321 echo as_func_success failed.
324 if as_func_failure; then
325 exitcode=1
326 echo as_func_failure succeeded.
329 if as_func_ret_success; then
331 else
332 exitcode=1
333 echo as_func_ret_success failed.
336 if as_func_ret_failure; then
337 exitcode=1
338 echo as_func_ret_failure succeeded.
341 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 else
344 exitcode=1
345 echo positional parameters were not saved.
348 test $exitcode = 0) || { (exit 1); exit 1; }
351 as_lineno_1=$LINENO
352 as_lineno_2=$LINENO
353 test "x$as_lineno_1" != "x$as_lineno_2" &&
354 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
356 _ASEOF
357 }; then
358 break
363 done
365 if test "x$CONFIG_SHELL" != x; then
366 for as_var in BASH_ENV ENV
367 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 done
369 export CONFIG_SHELL
370 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
374 if test $as_have_required = no; then
375 echo This script requires a shell more modern than all the
376 echo shells that I found on your system. Please install a
377 echo modern shell, or manually run the script under such a
378 echo shell if you do have one.
379 { (exit 1); exit 1; }
389 (eval "as_func_return () {
390 (exit \$1)
392 as_func_success () {
393 as_func_return 0
395 as_func_failure () {
396 as_func_return 1
398 as_func_ret_success () {
399 return 0
401 as_func_ret_failure () {
402 return 1
405 exitcode=0
406 if as_func_success; then
408 else
409 exitcode=1
410 echo as_func_success failed.
413 if as_func_failure; then
414 exitcode=1
415 echo as_func_failure succeeded.
418 if as_func_ret_success; then
420 else
421 exitcode=1
422 echo as_func_ret_success failed.
425 if as_func_ret_failure; then
426 exitcode=1
427 echo as_func_ret_failure succeeded.
430 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 else
433 exitcode=1
434 echo positional parameters were not saved.
437 test \$exitcode = 0") || {
438 echo No shell found that supports shell functions.
439 echo Please tell bug-autoconf@gnu.org about your system,
440 echo including any error possibly output before this message.
441 echo This can help us improve future autoconf versions.
442 echo Configuration will now proceed without shell functions.
447 as_lineno_1=$LINENO
448 as_lineno_2=$LINENO
449 test "x$as_lineno_1" != "x$as_lineno_2" &&
450 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
452 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
453 # uniformly replaced by the line number. The first 'sed' inserts a
454 # line-number line after each line using $LINENO; the second 'sed'
455 # does the real work. The second script uses 'N' to pair each
456 # line-number line with the line containing $LINENO, and appends
457 # trailing '-' during substitution so that $LINENO is not a special
458 # case at line end.
459 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
460 # scripts with optimization help from Paolo Bonzini. Blame Lee
461 # E. McMahon (1931-1989) for sed's syntax. :-)
462 sed -n '
464 /[$]LINENO/=
465 ' <$as_myself |
466 sed '
467 s/[$]LINENO.*/&-/
468 t lineno
470 :lineno
472 :loop
473 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
474 t loop
475 s/-\n.*//
476 ' >$as_me.lineno &&
477 chmod +x "$as_me.lineno" ||
478 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
479 { (exit 1); exit 1; }; }
481 # Don't try to exec as it changes $[0], causing all sort of problems
482 # (the dirname of $[0] is not the place where we might find the
483 # original and so on. Autoconf is especially sensitive to this).
484 . "./$as_me.lineno"
485 # Exit status is that of the last command.
486 exit
490 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
491 as_dirname=dirname
492 else
493 as_dirname=false
496 ECHO_C= ECHO_N= ECHO_T=
497 case `echo -n x` in
498 -n*)
499 case `echo 'x\c'` in
500 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
501 *) ECHO_C='\c';;
502 esac;;
504 ECHO_N='-n';;
505 esac
506 if expr a : '\(a\)' >/dev/null 2>&1 &&
507 test "X`expr 00001 : '.*\(...\)'`" = X001; then
508 as_expr=expr
509 else
510 as_expr=false
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -p'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -p'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -p'
534 else
535 as_ln_s='cp -p'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p=:
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 if test -x / >/dev/null 2>&1; then
548 as_test_x='test -x'
549 else
550 if ls -dL / >/dev/null 2>&1; then
551 as_ls_L_option=L
552 else
553 as_ls_L_option=
555 as_test_x='
556 eval sh -c '\''
557 if test -d "$1"; then
558 test -d "$1/.";
559 else
560 case $1 in
561 -*)set "./$1";;
562 esac;
563 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
564 ???[sx]*):;;*)false;;esac;fi
565 '\'' sh
568 as_executable_p=$as_test_x
570 # Sed expression to map a string onto a valid CPP name.
571 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
573 # Sed expression to map a string onto a valid variable name.
574 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
578 exec 7<&0 </dev/null 6>&1
580 # Name of the host.
581 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
582 # so uname gets run too.
583 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 # Initializations.
588 ac_default_prefix=/usr/local
589 ac_clean_files=
590 ac_config_libobj_dir=.
591 LIBOBJS=
592 cross_compiling=no
593 subdirs=
594 MFLAGS=
595 MAKEFLAGS=
596 SHELL=${CONFIG_SHELL-/bin/sh}
598 # Identity of this package.
599 PACKAGE_NAME=
600 PACKAGE_TARNAME=
601 PACKAGE_VERSION=
602 PACKAGE_STRING=
603 PACKAGE_BUGREPORT=
605 ac_unique_file="nslint.c"
606 # Factoring default headers for most tests.
607 ac_includes_default="\
608 #include <stdio.h>
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
611 #endif
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
614 #endif
615 #ifdef STDC_HEADERS
616 # include <stdlib.h>
617 # include <stddef.h>
618 #else
619 # ifdef HAVE_STDLIB_H
620 # include <stdlib.h>
621 # endif
622 #endif
623 #ifdef HAVE_STRING_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 # include <memory.h>
626 # endif
627 # include <string.h>
628 #endif
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_UNISTD_H
639 # include <unistd.h>
640 #endif"
642 ac_subst_vars='SHELL
643 PATH_SEPARATOR
644 PACKAGE_NAME
645 PACKAGE_TARNAME
646 PACKAGE_VERSION
647 PACKAGE_STRING
648 PACKAGE_BUGREPORT
649 exec_prefix
650 prefix
651 program_transform_name
652 bindir
653 sbindir
654 libexecdir
655 datarootdir
656 datadir
657 sysconfdir
658 sharedstatedir
659 localstatedir
660 includedir
661 oldincludedir
662 docdir
663 infodir
664 htmldir
665 dvidir
666 pdfdir
667 psdir
668 libdir
669 localedir
670 mandir
671 DEFS
672 ECHO_C
673 ECHO_N
674 ECHO_T
675 LIBS
676 build_alias
677 host_alias
678 target_alias
679 build
680 build_cpu
681 build_vendor
682 build_os
683 host
684 host_cpu
685 host_vendor
686 host_os
687 target
688 target_cpu
689 target_vendor
690 target_os
692 CFLAGS
693 LDFLAGS
694 CPPFLAGS
695 ac_ct_CC
696 EXEEXT
697 OBJEXT
699 GREP
700 EGREP
701 SHLICC2
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LIBOBJS
706 V_CCOPT
707 V_INCLS
708 LTLIBOBJS'
709 ac_subst_files=''
710 ac_user_opts='
711 enable_option_checking
712 enable_optimization
713 with_gcc
714 enable_largefile
716 ac_precious_vars='build_alias
717 host_alias
718 target_alias
720 CFLAGS
721 LDFLAGS
722 LIBS
723 CPPFLAGS
724 CPP'
727 # Initialize some variables set by options.
728 ac_init_help=
729 ac_init_version=false
730 ac_unrecognized_opts=
731 ac_unrecognized_sep=
732 # The variables have the same names as the options, with
733 # dashes changed to underlines.
734 cache_file=/dev/null
735 exec_prefix=NONE
736 no_create=
737 no_recursion=
738 prefix=NONE
739 program_prefix=NONE
740 program_suffix=NONE
741 program_transform_name=s,x,x,
742 silent=
743 site=
744 srcdir=
745 verbose=
746 x_includes=NONE
747 x_libraries=NONE
749 # Installation directory options.
750 # These are left unexpanded so users can "make install exec_prefix=/foo"
751 # and all the variables that are supposed to be based on exec_prefix
752 # by default will actually change.
753 # Use braces instead of parens because sh, perl, etc. also accept them.
754 # (The list follows the same order as the GNU Coding Standards.)
755 bindir='${exec_prefix}/bin'
756 sbindir='${exec_prefix}/sbin'
757 libexecdir='${exec_prefix}/libexec'
758 datarootdir='${prefix}/share'
759 datadir='${datarootdir}'
760 sysconfdir='${prefix}/etc'
761 sharedstatedir='${prefix}/com'
762 localstatedir='${prefix}/var'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE}'
766 infodir='${datarootdir}/info'
767 htmldir='${docdir}'
768 dvidir='${docdir}'
769 pdfdir='${docdir}'
770 psdir='${docdir}'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
775 ac_prev=
776 ac_dashdash=
777 for ac_option
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\$ac_option
782 ac_prev=
783 continue
786 case $ac_option in
787 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 *) ac_optarg=yes ;;
789 esac
791 # Accept the important Cygnus configure options, so we can diagnose typos.
793 case $ac_dashdash$ac_option in
795 ac_dashdash=yes ;;
797 -bindir | --bindir | --bindi | --bind | --bin | --bi)
798 ac_prev=bindir ;;
799 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
800 bindir=$ac_optarg ;;
802 -build | --build | --buil | --bui | --bu)
803 ac_prev=build_alias ;;
804 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
805 build_alias=$ac_optarg ;;
807 -cache-file | --cache-file | --cache-fil | --cache-fi \
808 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
809 ac_prev=cache_file ;;
810 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
811 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
812 cache_file=$ac_optarg ;;
814 --config-cache | -C)
815 cache_file=config.cache ;;
817 -datadir | --datadir | --datadi | --datad)
818 ac_prev=datadir ;;
819 -datadir=* | --datadir=* | --datadi=* | --datad=*)
820 datadir=$ac_optarg ;;
822 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
823 | --dataroo | --dataro | --datar)
824 ac_prev=datarootdir ;;
825 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
826 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
827 datarootdir=$ac_optarg ;;
829 -disable-* | --disable-*)
830 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
834 { (exit 1); exit 1; }; }
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
839 "enable_$ac_useropt"
840 "*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=no ;;
846 -docdir | --docdir | --docdi | --doc | --do)
847 ac_prev=docdir ;;
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849 docdir=$ac_optarg ;;
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
852 ac_prev=dvidir ;;
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854 dvidir=$ac_optarg ;;
856 -enable-* | --enable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
861 { (exit 1); exit 1; }; }
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
866 "enable_$ac_useropt"
867 "*) ;;
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
870 esac
871 eval enable_$ac_useropt=\$ac_optarg ;;
873 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
874 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
875 | --exec | --exe | --ex)
876 ac_prev=exec_prefix ;;
877 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
878 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
879 | --exec=* | --exe=* | --ex=*)
880 exec_prefix=$ac_optarg ;;
882 -gas | --gas | --ga | --g)
883 # Obsolete; use --with-gas.
884 with_gas=yes ;;
886 -help | --help | --hel | --he | -h)
887 ac_init_help=long ;;
888 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
889 ac_init_help=recursive ;;
890 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
891 ac_init_help=short ;;
893 -host | --host | --hos | --ho)
894 ac_prev=host_alias ;;
895 -host=* | --host=* | --hos=* | --ho=*)
896 host_alias=$ac_optarg ;;
898 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 ac_prev=htmldir ;;
900 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 | --ht=*)
902 htmldir=$ac_optarg ;;
904 -includedir | --includedir | --includedi | --included | --include \
905 | --includ | --inclu | --incl | --inc)
906 ac_prev=includedir ;;
907 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
908 | --includ=* | --inclu=* | --incl=* | --inc=*)
909 includedir=$ac_optarg ;;
911 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 ac_prev=infodir ;;
913 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
914 infodir=$ac_optarg ;;
916 -libdir | --libdir | --libdi | --libd)
917 ac_prev=libdir ;;
918 -libdir=* | --libdir=* | --libdi=* | --libd=*)
919 libdir=$ac_optarg ;;
921 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
922 | --libexe | --libex | --libe)
923 ac_prev=libexecdir ;;
924 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
925 | --libexe=* | --libex=* | --libe=*)
926 libexecdir=$ac_optarg ;;
928 -localedir | --localedir | --localedi | --localed | --locale)
929 ac_prev=localedir ;;
930 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
931 localedir=$ac_optarg ;;
933 -localstatedir | --localstatedir | --localstatedi | --localstated \
934 | --localstate | --localstat | --localsta | --localst | --locals)
935 ac_prev=localstatedir ;;
936 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
937 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
938 localstatedir=$ac_optarg ;;
940 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 ac_prev=mandir ;;
942 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943 mandir=$ac_optarg ;;
945 -nfp | --nfp | --nf)
946 # Obsolete; use --without-fp.
947 with_fp=no ;;
949 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
950 | --no-cr | --no-c | -n)
951 no_create=yes ;;
953 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
954 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
955 no_recursion=yes ;;
957 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
958 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
959 | --oldin | --oldi | --old | --ol | --o)
960 ac_prev=oldincludedir ;;
961 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
962 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
963 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
964 oldincludedir=$ac_optarg ;;
966 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 ac_prev=prefix ;;
968 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
969 prefix=$ac_optarg ;;
971 -program-prefix | --program-prefix | --program-prefi | --program-pref \
972 | --program-pre | --program-pr | --program-p)
973 ac_prev=program_prefix ;;
974 -program-prefix=* | --program-prefix=* | --program-prefi=* \
975 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
976 program_prefix=$ac_optarg ;;
978 -program-suffix | --program-suffix | --program-suffi | --program-suff \
979 | --program-suf | --program-su | --program-s)
980 ac_prev=program_suffix ;;
981 -program-suffix=* | --program-suffix=* | --program-suffi=* \
982 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
983 program_suffix=$ac_optarg ;;
985 -program-transform-name | --program-transform-name \
986 | --program-transform-nam | --program-transform-na \
987 | --program-transform-n | --program-transform- \
988 | --program-transform | --program-transfor \
989 | --program-transfo | --program-transf \
990 | --program-trans | --program-tran \
991 | --progr-tra | --program-tr | --program-t)
992 ac_prev=program_transform_name ;;
993 -program-transform-name=* | --program-transform-name=* \
994 | --program-transform-nam=* | --program-transform-na=* \
995 | --program-transform-n=* | --program-transform-=* \
996 | --program-transform=* | --program-transfor=* \
997 | --program-transfo=* | --program-transf=* \
998 | --program-trans=* | --program-tran=* \
999 | --progr-tra=* | --program-tr=* | --program-t=*)
1000 program_transform_name=$ac_optarg ;;
1002 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 ac_prev=pdfdir ;;
1004 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1005 pdfdir=$ac_optarg ;;
1007 -psdir | --psdir | --psdi | --psd | --ps)
1008 ac_prev=psdir ;;
1009 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1010 psdir=$ac_optarg ;;
1012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013 | -silent | --silent | --silen | --sile | --sil)
1014 silent=yes ;;
1016 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 ac_prev=sbindir ;;
1018 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 | --sbi=* | --sb=*)
1020 sbindir=$ac_optarg ;;
1022 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024 | --sharedst | --shareds | --shared | --share | --shar \
1025 | --sha | --sh)
1026 ac_prev=sharedstatedir ;;
1027 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 | --sha=* | --sh=*)
1031 sharedstatedir=$ac_optarg ;;
1033 -site | --site | --sit)
1034 ac_prev=site ;;
1035 -site=* | --site=* | --sit=*)
1036 site=$ac_optarg ;;
1038 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 ac_prev=srcdir ;;
1040 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041 srcdir=$ac_optarg ;;
1043 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044 | --syscon | --sysco | --sysc | --sys | --sy)
1045 ac_prev=sysconfdir ;;
1046 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048 sysconfdir=$ac_optarg ;;
1050 -target | --target | --targe | --targ | --tar | --ta | --t)
1051 ac_prev=target_alias ;;
1052 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053 target_alias=$ac_optarg ;;
1055 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1056 verbose=yes ;;
1058 -version | --version | --versio | --versi | --vers | -V)
1059 ac_init_version=: ;;
1061 -with-* | --with-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "with_$ac_useropt"
1072 "*) ;;
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1075 esac
1076 eval with_$ac_useropt=\$ac_optarg ;;
1078 -without-* | --without-*)
1079 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_useropt_orig=$ac_useropt
1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "with_$ac_useropt"
1089 "*) ;;
1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091 ac_unrecognized_sep=', ';;
1092 esac
1093 eval with_$ac_useropt=no ;;
1095 --x)
1096 # Obsolete; use --with-x.
1097 with_x=yes ;;
1099 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1100 | --x-incl | --x-inc | --x-in | --x-i)
1101 ac_prev=x_includes ;;
1102 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1103 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1104 x_includes=$ac_optarg ;;
1106 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1107 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1108 ac_prev=x_libraries ;;
1109 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1110 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1111 x_libraries=$ac_optarg ;;
1113 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1114 Try \`$0 --help' for more information." >&2
1115 { (exit 1); exit 1; }; }
1118 *=*)
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1122 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1123 { (exit 1); exit 1; }; }
1124 eval $ac_envvar=\$ac_optarg
1125 export $ac_envvar ;;
1128 # FIXME: should be removed in autoconf 3.0.
1129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1135 esac
1136 done
1138 if test -n "$ac_prev"; then
1139 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1140 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1141 { (exit 1); exit 1; }; }
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1146 no) ;;
1147 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1148 { (exit 1); exit 1; }; } ;;
1149 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1150 esac
1153 # Check all directory arguments for consistency.
1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157 libdir localedir mandir
1159 eval ac_val=\$$ac_var
1160 # Remove trailing slashes.
1161 case $ac_val in
1162 */ )
1163 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164 eval $ac_var=\$ac_val;;
1165 esac
1166 # Be sure to have absolute directory names.
1167 case $ac_val in
1168 [\\/$]* | ?:[\\/]* ) continue;;
1169 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170 esac
1171 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1172 { (exit 1); exit 1; }; }
1173 done
1175 # There might be people who depend on the old broken behavior: `$host'
1176 # used to hold the argument of --host etc.
1177 # FIXME: To remove some day.
1178 build=$build_alias
1179 host=$host_alias
1180 target=$target_alias
1182 # FIXME: To remove some day.
1183 if test "x$host_alias" != x; then
1184 if test "x$build_alias" = x; then
1185 cross_compiling=maybe
1186 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1187 If a cross compiler is detected then cross compile mode will be used." >&2
1188 elif test "x$build_alias" != "x$host_alias"; then
1189 cross_compiling=yes
1193 ac_tool_prefix=
1194 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1196 test "$silent" = yes && exec 6>/dev/null
1199 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1200 ac_ls_di=`ls -di .` &&
1201 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1202 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1203 { (exit 1); exit 1; }; }
1204 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1205 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1206 { (exit 1); exit 1; }; }
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 $as_echo X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220 s//\1/
1223 /^X\(\/\/\)[^/].*/{
1224 s//\1/
1227 /^X\(\/\/\)$/{
1228 s//\1/
1231 /^X\(\/\).*/{
1232 s//\1/
1235 s/.*/./; q'`
1236 srcdir=$ac_confdir
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 srcdir=..
1240 else
1241 ac_srcdir_defaulted=no
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1245 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1246 { (exit 1); exit 1; }; }
1248 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1249 ac_abs_confdir=`(
1250 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1251 { (exit 1); exit 1; }; }
1252 pwd)`
1253 # When building in place, set srcdir=.
1254 if test "$ac_abs_confdir" = "$ac_pwd"; then
1255 srcdir=.
1257 # Remove unnecessary trailing slashes from srcdir.
1258 # Double slashes in file names in object file debugging info
1259 # mess up M-x gdb in Emacs.
1260 case $srcdir in
1261 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1262 esac
1263 for ac_var in $ac_precious_vars; do
1264 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1265 eval ac_env_${ac_var}_value=\$${ac_var}
1266 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1268 done
1271 # Report the --help message.
1273 if test "$ac_init_help" = "long"; then
1274 # Omit some internal or obsolete options to make the list less imposing.
1275 # This message is too long to be a string in the A/UX 3.1 sh.
1276 cat <<_ACEOF
1277 \`configure' configures this package to adapt to many kinds of systems.
1279 Usage: $0 [OPTION]... [VAR=VALUE]...
1281 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1282 VAR=VALUE. See below for descriptions of some of the useful variables.
1284 Defaults for the options are specified in brackets.
1286 Configuration:
1287 -h, --help display this help and exit
1288 --help=short display options specific to this package
1289 --help=recursive display the short help of all the included packages
1290 -V, --version display version information and exit
1291 -q, --quiet, --silent do not print \`checking...' messages
1292 --cache-file=FILE cache test results in FILE [disabled]
1293 -C, --config-cache alias for \`--cache-file=config.cache'
1294 -n, --no-create do not create output files
1295 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1297 Installation directories:
1298 --prefix=PREFIX install architecture-independent files in PREFIX
1299 [$ac_default_prefix]
1300 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1301 [PREFIX]
1303 By default, \`make install' will install all the files in
1304 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1305 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1306 for instance \`--prefix=\$HOME'.
1308 For better control, use the options below.
1310 Fine tuning of the installation directories:
1311 --bindir=DIR user executables [EPREFIX/bin]
1312 --sbindir=DIR system admin executables [EPREFIX/sbin]
1313 --libexecdir=DIR program executables [EPREFIX/libexec]
1314 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1315 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1316 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1317 --libdir=DIR object code libraries [EPREFIX/lib]
1318 --includedir=DIR C header files [PREFIX/include]
1319 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1320 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1321 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1322 --infodir=DIR info documentation [DATAROOTDIR/info]
1323 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1324 --mandir=DIR man documentation [DATAROOTDIR/man]
1325 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1326 --htmldir=DIR html documentation [DOCDIR]
1327 --dvidir=DIR dvi documentation [DOCDIR]
1328 --pdfdir=DIR pdf documentation [DOCDIR]
1329 --psdir=DIR ps documentation [DOCDIR]
1330 _ACEOF
1332 cat <<\_ACEOF
1334 System types:
1335 --build=BUILD configure for building on BUILD [guessed]
1336 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1337 --target=TARGET configure for building compilers for TARGET [HOST]
1338 _ACEOF
1341 if test -n "$ac_init_help"; then
1343 cat <<\_ACEOF
1345 Optional Features:
1346 --disable-option-checking ignore unrecognized --enable/--with options
1347 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1348 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1349 --disable-optimization turn off gcc optimization
1350 --disable-largefile omit support for large files
1352 Optional Packages:
1353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1355 --without-gcc don't use gcc
1357 Some influential environment variables:
1358 CC C compiler command
1359 CFLAGS C compiler flags
1360 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1361 nonstandard directory <lib dir>
1362 LIBS libraries to pass to the linker, e.g. -l<library>
1363 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1364 you have headers in a nonstandard directory <include dir>
1365 CPP C preprocessor
1367 Use these variables to override the choices made by `configure' or to help
1368 it to find libraries and programs with nonstandard names/locations.
1370 _ACEOF
1371 ac_status=$?
1374 if test "$ac_init_help" = "recursive"; then
1375 # If there are subdirs, report their specific --help.
1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1377 test -d "$ac_dir" ||
1378 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1379 continue
1380 ac_builddir=.
1382 case "$ac_dir" in
1383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1386 # A ".." for each directory in $ac_dir_suffix.
1387 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1388 case $ac_top_builddir_sub in
1389 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1391 esac ;;
1392 esac
1393 ac_abs_top_builddir=$ac_pwd
1394 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1395 # for backward compatibility:
1396 ac_top_builddir=$ac_top_build_prefix
1398 case $srcdir in
1399 .) # We are building in place.
1400 ac_srcdir=.
1401 ac_top_srcdir=$ac_top_builddir_sub
1402 ac_abs_top_srcdir=$ac_pwd ;;
1403 [\\/]* | ?:[\\/]* ) # Absolute name.
1404 ac_srcdir=$srcdir$ac_dir_suffix;
1405 ac_top_srcdir=$srcdir
1406 ac_abs_top_srcdir=$srcdir ;;
1407 *) # Relative name.
1408 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1409 ac_top_srcdir=$ac_top_build_prefix$srcdir
1410 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1411 esac
1412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1414 cd "$ac_dir" || { ac_status=$?; continue; }
1415 # Check for guested configure.
1416 if test -f "$ac_srcdir/configure.gnu"; then
1417 echo &&
1418 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419 elif test -f "$ac_srcdir/configure"; then
1420 echo &&
1421 $SHELL "$ac_srcdir/configure" --help=recursive
1422 else
1423 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424 fi || ac_status=$?
1425 cd "$ac_pwd" || { ac_status=$?; break; }
1426 done
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1431 cat <<\_ACEOF
1432 configure
1433 generated by GNU Autoconf 2.62
1435 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1436 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1437 This configure script is free software; the Free Software Foundation
1438 gives unlimited permission to copy, distribute and modify it.
1440 Copyright (c) 1995, 1996, 1997, 2006, 2009
1441 The Regents of the University of California. All rights reserved.
1442 _ACEOF
1443 exit
1445 cat >config.log <<_ACEOF
1446 This file contains any messages produced by compilers while
1447 running configure, to aid debugging if configure makes a mistake.
1449 It was created by $as_me, which was
1450 generated by GNU Autoconf 2.62. Invocation command line was
1452 $ $0 $@
1454 _ACEOF
1455 exec 5>>config.log
1457 cat <<_ASUNAME
1458 ## --------- ##
1459 ## Platform. ##
1460 ## --------- ##
1462 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1463 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1464 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1465 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1466 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1468 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1469 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1471 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1472 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1473 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1474 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1475 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1476 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1477 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1479 _ASUNAME
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 for as_dir in $PATH
1484 IFS=$as_save_IFS
1485 test -z "$as_dir" && as_dir=.
1486 $as_echo "PATH: $as_dir"
1487 done
1488 IFS=$as_save_IFS
1490 } >&5
1492 cat >&5 <<_ACEOF
1495 ## ----------- ##
1496 ## Core tests. ##
1497 ## ----------- ##
1499 _ACEOF
1502 # Keep a trace of the command line.
1503 # Strip out --no-create and --no-recursion so they do not pile up.
1504 # Strip out --silent because we don't want to record it for future runs.
1505 # Also quote any args containing shell meta-characters.
1506 # Make two passes to allow for proper duplicate-argument suppression.
1507 ac_configure_args=
1508 ac_configure_args0=
1509 ac_configure_args1=
1510 ac_must_keep_next=false
1511 for ac_pass in 1 2
1513 for ac_arg
1515 case $ac_arg in
1516 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1518 | -silent | --silent | --silen | --sile | --sil)
1519 continue ;;
1520 *\'*)
1521 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1522 esac
1523 case $ac_pass in
1524 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1526 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1527 if test $ac_must_keep_next = true; then
1528 ac_must_keep_next=false # Got value, back to normal.
1529 else
1530 case $ac_arg in
1531 *=* | --config-cache | -C | -disable-* | --disable-* \
1532 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1533 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1534 | -with-* | --with-* | -without-* | --without-* | --x)
1535 case "$ac_configure_args0 " in
1536 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1537 esac
1539 -* ) ac_must_keep_next=true ;;
1540 esac
1542 ac_configure_args="$ac_configure_args '$ac_arg'"
1544 esac
1545 done
1546 done
1547 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1548 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1550 # When interrupted or exit'd, cleanup temporary files, and complete
1551 # config.log. We remove comments because anyway the quotes in there
1552 # would cause problems or look ugly.
1553 # WARNING: Use '\'' to represent an apostrophe within the trap.
1554 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1555 trap 'exit_status=$?
1556 # Save into config.log some information that might help in debugging.
1558 echo
1560 cat <<\_ASBOX
1561 ## ---------------- ##
1562 ## Cache variables. ##
1563 ## ---------------- ##
1564 _ASBOX
1565 echo
1566 # The following way of writing the cache mishandles newlines in values,
1568 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1569 eval ac_val=\$$ac_var
1570 case $ac_val in #(
1571 *${as_nl}*)
1572 case $ac_var in #(
1573 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1574 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1575 esac
1576 case $ac_var in #(
1577 _ | IFS | as_nl) ;; #(
1578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1579 *) $as_unset $ac_var ;;
1580 esac ;;
1581 esac
1582 done
1583 (set) 2>&1 |
1584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1585 *${as_nl}ac_space=\ *)
1586 sed -n \
1587 "s/'\''/'\''\\\\'\'''\''/g;
1588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1589 ;; #(
1591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1593 esac |
1594 sort
1596 echo
1598 cat <<\_ASBOX
1599 ## ----------------- ##
1600 ## Output variables. ##
1601 ## ----------------- ##
1602 _ASBOX
1603 echo
1604 for ac_var in $ac_subst_vars
1606 eval ac_val=\$$ac_var
1607 case $ac_val in
1608 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 esac
1610 $as_echo "$ac_var='\''$ac_val'\''"
1611 done | sort
1612 echo
1614 if test -n "$ac_subst_files"; then
1615 cat <<\_ASBOX
1616 ## ------------------- ##
1617 ## File substitutions. ##
1618 ## ------------------- ##
1619 _ASBOX
1620 echo
1621 for ac_var in $ac_subst_files
1623 eval ac_val=\$$ac_var
1624 case $ac_val in
1625 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 esac
1627 $as_echo "$ac_var='\''$ac_val'\''"
1628 done | sort
1629 echo
1632 if test -s confdefs.h; then
1633 cat <<\_ASBOX
1634 ## ----------- ##
1635 ## confdefs.h. ##
1636 ## ----------- ##
1637 _ASBOX
1638 echo
1639 cat confdefs.h
1640 echo
1642 test "$ac_signal" != 0 &&
1643 $as_echo "$as_me: caught signal $ac_signal"
1644 $as_echo "$as_me: exit $exit_status"
1645 } >&5
1646 rm -f core *.core core.conftest.* &&
1647 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1648 exit $exit_status
1650 for ac_signal in 1 2 13 15; do
1651 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1652 done
1653 ac_signal=0
1655 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1656 rm -f -r conftest* confdefs.h
1658 # Predefined preprocessor variables.
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_NAME "$PACKAGE_NAME"
1662 _ACEOF
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1667 _ACEOF
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1672 _ACEOF
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_STRING "$PACKAGE_STRING"
1677 _ACEOF
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1682 _ACEOF
1685 # Let the site file select an alternate cache file if it wants to.
1686 # Prefer an explicitly selected file to automatically selected ones.
1687 ac_site_file1=NONE
1688 ac_site_file2=NONE
1689 if test -n "$CONFIG_SITE"; then
1690 ac_site_file1=$CONFIG_SITE
1691 elif test "x$prefix" != xNONE; then
1692 ac_site_file1=$prefix/share/config.site
1693 ac_site_file2=$prefix/etc/config.site
1694 else
1695 ac_site_file1=$ac_default_prefix/share/config.site
1696 ac_site_file2=$ac_default_prefix/etc/config.site
1698 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1700 test "x$ac_site_file" = xNONE && continue
1701 if test -r "$ac_site_file"; then
1702 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1703 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1704 sed 's/^/| /' "$ac_site_file" >&5
1705 . "$ac_site_file"
1707 done
1709 if test -r "$cache_file"; then
1710 # Some versions of bash will fail to source /dev/null (special
1711 # files actually), so we avoid doing that.
1712 if test -f "$cache_file"; then
1713 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1714 $as_echo "$as_me: loading cache $cache_file" >&6;}
1715 case $cache_file in
1716 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1717 *) . "./$cache_file";;
1718 esac
1720 else
1721 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1722 $as_echo "$as_me: creating cache $cache_file" >&6;}
1723 >$cache_file
1726 # Check that the precious variables saved in the cache have kept the same
1727 # value.
1728 ac_cache_corrupted=false
1729 for ac_var in $ac_precious_vars; do
1730 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1731 eval ac_new_set=\$ac_env_${ac_var}_set
1732 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1733 eval ac_new_val=\$ac_env_${ac_var}_value
1734 case $ac_old_set,$ac_new_set in
1735 set,)
1736 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1739 ,set)
1740 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1741 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1742 ac_cache_corrupted=: ;;
1743 ,);;
1745 if test "x$ac_old_val" != "x$ac_new_val"; then
1746 # differences in whitespace do not lead to failure.
1747 ac_old_val_w=`echo x $ac_old_val`
1748 ac_new_val_w=`echo x $ac_new_val`
1749 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1750 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1751 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1752 ac_cache_corrupted=:
1753 else
1754 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1755 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1756 eval $ac_var=\$ac_old_val
1758 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1759 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1760 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1761 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 fi;;
1763 esac
1764 # Pass precious variables to config.status.
1765 if test "$ac_new_set" = set; then
1766 case $ac_new_val in
1767 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1768 *) ac_arg=$ac_var=$ac_new_val ;;
1769 esac
1770 case " $ac_configure_args " in
1771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1772 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1773 esac
1775 done
1776 if $ac_cache_corrupted; then
1777 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1780 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1781 { (exit 1); exit 1; }; }
1800 ac_ext=c
1801 ac_cpp='$CPP $CPPFLAGS'
1802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1809 ac_aux_dir=
1810 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1811 if test -f "$ac_dir/install-sh"; then
1812 ac_aux_dir=$ac_dir
1813 ac_install_sh="$ac_aux_dir/install-sh -c"
1814 break
1815 elif test -f "$ac_dir/install.sh"; then
1816 ac_aux_dir=$ac_dir
1817 ac_install_sh="$ac_aux_dir/install.sh -c"
1818 break
1819 elif test -f "$ac_dir/shtool"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/shtool install -c"
1822 break
1824 done
1825 if test -z "$ac_aux_dir"; then
1826 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1827 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # These three variables are undocumented and unsupported,
1832 # and are intended to be withdrawn in a future Autoconf release.
1833 # They can cause serious problems if a builder's source tree is in a directory
1834 # whose full name contains unusual characters.
1835 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1836 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1837 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1840 # Make sure we can run config.sub.
1841 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1842 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1843 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1844 { (exit 1); exit 1; }; }
1846 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1847 $as_echo_n "checking build system type... " >&6; }
1848 if test "${ac_cv_build+set}" = set; then
1849 $as_echo_n "(cached) " >&6
1850 else
1851 ac_build_alias=$build_alias
1852 test "x$ac_build_alias" = x &&
1853 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1854 test "x$ac_build_alias" = x &&
1855 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1856 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1857 { (exit 1); exit 1; }; }
1858 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1859 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1860 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1861 { (exit 1); exit 1; }; }
1864 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1865 $as_echo "$ac_cv_build" >&6; }
1866 case $ac_cv_build in
1867 *-*-*) ;;
1868 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1869 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1870 { (exit 1); exit 1; }; };;
1871 esac
1872 build=$ac_cv_build
1873 ac_save_IFS=$IFS; IFS='-'
1874 set x $ac_cv_build
1875 shift
1876 build_cpu=$1
1877 build_vendor=$2
1878 shift; shift
1879 # Remember, the first character of IFS is used to create $*,
1880 # except with old shells:
1881 build_os=$*
1882 IFS=$ac_save_IFS
1883 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1886 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1887 $as_echo_n "checking host system type... " >&6; }
1888 if test "${ac_cv_host+set}" = set; then
1889 $as_echo_n "(cached) " >&6
1890 else
1891 if test "x$host_alias" = x; then
1892 ac_cv_host=$ac_cv_build
1893 else
1894 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1895 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1896 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1897 { (exit 1); exit 1; }; }
1901 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1902 $as_echo "$ac_cv_host" >&6; }
1903 case $ac_cv_host in
1904 *-*-*) ;;
1905 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1906 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1907 { (exit 1); exit 1; }; };;
1908 esac
1909 host=$ac_cv_host
1910 ac_save_IFS=$IFS; IFS='-'
1911 set x $ac_cv_host
1912 shift
1913 host_cpu=$1
1914 host_vendor=$2
1915 shift; shift
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1918 host_os=$*
1919 IFS=$ac_save_IFS
1920 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1923 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1924 $as_echo_n "checking target system type... " >&6; }
1925 if test "${ac_cv_target+set}" = set; then
1926 $as_echo_n "(cached) " >&6
1927 else
1928 if test "x$target_alias" = x; then
1929 ac_cv_target=$ac_cv_host
1930 else
1931 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1932 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1933 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1939 $as_echo "$ac_cv_target" >&6; }
1940 case $ac_cv_target in
1941 *-*-*) ;;
1942 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1943 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1944 { (exit 1); exit 1; }; };;
1945 esac
1946 target=$ac_cv_target
1947 ac_save_IFS=$IFS; IFS='-'
1948 set x $ac_cv_target
1949 shift
1950 target_cpu=$1
1951 target_vendor=$2
1952 shift; shift
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1955 target_os=$*
1956 IFS=$ac_save_IFS
1957 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1960 # The aliases save the names the user supplied, while $host etc.
1961 # will get canonicalized.
1962 test -n "$target_alias" &&
1963 test "$program_prefix$program_suffix$program_transform_name" = \
1964 NONENONEs,x,x, &&
1965 program_prefix=${target_alias}-
1967 umask 002
1969 if test -z "$PWD" ; then
1970 PWD=`pwd`
1973 ac_ext=c
1974 ac_cpp='$CPP $CPPFLAGS'
1975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1978 if test -n "$ac_tool_prefix"; then
1979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1980 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 $as_echo_n "checking for $ac_word... " >&6; }
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 $as_echo_n "(cached) " >&6
1985 else
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC="$CC" # Let the user override the test.
1988 else
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 for as_dir in $PATH
1992 IFS=$as_save_IFS
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1996 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1997 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 break 2
2000 done
2001 done
2002 IFS=$as_save_IFS
2006 CC=$ac_cv_prog_CC
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2010 else
2011 { $as_echo "$as_me:$LINENO: result: no" >&5
2012 $as_echo "no" >&6; }
2017 if test -z "$ac_cv_prog_CC"; then
2018 ac_ct_CC=$CC
2019 # Extract the first word of "gcc", so it can be a program name with args.
2020 set dummy gcc; ac_word=$2
2021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 $as_echo_n "checking for $ac_word... " >&6; }
2023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2025 else
2026 if test -n "$ac_ct_CC"; then
2027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_ac_ct_CC="gcc"
2037 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2040 done
2041 done
2042 IFS=$as_save_IFS
2046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2047 if test -n "$ac_ct_CC"; then
2048 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2049 $as_echo "$ac_ct_CC" >&6; }
2050 else
2051 { $as_echo "$as_me:$LINENO: result: no" >&5
2052 $as_echo "no" >&6; }
2055 if test "x$ac_ct_CC" = x; then
2056 CC=""
2057 else
2058 case $cross_compiling:$ac_tool_warned in
2059 yes:)
2060 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2061 whose name does not start with the host triplet. If you think this
2062 configuration is useful to you, please write to autoconf@gnu.org." >&5
2063 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2064 whose name does not start with the host triplet. If you think this
2065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2066 ac_tool_warned=yes ;;
2067 esac
2068 CC=$ac_ct_CC
2070 else
2071 CC="$ac_cv_prog_CC"
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2077 set dummy ${ac_tool_prefix}cc; ac_word=$2
2078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 $as_echo_n "checking for $ac_word... " >&6; }
2080 if test "${ac_cv_prog_CC+set}" = set; then
2081 $as_echo_n "(cached) " >&6
2082 else
2083 if test -n "$CC"; then
2084 ac_cv_prog_CC="$CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2093 ac_cv_prog_CC="${ac_tool_prefix}cc"
2094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2099 IFS=$as_save_IFS
2103 CC=$ac_cv_prog_CC
2104 if test -n "$CC"; then
2105 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2106 $as_echo "$CC" >&6; }
2107 else
2108 { $as_echo "$as_me:$LINENO: result: no" >&5
2109 $as_echo "no" >&6; }
2115 if test -z "$CC"; then
2116 # Extract the first word of "cc", so it can be a program name with args.
2117 set dummy cc; ac_word=$2
2118 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 $as_echo_n "checking for $ac_word... " >&6; }
2120 if test "${ac_cv_prog_CC+set}" = set; then
2121 $as_echo_n "(cached) " >&6
2122 else
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC="$CC" # Let the user override the test.
2125 else
2126 ac_prog_rejected=no
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2135 ac_prog_rejected=yes
2136 continue
2138 ac_cv_prog_CC="cc"
2139 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2142 done
2143 done
2144 IFS=$as_save_IFS
2146 if test $ac_prog_rejected = yes; then
2147 # We found a bogon in the path, so make sure we never use it.
2148 set dummy $ac_cv_prog_CC
2149 shift
2150 if test $# != 0; then
2151 # We chose a different compiler from the bogus one.
2152 # However, it has the same basename, so the bogon will be chosen
2153 # first if we set CC to just the basename; use the full file name.
2154 shift
2155 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2163 $as_echo "$CC" >&6; }
2164 else
2165 { $as_echo "$as_me:$LINENO: result: no" >&5
2166 $as_echo "no" >&6; }
2171 if test -z "$CC"; then
2172 if test -n "$ac_tool_prefix"; then
2173 for ac_prog in cl.exe
2175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 $as_echo_n "checking for $ac_word... " >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 $as_echo_n "(cached) " >&6
2181 else
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 else
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 for as_dir in $PATH
2188 IFS=$as_save_IFS
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 break 2
2196 done
2197 done
2198 IFS=$as_save_IFS
2202 CC=$ac_cv_prog_CC
2203 if test -n "$CC"; then
2204 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2205 $as_echo "$CC" >&6; }
2206 else
2207 { $as_echo "$as_me:$LINENO: result: no" >&5
2208 $as_echo "no" >&6; }
2212 test -n "$CC" && break
2213 done
2215 if test -z "$CC"; then
2216 ac_ct_CC=$CC
2217 for ac_prog in cl.exe
2219 # Extract the first word of "$ac_prog", so it can be a program name with args.
2220 set dummy $ac_prog; ac_word=$2
2221 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2224 $as_echo_n "(cached) " >&6
2225 else
2226 if test -n "$ac_ct_CC"; then
2227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2228 else
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236 ac_cv_prog_ac_ct_CC="$ac_prog"
2237 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 break 2
2240 done
2241 done
2242 IFS=$as_save_IFS
2246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2247 if test -n "$ac_ct_CC"; then
2248 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2249 $as_echo "$ac_ct_CC" >&6; }
2250 else
2251 { $as_echo "$as_me:$LINENO: result: no" >&5
2252 $as_echo "no" >&6; }
2256 test -n "$ac_ct_CC" && break
2257 done
2259 if test "x$ac_ct_CC" = x; then
2260 CC=""
2261 else
2262 case $cross_compiling:$ac_tool_warned in
2263 yes:)
2264 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2265 whose name does not start with the host triplet. If you think this
2266 configuration is useful to you, please write to autoconf@gnu.org." >&5
2267 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2268 whose name does not start with the host triplet. If you think this
2269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2270 ac_tool_warned=yes ;;
2271 esac
2272 CC=$ac_ct_CC
2279 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2280 See \`config.log' for more details." >&5
2281 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2282 See \`config.log' for more details." >&2;}
2283 { (exit 1); exit 1; }; }
2285 # Provide some information about the compiler.
2286 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2287 set X $ac_compile
2288 ac_compiler=$2
2289 { (ac_try="$ac_compiler --version >&5"
2290 case "(($ac_try" in
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2293 esac
2294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2295 $as_echo "$ac_try_echo") >&5
2296 (eval "$ac_compiler --version >&5") 2>&5
2297 ac_status=$?
2298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }
2300 { (ac_try="$ac_compiler -v >&5"
2301 case "(($ac_try" in
2302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2303 *) ac_try_echo=$ac_try;;
2304 esac
2305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2306 $as_echo "$ac_try_echo") >&5
2307 (eval "$ac_compiler -v >&5") 2>&5
2308 ac_status=$?
2309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (ac_try="$ac_compiler -V >&5"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2317 $as_echo "$ac_try_echo") >&5
2318 (eval "$ac_compiler -V >&5") 2>&5
2319 ac_status=$?
2320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }
2323 cat >conftest.$ac_ext <<_ACEOF
2324 /* confdefs.h. */
2325 _ACEOF
2326 cat confdefs.h >>conftest.$ac_ext
2327 cat >>conftest.$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2331 main ()
2335 return 0;
2337 _ACEOF
2338 ac_clean_files_save=$ac_clean_files
2339 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2340 # Try to create an executable without -o first, disregard a.out.
2341 # It will help us diagnose broken compilers, and finding out an intuition
2342 # of exeext.
2343 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2344 $as_echo_n "checking for C compiler default output file name... " >&6; }
2345 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2347 # The possible output files:
2348 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2350 ac_rmfiles=
2351 for ac_file in $ac_files
2353 case $ac_file in
2354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2355 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2356 esac
2357 done
2358 rm -f $ac_rmfiles
2360 if { (ac_try="$ac_link_default"
2361 case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2364 esac
2365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2366 $as_echo "$ac_try_echo") >&5
2367 (eval "$ac_link_default") 2>&5
2368 ac_status=$?
2369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; then
2371 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2372 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2373 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2374 # so that the user can short-circuit this test for compilers unknown to
2375 # Autoconf.
2376 for ac_file in $ac_files ''
2378 test -f "$ac_file" || continue
2379 case $ac_file in
2380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2382 [ab].out )
2383 # We found the default executable, but exeext='' is most
2384 # certainly right.
2385 break;;
2386 *.* )
2387 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2388 then :; else
2389 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391 # We set ac_cv_exeext here because the later test for it is not
2392 # safe: cross compilers may not add the suffix if given an `-o'
2393 # argument, so we may need to know it at that point already.
2394 # Even if this section looks crufty: it has the advantage of
2395 # actually working.
2396 break;;
2398 break;;
2399 esac
2400 done
2401 test "$ac_cv_exeext" = no && ac_cv_exeext=
2403 else
2404 ac_file=''
2407 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2408 $as_echo "$ac_file" >&6; }
2409 if test -z "$ac_file"; then
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2413 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2414 See \`config.log' for more details." >&5
2415 $as_echo "$as_me: error: C compiler cannot create executables
2416 See \`config.log' for more details." >&2;}
2417 { (exit 77); exit 77; }; }
2420 ac_exeext=$ac_cv_exeext
2422 # Check that the compiler produces executables we can run. If not, either
2423 # the compiler is broken, or we cross compile.
2424 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2425 $as_echo_n "checking whether the C compiler works... " >&6; }
2426 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2427 # If not cross compiling, check that we can run a simple program.
2428 if test "$cross_compiling" != yes; then
2429 if { ac_try='./$ac_file'
2430 { (case "(($ac_try" in
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2433 esac
2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2435 $as_echo "$ac_try_echo") >&5
2436 (eval "$ac_try") 2>&5
2437 ac_status=$?
2438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2440 cross_compiling=no
2441 else
2442 if test "$cross_compiling" = maybe; then
2443 cross_compiling=yes
2444 else
2445 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2446 If you meant to cross compile, use \`--host'.
2447 See \`config.log' for more details." >&5
2448 $as_echo "$as_me: error: cannot run C compiled programs.
2449 If you meant to cross compile, use \`--host'.
2450 See \`config.log' for more details." >&2;}
2451 { (exit 1); exit 1; }; }
2455 { $as_echo "$as_me:$LINENO: result: yes" >&5
2456 $as_echo "yes" >&6; }
2458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2459 ac_clean_files=$ac_clean_files_save
2460 # Check that the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2463 $as_echo_n "checking whether we are cross compiling... " >&6; }
2464 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2465 $as_echo "$cross_compiling" >&6; }
2467 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2468 $as_echo_n "checking for suffix of executables... " >&6; }
2469 if { (ac_try="$ac_link"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2475 $as_echo "$ac_try_echo") >&5
2476 (eval "$ac_link") 2>&5
2477 ac_status=$?
2478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; then
2480 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2481 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2482 # work properly (i.e., refer to `conftest.exe'), while it won't with
2483 # `rm'.
2484 for ac_file in conftest.exe conftest conftest.*; do
2485 test -f "$ac_file" || continue
2486 case $ac_file in
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2488 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489 break;;
2490 * ) break;;
2491 esac
2492 done
2493 else
2494 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details." >&5
2496 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2497 See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; }
2501 rm -f conftest$ac_cv_exeext
2502 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2503 $as_echo "$ac_cv_exeext" >&6; }
2505 rm -f conftest.$ac_ext
2506 EXEEXT=$ac_cv_exeext
2507 ac_exeext=$EXEEXT
2508 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2509 $as_echo_n "checking for suffix of object files... " >&6; }
2510 if test "${ac_cv_objext+set}" = set; then
2511 $as_echo_n "(cached) " >&6
2512 else
2513 cat >conftest.$ac_ext <<_ACEOF
2514 /* confdefs.h. */
2515 _ACEOF
2516 cat confdefs.h >>conftest.$ac_ext
2517 cat >>conftest.$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2521 main ()
2525 return 0;
2527 _ACEOF
2528 rm -f conftest.o conftest.obj
2529 if { (ac_try="$ac_compile"
2530 case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2535 $as_echo "$ac_try_echo") >&5
2536 (eval "$ac_compile") 2>&5
2537 ac_status=$?
2538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; then
2540 for ac_file in conftest.o conftest.obj conftest.*; do
2541 test -f "$ac_file" || continue;
2542 case $ac_file in
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2545 break;;
2546 esac
2547 done
2548 else
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2553 See \`config.log' for more details." >&5
2554 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2561 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2562 $as_echo "$ac_cv_objext" >&6; }
2563 OBJEXT=$ac_cv_objext
2564 ac_objext=$OBJEXT
2565 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2566 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2567 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2569 else
2570 cat >conftest.$ac_ext <<_ACEOF
2571 /* confdefs.h. */
2572 _ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2578 main ()
2580 #ifndef __GNUC__
2581 choke me
2582 #endif
2585 return 0;
2587 _ACEOF
2588 rm -f conftest.$ac_objext
2589 if { (ac_try="$ac_compile"
2590 case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2595 $as_echo "$ac_try_echo") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2597 ac_status=$?
2598 grep -v '^ *+' conftest.er1 >conftest.err
2599 rm -f conftest.er1
2600 cat conftest.err >&5
2601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } && {
2603 test -z "$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then
2606 ac_compiler_gnu=yes
2607 else
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2611 ac_compiler_gnu=no
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2618 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2619 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2620 if test $ac_compiler_gnu = yes; then
2621 GCC=yes
2622 else
2623 GCC=
2625 ac_test_CFLAGS=${CFLAGS+set}
2626 ac_save_CFLAGS=$CFLAGS
2627 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2628 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2629 if test "${ac_cv_prog_cc_g+set}" = set; then
2630 $as_echo_n "(cached) " >&6
2631 else
2632 ac_save_c_werror_flag=$ac_c_werror_flag
2633 ac_c_werror_flag=yes
2634 ac_cv_prog_cc_g=no
2635 CFLAGS="-g"
2636 cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h. */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2644 main ()
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2658 $as_echo "$ac_try_echo") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2660 ac_status=$?
2661 grep -v '^ *+' conftest.er1 >conftest.err
2662 rm -f conftest.er1
2663 cat conftest.err >&5
2664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2669 ac_cv_prog_cc_g=yes
2670 else
2671 $as_echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 CFLAGS=""
2675 cat >conftest.$ac_ext <<_ACEOF
2676 /* confdefs.h. */
2677 _ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2683 main ()
2687 return 0;
2689 _ACEOF
2690 rm -f conftest.$ac_objext
2691 if { (ac_try="$ac_compile"
2692 case "(($ac_try" in
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698 (eval "$ac_compile") 2>conftest.er1
2699 ac_status=$?
2700 grep -v '^ *+' conftest.er1 >conftest.err
2701 rm -f conftest.er1
2702 cat conftest.err >&5
2703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); } && {
2705 test -z "$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.$ac_objext; then
2709 else
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_c_werror_flag=$ac_save_c_werror_flag
2714 CFLAGS="-g"
2715 cat >conftest.$ac_ext <<_ACEOF
2716 /* confdefs.h. */
2717 _ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2723 main ()
2727 return 0;
2729 _ACEOF
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2732 case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735 esac
2736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2737 $as_echo "$ac_try_echo") >&5
2738 (eval "$ac_compile") 2>conftest.er1
2739 ac_status=$?
2740 grep -v '^ *+' conftest.er1 >conftest.err
2741 rm -f conftest.er1
2742 cat conftest.err >&5
2743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext; then
2748 ac_cv_prog_cc_g=yes
2749 else
2750 $as_echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 ac_c_werror_flag=$ac_save_c_werror_flag
2765 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2766 $as_echo "$ac_cv_prog_cc_g" >&6; }
2767 if test "$ac_test_CFLAGS" = set; then
2768 CFLAGS=$ac_save_CFLAGS
2769 elif test $ac_cv_prog_cc_g = yes; then
2770 if test "$GCC" = yes; then
2771 CFLAGS="-g -O2"
2772 else
2773 CFLAGS="-g"
2775 else
2776 if test "$GCC" = yes; then
2777 CFLAGS="-O2"
2778 else
2779 CFLAGS=
2782 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2783 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2784 if test "${ac_cv_prog_cc_c89+set}" = set; then
2785 $as_echo_n "(cached) " >&6
2786 else
2787 ac_cv_prog_cc_c89=no
2788 ac_save_CC=$CC
2789 cat >conftest.$ac_ext <<_ACEOF
2790 /* confdefs.h. */
2791 _ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2795 #include <stdarg.h>
2796 #include <stdio.h>
2797 #include <sys/types.h>
2798 #include <sys/stat.h>
2799 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2800 struct buf { int x; };
2801 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2802 static char *e (p, i)
2803 char **p;
2804 int i;
2806 return p[i];
2808 static char *f (char * (*g) (char **, int), char **p, ...)
2810 char *s;
2811 va_list v;
2812 va_start (v,p);
2813 s = g (p, va_arg (v,int));
2814 va_end (v);
2815 return s;
2818 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2819 function prototypes and stuff, but not '\xHH' hex character constants.
2820 These don't provoke an error unfortunately, instead are silently treated
2821 as 'x'. The following induces an error, until -std is added to get
2822 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2823 array size at least. It's necessary to write '\x00'==0 to get something
2824 that's true only with -std. */
2825 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2827 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2828 inside strings and character constants. */
2829 #define FOO(x) 'x'
2830 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2832 int test (int i, double x);
2833 struct s1 {int (*f) (int a);};
2834 struct s2 {int (*f) (double a);};
2835 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2836 int argc;
2837 char **argv;
2839 main ()
2841 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2843 return 0;
2845 _ACEOF
2846 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2847 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2849 CC="$ac_save_CC $ac_arg"
2850 rm -f conftest.$ac_objext
2851 if { (ac_try="$ac_compile"
2852 case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_compile") 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } && {
2865 test -z "$ac_c_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then
2868 ac_cv_prog_cc_c89=$ac_arg
2869 else
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2876 rm -f core conftest.err conftest.$ac_objext
2877 test "x$ac_cv_prog_cc_c89" != "xno" && break
2878 done
2879 rm -f conftest.$ac_ext
2880 CC=$ac_save_CC
2883 # AC_CACHE_VAL
2884 case "x$ac_cv_prog_cc_c89" in
2886 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2887 $as_echo "none needed" >&6; } ;;
2888 xno)
2889 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2890 $as_echo "unsupported" >&6; } ;;
2892 CC="$CC $ac_cv_prog_cc_c89"
2893 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2894 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2895 esac
2898 ac_ext=c
2899 ac_cpp='$CPP $CPPFLAGS'
2900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905 ac_ext=c
2906 ac_cpp='$CPP $CPPFLAGS'
2907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2911 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2912 # On Suns, sometimes $CPP names a directory.
2913 if test -n "$CPP" && test -d "$CPP"; then
2914 CPP=
2916 if test -z "$CPP"; then
2917 if test "${ac_cv_prog_CPP+set}" = set; then
2918 $as_echo_n "(cached) " >&6
2919 else
2920 # Double quotes because CPP needs to be expanded
2921 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2923 ac_preproc_ok=false
2924 for ac_c_preproc_warn_flag in '' yes
2926 # Use a header file that comes with gcc, so configuring glibc
2927 # with a fresh cross-compiler works.
2928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2929 # <limits.h> exists even on freestanding compilers.
2930 # On the NeXT, cc -E runs the code through the compiler's parser,
2931 # not just through cpp. "Syntax error" is here to catch this case.
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 #ifdef __STDC__
2939 # include <limits.h>
2940 #else
2941 # include <assert.h>
2942 #endif
2943 Syntax error
2944 _ACEOF
2945 if { (ac_try="$ac_cpp conftest.$ac_ext"
2946 case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2949 esac
2950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2951 $as_echo "$ac_try_echo") >&5
2952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2953 ac_status=$?
2954 grep -v '^ *+' conftest.er1 >conftest.err
2955 rm -f conftest.er1
2956 cat conftest.err >&5
2957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } >/dev/null && {
2959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2961 }; then
2963 else
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 # Broken: fails on valid input.
2968 continue
2971 rm -f conftest.err conftest.$ac_ext
2973 # OK, works on sane cases. Now check whether nonexistent headers
2974 # can be detected and how.
2975 cat >conftest.$ac_ext <<_ACEOF
2976 /* confdefs.h. */
2977 _ACEOF
2978 cat confdefs.h >>conftest.$ac_ext
2979 cat >>conftest.$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2981 #include <ac_nonexistent.h>
2982 _ACEOF
2983 if { (ac_try="$ac_cpp conftest.$ac_ext"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2989 $as_echo "$ac_try_echo") >&5
2990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2991 ac_status=$?
2992 grep -v '^ *+' conftest.er1 >conftest.err
2993 rm -f conftest.er1
2994 cat conftest.err >&5
2995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } >/dev/null && {
2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2998 test ! -s conftest.err
2999 }; then
3000 # Broken: success on invalid input.
3001 continue
3002 else
3003 $as_echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 # Passes both tests.
3007 ac_preproc_ok=:
3008 break
3011 rm -f conftest.err conftest.$ac_ext
3013 done
3014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3015 rm -f conftest.err conftest.$ac_ext
3016 if $ac_preproc_ok; then
3017 break
3020 done
3021 ac_cv_prog_CPP=$CPP
3024 CPP=$ac_cv_prog_CPP
3025 else
3026 ac_cv_prog_CPP=$CPP
3028 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3029 $as_echo "$CPP" >&6; }
3030 ac_preproc_ok=false
3031 for ac_c_preproc_warn_flag in '' yes
3033 # Use a header file that comes with gcc, so configuring glibc
3034 # with a fresh cross-compiler works.
3035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3036 # <limits.h> exists even on freestanding compilers.
3037 # On the NeXT, cc -E runs the code through the compiler's parser,
3038 # not just through cpp. "Syntax error" is here to catch this case.
3039 cat >conftest.$ac_ext <<_ACEOF
3040 /* confdefs.h. */
3041 _ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3045 #ifdef __STDC__
3046 # include <limits.h>
3047 #else
3048 # include <assert.h>
3049 #endif
3050 Syntax error
3051 _ACEOF
3052 if { (ac_try="$ac_cpp conftest.$ac_ext"
3053 case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3058 $as_echo "$ac_try_echo") >&5
3059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3060 ac_status=$?
3061 grep -v '^ *+' conftest.er1 >conftest.err
3062 rm -f conftest.er1
3063 cat conftest.err >&5
3064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev/null && {
3066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3067 test ! -s conftest.err
3068 }; then
3070 else
3071 $as_echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3074 # Broken: fails on valid input.
3075 continue
3078 rm -f conftest.err conftest.$ac_ext
3080 # OK, works on sane cases. Now check whether nonexistent headers
3081 # can be detected and how.
3082 cat >conftest.$ac_ext <<_ACEOF
3083 /* confdefs.h. */
3084 _ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3088 #include <ac_nonexistent.h>
3089 _ACEOF
3090 if { (ac_try="$ac_cpp conftest.$ac_ext"
3091 case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094 esac
3095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3096 $as_echo "$ac_try_echo") >&5
3097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3098 ac_status=$?
3099 grep -v '^ *+' conftest.er1 >conftest.err
3100 rm -f conftest.er1
3101 cat conftest.err >&5
3102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null && {
3104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3106 }; then
3107 # Broken: success on invalid input.
3108 continue
3109 else
3110 $as_echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3113 # Passes both tests.
3114 ac_preproc_ok=:
3115 break
3118 rm -f conftest.err conftest.$ac_ext
3120 done
3121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3122 rm -f conftest.err conftest.$ac_ext
3123 if $ac_preproc_ok; then
3125 else
3126 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3127 See \`config.log' for more details." >&5
3128 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3129 See \`config.log' for more details." >&2;}
3130 { (exit 1); exit 1; }; }
3133 ac_ext=c
3134 ac_cpp='$CPP $CPPFLAGS'
3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3141 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3142 if test "${ac_cv_path_GREP+set}" = set; then
3143 $as_echo_n "(cached) " >&6
3144 else
3145 if test -z "$GREP"; then
3146 ac_path_GREP_found=false
3147 # Loop through the user's path and test for each of PROGNAME-LIST
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3151 IFS=$as_save_IFS
3152 test -z "$as_dir" && as_dir=.
3153 for ac_prog in grep ggrep; do
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3156 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3157 # Check for GNU ac_path_GREP and select it if it is found.
3158 # Check for GNU $ac_path_GREP
3159 case `"$ac_path_GREP" --version 2>&1` in
3160 *GNU*)
3161 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3163 ac_count=0
3164 $as_echo_n 0123456789 >"conftest.in"
3165 while :
3167 cat "conftest.in" "conftest.in" >"conftest.tmp"
3168 mv "conftest.tmp" "conftest.in"
3169 cp "conftest.in" "conftest.nl"
3170 $as_echo 'GREP' >> "conftest.nl"
3171 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3172 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3173 ac_count=`expr $ac_count + 1`
3174 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3175 # Best one so far, save it but keep looking for a better one
3176 ac_cv_path_GREP="$ac_path_GREP"
3177 ac_path_GREP_max=$ac_count
3179 # 10*(2^10) chars as input seems more than enough
3180 test $ac_count -gt 10 && break
3181 done
3182 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3183 esac
3185 $ac_path_GREP_found && break 3
3186 done
3187 done
3188 done
3189 IFS=$as_save_IFS
3190 if test -z "$ac_cv_path_GREP"; then
3191 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3192 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3193 { (exit 1); exit 1; }; }
3195 else
3196 ac_cv_path_GREP=$GREP
3200 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3201 $as_echo "$ac_cv_path_GREP" >&6; }
3202 GREP="$ac_cv_path_GREP"
3205 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3206 $as_echo_n "checking for egrep... " >&6; }
3207 if test "${ac_cv_path_EGREP+set}" = set; then
3208 $as_echo_n "(cached) " >&6
3209 else
3210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3211 then ac_cv_path_EGREP="$GREP -E"
3212 else
3213 if test -z "$EGREP"; then
3214 ac_path_EGREP_found=false
3215 # Loop through the user's path and test for each of PROGNAME-LIST
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3219 IFS=$as_save_IFS
3220 test -z "$as_dir" && as_dir=.
3221 for ac_prog in egrep; do
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3225 # Check for GNU ac_path_EGREP and select it if it is found.
3226 # Check for GNU $ac_path_EGREP
3227 case `"$ac_path_EGREP" --version 2>&1` in
3228 *GNU*)
3229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3231 ac_count=0
3232 $as_echo_n 0123456789 >"conftest.in"
3233 while :
3235 cat "conftest.in" "conftest.in" >"conftest.tmp"
3236 mv "conftest.tmp" "conftest.in"
3237 cp "conftest.in" "conftest.nl"
3238 $as_echo 'EGREP' >> "conftest.nl"
3239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3241 ac_count=`expr $ac_count + 1`
3242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3243 # Best one so far, save it but keep looking for a better one
3244 ac_cv_path_EGREP="$ac_path_EGREP"
3245 ac_path_EGREP_max=$ac_count
3247 # 10*(2^10) chars as input seems more than enough
3248 test $ac_count -gt 10 && break
3249 done
3250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3251 esac
3253 $ac_path_EGREP_found && break 3
3254 done
3255 done
3256 done
3257 IFS=$as_save_IFS
3258 if test -z "$ac_cv_path_EGREP"; then
3259 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3260 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3261 { (exit 1); exit 1; }; }
3263 else
3264 ac_cv_path_EGREP=$EGREP
3269 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3270 $as_echo "$ac_cv_path_EGREP" >&6; }
3271 EGREP="$ac_cv_path_EGREP"
3274 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3275 $as_echo_n "checking for ANSI C header files... " >&6; }
3276 if test "${ac_cv_header_stdc+set}" = set; then
3277 $as_echo_n "(cached) " >&6
3278 else
3279 cat >conftest.$ac_ext <<_ACEOF
3280 /* confdefs.h. */
3281 _ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <stdlib.h>
3286 #include <stdarg.h>
3287 #include <string.h>
3288 #include <float.h>
3291 main ()
3295 return 0;
3297 _ACEOF
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3300 case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3303 esac
3304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305 $as_echo "$ac_try_echo") >&5
3306 (eval "$ac_compile") 2>conftest.er1
3307 ac_status=$?
3308 grep -v '^ *+' conftest.er1 >conftest.err
3309 rm -f conftest.er1
3310 cat conftest.err >&5
3311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && {
3313 test -z "$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 } && test -s conftest.$ac_objext; then
3316 ac_cv_header_stdc=yes
3317 else
3318 $as_echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3321 ac_cv_header_stdc=no
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 if test $ac_cv_header_stdc = yes; then
3327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3328 cat >conftest.$ac_ext <<_ACEOF
3329 /* confdefs.h. */
3330 _ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3334 #include <string.h>
3336 _ACEOF
3337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3338 $EGREP "memchr" >/dev/null 2>&1; then
3340 else
3341 ac_cv_header_stdc=no
3343 rm -f conftest*
3347 if test $ac_cv_header_stdc = yes; then
3348 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3349 cat >conftest.$ac_ext <<_ACEOF
3350 /* confdefs.h. */
3351 _ACEOF
3352 cat confdefs.h >>conftest.$ac_ext
3353 cat >>conftest.$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3355 #include <stdlib.h>
3357 _ACEOF
3358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3359 $EGREP "free" >/dev/null 2>&1; then
3361 else
3362 ac_cv_header_stdc=no
3364 rm -f conftest*
3368 if test $ac_cv_header_stdc = yes; then
3369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3370 if test "$cross_compiling" = yes; then
3372 else
3373 cat >conftest.$ac_ext <<_ACEOF
3374 /* confdefs.h. */
3375 _ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3379 #include <ctype.h>
3380 #include <stdlib.h>
3381 #if ((' ' & 0x0FF) == 0x020)
3382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3384 #else
3385 # define ISLOWER(c) \
3386 (('a' <= (c) && (c) <= 'i') \
3387 || ('j' <= (c) && (c) <= 'r') \
3388 || ('s' <= (c) && (c) <= 'z'))
3389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3390 #endif
3392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3394 main ()
3396 int i;
3397 for (i = 0; i < 256; i++)
3398 if (XOR (islower (i), ISLOWER (i))
3399 || toupper (i) != TOUPPER (i))
3400 return 2;
3401 return 0;
3403 _ACEOF
3404 rm -f conftest$ac_exeext
3405 if { (ac_try="$ac_link"
3406 case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3409 esac
3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3411 $as_echo "$ac_try_echo") >&5
3412 (eval "$ac_link") 2>&5
3413 ac_status=$?
3414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3416 { (case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3419 esac
3420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3421 $as_echo "$ac_try_echo") >&5
3422 (eval "$ac_try") 2>&5
3423 ac_status=$?
3424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; }; then
3427 else
3428 $as_echo "$as_me: program exited with status $ac_status" >&5
3429 $as_echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3432 ( exit $ac_status )
3433 ac_cv_header_stdc=no
3435 rm -rf conftest.dSYM
3436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3443 $as_echo "$ac_cv_header_stdc" >&6; }
3444 if test $ac_cv_header_stdc = yes; then
3446 cat >>confdefs.h <<\_ACEOF
3447 #define STDC_HEADERS 1
3448 _ACEOF
3452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3463 inttypes.h stdint.h unistd.h
3465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3467 $as_echo_n "checking for $ac_header... " >&6; }
3468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3469 $as_echo_n "(cached) " >&6
3470 else
3471 cat >conftest.$ac_ext <<_ACEOF
3472 /* confdefs.h. */
3473 _ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3477 $ac_includes_default
3479 #include <$ac_header>
3480 _ACEOF
3481 rm -f conftest.$ac_objext
3482 if { (ac_try="$ac_compile"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3488 $as_echo "$ac_try_echo") >&5
3489 (eval "$ac_compile") 2>conftest.er1
3490 ac_status=$?
3491 grep -v '^ *+' conftest.er1 >conftest.err
3492 rm -f conftest.er1
3493 cat conftest.err >&5
3494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } && {
3496 test -z "$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3498 } && test -s conftest.$ac_objext; then
3499 eval "$as_ac_Header=yes"
3500 else
3501 $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 eval "$as_ac_Header=no"
3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 ac_res=`eval 'as_val=${'$as_ac_Header'}
3510 $as_echo "$as_val"'`
3511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3512 $as_echo "$ac_res" >&6; }
3513 if test `eval 'as_val=${'$as_ac_Header'}
3514 $as_echo "$as_val"'` = yes; then
3515 cat >>confdefs.h <<_ACEOF
3516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3517 _ACEOF
3521 done
3525 # Check whether --enable-optimization was given.
3526 if test "${enable_optimization+set}" = set; then
3527 enableval=$enable_optimization; ac_cv_without_optimization=${withval}
3534 # Check whether --with-gcc was given.
3535 if test "${with_gcc+set}" = set; then
3536 withval=$with_gcc;
3540 if test "${ac_cv_header_minix_config_h+set}" = set; then
3541 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3542 $as_echo_n "checking for minix/config.h... " >&6; }
3543 if test "${ac_cv_header_minix_config_h+set}" = set; then
3544 $as_echo_n "(cached) " >&6
3546 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3547 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3548 else
3549 # Is the header compilable?
3550 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3551 $as_echo_n "checking minix/config.h usability... " >&6; }
3552 cat >conftest.$ac_ext <<_ACEOF
3553 /* confdefs.h. */
3554 _ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3558 $ac_includes_default
3559 #include <minix/config.h>
3560 _ACEOF
3561 rm -f conftest.$ac_objext
3562 if { (ac_try="$ac_compile"
3563 case "(($ac_try" in
3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3566 esac
3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3568 $as_echo "$ac_try_echo") >&5
3569 (eval "$ac_compile") 2>conftest.er1
3570 ac_status=$?
3571 grep -v '^ *+' conftest.er1 >conftest.err
3572 rm -f conftest.er1
3573 cat conftest.err >&5
3574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } && {
3576 test -z "$ac_c_werror_flag" ||
3577 test ! -s conftest.err
3578 } && test -s conftest.$ac_objext; then
3579 ac_header_compiler=yes
3580 else
3581 $as_echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 ac_header_compiler=no
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3589 $as_echo "$ac_header_compiler" >&6; }
3591 # Is the header present?
3592 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3593 $as_echo_n "checking minix/config.h presence... " >&6; }
3594 cat >conftest.$ac_ext <<_ACEOF
3595 /* confdefs.h. */
3596 _ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 #include <minix/config.h>
3601 _ACEOF
3602 if { (ac_try="$ac_cpp conftest.$ac_ext"
3603 case "(($ac_try" in
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3606 esac
3607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3608 $as_echo "$ac_try_echo") >&5
3609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3610 ac_status=$?
3611 grep -v '^ *+' conftest.er1 >conftest.err
3612 rm -f conftest.er1
3613 cat conftest.err >&5
3614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } >/dev/null && {
3616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3617 test ! -s conftest.err
3618 }; then
3619 ac_header_preproc=yes
3620 else
3621 $as_echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3624 ac_header_preproc=no
3627 rm -f conftest.err conftest.$ac_ext
3628 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3629 $as_echo "$ac_header_preproc" >&6; }
3631 # So? What about this header?
3632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3633 yes:no: )
3634 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3635 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3636 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3637 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3638 ac_header_preproc=yes
3640 no:yes:* )
3641 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3642 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3643 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3644 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3645 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3646 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3647 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3648 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3649 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3650 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3651 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3652 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3655 esac
3656 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3657 $as_echo_n "checking for minix/config.h... " >&6; }
3658 if test "${ac_cv_header_minix_config_h+set}" = set; then
3659 $as_echo_n "(cached) " >&6
3660 else
3661 ac_cv_header_minix_config_h=$ac_header_preproc
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3664 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3667 if test $ac_cv_header_minix_config_h = yes; then
3668 MINIX=yes
3669 else
3670 MINIX=
3674 if test "$MINIX" = yes; then
3676 cat >>confdefs.h <<\_ACEOF
3677 #define _POSIX_SOURCE 1
3678 _ACEOF
3681 cat >>confdefs.h <<\_ACEOF
3682 #define _POSIX_1_SOURCE 2
3683 _ACEOF
3686 cat >>confdefs.h <<\_ACEOF
3687 #define _MINIX 1
3688 _ACEOF
3694 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3695 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3696 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3697 $as_echo_n "(cached) " >&6
3698 else
3699 cat >conftest.$ac_ext <<_ACEOF
3700 /* confdefs.h. */
3701 _ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3706 # define __EXTENSIONS__ 1
3707 $ac_includes_default
3709 main ()
3713 return 0;
3715 _ACEOF
3716 rm -f conftest.$ac_objext
3717 if { (ac_try="$ac_compile"
3718 case "(($ac_try" in
3719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3721 esac
3722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3723 $as_echo "$ac_try_echo") >&5
3724 (eval "$ac_compile") 2>conftest.er1
3725 ac_status=$?
3726 grep -v '^ *+' conftest.er1 >conftest.err
3727 rm -f conftest.er1
3728 cat conftest.err >&5
3729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } && {
3731 test -z "$ac_c_werror_flag" ||
3732 test ! -s conftest.err
3733 } && test -s conftest.$ac_objext; then
3734 ac_cv_safe_to_define___extensions__=yes
3735 else
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 ac_cv_safe_to_define___extensions__=no
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3745 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3746 test $ac_cv_safe_to_define___extensions__ = yes &&
3747 cat >>confdefs.h <<\_ACEOF
3748 #define __EXTENSIONS__ 1
3749 _ACEOF
3751 cat >>confdefs.h <<\_ACEOF
3752 #define _ALL_SOURCE 1
3753 _ACEOF
3755 cat >>confdefs.h <<\_ACEOF
3756 #define _GNU_SOURCE 1
3757 _ACEOF
3759 cat >>confdefs.h <<\_ACEOF
3760 #define _POSIX_PTHREAD_SEMANTICS 1
3761 _ACEOF
3763 cat >>confdefs.h <<\_ACEOF
3764 #define _TANDEM_SOURCE 1
3765 _ACEOF
3768 V_CCOPT=""
3769 if test "${ac_cv_without_optimization+set}" != set; then
3770 V_CCOPT="-O"
3772 V_INCLS=""
3773 if test "${srcdir}" != "." ; then
3774 V_INCLS="-I\$\(srcdir\)"
3776 if test -z "$CC" ; then
3777 case "$target_os" in
3779 bsdi*)
3780 # Extract the first word of "shlicc2", so it can be a program name with args.
3781 set dummy shlicc2; ac_word=$2
3782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_SHLICC2+set}" = set; then
3785 $as_echo_n "(cached) " >&6
3786 else
3787 if test -n "$SHLICC2"; then
3788 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_SHLICC2="yes"
3798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 break 2
3801 done
3802 done
3803 IFS=$as_save_IFS
3805 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
3808 SHLICC2=$ac_cv_prog_SHLICC2
3809 if test -n "$SHLICC2"; then
3810 { $as_echo "$as_me:$LINENO: result: $SHLICC2" >&5
3811 $as_echo "$SHLICC2" >&6; }
3812 else
3813 { $as_echo "$as_me:$LINENO: result: no" >&5
3814 $as_echo "no" >&6; }
3818 if test $SHLICC2 = yes ; then
3819 CC=shlicc2
3820 export CC
3823 esac
3825 if test -z "$CC" -a "$with_gcc" = no ; then
3826 CC=cc
3827 export CC
3829 ac_ext=c
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 if test -n "$ac_tool_prefix"; then
3835 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3836 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3837 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3853 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3866 else
3867 { $as_echo "$as_me:$LINENO: result: no" >&5
3868 $as_echo "no" >&6; }
3873 if test -z "$ac_cv_prog_CC"; then
3874 ac_ct_CC=$CC
3875 # Extract the first word of "gcc", so it can be a program name with args.
3876 set dummy gcc; ac_word=$2
3877 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if test -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3888 IFS=$as_save_IFS
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_ac_ct_CC="gcc"
3893 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3896 done
3897 done
3898 IFS=$as_save_IFS
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if test -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3906 else
3907 { $as_echo "$as_me:$LINENO: result: no" >&5
3908 $as_echo "no" >&6; }
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3917 whose name does not start with the host triplet. If you think this
3918 configuration is useful to you, please write to autoconf@gnu.org." >&5
3919 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3920 whose name does not start with the host triplet. If you think this
3921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3922 ac_tool_warned=yes ;;
3923 esac
3924 CC=$ac_ct_CC
3926 else
3927 CC="$ac_cv_prog_CC"
3930 if test -z "$CC"; then
3931 if test -n "$ac_tool_prefix"; then
3932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3933 set dummy ${ac_tool_prefix}cc; ac_word=$2
3934 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if test "${ac_cv_prog_CC+set}" = set; then
3937 $as_echo_n "(cached) " >&6
3938 else
3939 if test -n "$CC"; then
3940 ac_cv_prog_CC="$CC" # Let the user override the test.
3941 else
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3945 IFS=$as_save_IFS
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 ac_cv_prog_CC="${ac_tool_prefix}cc"
3950 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 break 2
3953 done
3954 done
3955 IFS=$as_save_IFS
3959 CC=$ac_cv_prog_CC
3960 if test -n "$CC"; then
3961 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3962 $as_echo "$CC" >&6; }
3963 else
3964 { $as_echo "$as_me:$LINENO: result: no" >&5
3965 $as_echo "no" >&6; }
3971 if test -z "$CC"; then
3972 # Extract the first word of "cc", so it can be a program name with args.
3973 set dummy cc; ac_word=$2
3974 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_CC+set}" = set; then
3977 $as_echo_n "(cached) " >&6
3978 else
3979 if test -n "$CC"; then
3980 ac_cv_prog_CC="$CC" # Let the user override the test.
3981 else
3982 ac_prog_rejected=no
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3991 ac_prog_rejected=yes
3992 continue
3994 ac_cv_prog_CC="cc"
3995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 break 2
3998 done
3999 done
4000 IFS=$as_save_IFS
4002 if test $ac_prog_rejected = yes; then
4003 # We found a bogon in the path, so make sure we never use it.
4004 set dummy $ac_cv_prog_CC
4005 shift
4006 if test $# != 0; then
4007 # We chose a different compiler from the bogus one.
4008 # However, it has the same basename, so the bogon will be chosen
4009 # first if we set CC to just the basename; use the full file name.
4010 shift
4011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4016 CC=$ac_cv_prog_CC
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4020 else
4021 { $as_echo "$as_me:$LINENO: result: no" >&5
4022 $as_echo "no" >&6; }
4027 if test -z "$CC"; then
4028 if test -n "$ac_tool_prefix"; then
4029 for ac_prog in cl.exe
4031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_CC+set}" = set; then
4036 $as_echo_n "(cached) " >&6
4037 else
4038 if test -n "$CC"; then
4039 ac_cv_prog_CC="$CC" # Let the user override the test.
4040 else
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH
4044 IFS=$as_save_IFS
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 break 2
4052 done
4053 done
4054 IFS=$as_save_IFS
4058 CC=$ac_cv_prog_CC
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4062 else
4063 { $as_echo "$as_me:$LINENO: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$CC" && break
4069 done
4071 if test -z "$CC"; then
4072 ac_ct_CC=$CC
4073 for ac_prog in cl.exe
4075 # Extract the first word of "$ac_prog", so it can be a program name with args.
4076 set dummy $ac_prog; ac_word=$2
4077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4080 $as_echo_n "(cached) " >&6
4081 else
4082 if test -n "$ac_ct_CC"; then
4083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4084 else
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 for as_dir in $PATH
4088 IFS=$as_save_IFS
4089 test -z "$as_dir" && as_dir=.
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092 ac_cv_prog_ac_ct_CC="$ac_prog"
4093 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 break 2
4096 done
4097 done
4098 IFS=$as_save_IFS
4102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4103 if test -n "$ac_ct_CC"; then
4104 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4105 $as_echo "$ac_ct_CC" >&6; }
4106 else
4107 { $as_echo "$as_me:$LINENO: result: no" >&5
4108 $as_echo "no" >&6; }
4112 test -n "$ac_ct_CC" && break
4113 done
4115 if test "x$ac_ct_CC" = x; then
4116 CC=""
4117 else
4118 case $cross_compiling:$ac_tool_warned in
4119 yes:)
4120 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4121 whose name does not start with the host triplet. If you think this
4122 configuration is useful to you, please write to autoconf@gnu.org." >&5
4123 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4124 whose name does not start with the host triplet. If you think this
4125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4126 ac_tool_warned=yes ;;
4127 esac
4128 CC=$ac_ct_CC
4135 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4136 See \`config.log' for more details." >&5
4137 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4138 See \`config.log' for more details." >&2;}
4139 { (exit 1); exit 1; }; }
4141 # Provide some information about the compiler.
4142 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4143 set X $ac_compile
4144 ac_compiler=$2
4145 { (ac_try="$ac_compiler --version >&5"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4151 $as_echo "$ac_try_echo") >&5
4152 (eval "$ac_compiler --version >&5") 2>&5
4153 ac_status=$?
4154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); }
4156 { (ac_try="$ac_compiler -v >&5"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4162 $as_echo "$ac_try_echo") >&5
4163 (eval "$ac_compiler -v >&5") 2>&5
4164 ac_status=$?
4165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }
4167 { (ac_try="$ac_compiler -V >&5"
4168 case "(($ac_try" in
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4171 esac
4172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4173 $as_echo "$ac_try_echo") >&5
4174 (eval "$ac_compiler -V >&5") 2>&5
4175 ac_status=$?
4176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }
4179 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4180 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4181 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4182 $as_echo_n "(cached) " >&6
4183 else
4184 cat >conftest.$ac_ext <<_ACEOF
4185 /* confdefs.h. */
4186 _ACEOF
4187 cat confdefs.h >>conftest.$ac_ext
4188 cat >>conftest.$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4192 main ()
4194 #ifndef __GNUC__
4195 choke me
4196 #endif
4199 return 0;
4201 _ACEOF
4202 rm -f conftest.$ac_objext
4203 if { (ac_try="$ac_compile"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4209 $as_echo "$ac_try_echo") >&5
4210 (eval "$ac_compile") 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } && {
4217 test -z "$ac_c_werror_flag" ||
4218 test ! -s conftest.err
4219 } && test -s conftest.$ac_objext; then
4220 ac_compiler_gnu=yes
4221 else
4222 $as_echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4225 ac_compiler_gnu=no
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4232 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4233 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4234 if test $ac_compiler_gnu = yes; then
4235 GCC=yes
4236 else
4237 GCC=
4239 ac_test_CFLAGS=${CFLAGS+set}
4240 ac_save_CFLAGS=$CFLAGS
4241 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4242 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4243 if test "${ac_cv_prog_cc_g+set}" = set; then
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_save_c_werror_flag=$ac_c_werror_flag
4247 ac_c_werror_flag=yes
4248 ac_cv_prog_cc_g=no
4249 CFLAGS="-g"
4250 cat >conftest.$ac_ext <<_ACEOF
4251 /* confdefs.h. */
4252 _ACEOF
4253 cat confdefs.h >>conftest.$ac_ext
4254 cat >>conftest.$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 rm -f conftest.$ac_objext
4266 if { (ac_try="$ac_compile"
4267 case "(($ac_try" in
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4270 esac
4271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4272 $as_echo "$ac_try_echo") >&5
4273 (eval "$ac_compile") 2>conftest.er1
4274 ac_status=$?
4275 grep -v '^ *+' conftest.er1 >conftest.err
4276 rm -f conftest.er1
4277 cat conftest.err >&5
4278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); } && {
4280 test -z "$ac_c_werror_flag" ||
4281 test ! -s conftest.err
4282 } && test -s conftest.$ac_objext; then
4283 ac_cv_prog_cc_g=yes
4284 else
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 CFLAGS=""
4289 cat >conftest.$ac_ext <<_ACEOF
4290 /* confdefs.h. */
4291 _ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4297 main ()
4301 return 0;
4303 _ACEOF
4304 rm -f conftest.$ac_objext
4305 if { (ac_try="$ac_compile"
4306 case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4311 $as_echo "$ac_try_echo") >&5
4312 (eval "$ac_compile") 2>conftest.er1
4313 ac_status=$?
4314 grep -v '^ *+' conftest.er1 >conftest.err
4315 rm -f conftest.er1
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } && {
4319 test -z "$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 } && test -s conftest.$ac_objext; then
4323 else
4324 $as_echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4327 ac_c_werror_flag=$ac_save_c_werror_flag
4328 CFLAGS="-g"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 rm -f conftest.$ac_objext
4345 if { (ac_try="$ac_compile"
4346 case "(($ac_try" in
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4349 esac
4350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4351 $as_echo "$ac_try_echo") >&5
4352 (eval "$ac_compile") 2>conftest.er1
4353 ac_status=$?
4354 grep -v '^ *+' conftest.er1 >conftest.err
4355 rm -f conftest.er1
4356 cat conftest.err >&5
4357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } && {
4359 test -z "$ac_c_werror_flag" ||
4360 test ! -s conftest.err
4361 } && test -s conftest.$ac_objext; then
4362 ac_cv_prog_cc_g=yes
4363 else
4364 $as_echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 ac_c_werror_flag=$ac_save_c_werror_flag
4379 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4380 $as_echo "$ac_cv_prog_cc_g" >&6; }
4381 if test "$ac_test_CFLAGS" = set; then
4382 CFLAGS=$ac_save_CFLAGS
4383 elif test $ac_cv_prog_cc_g = yes; then
4384 if test "$GCC" = yes; then
4385 CFLAGS="-g -O2"
4386 else
4387 CFLAGS="-g"
4389 else
4390 if test "$GCC" = yes; then
4391 CFLAGS="-O2"
4392 else
4393 CFLAGS=
4396 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4397 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4398 if test "${ac_cv_prog_cc_c89+set}" = set; then
4399 $as_echo_n "(cached) " >&6
4400 else
4401 ac_cv_prog_cc_c89=no
4402 ac_save_CC=$CC
4403 cat >conftest.$ac_ext <<_ACEOF
4404 /* confdefs.h. */
4405 _ACEOF
4406 cat confdefs.h >>conftest.$ac_ext
4407 cat >>conftest.$ac_ext <<_ACEOF
4408 /* end confdefs.h. */
4409 #include <stdarg.h>
4410 #include <stdio.h>
4411 #include <sys/types.h>
4412 #include <sys/stat.h>
4413 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4414 struct buf { int x; };
4415 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4416 static char *e (p, i)
4417 char **p;
4418 int i;
4420 return p[i];
4422 static char *f (char * (*g) (char **, int), char **p, ...)
4424 char *s;
4425 va_list v;
4426 va_start (v,p);
4427 s = g (p, va_arg (v,int));
4428 va_end (v);
4429 return s;
4432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4433 function prototypes and stuff, but not '\xHH' hex character constants.
4434 These don't provoke an error unfortunately, instead are silently treated
4435 as 'x'. The following induces an error, until -std is added to get
4436 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4437 array size at least. It's necessary to write '\x00'==0 to get something
4438 that's true only with -std. */
4439 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4442 inside strings and character constants. */
4443 #define FOO(x) 'x'
4444 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4446 int test (int i, double x);
4447 struct s1 {int (*f) (int a);};
4448 struct s2 {int (*f) (double a);};
4449 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4450 int argc;
4451 char **argv;
4453 main ()
4455 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4457 return 0;
4459 _ACEOF
4460 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4461 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4463 CC="$ac_save_CC $ac_arg"
4464 rm -f conftest.$ac_objext
4465 if { (ac_try="$ac_compile"
4466 case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4469 esac
4470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4471 $as_echo "$ac_try_echo") >&5
4472 (eval "$ac_compile") 2>conftest.er1
4473 ac_status=$?
4474 grep -v '^ *+' conftest.er1 >conftest.err
4475 rm -f conftest.er1
4476 cat conftest.err >&5
4477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); } && {
4479 test -z "$ac_c_werror_flag" ||
4480 test ! -s conftest.err
4481 } && test -s conftest.$ac_objext; then
4482 ac_cv_prog_cc_c89=$ac_arg
4483 else
4484 $as_echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4490 rm -f core conftest.err conftest.$ac_objext
4491 test "x$ac_cv_prog_cc_c89" != "xno" && break
4492 done
4493 rm -f conftest.$ac_ext
4494 CC=$ac_save_CC
4497 # AC_CACHE_VAL
4498 case "x$ac_cv_prog_cc_c89" in
4500 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4501 $as_echo "none needed" >&6; } ;;
4502 xno)
4503 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4504 $as_echo "unsupported" >&6; } ;;
4506 CC="$CC $ac_cv_prog_cc_c89"
4507 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4509 esac
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 # Check whether --enable-largefile was given.
4519 if test "${enable_largefile+set}" = set; then
4520 enableval=$enable_largefile;
4523 if test "$enable_largefile" != no; then
4525 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4526 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4527 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_cv_sys_largefile_CC=no
4531 if test "$GCC" != yes; then
4532 ac_save_CC=$CC
4533 while :; do
4534 # IRIX 6.2 and later do not support large files by default,
4535 # so use the C compiler's -n32 option if that helps.
4536 cat >conftest.$ac_ext <<_ACEOF
4537 /* confdefs.h. */
4538 _ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4542 #include <sys/types.h>
4543 /* Check that off_t can represent 2**63 - 1 correctly.
4544 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4545 since some C++ compilers masquerading as C compilers
4546 incorrectly reject 9223372036854775807. */
4547 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4548 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4549 && LARGE_OFF_T % 2147483647 == 1)
4550 ? 1 : -1];
4552 main ()
4556 return 0;
4558 _ACEOF
4559 rm -f conftest.$ac_objext
4560 if { (ac_try="$ac_compile"
4561 case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564 esac
4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4566 $as_echo "$ac_try_echo") >&5
4567 (eval "$ac_compile") 2>conftest.er1
4568 ac_status=$?
4569 grep -v '^ *+' conftest.er1 >conftest.err
4570 rm -f conftest.er1
4571 cat conftest.err >&5
4572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } && {
4574 test -z "$ac_c_werror_flag" ||
4575 test ! -s conftest.err
4576 } && test -s conftest.$ac_objext; then
4577 break
4578 else
4579 $as_echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.$ac_ext >&5
4585 rm -f core conftest.err conftest.$ac_objext
4586 CC="$CC -n32"
4587 rm -f conftest.$ac_objext
4588 if { (ac_try="$ac_compile"
4589 case "(($ac_try" in
4590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591 *) ac_try_echo=$ac_try;;
4592 esac
4593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4594 $as_echo "$ac_try_echo") >&5
4595 (eval "$ac_compile") 2>conftest.er1
4596 ac_status=$?
4597 grep -v '^ *+' conftest.er1 >conftest.err
4598 rm -f conftest.er1
4599 cat conftest.err >&5
4600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); } && {
4602 test -z "$ac_c_werror_flag" ||
4603 test ! -s conftest.err
4604 } && test -s conftest.$ac_objext; then
4605 ac_cv_sys_largefile_CC=' -n32'; break
4606 else
4607 $as_echo "$as_me: failed program was:" >&5
4608 sed 's/^/| /' conftest.$ac_ext >&5
4613 rm -f core conftest.err conftest.$ac_objext
4614 break
4615 done
4616 CC=$ac_save_CC
4617 rm -f conftest.$ac_ext
4620 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4621 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4622 if test "$ac_cv_sys_largefile_CC" != no; then
4623 CC=$CC$ac_cv_sys_largefile_CC
4626 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4627 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4628 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4629 $as_echo_n "(cached) " >&6
4630 else
4631 while :; do
4632 cat >conftest.$ac_ext <<_ACEOF
4633 /* confdefs.h. */
4634 _ACEOF
4635 cat confdefs.h >>conftest.$ac_ext
4636 cat >>conftest.$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4638 #include <sys/types.h>
4639 /* Check that off_t can represent 2**63 - 1 correctly.
4640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4641 since some C++ compilers masquerading as C compilers
4642 incorrectly reject 9223372036854775807. */
4643 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4645 && LARGE_OFF_T % 2147483647 == 1)
4646 ? 1 : -1];
4648 main ()
4652 return 0;
4654 _ACEOF
4655 rm -f conftest.$ac_objext
4656 if { (ac_try="$ac_compile"
4657 case "(($ac_try" in
4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4660 esac
4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4662 $as_echo "$ac_try_echo") >&5
4663 (eval "$ac_compile") 2>conftest.er1
4664 ac_status=$?
4665 grep -v '^ *+' conftest.er1 >conftest.err
4666 rm -f conftest.er1
4667 cat conftest.err >&5
4668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } && {
4670 test -z "$ac_c_werror_flag" ||
4671 test ! -s conftest.err
4672 } && test -s conftest.$ac_objext; then
4673 ac_cv_sys_file_offset_bits=no; break
4674 else
4675 $as_echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 cat >conftest.$ac_ext <<_ACEOF
4683 /* confdefs.h. */
4684 _ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>conftest.$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4688 #define _FILE_OFFSET_BITS 64
4689 #include <sys/types.h>
4690 /* Check that off_t can represent 2**63 - 1 correctly.
4691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4692 since some C++ compilers masquerading as C compilers
4693 incorrectly reject 9223372036854775807. */
4694 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4696 && LARGE_OFF_T % 2147483647 == 1)
4697 ? 1 : -1];
4699 main ()
4703 return 0;
4705 _ACEOF
4706 rm -f conftest.$ac_objext
4707 if { (ac_try="$ac_compile"
4708 case "(($ac_try" in
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4711 esac
4712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4713 $as_echo "$ac_try_echo") >&5
4714 (eval "$ac_compile") 2>conftest.er1
4715 ac_status=$?
4716 grep -v '^ *+' conftest.er1 >conftest.err
4717 rm -f conftest.er1
4718 cat conftest.err >&5
4719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } && {
4721 test -z "$ac_c_werror_flag" ||
4722 test ! -s conftest.err
4723 } && test -s conftest.$ac_objext; then
4724 ac_cv_sys_file_offset_bits=64; break
4725 else
4726 $as_echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 ac_cv_sys_file_offset_bits=unknown
4734 break
4735 done
4737 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4738 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4739 case $ac_cv_sys_file_offset_bits in #(
4740 no | unknown) ;;
4742 cat >>confdefs.h <<_ACEOF
4743 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4744 _ACEOF
4746 esac
4747 rm -rf conftest*
4748 if test $ac_cv_sys_file_offset_bits = unknown; then
4749 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4750 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4751 if test "${ac_cv_sys_large_files+set}" = set; then
4752 $as_echo_n "(cached) " >&6
4753 else
4754 while :; do
4755 cat >conftest.$ac_ext <<_ACEOF
4756 /* confdefs.h. */
4757 _ACEOF
4758 cat confdefs.h >>conftest.$ac_ext
4759 cat >>conftest.$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 #include <sys/types.h>
4762 /* Check that off_t can represent 2**63 - 1 correctly.
4763 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4764 since some C++ compilers masquerading as C compilers
4765 incorrectly reject 9223372036854775807. */
4766 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4767 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4768 && LARGE_OFF_T % 2147483647 == 1)
4769 ? 1 : -1];
4771 main ()
4775 return 0;
4777 _ACEOF
4778 rm -f conftest.$ac_objext
4779 if { (ac_try="$ac_compile"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4785 $as_echo "$ac_try_echo") >&5
4786 (eval "$ac_compile") 2>conftest.er1
4787 ac_status=$?
4788 grep -v '^ *+' conftest.er1 >conftest.err
4789 rm -f conftest.er1
4790 cat conftest.err >&5
4791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } && {
4793 test -z "$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4795 } && test -s conftest.$ac_objext; then
4796 ac_cv_sys_large_files=no; break
4797 else
4798 $as_echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 cat >conftest.$ac_ext <<_ACEOF
4806 /* confdefs.h. */
4807 _ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4811 #define _LARGE_FILES 1
4812 #include <sys/types.h>
4813 /* Check that off_t can represent 2**63 - 1 correctly.
4814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4815 since some C++ compilers masquerading as C compilers
4816 incorrectly reject 9223372036854775807. */
4817 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4819 && LARGE_OFF_T % 2147483647 == 1)
4820 ? 1 : -1];
4822 main ()
4826 return 0;
4828 _ACEOF
4829 rm -f conftest.$ac_objext
4830 if { (ac_try="$ac_compile"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4836 $as_echo "$ac_try_echo") >&5
4837 (eval "$ac_compile") 2>conftest.er1
4838 ac_status=$?
4839 grep -v '^ *+' conftest.er1 >conftest.err
4840 rm -f conftest.er1
4841 cat conftest.err >&5
4842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && {
4844 test -z "$ac_c_werror_flag" ||
4845 test ! -s conftest.err
4846 } && test -s conftest.$ac_objext; then
4847 ac_cv_sys_large_files=1; break
4848 else
4849 $as_echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 ac_cv_sys_large_files=unknown
4857 break
4858 done
4860 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4861 $as_echo "$ac_cv_sys_large_files" >&6; }
4862 case $ac_cv_sys_large_files in #(
4863 no | unknown) ;;
4865 cat >>confdefs.h <<_ACEOF
4866 #define _LARGE_FILES $ac_cv_sys_large_files
4867 _ACEOF
4869 esac
4870 rm -rf conftest*
4874 if test "$GCC" != yes ; then
4875 { $as_echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5
4876 $as_echo_n "checking that $CC handles ansi prototypes... " >&6; }
4877 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then
4878 $as_echo_n "(cached) " >&6
4879 else
4880 cat >conftest.$ac_ext <<_ACEOF
4881 /* confdefs.h. */
4882 _ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 #include <sys/types.h>
4888 main ()
4890 int frob(int, char *)
4892 return 0;
4894 _ACEOF
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_compile") 2>conftest.er1
4904 ac_status=$?
4905 grep -v '^ *+' conftest.er1 >conftest.err
4906 rm -f conftest.er1
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest.$ac_objext; then
4913 ac_cv_lbl_cc_ansi_prototypes=yes
4914 else
4915 $as_echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4918 ac_cv_lbl_cc_ansi_prototypes=no
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5
4925 $as_echo "$ac_cv_lbl_cc_ansi_prototypes" >&6; }
4926 if test $ac_cv_lbl_cc_ansi_prototypes = no ; then
4927 case "$target_os" in
4929 hpux*)
4930 { $as_echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
4931 $as_echo_n "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... " >&6; }
4932 savedcflags="$CFLAGS"
4933 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS"
4934 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then
4935 $as_echo_n "(cached) " >&6
4936 else
4937 cat >conftest.$ac_ext <<_ACEOF
4938 /* confdefs.h. */
4939 _ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 #include <sys/types.h>
4945 main ()
4947 int frob(int, char *)
4949 return 0;
4951 _ACEOF
4952 rm -f conftest.$ac_objext
4953 if { (ac_try="$ac_compile"
4954 case "(($ac_try" in
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4957 esac
4958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4959 $as_echo "$ac_try_echo") >&5
4960 (eval "$ac_compile") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest.$ac_objext; then
4970 ac_cv_lbl_cc_hpux_cc_aa=yes
4971 else
4972 $as_echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lbl_cc_hpux_cc_aa=no
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5
4982 $as_echo "$ac_cv_lbl_cc_hpux_cc_aa" >&6; }
4983 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then
4984 { { $as_echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
4985 $as_echo "$as_me: error: see the INSTALL doc for more info" >&2;}
4986 { (exit 1); exit 1; }; }
4988 CFLAGS="$savedcflags"
4989 V_CCOPT="-Aa $V_CCOPT"
4991 cat >>confdefs.h <<\_ACEOF
4992 #define _HPUX_SOURCE /**/
4993 _ACEOF
4998 { { $as_echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
4999 $as_echo "$as_me: error: see the INSTALL doc for more info" >&2;}
5000 { (exit 1); exit 1; }; }
5002 esac
5004 V_INCLS="$V_INCLS -I/usr/local/include"
5005 LDFLAGS="$LDFLAGS -L/usr/local/lib"
5007 case "$target_os" in
5009 irix*)
5010 V_CCOPT="$V_CCOPT -xansi -signed -g3"
5013 osf*)
5014 V_CCOPT="$V_CCOPT -std1 -g3"
5017 ultrix*)
5018 { $as_echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5
5019 $as_echo_n "checking that Ultrix $CC hacks const in prototypes... " >&6; }
5020 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then
5021 $as_echo_n "(cached) " >&6
5022 else
5023 cat >conftest.$ac_ext <<_ACEOF
5024 /* confdefs.h. */
5025 _ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5029 #include <sys/types.h>
5031 main ()
5033 struct a { int b; };
5034 void c(const struct a *)
5036 return 0;
5038 _ACEOF
5039 rm -f conftest.$ac_objext
5040 if { (ac_try="$ac_compile"
5041 case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044 esac
5045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5046 $as_echo "$ac_try_echo") >&5
5047 (eval "$ac_compile") 2>conftest.er1
5048 ac_status=$?
5049 grep -v '^ *+' conftest.er1 >conftest.err
5050 rm -f conftest.er1
5051 cat conftest.err >&5
5052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } && {
5054 test -z "$ac_c_werror_flag" ||
5055 test ! -s conftest.err
5056 } && test -s conftest.$ac_objext; then
5057 ac_cv_lbl_cc_const_proto=yes
5058 else
5059 $as_echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.$ac_ext >&5
5062 ac_cv_lbl_cc_const_proto=no
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5
5069 $as_echo "$ac_cv_lbl_cc_const_proto" >&6; }
5070 if test $ac_cv_lbl_cc_const_proto = no ; then
5072 cat >>confdefs.h <<\_ACEOF
5073 #define const /**/
5074 _ACEOF
5078 esac
5081 # Find a good install program. We prefer a C program (faster),
5082 # so one script is as good as another. But avoid the broken or
5083 # incompatible versions:
5084 # SysV /etc/install, /usr/sbin/install
5085 # SunOS /usr/etc/install
5086 # IRIX /sbin/install
5087 # AIX /bin/install
5088 # AmigaOS /C/install, which installs bootblocks on floppy discs
5089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5092 # OS/2's system install, which has a completely different semantic
5093 # ./install, which can be erroneously created by make from ./install.sh.
5094 # Reject install programs that cannot install multiple files.
5095 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5096 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5097 if test -z "$INSTALL"; then
5098 if test "${ac_cv_path_install+set}" = set; then
5099 $as_echo_n "(cached) " >&6
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 # Account for people who put trailing slashes in PATH elements.
5107 case $as_dir/ in
5108 ./ | .// | /cC/* | \
5109 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5110 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5111 /usr/ucb/* ) ;;
5113 # OSF1 and SCO ODT 3.0 have their own names for install.
5114 # Don't use installbsd from OSF since it installs stuff as root
5115 # by default.
5116 for ac_prog in ginstall scoinst install; do
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5119 if test $ac_prog = install &&
5120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5121 # AIX install. It has an incompatible calling convention.
5123 elif test $ac_prog = install &&
5124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5125 # program-specific install script used by HP pwplus--don't use.
5127 else
5128 rm -rf conftest.one conftest.two conftest.dir
5129 echo one > conftest.one
5130 echo two > conftest.two
5131 mkdir conftest.dir
5132 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5133 test -s conftest.one && test -s conftest.two &&
5134 test -s conftest.dir/conftest.one &&
5135 test -s conftest.dir/conftest.two
5136 then
5137 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5138 break 3
5142 done
5143 done
5145 esac
5147 done
5148 IFS=$as_save_IFS
5150 rm -rf conftest.one conftest.two conftest.dir
5153 if test "${ac_cv_path_install+set}" = set; then
5154 INSTALL=$ac_cv_path_install
5155 else
5156 # As a last resort, use the slow shell script. Don't cache a
5157 # value for INSTALL within a source directory, because that will
5158 # break other packages using the cache if that directory is
5159 # removed, or if the value is a relative name.
5160 INSTALL=$ac_install_sh
5163 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5164 $as_echo "$INSTALL" >&6; }
5166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5167 # It thinks the first close brace ends the variable substitution.
5168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5172 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5177 for ac_header in fcntl.h memory.h
5179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5181 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5182 $as_echo_n "checking for $ac_header... " >&6; }
5183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5184 $as_echo_n "(cached) " >&6
5186 ac_res=`eval 'as_val=${'$as_ac_Header'}
5187 $as_echo "$as_val"'`
5188 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5189 $as_echo "$ac_res" >&6; }
5190 else
5191 # Is the header compilable?
5192 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5193 $as_echo_n "checking $ac_header usability... " >&6; }
5194 cat >conftest.$ac_ext <<_ACEOF
5195 /* confdefs.h. */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 $ac_includes_default
5201 #include <$ac_header>
5202 _ACEOF
5203 rm -f conftest.$ac_objext
5204 if { (ac_try="$ac_compile"
5205 case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5210 $as_echo "$ac_try_echo") >&5
5211 (eval "$ac_compile") 2>conftest.er1
5212 ac_status=$?
5213 grep -v '^ *+' conftest.er1 >conftest.err
5214 rm -f conftest.er1
5215 cat conftest.err >&5
5216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } && {
5218 test -z "$ac_c_werror_flag" ||
5219 test ! -s conftest.err
5220 } && test -s conftest.$ac_objext; then
5221 ac_header_compiler=yes
5222 else
5223 $as_echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 ac_header_compiler=no
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5231 $as_echo "$ac_header_compiler" >&6; }
5233 # Is the header present?
5234 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5235 $as_echo_n "checking $ac_header presence... " >&6; }
5236 cat >conftest.$ac_ext <<_ACEOF
5237 /* confdefs.h. */
5238 _ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 #include <$ac_header>
5243 _ACEOF
5244 if { (ac_try="$ac_cpp conftest.$ac_ext"
5245 case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5250 $as_echo "$ac_try_echo") >&5
5251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5252 ac_status=$?
5253 grep -v '^ *+' conftest.er1 >conftest.err
5254 rm -f conftest.er1
5255 cat conftest.err >&5
5256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } >/dev/null && {
5258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5259 test ! -s conftest.err
5260 }; then
5261 ac_header_preproc=yes
5262 else
5263 $as_echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5266 ac_header_preproc=no
5269 rm -f conftest.err conftest.$ac_ext
5270 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5271 $as_echo "$ac_header_preproc" >&6; }
5273 # So? What about this header?
5274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5275 yes:no: )
5276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5277 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5278 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5279 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5280 ac_header_preproc=yes
5282 no:yes:* )
5283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5284 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5286 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5288 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5290 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5292 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5294 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5297 esac
5298 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5299 $as_echo_n "checking for $ac_header... " >&6; }
5300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5301 $as_echo_n "(cached) " >&6
5302 else
5303 eval "$as_ac_Header=\$ac_header_preproc"
5305 ac_res=`eval 'as_val=${'$as_ac_Header'}
5306 $as_echo "$as_val"'`
5307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5308 $as_echo "$ac_res" >&6; }
5311 if test `eval 'as_val=${'$as_ac_Header'}
5312 $as_echo "$as_val"'` = yes; then
5313 cat >>confdefs.h <<_ACEOF
5314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5315 _ACEOF
5319 done
5323 for ac_func in strerror
5325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5326 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5327 $as_echo_n "checking for $ac_func... " >&6; }
5328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5329 $as_echo_n "(cached) " >&6
5330 else
5331 cat >conftest.$ac_ext <<_ACEOF
5332 /* confdefs.h. */
5333 _ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 cat >>conftest.$ac_ext <<_ACEOF
5336 /* end confdefs.h. */
5337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5339 #define $ac_func innocuous_$ac_func
5341 /* System header to define __stub macros and hopefully few prototypes,
5342 which can conflict with char $ac_func (); below.
5343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5344 <limits.h> exists even on freestanding compilers. */
5346 #ifdef __STDC__
5347 # include <limits.h>
5348 #else
5349 # include <assert.h>
5350 #endif
5352 #undef $ac_func
5354 /* Override any GCC internal prototype to avoid an error.
5355 Use char because int might match the return type of a GCC
5356 builtin and then its argument prototype would still apply. */
5357 #ifdef __cplusplus
5358 extern "C"
5359 #endif
5360 char $ac_func ();
5361 /* The GNU C library defines this for functions which it implements
5362 to always fail with ENOSYS. Some functions are actually named
5363 something starting with __ and the normal name is an alias. */
5364 #if defined __stub_$ac_func || defined __stub___$ac_func
5365 choke me
5366 #endif
5369 main ()
5371 return $ac_func ();
5373 return 0;
5375 _ACEOF
5376 rm -f conftest.$ac_objext conftest$ac_exeext
5377 if { (ac_try="$ac_link"
5378 case "(($ac_try" in
5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5380 *) ac_try_echo=$ac_try;;
5381 esac
5382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5383 $as_echo "$ac_try_echo") >&5
5384 (eval "$ac_link") 2>conftest.er1
5385 ac_status=$?
5386 grep -v '^ *+' conftest.er1 >conftest.err
5387 rm -f conftest.er1
5388 cat conftest.err >&5
5389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } && {
5391 test -z "$ac_c_werror_flag" ||
5392 test ! -s conftest.err
5393 } && test -s conftest$ac_exeext && {
5394 test "$cross_compiling" = yes ||
5395 $as_test_x conftest$ac_exeext
5396 }; then
5397 eval "$as_ac_var=yes"
5398 else
5399 $as_echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.$ac_ext >&5
5402 eval "$as_ac_var=no"
5405 rm -rf conftest.dSYM
5406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5407 conftest$ac_exeext conftest.$ac_ext
5409 ac_res=`eval 'as_val=${'$as_ac_var'}
5410 $as_echo "$as_val"'`
5411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5412 $as_echo "$ac_res" >&6; }
5413 if test `eval 'as_val=${'$as_ac_var'}
5414 $as_echo "$as_val"'` = yes; then
5415 cat >>confdefs.h <<_ACEOF
5416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5417 _ACEOF
5419 else
5420 case " $LIBOBJS " in
5421 *" $ac_func.$ac_objext "* ) ;;
5422 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
5424 esac
5427 done
5431 { $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5
5432 $as_echo_n "checking for main in -lnsl... " >&6; }
5433 if test "${ac_cv_lib_nsl_main+set}" = set; then
5434 $as_echo_n "(cached) " >&6
5435 else
5436 ac_check_lib_save_LIBS=$LIBS
5437 LIBS="-lnsl $LIBS"
5438 cat >conftest.$ac_ext <<_ACEOF
5439 /* confdefs.h. */
5440 _ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5447 main ()
5449 return main ();
5451 return 0;
5453 _ACEOF
5454 rm -f conftest.$ac_objext conftest$ac_exeext
5455 if { (ac_try="$ac_link"
5456 case "(($ac_try" in
5457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5458 *) ac_try_echo=$ac_try;;
5459 esac
5460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5461 $as_echo "$ac_try_echo") >&5
5462 (eval "$ac_link") 2>conftest.er1
5463 ac_status=$?
5464 grep -v '^ *+' conftest.er1 >conftest.err
5465 rm -f conftest.er1
5466 cat conftest.err >&5
5467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_c_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest$ac_exeext && {
5472 test "$cross_compiling" = yes ||
5473 $as_test_x conftest$ac_exeext
5474 }; then
5475 ac_cv_lib_nsl_main=yes
5476 else
5477 $as_echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5480 ac_cv_lib_nsl_main=no
5483 rm -rf conftest.dSYM
5484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5485 conftest$ac_exeext conftest.$ac_ext
5486 LIBS=$ac_check_lib_save_LIBS
5488 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
5489 $as_echo "$ac_cv_lib_nsl_main" >&6; }
5490 if test $ac_cv_lib_nsl_main = yes; then
5491 cat >>confdefs.h <<_ACEOF
5492 #define HAVE_LIBNSL 1
5493 _ACEOF
5495 LIBS="-lnsl $LIBS"
5500 { $as_echo "$as_me:$LINENO: checking for main in -lsocket" >&5
5501 $as_echo_n "checking for main in -lsocket... " >&6; }
5502 if test "${ac_cv_lib_socket_main+set}" = set; then
5503 $as_echo_n "(cached) " >&6
5504 else
5505 ac_check_lib_save_LIBS=$LIBS
5506 LIBS="-lsocket $LIBS"
5507 cat >conftest.$ac_ext <<_ACEOF
5508 /* confdefs.h. */
5509 _ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5516 main ()
5518 return main ();
5520 return 0;
5522 _ACEOF
5523 rm -f conftest.$ac_objext conftest$ac_exeext
5524 if { (ac_try="$ac_link"
5525 case "(($ac_try" in
5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527 *) ac_try_echo=$ac_try;;
5528 esac
5529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5530 $as_echo "$ac_try_echo") >&5
5531 (eval "$ac_link") 2>conftest.er1
5532 ac_status=$?
5533 grep -v '^ *+' conftest.er1 >conftest.err
5534 rm -f conftest.er1
5535 cat conftest.err >&5
5536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } && {
5538 test -z "$ac_c_werror_flag" ||
5539 test ! -s conftest.err
5540 } && test -s conftest$ac_exeext && {
5541 test "$cross_compiling" = yes ||
5542 $as_test_x conftest$ac_exeext
5543 }; then
5544 ac_cv_lib_socket_main=yes
5545 else
5546 $as_echo "$as_me: failed program was:" >&5
5547 sed 's/^/| /' conftest.$ac_ext >&5
5549 ac_cv_lib_socket_main=no
5552 rm -rf conftest.dSYM
5553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5554 conftest$ac_exeext conftest.$ac_ext
5555 LIBS=$ac_check_lib_save_LIBS
5557 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
5558 $as_echo "$ac_cv_lib_socket_main" >&6; }
5559 if test $ac_cv_lib_socket_main = yes; then
5560 cat >>confdefs.h <<_ACEOF
5561 #define HAVE_LIBSOCKET 1
5562 _ACEOF
5564 LIBS="-lsocket $LIBS"
5569 { $as_echo "$as_me:$LINENO: checking for int32_t using $CC" >&5
5570 $as_echo_n "checking for int32_t using $CC... " >&6; }
5571 if test "${ac_cv_lbl_have_int32_t+set}" = set; then
5572 $as_echo_n "(cached) " >&6
5573 else
5574 cat >conftest.$ac_ext <<_ACEOF
5575 /* confdefs.h. */
5576 _ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5581 # include "confdefs.h"
5582 # include <sys/types.h>
5583 # if STDC_HEADERS
5584 # include <stdlib.h>
5585 # include <stddef.h>
5586 # endif
5588 main ()
5590 int32_t i
5592 return 0;
5594 _ACEOF
5595 rm -f conftest.$ac_objext
5596 if { (ac_try="$ac_compile"
5597 case "(($ac_try" in
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5600 esac
5601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5602 $as_echo "$ac_try_echo") >&5
5603 (eval "$ac_compile") 2>conftest.er1
5604 ac_status=$?
5605 grep -v '^ *+' conftest.er1 >conftest.err
5606 rm -f conftest.er1
5607 cat conftest.err >&5
5608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && {
5610 test -z "$ac_c_werror_flag" ||
5611 test ! -s conftest.err
5612 } && test -s conftest.$ac_objext; then
5613 ac_cv_lbl_have_int32_t=yes
5614 else
5615 $as_echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.$ac_ext >&5
5618 ac_cv_lbl_have_int32_t=no
5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5624 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_have_int32_t" >&5
5625 $as_echo "$ac_cv_lbl_have_int32_t" >&6; }
5626 if test $ac_cv_lbl_have_int32_t = no ; then
5628 cat >>confdefs.h <<\_ACEOF
5629 #define int32_t int
5630 _ACEOF
5633 { $as_echo "$as_me:$LINENO: checking for u_int32_t using $CC" >&5
5634 $as_echo_n "checking for u_int32_t using $CC... " >&6; }
5635 if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then
5636 $as_echo_n "(cached) " >&6
5637 else
5638 cat >conftest.$ac_ext <<_ACEOF
5639 /* confdefs.h. */
5640 _ACEOF
5641 cat confdefs.h >>conftest.$ac_ext
5642 cat >>conftest.$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 # include "confdefs.h"
5646 # include <sys/types.h>
5647 # if STDC_HEADERS
5648 # include <stdlib.h>
5649 # include <stddef.h>
5650 # endif
5652 main ()
5654 u_int32_t i
5656 return 0;
5658 _ACEOF
5659 rm -f conftest.$ac_objext
5660 if { (ac_try="$ac_compile"
5661 case "(($ac_try" in
5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5664 esac
5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5666 $as_echo "$ac_try_echo") >&5
5667 (eval "$ac_compile") 2>conftest.er1
5668 ac_status=$?
5669 grep -v '^ *+' conftest.er1 >conftest.err
5670 rm -f conftest.er1
5671 cat conftest.err >&5
5672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } && {
5674 test -z "$ac_c_werror_flag" ||
5675 test ! -s conftest.err
5676 } && test -s conftest.$ac_objext; then
5677 ac_cv_lbl_have_u_int32_t=yes
5678 else
5679 $as_echo "$as_me: failed program was:" >&5
5680 sed 's/^/| /' conftest.$ac_ext >&5
5682 ac_cv_lbl_have_u_int32_t=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5688 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int32_t" >&5
5689 $as_echo "$ac_cv_lbl_have_u_int32_t" >&6; }
5690 if test $ac_cv_lbl_have_u_int32_t = no ; then
5692 cat >>confdefs.h <<\_ACEOF
5693 #define u_int32_t u_int
5694 _ACEOF
5700 rm -f os-proto.h
5701 if test -f .devel ; then
5702 if test "$GCC" = yes ; then
5703 if test "$SHLICC2" = yes ; then
5704 ac_cv_lbl_gcc_vers=2
5705 V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
5706 else
5707 { $as_echo "$as_me:$LINENO: checking gcc version" >&5
5708 $as_echo_n "checking gcc version... " >&6; }
5709 if test "${ac_cv_lbl_gcc_vers+set}" = set; then
5710 $as_echo_n "(cached) " >&6
5711 else
5712 # Gag, the gcc folks keep changing the output...
5713 # try to grab N.N.N
5714 ac_cv_lbl_gcc_vers=`$CC --version 2>&1 |
5715 sed -e '1!d' -e 's/[^0-9]*\([0-9][0-9]*\)\.[0-9\][0-9]*\.[0-9][0-9]*.*/\1/'`
5718 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5
5719 $as_echo "$ac_cv_lbl_gcc_vers" >&6; }
5720 if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
5721 V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
5724 if test "$ac_cv_prog_cc_g" = yes ; then
5725 V_CCOPT="-g $V_CCOPT"
5727 V_CCOPT="$V_CCOPT -Wall"
5728 if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
5729 V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
5730 if [ "`uname -s`" = "FreeBSD" ]; then
5731 V_CCOPT="$V_CCOPT -Werror"
5734 else
5735 case "$target_os" in
5737 irix6*)
5738 V_CCOPT="$V_CCOPT -fullwarn -n32"
5743 esac
5745 os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
5746 name="lbl/os-$os.h"
5747 if test -f $name ; then
5748 ln -s $name os-proto.h
5750 cat >>confdefs.h <<\_ACEOF
5751 #define HAVE_OS_PROTO_H /**/
5752 _ACEOF
5754 else
5755 { $as_echo "$as_me:$LINENO: WARNING: can't find $name" >&5
5756 $as_echo "$as_me: WARNING: can't find $name" >&2;}
5760 if test -r lbl/gnuc.h ; then
5761 rm -f gnuc.h
5762 ln -s lbl/gnuc.h gnuc.h
5771 ac_config_files="$ac_config_files Makefile"
5773 cat >confcache <<\_ACEOF
5774 # This file is a shell script that caches the results of configure
5775 # tests run on this system so they can be shared between configure
5776 # scripts and configure runs, see configure's option --config-cache.
5777 # It is not useful on other systems. If it contains results you don't
5778 # want to keep, you may remove or edit it.
5780 # config.status only pays attention to the cache file if you give it
5781 # the --recheck option to rerun configure.
5783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5785 # following values.
5787 _ACEOF
5789 # The following way of writing the cache mishandles newlines in values,
5790 # but we know of no workaround that is simple, portable, and efficient.
5791 # So, we kill variables containing newlines.
5792 # Ultrix sh set writes to stderr and can't be redirected directly,
5793 # and sets the high bit in the cache file unless we assign to the vars.
5795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5796 eval ac_val=\$$ac_var
5797 case $ac_val in #(
5798 *${as_nl}*)
5799 case $ac_var in #(
5800 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5801 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5802 esac
5803 case $ac_var in #(
5804 _ | IFS | as_nl) ;; #(
5805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5806 *) $as_unset $ac_var ;;
5807 esac ;;
5808 esac
5809 done
5811 (set) 2>&1 |
5812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5813 *${as_nl}ac_space=\ *)
5814 # `set' does not quote correctly, so add quotes (double-quote
5815 # substitution turns \\\\ into \\, and sed turns \\ into \).
5816 sed -n \
5817 "s/'/'\\\\''/g;
5818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5819 ;; #(
5821 # `set' quotes correctly as required by POSIX, so do not add quotes.
5822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5824 esac |
5825 sort
5827 sed '
5828 /^ac_cv_env_/b end
5829 t clear
5830 :clear
5831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5832 t end
5833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5834 :end' >>confcache
5835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5836 if test -w "$cache_file"; then
5837 test "x$cache_file" != "x/dev/null" &&
5838 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5839 $as_echo "$as_me: updating cache $cache_file" >&6;}
5840 cat confcache >$cache_file
5841 else
5842 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5846 rm -f confcache
5848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5849 # Let make expand exec_prefix.
5850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5852 # Transform confdefs.h into DEFS.
5853 # Protect against shell expansion while executing Makefile rules.
5854 # Protect against Makefile macro expansion.
5856 # If the first sed substitution is executed (which looks for macros that
5857 # take arguments), then branch to the quote section. Otherwise,
5858 # look for a macro that doesn't take arguments.
5859 ac_script='
5860 :mline
5861 /\\$/{
5863 s,\\\n,,
5864 b mline
5866 t clear
5867 :clear
5868 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5869 t quote
5870 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5871 t quote
5872 b any
5873 :quote
5874 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5875 s/\[/\\&/g
5876 s/\]/\\&/g
5877 s/\$/$$/g
5879 :any
5882 s/^\n//
5883 s/\n/ /g
5887 DEFS=`sed -n "$ac_script" confdefs.h`
5890 ac_libobjs=
5891 ac_ltlibobjs=
5892 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5893 # 1. Remove the extension, and $U if already installed.
5894 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5895 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5896 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5897 # will be set to the directory where LIBOBJS objects are built.
5898 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5899 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5900 done
5901 LIBOBJS=$ac_libobjs
5903 LTLIBOBJS=$ac_ltlibobjs
5907 : ${CONFIG_STATUS=./config.status}
5908 ac_write_fail=0
5909 ac_clean_files_save=$ac_clean_files
5910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5911 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5912 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5913 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5914 #! $SHELL
5915 # Generated by $as_me.
5916 # Run this file to recreate the current configuration.
5917 # Compiler output produced by configure, useful for debugging
5918 # configure, is in config.log if it exists.
5920 debug=false
5921 ac_cs_recheck=false
5922 ac_cs_silent=false
5923 SHELL=\${CONFIG_SHELL-$SHELL}
5924 _ACEOF
5926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5927 ## --------------------- ##
5928 ## M4sh Initialization. ##
5929 ## --------------------- ##
5931 # Be more Bourne compatible
5932 DUALCASE=1; export DUALCASE # for MKS sh
5933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5934 emulate sh
5935 NULLCMD=:
5936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5937 # is contrary to our usage. Disable this feature.
5938 alias -g '${1+"$@"}'='"$@"'
5939 setopt NO_GLOB_SUBST
5940 else
5941 case `(set -o) 2>/dev/null` in
5942 *posix*) set -o posix ;;
5943 esac
5950 # PATH needs CR
5951 # Avoid depending upon Character Ranges.
5952 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5953 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5954 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5955 as_cr_digits='0123456789'
5956 as_cr_alnum=$as_cr_Letters$as_cr_digits
5958 as_nl='
5960 export as_nl
5961 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5962 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5963 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5965 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5966 as_echo='printf %s\n'
5967 as_echo_n='printf %s'
5968 else
5969 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5970 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5971 as_echo_n='/usr/ucb/echo -n'
5972 else
5973 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5974 as_echo_n_body='eval
5975 arg=$1;
5976 case $arg in
5977 *"$as_nl"*)
5978 expr "X$arg" : "X\\(.*\\)$as_nl";
5979 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5980 esac;
5981 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5983 export as_echo_n_body
5984 as_echo_n='sh -c $as_echo_n_body as_echo'
5986 export as_echo_body
5987 as_echo='sh -c $as_echo_body as_echo'
5990 # The user is always right.
5991 if test "${PATH_SEPARATOR+set}" != set; then
5992 PATH_SEPARATOR=:
5993 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5994 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5995 PATH_SEPARATOR=';'
5999 # Support unset when possible.
6000 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6001 as_unset=unset
6002 else
6003 as_unset=false
6007 # IFS
6008 # We need space, tab and new line, in precisely that order. Quoting is
6009 # there to prevent editors from complaining about space-tab.
6010 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6011 # splitting by setting IFS to empty value.)
6012 IFS=" "" $as_nl"
6014 # Find who we are. Look in the path if we contain no directory separator.
6015 case $0 in
6016 *[\\/]* ) as_myself=$0 ;;
6017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6020 IFS=$as_save_IFS
6021 test -z "$as_dir" && as_dir=.
6022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6023 done
6024 IFS=$as_save_IFS
6027 esac
6028 # We did not find ourselves, most probably we were run as `sh COMMAND'
6029 # in which case we are not to be found in the path.
6030 if test "x$as_myself" = x; then
6031 as_myself=$0
6033 if test ! -f "$as_myself"; then
6034 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6035 { (exit 1); exit 1; }
6038 # Work around bugs in pre-3.0 UWIN ksh.
6039 for as_var in ENV MAIL MAILPATH
6040 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6041 done
6042 PS1='$ '
6043 PS2='> '
6044 PS4='+ '
6046 # NLS nuisances.
6047 LC_ALL=C
6048 export LC_ALL
6049 LANGUAGE=C
6050 export LANGUAGE
6052 # Required to use basename.
6053 if expr a : '\(a\)' >/dev/null 2>&1 &&
6054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6055 as_expr=expr
6056 else
6057 as_expr=false
6060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6061 as_basename=basename
6062 else
6063 as_basename=false
6067 # Name of the executable.
6068 as_me=`$as_basename -- "$0" ||
6069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6070 X"$0" : 'X\(//\)$' \| \
6071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6072 $as_echo X/"$0" |
6073 sed '/^.*\/\([^/][^/]*\)\/*$/{
6074 s//\1/
6077 /^X\/\(\/\/\)$/{
6078 s//\1/
6081 /^X\/\(\/\).*/{
6082 s//\1/
6085 s/.*/./; q'`
6087 # CDPATH.
6088 $as_unset CDPATH
6092 as_lineno_1=$LINENO
6093 as_lineno_2=$LINENO
6094 test "x$as_lineno_1" != "x$as_lineno_2" &&
6095 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6097 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6098 # uniformly replaced by the line number. The first 'sed' inserts a
6099 # line-number line after each line using $LINENO; the second 'sed'
6100 # does the real work. The second script uses 'N' to pair each
6101 # line-number line with the line containing $LINENO, and appends
6102 # trailing '-' during substitution so that $LINENO is not a special
6103 # case at line end.
6104 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6105 # scripts with optimization help from Paolo Bonzini. Blame Lee
6106 # E. McMahon (1931-1989) for sed's syntax. :-)
6107 sed -n '
6109 /[$]LINENO/=
6110 ' <$as_myself |
6111 sed '
6112 s/[$]LINENO.*/&-/
6113 t lineno
6115 :lineno
6117 :loop
6118 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6119 t loop
6120 s/-\n.*//
6121 ' >$as_me.lineno &&
6122 chmod +x "$as_me.lineno" ||
6123 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6124 { (exit 1); exit 1; }; }
6126 # Don't try to exec as it changes $[0], causing all sort of problems
6127 # (the dirname of $[0] is not the place where we might find the
6128 # original and so on. Autoconf is especially sensitive to this).
6129 . "./$as_me.lineno"
6130 # Exit status is that of the last command.
6131 exit
6135 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6136 as_dirname=dirname
6137 else
6138 as_dirname=false
6141 ECHO_C= ECHO_N= ECHO_T=
6142 case `echo -n x` in
6143 -n*)
6144 case `echo 'x\c'` in
6145 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6146 *) ECHO_C='\c';;
6147 esac;;
6149 ECHO_N='-n';;
6150 esac
6151 if expr a : '\(a\)' >/dev/null 2>&1 &&
6152 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6153 as_expr=expr
6154 else
6155 as_expr=false
6158 rm -f conf$$ conf$$.exe conf$$.file
6159 if test -d conf$$.dir; then
6160 rm -f conf$$.dir/conf$$.file
6161 else
6162 rm -f conf$$.dir
6163 mkdir conf$$.dir 2>/dev/null
6165 if (echo >conf$$.file) 2>/dev/null; then
6166 if ln -s conf$$.file conf$$ 2>/dev/null; then
6167 as_ln_s='ln -s'
6168 # ... but there are two gotchas:
6169 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6170 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6171 # In both cases, we have to default to `cp -p'.
6172 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6173 as_ln_s='cp -p'
6174 elif ln conf$$.file conf$$ 2>/dev/null; then
6175 as_ln_s=ln
6176 else
6177 as_ln_s='cp -p'
6179 else
6180 as_ln_s='cp -p'
6182 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6183 rmdir conf$$.dir 2>/dev/null
6185 if mkdir -p . 2>/dev/null; then
6186 as_mkdir_p=:
6187 else
6188 test -d ./-p && rmdir ./-p
6189 as_mkdir_p=false
6192 if test -x / >/dev/null 2>&1; then
6193 as_test_x='test -x'
6194 else
6195 if ls -dL / >/dev/null 2>&1; then
6196 as_ls_L_option=L
6197 else
6198 as_ls_L_option=
6200 as_test_x='
6201 eval sh -c '\''
6202 if test -d "$1"; then
6203 test -d "$1/.";
6204 else
6205 case $1 in
6206 -*)set "./$1";;
6207 esac;
6208 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6209 ???[sx]*):;;*)false;;esac;fi
6210 '\'' sh
6213 as_executable_p=$as_test_x
6215 # Sed expression to map a string onto a valid CPP name.
6216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6218 # Sed expression to map a string onto a valid variable name.
6219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6222 exec 6>&1
6224 # Save the log message, to keep $[0] and so on meaningful, and to
6225 # report actual input values of CONFIG_FILES etc. instead of their
6226 # values after options handling.
6227 ac_log="
6228 This file was extended by $as_me, which was
6229 generated by GNU Autoconf 2.62. Invocation command line was
6231 CONFIG_FILES = $CONFIG_FILES
6232 CONFIG_HEADERS = $CONFIG_HEADERS
6233 CONFIG_LINKS = $CONFIG_LINKS
6234 CONFIG_COMMANDS = $CONFIG_COMMANDS
6235 $ $0 $@
6237 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6240 _ACEOF
6242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6243 # Files that config.status was made for.
6244 config_files="$ac_config_files"
6246 _ACEOF
6248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6249 ac_cs_usage="\
6250 \`$as_me' instantiates files from templates according to the
6251 current configuration.
6253 Usage: $0 [OPTIONS] [FILE]...
6255 -h, --help print this help, then exit
6256 -V, --version print version number and configuration settings, then exit
6257 -q, --quiet do not print progress messages
6258 -d, --debug don't remove temporary files
6259 --recheck update $as_me by reconfiguring in the same conditions
6260 --file=FILE[:TEMPLATE]
6261 instantiate the configuration file FILE
6263 Configuration files:
6264 $config_files
6266 Report bugs to <bug-autoconf@gnu.org>."
6268 _ACEOF
6269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6270 ac_cs_version="\\
6271 config.status
6272 configured by $0, generated by GNU Autoconf 2.62,
6273 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6275 Copyright (C) 2008 Free Software Foundation, Inc.
6276 This config.status script is free software; the Free Software Foundation
6277 gives unlimited permission to copy, distribute and modify it."
6279 ac_pwd='$ac_pwd'
6280 srcdir='$srcdir'
6281 INSTALL='$INSTALL'
6282 test -n "\$AWK" || AWK=awk
6283 _ACEOF
6285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6286 # The default lists apply if the user does not specify any file.
6287 ac_need_defaults=:
6288 while test $# != 0
6290 case $1 in
6291 --*=*)
6292 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6294 ac_shift=:
6297 ac_option=$1
6298 ac_optarg=$2
6299 ac_shift=shift
6301 esac
6303 case $ac_option in
6304 # Handling of the options.
6305 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6306 ac_cs_recheck=: ;;
6307 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6308 $as_echo "$ac_cs_version"; exit ;;
6309 --debug | --debu | --deb | --de | --d | -d )
6310 debug=: ;;
6311 --file | --fil | --fi | --f )
6312 $ac_shift
6313 case $ac_optarg in
6314 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6315 esac
6316 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6317 ac_need_defaults=false;;
6318 --he | --h | --help | --hel | -h )
6319 $as_echo "$ac_cs_usage"; exit ;;
6320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6321 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6322 ac_cs_silent=: ;;
6324 # This is an error.
6325 -*) { $as_echo "$as_me: error: unrecognized option: $1
6326 Try \`$0 --help' for more information." >&2
6327 { (exit 1); exit 1; }; } ;;
6329 *) ac_config_targets="$ac_config_targets $1"
6330 ac_need_defaults=false ;;
6332 esac
6333 shift
6334 done
6336 ac_configure_extra_args=
6338 if $ac_cs_silent; then
6339 exec 6>/dev/null
6340 ac_configure_extra_args="$ac_configure_extra_args --silent"
6343 _ACEOF
6344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345 if \$ac_cs_recheck; then
6346 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6347 shift
6348 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6349 CONFIG_SHELL='$SHELL'
6350 export CONFIG_SHELL
6351 exec "\$@"
6354 _ACEOF
6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6356 exec 5>>config.log
6358 echo
6359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6360 ## Running $as_me. ##
6361 _ASBOX
6362 $as_echo "$ac_log"
6363 } >&5
6365 _ACEOF
6366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6367 _ACEOF
6369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6371 # Handling of arguments.
6372 for ac_config_target in $ac_config_targets
6374 case $ac_config_target in
6375 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6377 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6378 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6379 { (exit 1); exit 1; }; };;
6380 esac
6381 done
6384 # If the user did not use the arguments to specify the items to instantiate,
6385 # then the envvar interface is used. Set only those that are not.
6386 # We use the long form for the default assignment because of an extremely
6387 # bizarre bug on SunOS 4.1.3.
6388 if $ac_need_defaults; then
6389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6392 # Have a temporary directory for convenience. Make it in the build tree
6393 # simply because there is no reason against having it here, and in addition,
6394 # creating and moving files from /tmp can sometimes cause problems.
6395 # Hook for its removal unless debugging.
6396 # Note that there is a small window in which the directory will not be cleaned:
6397 # after its creation but before its name has been assigned to `$tmp'.
6398 $debug ||
6400 tmp=
6401 trap 'exit_status=$?
6402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6404 trap '{ (exit 1); exit 1; }' 1 2 13 15
6406 # Create a (secure) tmp directory for tmp files.
6409 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6410 test -n "$tmp" && test -d "$tmp"
6411 } ||
6413 tmp=./conf$$-$RANDOM
6414 (umask 077 && mkdir "$tmp")
6415 } ||
6417 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6418 { (exit 1); exit 1; }
6421 # Set up the scripts for CONFIG_FILES section.
6422 # No need to generate them if there are no CONFIG_FILES.
6423 # This happens for instance with `./config.status config.h'.
6424 if test -n "$CONFIG_FILES"; then
6427 ac_cr=' '
6428 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6430 ac_cs_awk_cr='\\r'
6431 else
6432 ac_cs_awk_cr=$ac_cr
6435 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6436 _ACEOF
6440 echo "cat >conf$$subs.awk <<_ACEOF" &&
6441 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6442 echo "_ACEOF"
6443 } >conf$$subs.sh ||
6444 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6445 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6446 { (exit 1); exit 1; }; }
6447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6448 ac_delim='%!_!# '
6449 for ac_last_try in false false false false false :; do
6450 . ./conf$$subs.sh ||
6451 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6452 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6453 { (exit 1); exit 1; }; }
6455 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
6456 break
6457 elif $ac_last_try; then
6458 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6459 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6460 { (exit 1); exit 1; }; }
6461 else
6462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6464 done
6465 rm -f conf$$subs.sh
6467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6468 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6469 _ACEOF
6470 sed -n '
6472 s/^/S["/; s/!.*/"]=/
6475 s/^[^!]*!//
6476 :repl
6477 t repl
6478 s/'"$ac_delim"'$//
6479 t delim
6482 s/\(.\{148\}\).*/\1/
6483 t more1
6484 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6487 b repl
6488 :more1
6489 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6492 s/.\{148\}//
6493 t nl
6494 :delim
6496 s/\(.\{148\}\).*/\1/
6497 t more2
6498 s/["\\]/\\&/g; s/^/"/; s/$/"/
6501 :more2
6502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6505 s/.\{148\}//
6506 t delim
6507 ' <conf$$subs.awk | sed '
6508 /^[^""]/{
6510 s/\n//
6512 ' >>$CONFIG_STATUS || ac_write_fail=1
6513 rm -f conf$$subs.awk
6514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6515 _ACAWK
6516 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6517 for (key in S) S_is_set[key] = 1
6518 FS = "\a"
6522 line = $ 0
6523 nfields = split(line, field, "@")
6524 substed = 0
6525 len = length(field[1])
6526 for (i = 2; i < nfields; i++) {
6527 key = field[i]
6528 keylen = length(key)
6529 if (S_is_set[key]) {
6530 value = S[key]
6531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6532 len += length(value) + length(field[++i])
6533 substed = 1
6534 } else
6535 len += 1 + keylen
6538 print line
6541 _ACAWK
6542 _ACEOF
6543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6544 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6545 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6546 else
6548 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6549 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6550 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6551 { (exit 1); exit 1; }; }
6552 _ACEOF
6554 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6555 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6556 # trailing colons and then remove the whole line if VPATH becomes empty
6557 # (actually we leave an empty line to preserve line numbers).
6558 if test "x$srcdir" = x.; then
6559 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6560 s/:*\$(srcdir):*/:/
6561 s/:*\${srcdir}:*/:/
6562 s/:*@srcdir@:*/:/
6563 s/^\([^=]*=[ ]*\):*/\1/
6564 s/:*$//
6565 s/^[^=]*=[ ]*$//
6569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6570 fi # test -n "$CONFIG_FILES"
6573 eval set X " :F $CONFIG_FILES "
6574 shift
6575 for ac_tag
6577 case $ac_tag in
6578 :[FHLC]) ac_mode=$ac_tag; continue;;
6579 esac
6580 case $ac_mode$ac_tag in
6581 :[FHL]*:*);;
6582 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6583 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6584 { (exit 1); exit 1; }; };;
6585 :[FH]-) ac_tag=-:-;;
6586 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6587 esac
6588 ac_save_IFS=$IFS
6589 IFS=:
6590 set x $ac_tag
6591 IFS=$ac_save_IFS
6592 shift
6593 ac_file=$1
6594 shift
6596 case $ac_mode in
6597 :L) ac_source=$1;;
6598 :[FH])
6599 ac_file_inputs=
6600 for ac_f
6602 case $ac_f in
6603 -) ac_f="$tmp/stdin";;
6604 *) # Look for the file first in the build tree, then in the source tree
6605 # (if the path is not absolute). The absolute path cannot be DOS-style,
6606 # because $ac_f cannot contain `:'.
6607 test -f "$ac_f" ||
6608 case $ac_f in
6609 [\\/$]*) false;;
6610 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6611 esac ||
6612 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6613 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6614 { (exit 1); exit 1; }; };;
6615 esac
6616 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6617 ac_file_inputs="$ac_file_inputs '$ac_f'"
6618 done
6620 # Let's still pretend it is `configure' which instantiates (i.e., don't
6621 # use $as_me), people would be surprised to read:
6622 # /* config.h. Generated by config.status. */
6623 configure_input='Generated from '`
6624 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6625 `' by configure.'
6626 if test x"$ac_file" != x-; then
6627 configure_input="$ac_file. $configure_input"
6628 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6629 $as_echo "$as_me: creating $ac_file" >&6;}
6631 # Neutralize special characters interpreted by sed in replacement strings.
6632 case $configure_input in #(
6633 *\&* | *\|* | *\\* )
6634 ac_sed_conf_input=`$as_echo "$configure_input" |
6635 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6636 *) ac_sed_conf_input=$configure_input;;
6637 esac
6639 case $ac_tag in
6640 *:-:* | *:-) cat >"$tmp/stdin" \
6641 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6642 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6643 { (exit 1); exit 1; }; } ;;
6644 esac
6646 esac
6648 ac_dir=`$as_dirname -- "$ac_file" ||
6649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6650 X"$ac_file" : 'X\(//\)[^/]' \| \
6651 X"$ac_file" : 'X\(//\)$' \| \
6652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6653 $as_echo X"$ac_file" |
6654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6655 s//\1/
6658 /^X\(\/\/\)[^/].*/{
6659 s//\1/
6662 /^X\(\/\/\)$/{
6663 s//\1/
6666 /^X\(\/\).*/{
6667 s//\1/
6670 s/.*/./; q'`
6671 { as_dir="$ac_dir"
6672 case $as_dir in #(
6673 -*) as_dir=./$as_dir;;
6674 esac
6675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6676 as_dirs=
6677 while :; do
6678 case $as_dir in #(
6679 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6680 *) as_qdir=$as_dir;;
6681 esac
6682 as_dirs="'$as_qdir' $as_dirs"
6683 as_dir=`$as_dirname -- "$as_dir" ||
6684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6685 X"$as_dir" : 'X\(//\)[^/]' \| \
6686 X"$as_dir" : 'X\(//\)$' \| \
6687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6688 $as_echo X"$as_dir" |
6689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6690 s//\1/
6693 /^X\(\/\/\)[^/].*/{
6694 s//\1/
6697 /^X\(\/\/\)$/{
6698 s//\1/
6701 /^X\(\/\).*/{
6702 s//\1/
6705 s/.*/./; q'`
6706 test -d "$as_dir" && break
6707 done
6708 test -z "$as_dirs" || eval "mkdir $as_dirs"
6709 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6710 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6711 { (exit 1); exit 1; }; }; }
6712 ac_builddir=.
6714 case "$ac_dir" in
6715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6718 # A ".." for each directory in $ac_dir_suffix.
6719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6720 case $ac_top_builddir_sub in
6721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6723 esac ;;
6724 esac
6725 ac_abs_top_builddir=$ac_pwd
6726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6727 # for backward compatibility:
6728 ac_top_builddir=$ac_top_build_prefix
6730 case $srcdir in
6731 .) # We are building in place.
6732 ac_srcdir=.
6733 ac_top_srcdir=$ac_top_builddir_sub
6734 ac_abs_top_srcdir=$ac_pwd ;;
6735 [\\/]* | ?:[\\/]* ) # Absolute name.
6736 ac_srcdir=$srcdir$ac_dir_suffix;
6737 ac_top_srcdir=$srcdir
6738 ac_abs_top_srcdir=$srcdir ;;
6739 *) # Relative name.
6740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6741 ac_top_srcdir=$ac_top_build_prefix$srcdir
6742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6743 esac
6744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6747 case $ac_mode in
6750 # CONFIG_FILE
6753 case $INSTALL in
6754 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6755 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6756 esac
6757 _ACEOF
6759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6760 # If the template does not know about datarootdir, expand it.
6761 # FIXME: This hack should be removed a few years after 2.60.
6762 ac_datarootdir_hack=; ac_datarootdir_seen=
6764 ac_sed_dataroot='
6765 /datarootdir/ {
6769 /@datadir@/p
6770 /@docdir@/p
6771 /@infodir@/p
6772 /@localedir@/p
6773 /@mandir@/p
6775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6776 *datarootdir*) ac_datarootdir_seen=yes;;
6777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6778 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6780 _ACEOF
6781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6782 ac_datarootdir_hack='
6783 s&@datadir@&$datadir&g
6784 s&@docdir@&$docdir&g
6785 s&@infodir@&$infodir&g
6786 s&@localedir@&$localedir&g
6787 s&@mandir@&$mandir&g
6788 s&\\\${datarootdir}&$datarootdir&g' ;;
6789 esac
6790 _ACEOF
6792 # Neutralize VPATH when `$srcdir' = `.'.
6793 # Shell code in configure.ac might set extrasub.
6794 # FIXME: do we really want to maintain this feature?
6795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6796 ac_sed_extra="$ac_vpsub
6797 $extrasub
6798 _ACEOF
6799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6802 s|@configure_input@|$ac_sed_conf_input|;t t
6803 s&@top_builddir@&$ac_top_builddir_sub&;t t
6804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6805 s&@srcdir@&$ac_srcdir&;t t
6806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6807 s&@top_srcdir@&$ac_top_srcdir&;t t
6808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6809 s&@builddir@&$ac_builddir&;t t
6810 s&@abs_builddir@&$ac_abs_builddir&;t t
6811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6812 s&@INSTALL@&$ac_INSTALL&;t t
6813 $ac_datarootdir_hack
6815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6816 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6817 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6818 { (exit 1); exit 1; }; }
6820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6821 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6823 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6824 which seems to be undefined. Please make sure it is defined." >&5
6825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6826 which seems to be undefined. Please make sure it is defined." >&2;}
6828 rm -f "$tmp/stdin"
6829 case $ac_file in
6830 -) cat "$tmp/out" && rm -f "$tmp/out";;
6831 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6832 esac \
6833 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6834 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6835 { (exit 1); exit 1; }; }
6840 esac
6842 done # for ac_tag
6845 { (exit 0); exit 0; }
6846 _ACEOF
6847 chmod +x $CONFIG_STATUS
6848 ac_clean_files=$ac_clean_files_save
6850 test $ac_write_fail = 0 ||
6851 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6852 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6853 { (exit 1); exit 1; }; }
6856 # configure is writing to config.log, and then calls config.status.
6857 # config.status does its own redirection, appending to config.log.
6858 # Unfortunately, on DOS this fails, as config.log is still kept open
6859 # by configure, so config.status won't be able to write to it; its
6860 # output is simply discarded. So we exec the FD to /dev/null,
6861 # effectively closing config.log, so it can be properly (re)opened and
6862 # appended to by config.status. When coming back to configure, we
6863 # need to make the FD available again.
6864 if test "$no_create" != yes; then
6865 ac_cs_success=:
6866 ac_config_status_args=
6867 test "$silent" = yes &&
6868 ac_config_status_args="$ac_config_status_args --quiet"
6869 exec 5>/dev/null
6870 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6871 exec 5>>config.log
6872 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6873 # would make configure fail if this is the last instruction.
6874 $ac_cs_success || { (exit 1); exit 1; }
6876 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6877 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
6878 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
6882 if test -f .devel ; then
6883 make depend
6885 exit 0