Made configure script respect CFLAGS=... option by propagating it to all C compiler...
[gambit-c.git] / configure
blob1a4c9ea67e29d26266be923ae44d67e559c36fb7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for Gambit-C v4.4.1.
5 # Report bugs to <gambit@iro.umontreal.ca>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Copyright (c) 1994-2009 by Marc Feeley, All Rights Reserved.
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='Gambit-C'
600 PACKAGE_TARNAME='gambc-v4_4_1'
601 PACKAGE_VERSION='v4.4.1'
602 PACKAGE_STRING='Gambit-C v4.4.1'
603 PACKAGE_BUGREPORT='gambit@iro.umontreal.ca'
605 ac_unique_file="include/gambit.h.in"
606 ac_default_prefix=/usr/local/$PACKAGE_NAME
607 # Factoring default headers for most tests.
608 ac_includes_default="\
609 #include <stdio.h>
610 #ifdef HAVE_SYS_TYPES_H
611 # include <sys/types.h>
612 #endif
613 #ifdef HAVE_SYS_STAT_H
614 # include <sys/stat.h>
615 #endif
616 #ifdef STDC_HEADERS
617 # include <stdlib.h>
618 # include <stddef.h>
619 #else
620 # ifdef HAVE_STDLIB_H
621 # include <stdlib.h>
622 # endif
623 #endif
624 #ifdef HAVE_STRING_H
625 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 # include <memory.h>
627 # endif
628 # include <string.h>
629 #endif
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
632 #endif
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
635 #endif
636 #ifdef HAVE_STDINT_H
637 # include <stdint.h>
638 #endif
639 #ifdef HAVE_UNISTD_H
640 # include <unistd.h>
641 #endif"
643 ac_subst_vars='SHELL
644 PATH_SEPARATOR
645 PACKAGE_NAME
646 PACKAGE_TARNAME
647 PACKAGE_VERSION
648 PACKAGE_STRING
649 PACKAGE_BUGREPORT
650 exec_prefix
651 prefix
652 program_transform_name
653 bindir
654 sbindir
655 libexecdir
656 datarootdir
657 datadir
658 sysconfdir
659 sharedstatedir
660 localstatedir
661 includedir
662 oldincludedir
663 docdir
664 infodir
665 htmldir
666 dvidir
667 pdfdir
668 psdir
669 libdir
670 localedir
671 mandir
672 DEFS
673 ECHO_C
674 ECHO_N
675 ECHO_T
676 LIBS
677 build_alias
678 host_alias
679 target_alias
680 PACKAGE_SHORTNAME
681 build
682 build_cpu
683 build_vendor
684 build_os
685 host
686 host_cpu
687 host_vendor
688 host_os
689 target
690 target_cpu
691 target_vendor
692 target_os
694 CFLAGS
695 LDFLAGS
696 CPPFLAGS
697 ac_ct_CC
698 EXEEXT
699 OBJEXT
702 CXXFLAGS
703 ac_ct_CXX
704 CXXCPP
705 C_COMPILER
706 C_PREPROC
707 QTINCPATH
708 ENABLE_GUIDE
709 CONF_MAX_CHR
710 GREP
711 EGREP
712 CONF_VOIDSTAR_WIDTH
713 C_COMP_GNUC
714 C_COMP_VISUALC
715 GCC_42_OR_43
716 DASH_no_cpp_precomp
717 DASH_Wall
718 DASH_W
719 DASH_Wno_unused
720 DASH_g
721 DASH_p
722 DASH_pg
723 DASH_fprofile_arcs
724 DASH_O1
725 DASH_fno_math_errno
726 DASH_fschedule_insns2
727 DASH_fno_trapping_math
728 DASH_fno_strict_aliasing
729 DASH_fwrapv
730 DASH_fomit_frame_pointer
731 DASH_fno_move_loop_invariants
732 DASH_fmodulo_sched
733 DASH_freschedule_modulo_scheduled_loops
734 DASH_fPIC
735 DASH_fpic
736 DASH_fno_common
737 DASH_mieee
738 DASH_mieee_with_inexact
739 DASH_mieee_fp
740 DASH_shared
741 DASH_dynamiclib
742 DASH_bundle
743 DASH_flat_namespace_undefined_suppress
744 DASH_rdynamic
745 DASH_xO2
746 DASH_KPIC
747 DASH_G
748 DASH_O2
749 DASH_ieee
750 DASH_call_shared
751 DASH_expect_unresolved
752 DASH_fullwarn
753 DASH_woff_1110_1174_1209_1552_3201
754 DASH_OPT_Olimit_0
755 DASH_TENV_large_GOT
756 DASH_OPT_IEEE_comparisons_ON
757 DASH_OPT_IEEE_NaN_inf_ON
758 DASH_b
759 FLAGS_OBJ
760 FLAGS_EXE
761 FLAGS_LIB
762 FLAGS_DYN
763 RTLIBSUBSYS
764 XMKMF
765 X_CFLAGS
766 X_PRE_LIBS
767 X_LIBS
768 X_EXTRA_LIBS
769 LN_S
770 RANLIB
771 srcdirpfx
775 SETDLPATH
776 GSC_CC_O
777 LIBRARY_DEFS
778 LIB_PREFIX
779 LIB_EXTENSION
780 GAMBCLIB
781 GAMBCGSCLIB
782 GAMBCGSILIB
783 MAKE_LIBRARY
784 MAKE_LIBRARY_FOR_INSTALL
785 MAKE_LIBRARY_FOR_INSTALL_LIBS
786 LINK
787 LINK_FOR_INSTALL
788 LINK_FOR_INSTALL_GSI_LIBS
789 LINK_FOR_INSTALL_GSC_LIBS
790 INSTALL
791 INSTALL_DATA
792 INSTALL_LIB
793 INSTALL_PROGRAM
797 FIXLIB
798 X_FLAGS
799 ENABLE_SYMLINKS
800 ENABLE_MULTIPLE_VERSIONS
801 ENABLE_SHARED
802 ENABLE_ABSOLUTE_SHARED_LIBS
803 ENABLE_VERSIONNED_LIBS
804 emacsdir
805 HELP_BROWSER
806 SET_MAKE
807 LIBOBJS
808 LTLIBOBJS'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_cplusplus
813 enable_guide
814 enable_debug
815 enable_profile
816 enable_feedback1
817 enable_feedback2
818 enable_single_host
819 enable_inline_jumps
820 enable_gcc_opts
821 enable_char_size
822 enable_shared
823 enable_ansi_c
824 enable_symlinks
825 enable_multiple_versions
826 enable_absolute_shared_libs
827 enable_help_browser
828 with_x
830 ac_precious_vars='build_alias
831 host_alias
832 target_alias
834 CFLAGS
835 LDFLAGS
836 LIBS
837 CPPFLAGS
840 CXXFLAGS
842 CXXCPP
843 XMKMF'
846 # Initialize some variables set by options.
847 ac_init_help=
848 ac_init_version=false
849 ac_unrecognized_opts=
850 ac_unrecognized_sep=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
853 cache_file=/dev/null
854 exec_prefix=NONE
855 no_create=
856 no_recursion=
857 prefix=NONE
858 program_prefix=NONE
859 program_suffix=NONE
860 program_transform_name=s,x,x,
861 silent=
862 site=
863 srcdir=
864 verbose=
865 x_includes=NONE
866 x_libraries=NONE
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir='${exec_prefix}/bin'
875 sbindir='${exec_prefix}/sbin'
876 libexecdir='${exec_prefix}/libexec'
877 datarootdir='${prefix}/share'
878 datadir='${datarootdir}'
879 sysconfdir='${prefix}/etc'
880 sharedstatedir='${prefix}/com'
881 localstatedir='${prefix}/var'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir='${datarootdir}/info'
886 htmldir='${docdir}'
887 dvidir='${docdir}'
888 pdfdir='${docdir}'
889 psdir='${docdir}'
890 libdir='${exec_prefix}/lib'
891 localedir='${datarootdir}/locale'
892 mandir='${datarootdir}/man'
894 ac_prev=
895 ac_dashdash=
896 for ac_option
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\$ac_option
901 ac_prev=
902 continue
905 case $ac_option in
906 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 *) ac_optarg=yes ;;
908 esac
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
914 ac_dashdash=yes ;;
916 -bindir | --bindir | --bindi | --bind | --bin | --bi)
917 ac_prev=bindir ;;
918 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919 bindir=$ac_optarg ;;
921 -build | --build | --buil | --bui | --bu)
922 ac_prev=build_alias ;;
923 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924 build_alias=$ac_optarg ;;
926 -cache-file | --cache-file | --cache-fil | --cache-fi \
927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928 ac_prev=cache_file ;;
929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931 cache_file=$ac_optarg ;;
933 --config-cache | -C)
934 cache_file=config.cache ;;
936 -datadir | --datadir | --datadi | --datad)
937 ac_prev=datadir ;;
938 -datadir=* | --datadir=* | --datadi=* | --datad=*)
939 datadir=$ac_optarg ;;
941 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942 | --dataroo | --dataro | --datar)
943 ac_prev=datarootdir ;;
944 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946 datarootdir=$ac_optarg ;;
948 -disable-* | --disable-*)
949 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
953 { (exit 1); exit 1; }; }
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
958 "enable_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval enable_$ac_useropt=no ;;
965 -docdir | --docdir | --docdi | --doc | --do)
966 ac_prev=docdir ;;
967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968 docdir=$ac_optarg ;;
970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
971 ac_prev=dvidir ;;
972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973 dvidir=$ac_optarg ;;
975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
980 { (exit 1); exit 1; }; }
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
985 "enable_$ac_useropt"
986 "*) ;;
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
989 esac
990 eval enable_$ac_useropt=\$ac_optarg ;;
992 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
993 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
994 | --exec | --exe | --ex)
995 ac_prev=exec_prefix ;;
996 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
997 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
998 | --exec=* | --exe=* | --ex=*)
999 exec_prefix=$ac_optarg ;;
1001 -gas | --gas | --ga | --g)
1002 # Obsolete; use --with-gas.
1003 with_gas=yes ;;
1005 -help | --help | --hel | --he | -h)
1006 ac_init_help=long ;;
1007 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1008 ac_init_help=recursive ;;
1009 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1010 ac_init_help=short ;;
1012 -host | --host | --hos | --ho)
1013 ac_prev=host_alias ;;
1014 -host=* | --host=* | --hos=* | --ho=*)
1015 host_alias=$ac_optarg ;;
1017 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1018 ac_prev=htmldir ;;
1019 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1020 | --ht=*)
1021 htmldir=$ac_optarg ;;
1023 -includedir | --includedir | --includedi | --included | --include \
1024 | --includ | --inclu | --incl | --inc)
1025 ac_prev=includedir ;;
1026 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1027 | --includ=* | --inclu=* | --incl=* | --inc=*)
1028 includedir=$ac_optarg ;;
1030 -infodir | --infodir | --infodi | --infod | --info | --inf)
1031 ac_prev=infodir ;;
1032 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1033 infodir=$ac_optarg ;;
1035 -libdir | --libdir | --libdi | --libd)
1036 ac_prev=libdir ;;
1037 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1038 libdir=$ac_optarg ;;
1040 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1041 | --libexe | --libex | --libe)
1042 ac_prev=libexecdir ;;
1043 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1044 | --libexe=* | --libex=* | --libe=*)
1045 libexecdir=$ac_optarg ;;
1047 -localedir | --localedir | --localedi | --localed | --locale)
1048 ac_prev=localedir ;;
1049 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1050 localedir=$ac_optarg ;;
1052 -localstatedir | --localstatedir | --localstatedi | --localstated \
1053 | --localstate | --localstat | --localsta | --localst | --locals)
1054 ac_prev=localstatedir ;;
1055 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1056 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1057 localstatedir=$ac_optarg ;;
1059 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1060 ac_prev=mandir ;;
1061 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1062 mandir=$ac_optarg ;;
1064 -nfp | --nfp | --nf)
1065 # Obsolete; use --without-fp.
1066 with_fp=no ;;
1068 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1069 | --no-cr | --no-c | -n)
1070 no_create=yes ;;
1072 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1074 no_recursion=yes ;;
1076 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1077 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1078 | --oldin | --oldi | --old | --ol | --o)
1079 ac_prev=oldincludedir ;;
1080 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1081 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1082 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1083 oldincludedir=$ac_optarg ;;
1085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1086 ac_prev=prefix ;;
1087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1088 prefix=$ac_optarg ;;
1090 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1091 | --program-pre | --program-pr | --program-p)
1092 ac_prev=program_prefix ;;
1093 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1094 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1095 program_prefix=$ac_optarg ;;
1097 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1098 | --program-suf | --program-su | --program-s)
1099 ac_prev=program_suffix ;;
1100 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1101 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1102 program_suffix=$ac_optarg ;;
1104 -program-transform-name | --program-transform-name \
1105 | --program-transform-nam | --program-transform-na \
1106 | --program-transform-n | --program-transform- \
1107 | --program-transform | --program-transfor \
1108 | --program-transfo | --program-transf \
1109 | --program-trans | --program-tran \
1110 | --progr-tra | --program-tr | --program-t)
1111 ac_prev=program_transform_name ;;
1112 -program-transform-name=* | --program-transform-name=* \
1113 | --program-transform-nam=* | --program-transform-na=* \
1114 | --program-transform-n=* | --program-transform-=* \
1115 | --program-transform=* | --program-transfor=* \
1116 | --program-transfo=* | --program-transf=* \
1117 | --program-trans=* | --program-tran=* \
1118 | --progr-tra=* | --program-tr=* | --program-t=*)
1119 program_transform_name=$ac_optarg ;;
1121 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1122 ac_prev=pdfdir ;;
1123 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1124 pdfdir=$ac_optarg ;;
1126 -psdir | --psdir | --psdi | --psd | --ps)
1127 ac_prev=psdir ;;
1128 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1129 psdir=$ac_optarg ;;
1131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1132 | -silent | --silent | --silen | --sile | --sil)
1133 silent=yes ;;
1135 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1136 ac_prev=sbindir ;;
1137 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1138 | --sbi=* | --sb=*)
1139 sbindir=$ac_optarg ;;
1141 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1142 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1143 | --sharedst | --shareds | --shared | --share | --shar \
1144 | --sha | --sh)
1145 ac_prev=sharedstatedir ;;
1146 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1147 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1148 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1149 | --sha=* | --sh=*)
1150 sharedstatedir=$ac_optarg ;;
1152 -site | --site | --sit)
1153 ac_prev=site ;;
1154 -site=* | --site=* | --sit=*)
1155 site=$ac_optarg ;;
1157 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1158 ac_prev=srcdir ;;
1159 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160 srcdir=$ac_optarg ;;
1162 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1163 | --syscon | --sysco | --sysc | --sys | --sy)
1164 ac_prev=sysconfdir ;;
1165 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1166 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167 sysconfdir=$ac_optarg ;;
1169 -target | --target | --targe | --targ | --tar | --ta | --t)
1170 ac_prev=target_alias ;;
1171 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172 target_alias=$ac_optarg ;;
1174 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1175 verbose=yes ;;
1177 -version | --version | --versio | --versi | --vers | -V)
1178 ac_init_version=: ;;
1180 -with-* | --with-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1190 "with_$ac_useropt"
1191 "*) ;;
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1194 esac
1195 eval with_$ac_useropt=\$ac_optarg ;;
1197 -without-* | --without-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1207 "with_$ac_useropt"
1208 "*) ;;
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1211 esac
1212 eval with_$ac_useropt=no ;;
1214 --x)
1215 # Obsolete; use --with-x.
1216 with_x=yes ;;
1218 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219 | --x-incl | --x-inc | --x-in | --x-i)
1220 ac_prev=x_includes ;;
1221 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223 x_includes=$ac_optarg ;;
1225 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227 ac_prev=x_libraries ;;
1228 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230 x_libraries=$ac_optarg ;;
1232 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1237 *=*)
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1241 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 esac
1255 done
1257 if test -n "$ac_prev"; then
1258 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1265 no) ;;
1266 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1267 { (exit 1); exit 1; }; } ;;
1268 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 esac
1272 # Check all directory arguments for consistency.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val=\$$ac_var
1279 # Remove trailing slashes.
1280 case $ac_val in
1281 */ )
1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\$ac_val;;
1284 esac
1285 # Be sure to have absolute directory names.
1286 case $ac_val in
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289 esac
1290 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1292 done
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1297 build=$build_alias
1298 host=$host_alias
1299 target=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then
1304 cross_compiling=maybe
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1308 cross_compiling=yes
1312 ac_tool_prefix=
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315 test "$silent" = yes && exec 6>/dev/null
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 s//\1/
1342 /^X\(\/\/\)[^/].*/{
1343 s//\1/
1346 /^X\(\/\/\)$/{
1347 s//\1/
1350 /^X\(\/\).*/{
1351 s//\1/
1354 s/.*/./; q'`
1355 srcdir=$ac_confdir
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1357 srcdir=..
1359 else
1360 ac_srcdir_defaulted=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1368 ac_abs_confdir=`(
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1371 pwd)`
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 srcdir=.
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1379 case $srcdir in
1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 esac
1382 for ac_var in $ac_precious_vars; do
1383 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_${ac_var}_value=\$${ac_var}
1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387 done
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1395 cat <<_ACEOF
1396 \`configure' configures Gambit-C v4.4.1 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1405 Configuration:
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 [PREFIX]
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/gambc-v4_4_1]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1449 _ACEOF
1451 cat <<\_ACEOF
1453 X features:
1454 --x-includes=DIR X include files are in DIR
1455 --x-libraries=DIR X library files are in DIR
1457 System types:
1458 --build=BUILD configure for building on BUILD [guessed]
1459 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1460 --target=TARGET configure for building compilers for TARGET [HOST]
1461 _ACEOF
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive ) echo "Configuration of Gambit-C v4.4.1:";;
1467 esac
1468 cat <<\_ACEOF
1470 Optional Features:
1471 --disable-option-checking ignore unrecognized --enable/--with options
1472 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1473 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1474 --enable-cplusplus compile using C++ compiler (default is NO)
1475 --enable-guide include the Gambit Universal IDE (default is NO)
1476 --enable-debug build system so that it can be debugged (default is
1478 --enable-profile build system so that it can be profiled (default is
1480 --enable-feedback1 build system to accumulate trial run data (default
1481 is NO)
1482 --enable-feedback2 build system using trial run feedback (default is
1484 --enable-single-host compile each Scheme module as a single C function
1485 (default is NO)
1486 --enable-inline-jumps generate inline code for jumps (default is NO)
1487 --enable-gcc-opts use expensive GCC optimizations (default is NO)
1488 --enable-char-size=N Scheme character size in bytes (default is 4)
1489 --enable-shared build the Scheme runtime system as a shared library
1490 (default is NO)
1491 --enable-ansi-c link only with ANSI C libraries (default is NO)
1492 --enable-symlinks use symbolic links for installed files not in the
1493 central installation directory (default is YES)
1494 --enable-multiple-versions
1495 multiple installed versions are supported (default
1496 is NO)
1497 --enable-absolute-shared-libs
1498 shared libraries should be linked to using an
1499 absolute path (default is YES)
1500 --enable-help-browser=BROWSER
1501 Browser to use for help (default is to search)
1503 Optional Packages:
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-x use the X Window System
1508 Some influential environment variables:
1509 CC C compiler command
1510 CFLAGS C compiler flags
1511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512 nonstandard directory <lib dir>
1513 LIBS libraries to pass to the linker, e.g. -l<library>
1514 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1515 you have headers in a nonstandard directory <include dir>
1516 CPP C preprocessor
1517 CXX C++ compiler command
1518 CXXFLAGS C++ compiler flags
1519 CXXCPP C++ preprocessor
1520 XMKMF Path to xmkmf, Makefile generator for X Window System
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to <gambit@iro.umontreal.ca>.
1526 _ACEOF
1527 ac_status=$?
1530 if test "$ac_init_help" = "recursive"; then
1531 # If there are subdirs, report their specific --help.
1532 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1533 test -d "$ac_dir" ||
1534 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1535 continue
1536 ac_builddir=.
1538 case "$ac_dir" in
1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1542 # A ".." for each directory in $ac_dir_suffix.
1543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1544 case $ac_top_builddir_sub in
1545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1547 esac ;;
1548 esac
1549 ac_abs_top_builddir=$ac_pwd
1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1551 # for backward compatibility:
1552 ac_top_builddir=$ac_top_build_prefix
1554 case $srcdir in
1555 .) # We are building in place.
1556 ac_srcdir=.
1557 ac_top_srcdir=$ac_top_builddir_sub
1558 ac_abs_top_srcdir=$ac_pwd ;;
1559 [\\/]* | ?:[\\/]* ) # Absolute name.
1560 ac_srcdir=$srcdir$ac_dir_suffix;
1561 ac_top_srcdir=$srcdir
1562 ac_abs_top_srcdir=$srcdir ;;
1563 *) # Relative name.
1564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1565 ac_top_srcdir=$ac_top_build_prefix$srcdir
1566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1567 esac
1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570 cd "$ac_dir" || { ac_status=$?; continue; }
1571 # Check for guested configure.
1572 if test -f "$ac_srcdir/configure.gnu"; then
1573 echo &&
1574 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1575 elif test -f "$ac_srcdir/configure"; then
1576 echo &&
1577 $SHELL "$ac_srcdir/configure" --help=recursive
1578 else
1579 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 fi || ac_status=$?
1581 cd "$ac_pwd" || { ac_status=$?; break; }
1582 done
1585 test -n "$ac_init_help" && exit $ac_status
1586 if $ac_init_version; then
1587 cat <<\_ACEOF
1588 Gambit-C configure v4.4.1
1589 generated by GNU Autoconf 2.62
1591 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1592 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1596 Copyright (c) 1994-2009 by Marc Feeley, All Rights Reserved.
1597 _ACEOF
1598 exit
1600 cat >config.log <<_ACEOF
1601 This file contains any messages produced by compilers while
1602 running configure, to aid debugging if configure makes a mistake.
1604 It was created by Gambit-C $as_me v4.4.1, which was
1605 generated by GNU Autoconf 2.62. Invocation command line was
1607 $ $0 $@
1609 _ACEOF
1610 exec 5>>config.log
1612 cat <<_ASUNAME
1613 ## --------- ##
1614 ## Platform. ##
1615 ## --------- ##
1617 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1618 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1619 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1620 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1621 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1623 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1624 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1626 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1627 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1628 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1629 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1630 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1631 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1632 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1634 _ASUNAME
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 for as_dir in $PATH
1639 IFS=$as_save_IFS
1640 test -z "$as_dir" && as_dir=.
1641 $as_echo "PATH: $as_dir"
1642 done
1643 IFS=$as_save_IFS
1645 } >&5
1647 cat >&5 <<_ACEOF
1650 ## ----------- ##
1651 ## Core tests. ##
1652 ## ----------- ##
1654 _ACEOF
1657 # Keep a trace of the command line.
1658 # Strip out --no-create and --no-recursion so they do not pile up.
1659 # Strip out --silent because we don't want to record it for future runs.
1660 # Also quote any args containing shell meta-characters.
1661 # Make two passes to allow for proper duplicate-argument suppression.
1662 ac_configure_args=
1663 ac_configure_args0=
1664 ac_configure_args1=
1665 ac_must_keep_next=false
1666 for ac_pass in 1 2
1668 for ac_arg
1670 case $ac_arg in
1671 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1672 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1673 | -silent | --silent | --silen | --sile | --sil)
1674 continue ;;
1675 *\'*)
1676 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1677 esac
1678 case $ac_pass in
1679 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1681 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1682 if test $ac_must_keep_next = true; then
1683 ac_must_keep_next=false # Got value, back to normal.
1684 else
1685 case $ac_arg in
1686 *=* | --config-cache | -C | -disable-* | --disable-* \
1687 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1688 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1689 | -with-* | --with-* | -without-* | --without-* | --x)
1690 case "$ac_configure_args0 " in
1691 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1692 esac
1694 -* ) ac_must_keep_next=true ;;
1695 esac
1697 ac_configure_args="$ac_configure_args '$ac_arg'"
1699 esac
1700 done
1701 done
1702 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1703 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1705 # When interrupted or exit'd, cleanup temporary files, and complete
1706 # config.log. We remove comments because anyway the quotes in there
1707 # would cause problems or look ugly.
1708 # WARNING: Use '\'' to represent an apostrophe within the trap.
1709 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1710 trap 'exit_status=$?
1711 # Save into config.log some information that might help in debugging.
1713 echo
1715 cat <<\_ASBOX
1716 ## ---------------- ##
1717 ## Cache variables. ##
1718 ## ---------------- ##
1719 _ASBOX
1720 echo
1721 # The following way of writing the cache mishandles newlines in values,
1723 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1724 eval ac_val=\$$ac_var
1725 case $ac_val in #(
1726 *${as_nl}*)
1727 case $ac_var in #(
1728 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1729 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1730 esac
1731 case $ac_var in #(
1732 _ | IFS | as_nl) ;; #(
1733 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1734 *) $as_unset $ac_var ;;
1735 esac ;;
1736 esac
1737 done
1738 (set) 2>&1 |
1739 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1740 *${as_nl}ac_space=\ *)
1741 sed -n \
1742 "s/'\''/'\''\\\\'\'''\''/g;
1743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1744 ;; #(
1746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1748 esac |
1749 sort
1751 echo
1753 cat <<\_ASBOX
1754 ## ----------------- ##
1755 ## Output variables. ##
1756 ## ----------------- ##
1757 _ASBOX
1758 echo
1759 for ac_var in $ac_subst_vars
1761 eval ac_val=\$$ac_var
1762 case $ac_val in
1763 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764 esac
1765 $as_echo "$ac_var='\''$ac_val'\''"
1766 done | sort
1767 echo
1769 if test -n "$ac_subst_files"; then
1770 cat <<\_ASBOX
1771 ## ------------------- ##
1772 ## File substitutions. ##
1773 ## ------------------- ##
1774 _ASBOX
1775 echo
1776 for ac_var in $ac_subst_files
1778 eval ac_val=\$$ac_var
1779 case $ac_val in
1780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 esac
1782 $as_echo "$ac_var='\''$ac_val'\''"
1783 done | sort
1784 echo
1787 if test -s confdefs.h; then
1788 cat <<\_ASBOX
1789 ## ----------- ##
1790 ## confdefs.h. ##
1791 ## ----------- ##
1792 _ASBOX
1793 echo
1794 cat confdefs.h
1795 echo
1797 test "$ac_signal" != 0 &&
1798 $as_echo "$as_me: caught signal $ac_signal"
1799 $as_echo "$as_me: exit $exit_status"
1800 } >&5
1801 rm -f core *.core core.conftest.* &&
1802 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1803 exit $exit_status
1805 for ac_signal in 1 2 13 15; do
1806 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1807 done
1808 ac_signal=0
1810 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1811 rm -f -r conftest* confdefs.h
1813 # Predefined preprocessor variables.
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_NAME "$PACKAGE_NAME"
1817 _ACEOF
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1822 _ACEOF
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1827 _ACEOF
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_STRING "$PACKAGE_STRING"
1832 _ACEOF
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1837 _ACEOF
1840 # Let the site file select an alternate cache file if it wants to.
1841 # Prefer an explicitly selected file to automatically selected ones.
1842 ac_site_file1=NONE
1843 ac_site_file2=NONE
1844 if test -n "$CONFIG_SITE"; then
1845 ac_site_file1=$CONFIG_SITE
1846 elif test "x$prefix" != xNONE; then
1847 ac_site_file1=$prefix/share/config.site
1848 ac_site_file2=$prefix/etc/config.site
1849 else
1850 ac_site_file1=$ac_default_prefix/share/config.site
1851 ac_site_file2=$ac_default_prefix/etc/config.site
1853 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1855 test "x$ac_site_file" = xNONE && continue
1856 if test -r "$ac_site_file"; then
1857 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1858 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1859 sed 's/^/| /' "$ac_site_file" >&5
1860 . "$ac_site_file"
1862 done
1864 if test -r "$cache_file"; then
1865 # Some versions of bash will fail to source /dev/null (special
1866 # files actually), so we avoid doing that.
1867 if test -f "$cache_file"; then
1868 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1869 $as_echo "$as_me: loading cache $cache_file" >&6;}
1870 case $cache_file in
1871 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1872 *) . "./$cache_file";;
1873 esac
1875 else
1876 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1877 $as_echo "$as_me: creating cache $cache_file" >&6;}
1878 >$cache_file
1881 # Check that the precious variables saved in the cache have kept the same
1882 # value.
1883 ac_cache_corrupted=false
1884 for ac_var in $ac_precious_vars; do
1885 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1886 eval ac_new_set=\$ac_env_${ac_var}_set
1887 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1888 eval ac_new_val=\$ac_env_${ac_var}_value
1889 case $ac_old_set,$ac_new_set in
1890 set,)
1891 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1892 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1893 ac_cache_corrupted=: ;;
1894 ,set)
1895 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1896 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1897 ac_cache_corrupted=: ;;
1898 ,);;
1900 if test "x$ac_old_val" != "x$ac_new_val"; then
1901 # differences in whitespace do not lead to failure.
1902 ac_old_val_w=`echo x $ac_old_val`
1903 ac_new_val_w=`echo x $ac_new_val`
1904 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1905 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1906 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1907 ac_cache_corrupted=:
1908 else
1909 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1910 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1911 eval $ac_var=\$ac_old_val
1913 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1914 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1915 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1916 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1917 fi;;
1918 esac
1919 # Pass precious variables to config.status.
1920 if test "$ac_new_set" = set; then
1921 case $ac_new_val in
1922 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1923 *) ac_arg=$ac_var=$ac_new_val ;;
1924 esac
1925 case " $ac_configure_args " in
1926 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1927 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1928 esac
1930 done
1931 if $ac_cache_corrupted; then
1932 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1933 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1934 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1935 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1936 { (exit 1); exit 1; }; }
1963 ac_ext=c
1964 ac_cpp='$CPP $CPPFLAGS'
1965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1971 ac_config_headers="$ac_config_headers include/config.h"
1974 PACKAGE_SHORTNAME="gambc"
1989 ac_aux_dir=
1990 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1991 if test -f "$ac_dir/install-sh"; then
1992 ac_aux_dir=$ac_dir
1993 ac_install_sh="$ac_aux_dir/install-sh -c"
1994 break
1995 elif test -f "$ac_dir/install.sh"; then
1996 ac_aux_dir=$ac_dir
1997 ac_install_sh="$ac_aux_dir/install.sh -c"
1998 break
1999 elif test -f "$ac_dir/shtool"; then
2000 ac_aux_dir=$ac_dir
2001 ac_install_sh="$ac_aux_dir/shtool install -c"
2002 break
2004 done
2005 if test -z "$ac_aux_dir"; then
2006 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2007 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2008 { (exit 1); exit 1; }; }
2011 # These three variables are undocumented and unsupported,
2012 # and are intended to be withdrawn in a future Autoconf release.
2013 # They can cause serious problems if a builder's source tree is in a directory
2014 # whose full name contains unusual characters.
2015 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2020 # Make sure we can run config.sub.
2021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2022 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2023 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2024 { (exit 1); exit 1; }; }
2026 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2027 $as_echo_n "checking build system type... " >&6; }
2028 if test "${ac_cv_build+set}" = set; then
2029 $as_echo_n "(cached) " >&6
2030 else
2031 ac_build_alias=$build_alias
2032 test "x$ac_build_alias" = x &&
2033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2034 test "x$ac_build_alias" = x &&
2035 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2036 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2037 { (exit 1); exit 1; }; }
2038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2039 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2040 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2041 { (exit 1); exit 1; }; }
2044 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2045 $as_echo "$ac_cv_build" >&6; }
2046 case $ac_cv_build in
2047 *-*-*) ;;
2048 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2049 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2050 { (exit 1); exit 1; }; };;
2051 esac
2052 build=$ac_cv_build
2053 ac_save_IFS=$IFS; IFS='-'
2054 set x $ac_cv_build
2055 shift
2056 build_cpu=$1
2057 build_vendor=$2
2058 shift; shift
2059 # Remember, the first character of IFS is used to create $*,
2060 # except with old shells:
2061 build_os=$*
2062 IFS=$ac_save_IFS
2063 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2066 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2067 $as_echo_n "checking host system type... " >&6; }
2068 if test "${ac_cv_host+set}" = set; then
2069 $as_echo_n "(cached) " >&6
2070 else
2071 if test "x$host_alias" = x; then
2072 ac_cv_host=$ac_cv_build
2073 else
2074 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2075 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2076 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2077 { (exit 1); exit 1; }; }
2081 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2082 $as_echo "$ac_cv_host" >&6; }
2083 case $ac_cv_host in
2084 *-*-*) ;;
2085 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2086 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2087 { (exit 1); exit 1; }; };;
2088 esac
2089 host=$ac_cv_host
2090 ac_save_IFS=$IFS; IFS='-'
2091 set x $ac_cv_host
2092 shift
2093 host_cpu=$1
2094 host_vendor=$2
2095 shift; shift
2096 # Remember, the first character of IFS is used to create $*,
2097 # except with old shells:
2098 host_os=$*
2099 IFS=$ac_save_IFS
2100 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2103 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2104 $as_echo_n "checking target system type... " >&6; }
2105 if test "${ac_cv_target+set}" = set; then
2106 $as_echo_n "(cached) " >&6
2107 else
2108 if test "x$target_alias" = x; then
2109 ac_cv_target=$ac_cv_host
2110 else
2111 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2112 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2113 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2114 { (exit 1); exit 1; }; }
2118 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2119 $as_echo "$ac_cv_target" >&6; }
2120 case $ac_cv_target in
2121 *-*-*) ;;
2122 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2123 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2124 { (exit 1); exit 1; }; };;
2125 esac
2126 target=$ac_cv_target
2127 ac_save_IFS=$IFS; IFS='-'
2128 set x $ac_cv_target
2129 shift
2130 target_cpu=$1
2131 target_vendor=$2
2132 shift; shift
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2135 target_os=$*
2136 IFS=$ac_save_IFS
2137 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2140 # The aliases save the names the user supplied, while $host etc.
2141 # will get canonicalized.
2142 test -n "$target_alias" &&
2143 test "$program_prefix$program_suffix$program_transform_name" = \
2144 NONENONEs,x,x, &&
2145 program_prefix=${target_alias}-
2147 ###############################################################################
2149 # Accumulate subsystems to include in runtime library.
2151 RTLIBSUBSYS=""
2153 ###############################################################################
2155 # To accumulate flags and definitions for C compilation.
2157 FLAGS_OBJ=""
2158 FLAGS_DYN=""
2159 FLAGS_LIB=""
2160 FLAGS_EXE=""
2161 GSC_CC_O_DEFS="-D___DYNAMIC"
2162 LIBRARY_DEFS=""
2164 ###############################################################################
2166 # Check if the system must be compiled using the C compiler or C++ compiler.
2168 # Check whether --enable-cplusplus was given.
2169 if test "${enable_cplusplus+set}" = set; then
2170 enableval=$enable_cplusplus; ENABLE_CPLUSPLUS=$enableval
2171 else
2172 ENABLE_CPLUSPLUS=no
2176 if test "${CFLAGS+set}" != set; then
2177 CFLAGS=""
2180 if test "${CXXFLAGS+set}" != set; then
2181 CXXFLAGS=""
2184 if test "${LDFLAGS+set}" != set; then
2185 LDFLAGS=""
2188 ac_ext=c
2189 ac_cpp='$CPP $CPPFLAGS'
2190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194 ac_ext=c
2195 ac_cpp='$CPP $CPPFLAGS'
2196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2201 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 $as_echo_n "checking for $ac_word... " >&6; }
2204 if test "${ac_cv_prog_CC+set}" = set; then
2205 $as_echo_n "(cached) " >&6
2206 else
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2209 else
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2223 IFS=$as_save_IFS
2227 CC=$ac_cv_prog_CC
2228 if test -n "$CC"; then
2229 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2230 $as_echo "$CC" >&6; }
2231 else
2232 { $as_echo "$as_me:$LINENO: result: no" >&5
2233 $as_echo "no" >&6; }
2238 if test -z "$ac_cv_prog_CC"; then
2239 ac_ct_CC=$CC
2240 # Extract the first word of "gcc", so it can be a program name with args.
2241 set dummy gcc; ac_word=$2
2242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 $as_echo_n "checking for $ac_word... " >&6; }
2244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2245 $as_echo_n "(cached) " >&6
2246 else
2247 if test -n "$ac_ct_CC"; then
2248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_ac_ct_CC="gcc"
2258 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2268 if test -n "$ac_ct_CC"; then
2269 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2270 $as_echo "$ac_ct_CC" >&6; }
2271 else
2272 { $as_echo "$as_me:$LINENO: result: no" >&5
2273 $as_echo "no" >&6; }
2276 if test "x$ac_ct_CC" = x; then
2277 CC=""
2278 else
2279 case $cross_compiling:$ac_tool_warned in
2280 yes:)
2281 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2282 whose name does not start with the host triplet. If you think this
2283 configuration is useful to you, please write to autoconf@gnu.org." >&5
2284 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2285 whose name does not start with the host triplet. If you think this
2286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2287 ac_tool_warned=yes ;;
2288 esac
2289 CC=$ac_ct_CC
2291 else
2292 CC="$ac_cv_prog_CC"
2295 if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}cc; ac_word=$2
2299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if test "${ac_cv_prog_CC+set}" = set; then
2302 $as_echo_n "(cached) " >&6
2303 else
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC="$CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_CC="${ac_tool_prefix}cc"
2315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2320 IFS=$as_save_IFS
2324 CC=$ac_cv_prog_CC
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2328 else
2329 { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2336 if test -z "$CC"; then
2337 # Extract the first word of "cc", so it can be a program name with args.
2338 set dummy cc; ac_word=$2
2339 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if test "${ac_cv_prog_CC+set}" = set; then
2342 $as_echo_n "(cached) " >&6
2343 else
2344 if test -n "$CC"; then
2345 ac_cv_prog_CC="$CC" # Let the user override the test.
2346 else
2347 ac_prog_rejected=no
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 for as_dir in $PATH
2351 IFS=$as_save_IFS
2352 test -z "$as_dir" && as_dir=.
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2356 ac_prog_rejected=yes
2357 continue
2359 ac_cv_prog_CC="cc"
2360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 break 2
2363 done
2364 done
2365 IFS=$as_save_IFS
2367 if test $ac_prog_rejected = yes; then
2368 # We found a bogon in the path, so make sure we never use it.
2369 set dummy $ac_cv_prog_CC
2370 shift
2371 if test $# != 0; then
2372 # We chose a different compiler from the bogus one.
2373 # However, it has the same basename, so the bogon will be chosen
2374 # first if we set CC to just the basename; use the full file name.
2375 shift
2376 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2381 CC=$ac_cv_prog_CC
2382 if test -n "$CC"; then
2383 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2384 $as_echo "$CC" >&6; }
2385 else
2386 { $as_echo "$as_me:$LINENO: result: no" >&5
2387 $as_echo "no" >&6; }
2392 if test -z "$CC"; then
2393 if test -n "$ac_tool_prefix"; then
2394 for ac_prog in cl.exe
2396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 $as_echo_n "checking for $ac_word... " >&6; }
2400 if test "${ac_cv_prog_CC+set}" = set; then
2401 $as_echo_n "(cached) " >&6
2402 else
2403 if test -n "$CC"; then
2404 ac_cv_prog_CC="$CC" # Let the user override the test.
2405 else
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 for as_dir in $PATH
2409 IFS=$as_save_IFS
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 break 2
2417 done
2418 done
2419 IFS=$as_save_IFS
2423 CC=$ac_cv_prog_CC
2424 if test -n "$CC"; then
2425 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2426 $as_echo "$CC" >&6; }
2427 else
2428 { $as_echo "$as_me:$LINENO: result: no" >&5
2429 $as_echo "no" >&6; }
2433 test -n "$CC" && break
2434 done
2436 if test -z "$CC"; then
2437 ac_ct_CC=$CC
2438 for ac_prog in cl.exe
2440 # Extract the first word of "$ac_prog", so it can be a program name with args.
2441 set dummy $ac_prog; ac_word=$2
2442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 $as_echo_n "(cached) " >&6
2446 else
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_prog_ac_ct_CC="$ac_prog"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2463 IFS=$as_save_IFS
2467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2468 if test -n "$ac_ct_CC"; then
2469 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2470 $as_echo "$ac_ct_CC" >&6; }
2471 else
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473 $as_echo "no" >&6; }
2477 test -n "$ac_ct_CC" && break
2478 done
2480 if test "x$ac_ct_CC" = x; then
2481 CC=""
2482 else
2483 case $cross_compiling:$ac_tool_warned in
2484 yes:)
2485 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2486 whose name does not start with the host triplet. If you think this
2487 configuration is useful to you, please write to autoconf@gnu.org." >&5
2488 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2489 whose name does not start with the host triplet. If you think this
2490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2491 ac_tool_warned=yes ;;
2492 esac
2493 CC=$ac_ct_CC
2500 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2501 See \`config.log' for more details." >&5
2502 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2503 See \`config.log' for more details." >&2;}
2504 { (exit 1); exit 1; }; }
2506 # Provide some information about the compiler.
2507 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2508 set X $ac_compile
2509 ac_compiler=$2
2510 { (ac_try="$ac_compiler --version >&5"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2516 $as_echo "$ac_try_echo") >&5
2517 (eval "$ac_compiler --version >&5") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }
2521 { (ac_try="$ac_compiler -v >&5"
2522 case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2527 $as_echo "$ac_try_echo") >&5
2528 (eval "$ac_compiler -v >&5") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }
2532 { (ac_try="$ac_compiler -V >&5"
2533 case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2538 $as_echo "$ac_try_echo") >&5
2539 (eval "$ac_compiler -V >&5") 2>&5
2540 ac_status=$?
2541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2544 cat >conftest.$ac_ext <<_ACEOF
2545 /* confdefs.h. */
2546 _ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2552 main ()
2556 return 0;
2558 _ACEOF
2559 ac_clean_files_save=$ac_clean_files
2560 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2561 # Try to create an executable without -o first, disregard a.out.
2562 # It will help us diagnose broken compilers, and finding out an intuition
2563 # of exeext.
2564 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2565 $as_echo_n "checking for C compiler default output file name... " >&6; }
2566 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2568 # The possible output files:
2569 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2571 ac_rmfiles=
2572 for ac_file in $ac_files
2574 case $ac_file in
2575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2576 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2577 esac
2578 done
2579 rm -f $ac_rmfiles
2581 if { (ac_try="$ac_link_default"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2587 $as_echo "$ac_try_echo") >&5
2588 (eval "$ac_link_default") 2>&5
2589 ac_status=$?
2590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; then
2592 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2593 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2594 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2595 # so that the user can short-circuit this test for compilers unknown to
2596 # Autoconf.
2597 for ac_file in $ac_files ''
2599 test -f "$ac_file" || continue
2600 case $ac_file in
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2603 [ab].out )
2604 # We found the default executable, but exeext='' is most
2605 # certainly right.
2606 break;;
2607 *.* )
2608 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2609 then :; else
2610 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2612 # We set ac_cv_exeext here because the later test for it is not
2613 # safe: cross compilers may not add the suffix if given an `-o'
2614 # argument, so we may need to know it at that point already.
2615 # Even if this section looks crufty: it has the advantage of
2616 # actually working.
2617 break;;
2619 break;;
2620 esac
2621 done
2622 test "$ac_cv_exeext" = no && ac_cv_exeext=
2624 else
2625 ac_file=''
2628 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2629 $as_echo "$ac_file" >&6; }
2630 if test -z "$ac_file"; then
2631 $as_echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2634 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2635 See \`config.log' for more details." >&5
2636 $as_echo "$as_me: error: C compiler cannot create executables
2637 See \`config.log' for more details." >&2;}
2638 { (exit 77); exit 77; }; }
2641 ac_exeext=$ac_cv_exeext
2643 # Check that the compiler produces executables we can run. If not, either
2644 # the compiler is broken, or we cross compile.
2645 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2646 $as_echo_n "checking whether the C compiler works... " >&6; }
2647 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2648 # If not cross compiling, check that we can run a simple program.
2649 if test "$cross_compiling" != yes; then
2650 if { ac_try='./$ac_file'
2651 { (case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654 esac
2655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2656 $as_echo "$ac_try_echo") >&5
2657 (eval "$ac_try") 2>&5
2658 ac_status=$?
2659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2661 cross_compiling=no
2662 else
2663 if test "$cross_compiling" = maybe; then
2664 cross_compiling=yes
2665 else
2666 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2667 If you meant to cross compile, use \`--host'.
2668 See \`config.log' for more details." >&5
2669 $as_echo "$as_me: error: cannot run C compiled programs.
2670 If you meant to cross compile, use \`--host'.
2671 See \`config.log' for more details." >&2;}
2672 { (exit 1); exit 1; }; }
2676 { $as_echo "$as_me:$LINENO: result: yes" >&5
2677 $as_echo "yes" >&6; }
2679 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2680 ac_clean_files=$ac_clean_files_save
2681 # Check that the compiler produces executables we can run. If not, either
2682 # the compiler is broken, or we cross compile.
2683 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2684 $as_echo_n "checking whether we are cross compiling... " >&6; }
2685 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2686 $as_echo "$cross_compiling" >&6; }
2688 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2689 $as_echo_n "checking for suffix of executables... " >&6; }
2690 if { (ac_try="$ac_link"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2696 $as_echo "$ac_try_echo") >&5
2697 (eval "$ac_link") 2>&5
2698 ac_status=$?
2699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; then
2701 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2702 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2703 # work properly (i.e., refer to `conftest.exe'), while it won't with
2704 # `rm'.
2705 for ac_file in conftest.exe conftest conftest.*; do
2706 test -f "$ac_file" || continue
2707 case $ac_file in
2708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2710 break;;
2711 * ) break;;
2712 esac
2713 done
2714 else
2715 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2716 See \`config.log' for more details." >&5
2717 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2718 See \`config.log' for more details." >&2;}
2719 { (exit 1); exit 1; }; }
2722 rm -f conftest$ac_cv_exeext
2723 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2724 $as_echo "$ac_cv_exeext" >&6; }
2726 rm -f conftest.$ac_ext
2727 EXEEXT=$ac_cv_exeext
2728 ac_exeext=$EXEEXT
2729 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2730 $as_echo_n "checking for suffix of object files... " >&6; }
2731 if test "${ac_cv_objext+set}" = set; then
2732 $as_echo_n "(cached) " >&6
2733 else
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h. */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 main ()
2746 return 0;
2748 _ACEOF
2749 rm -f conftest.o conftest.obj
2750 if { (ac_try="$ac_compile"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2756 $as_echo "$ac_try_echo") >&5
2757 (eval "$ac_compile") 2>&5
2758 ac_status=$?
2759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; then
2761 for ac_file in conftest.o conftest.obj conftest.*; do
2762 test -f "$ac_file" || continue;
2763 case $ac_file in
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2766 break;;
2767 esac
2768 done
2769 else
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2774 See \`config.log' for more details." >&5
2775 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2776 See \`config.log' for more details." >&2;}
2777 { (exit 1); exit 1; }; }
2780 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2782 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2783 $as_echo "$ac_cv_objext" >&6; }
2784 OBJEXT=$ac_cv_objext
2785 ac_objext=$OBJEXT
2786 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2787 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2788 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2789 $as_echo_n "(cached) " >&6
2790 else
2791 cat >conftest.$ac_ext <<_ACEOF
2792 /* confdefs.h. */
2793 _ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2799 main ()
2801 #ifndef __GNUC__
2802 choke me
2803 #endif
2806 return 0;
2808 _ACEOF
2809 rm -f conftest.$ac_objext
2810 if { (ac_try="$ac_compile"
2811 case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814 esac
2815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2816 $as_echo "$ac_try_echo") >&5
2817 (eval "$ac_compile") 2>conftest.er1
2818 ac_status=$?
2819 grep -v '^ *+' conftest.er1 >conftest.err
2820 rm -f conftest.er1
2821 cat conftest.err >&5
2822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } && {
2824 test -z "$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest.$ac_objext; then
2827 ac_compiler_gnu=yes
2828 else
2829 $as_echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 ac_compiler_gnu=no
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2839 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2841 if test $ac_compiler_gnu = yes; then
2842 GCC=yes
2843 else
2844 GCC=
2846 ac_test_CFLAGS=${CFLAGS+set}
2847 ac_save_CFLAGS=$CFLAGS
2848 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2850 if test "${ac_cv_prog_cc_g+set}" = set; then
2851 $as_echo_n "(cached) " >&6
2852 else
2853 ac_save_c_werror_flag=$ac_c_werror_flag
2854 ac_c_werror_flag=yes
2855 ac_cv_prog_cc_g=no
2856 CFLAGS="-g"
2857 cat >conftest.$ac_ext <<_ACEOF
2858 /* confdefs.h. */
2859 _ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2865 main ()
2869 return 0;
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compile") 2>conftest.er1
2881 ac_status=$?
2882 grep -v '^ *+' conftest.er1 >conftest.err
2883 rm -f conftest.er1
2884 cat conftest.err >&5
2885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then
2890 ac_cv_prog_cc_g=yes
2891 else
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 CFLAGS=""
2896 cat >conftest.$ac_ext <<_ACEOF
2897 /* confdefs.h. */
2898 _ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2904 main ()
2908 return 0;
2910 _ACEOF
2911 rm -f conftest.$ac_objext
2912 if { (ac_try="$ac_compile"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2918 $as_echo "$ac_try_echo") >&5
2919 (eval "$ac_compile") 2>conftest.er1
2920 ac_status=$?
2921 grep -v '^ *+' conftest.er1 >conftest.err
2922 rm -f conftest.er1
2923 cat conftest.err >&5
2924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } && {
2926 test -z "$ac_c_werror_flag" ||
2927 test ! -s conftest.err
2928 } && test -s conftest.$ac_objext; then
2930 else
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 ac_c_werror_flag=$ac_save_c_werror_flag
2935 CFLAGS="-g"
2936 cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h. */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2944 main ()
2948 return 0;
2950 _ACEOF
2951 rm -f conftest.$ac_objext
2952 if { (ac_try="$ac_compile"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2958 $as_echo "$ac_try_echo") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest.$ac_objext; then
2969 ac_cv_prog_cc_g=yes
2970 else
2971 $as_echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 ac_c_werror_flag=$ac_save_c_werror_flag
2986 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2987 $as_echo "$ac_cv_prog_cc_g" >&6; }
2988 if test "$ac_test_CFLAGS" = set; then
2989 CFLAGS=$ac_save_CFLAGS
2990 elif test $ac_cv_prog_cc_g = yes; then
2991 if test "$GCC" = yes; then
2992 CFLAGS="-g -O2"
2993 else
2994 CFLAGS="-g"
2996 else
2997 if test "$GCC" = yes; then
2998 CFLAGS="-O2"
2999 else
3000 CFLAGS=
3003 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3004 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3005 if test "${ac_cv_prog_cc_c89+set}" = set; then
3006 $as_echo_n "(cached) " >&6
3007 else
3008 ac_cv_prog_cc_c89=no
3009 ac_save_CC=$CC
3010 cat >conftest.$ac_ext <<_ACEOF
3011 /* confdefs.h. */
3012 _ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3016 #include <stdarg.h>
3017 #include <stdio.h>
3018 #include <sys/types.h>
3019 #include <sys/stat.h>
3020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3021 struct buf { int x; };
3022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3023 static char *e (p, i)
3024 char **p;
3025 int i;
3027 return p[i];
3029 static char *f (char * (*g) (char **, int), char **p, ...)
3031 char *s;
3032 va_list v;
3033 va_start (v,p);
3034 s = g (p, va_arg (v,int));
3035 va_end (v);
3036 return s;
3039 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3040 function prototypes and stuff, but not '\xHH' hex character constants.
3041 These don't provoke an error unfortunately, instead are silently treated
3042 as 'x'. The following induces an error, until -std is added to get
3043 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3044 array size at least. It's necessary to write '\x00'==0 to get something
3045 that's true only with -std. */
3046 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3048 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3049 inside strings and character constants. */
3050 #define FOO(x) 'x'
3051 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3053 int test (int i, double x);
3054 struct s1 {int (*f) (int a);};
3055 struct s2 {int (*f) (double a);};
3056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3057 int argc;
3058 char **argv;
3060 main ()
3062 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3064 return 0;
3066 _ACEOF
3067 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3068 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3070 CC="$ac_save_CC $ac_arg"
3071 rm -f conftest.$ac_objext
3072 if { (ac_try="$ac_compile"
3073 case "(($ac_try" in
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079 (eval "$ac_compile") 2>conftest.er1
3080 ac_status=$?
3081 grep -v '^ *+' conftest.er1 >conftest.err
3082 rm -f conftest.er1
3083 cat conftest.err >&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } && {
3086 test -z "$ac_c_werror_flag" ||
3087 test ! -s conftest.err
3088 } && test -s conftest.$ac_objext; then
3089 ac_cv_prog_cc_c89=$ac_arg
3090 else
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3097 rm -f core conftest.err conftest.$ac_objext
3098 test "x$ac_cv_prog_cc_c89" != "xno" && break
3099 done
3100 rm -f conftest.$ac_ext
3101 CC=$ac_save_CC
3104 # AC_CACHE_VAL
3105 case "x$ac_cv_prog_cc_c89" in
3107 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3108 $as_echo "none needed" >&6; } ;;
3109 xno)
3110 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3111 $as_echo "unsupported" >&6; } ;;
3113 CC="$CC $ac_cv_prog_cc_c89"
3114 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3115 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3116 esac
3119 ac_ext=c
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3125 ac_ext=c
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3131 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3132 # On Suns, sometimes $CPP names a directory.
3133 if test -n "$CPP" && test -d "$CPP"; then
3134 CPP=
3136 if test -z "$CPP"; then
3137 if test "${ac_cv_prog_CPP+set}" = set; then
3138 $as_echo_n "(cached) " >&6
3139 else
3140 # Double quotes because CPP needs to be expanded
3141 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3143 ac_preproc_ok=false
3144 for ac_c_preproc_warn_flag in '' yes
3146 # Use a header file that comes with gcc, so configuring glibc
3147 # with a fresh cross-compiler works.
3148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3149 # <limits.h> exists even on freestanding compilers.
3150 # On the NeXT, cc -E runs the code through the compiler's parser,
3151 # not just through cpp. "Syntax error" is here to catch this case.
3152 cat >conftest.$ac_ext <<_ACEOF
3153 /* confdefs.h. */
3154 _ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3158 #ifdef __STDC__
3159 # include <limits.h>
3160 #else
3161 # include <assert.h>
3162 #endif
3163 Syntax error
3164 _ACEOF
3165 if { (ac_try="$ac_cpp conftest.$ac_ext"
3166 case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3169 esac
3170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3171 $as_echo "$ac_try_echo") >&5
3172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3173 ac_status=$?
3174 grep -v '^ *+' conftest.er1 >conftest.err
3175 rm -f conftest.er1
3176 cat conftest.err >&5
3177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } >/dev/null && {
3179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3180 test ! -s conftest.err
3181 }; then
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 # Broken: fails on valid input.
3188 continue
3191 rm -f conftest.err conftest.$ac_ext
3193 # OK, works on sane cases. Now check whether nonexistent headers
3194 # can be detected and how.
3195 cat >conftest.$ac_ext <<_ACEOF
3196 /* confdefs.h. */
3197 _ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3201 #include <ac_nonexistent.h>
3202 _ACEOF
3203 if { (ac_try="$ac_cpp conftest.$ac_ext"
3204 case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207 esac
3208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3209 $as_echo "$ac_try_echo") >&5
3210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3211 ac_status=$?
3212 grep -v '^ *+' conftest.er1 >conftest.err
3213 rm -f conftest.er1
3214 cat conftest.err >&5
3215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } >/dev/null && {
3217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 }; then
3220 # Broken: success on invalid input.
3221 continue
3222 else
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 # Passes both tests.
3227 ac_preproc_ok=:
3228 break
3231 rm -f conftest.err conftest.$ac_ext
3233 done
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.err conftest.$ac_ext
3236 if $ac_preproc_ok; then
3237 break
3240 done
3241 ac_cv_prog_CPP=$CPP
3244 CPP=$ac_cv_prog_CPP
3245 else
3246 ac_cv_prog_CPP=$CPP
3248 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3249 $as_echo "$CPP" >&6; }
3250 ac_preproc_ok=false
3251 for ac_c_preproc_warn_flag in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat >conftest.$ac_ext <<_ACEOF
3260 /* confdefs.h. */
3261 _ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3265 #ifdef __STDC__
3266 # include <limits.h>
3267 #else
3268 # include <assert.h>
3269 #endif
3270 Syntax error
3271 _ACEOF
3272 if { (ac_try="$ac_cpp conftest.$ac_ext"
3273 case "(($ac_try" in
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3276 esac
3277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3278 $as_echo "$ac_try_echo") >&5
3279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3280 ac_status=$?
3281 grep -v '^ *+' conftest.er1 >conftest.err
3282 rm -f conftest.er1
3283 cat conftest.err >&5
3284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } >/dev/null && {
3286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3287 test ! -s conftest.err
3288 }; then
3290 else
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 # Broken: fails on valid input.
3295 continue
3298 rm -f conftest.err conftest.$ac_ext
3300 # OK, works on sane cases. Now check whether nonexistent headers
3301 # can be detected and how.
3302 cat >conftest.$ac_ext <<_ACEOF
3303 /* confdefs.h. */
3304 _ACEOF
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <ac_nonexistent.h>
3309 _ACEOF
3310 if { (ac_try="$ac_cpp conftest.$ac_ext"
3311 case "(($ac_try" in
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3314 esac
3315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3316 $as_echo "$ac_try_echo") >&5
3317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3318 ac_status=$?
3319 grep -v '^ *+' conftest.er1 >conftest.err
3320 rm -f conftest.er1
3321 cat conftest.err >&5
3322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev/null && {
3324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3325 test ! -s conftest.err
3326 }; then
3327 # Broken: success on invalid input.
3328 continue
3329 else
3330 $as_echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3333 # Passes both tests.
3334 ac_preproc_ok=:
3335 break
3338 rm -f conftest.err conftest.$ac_ext
3340 done
3341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3342 rm -f conftest.err conftest.$ac_ext
3343 if $ac_preproc_ok; then
3345 else
3346 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3347 See \`config.log' for more details." >&5
3348 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3349 See \`config.log' for more details." >&2;}
3350 { (exit 1); exit 1; }; }
3353 ac_ext=c
3354 ac_cpp='$CPP $CPPFLAGS'
3355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 C_COMPILER=$CC
3360 C_PREPROC=$CPP
3362 if test "$ENABLE_CPLUSPLUS" = yes; then
3363 ac_ext=cpp
3364 ac_cpp='$CXXCPP $CPPFLAGS'
3365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3369 ac_ext=cpp
3370 ac_cpp='$CXXCPP $CPPFLAGS'
3371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3374 if test -z "$CXX"; then
3375 if test -n "$CCC"; then
3376 CXX=$CCC
3377 else
3378 if test -n "$ac_tool_prefix"; then
3379 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_CXX+set}" = set; then
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$CXX"; then
3389 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3399 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 CXX=$ac_cv_prog_CXX
3409 if test -n "$CXX"; then
3410 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3411 $as_echo "$CXX" >&6; }
3412 else
3413 { $as_echo "$as_me:$LINENO: result: no" >&5
3414 $as_echo "no" >&6; }
3418 test -n "$CXX" && break
3419 done
3421 if test -z "$CXX"; then
3422 ac_ct_CXX=$CXX
3423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3425 # Extract the first word of "$ac_prog", so it can be a program name with args.
3426 set dummy $ac_prog; ac_word=$2
3427 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3430 $as_echo_n "(cached) " >&6
3431 else
3432 if test -n "$ac_ct_CXX"; then
3433 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3434 else
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3438 IFS=$as_save_IFS
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442 ac_cv_prog_ac_ct_CXX="$ac_prog"
3443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 break 2
3446 done
3447 done
3448 IFS=$as_save_IFS
3452 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3453 if test -n "$ac_ct_CXX"; then
3454 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3455 $as_echo "$ac_ct_CXX" >&6; }
3456 else
3457 { $as_echo "$as_me:$LINENO: result: no" >&5
3458 $as_echo "no" >&6; }
3462 test -n "$ac_ct_CXX" && break
3463 done
3465 if test "x$ac_ct_CXX" = x; then
3466 CXX="g++"
3467 else
3468 case $cross_compiling:$ac_tool_warned in
3469 yes:)
3470 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3471 whose name does not start with the host triplet. If you think this
3472 configuration is useful to you, please write to autoconf@gnu.org." >&5
3473 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3474 whose name does not start with the host triplet. If you think this
3475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3476 ac_tool_warned=yes ;;
3477 esac
3478 CXX=$ac_ct_CXX
3484 # Provide some information about the compiler.
3485 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3486 set X $ac_compile
3487 ac_compiler=$2
3488 { (ac_try="$ac_compiler --version >&5"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3494 $as_echo "$ac_try_echo") >&5
3495 (eval "$ac_compiler --version >&5") 2>&5
3496 ac_status=$?
3497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }
3499 { (ac_try="$ac_compiler -v >&5"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3505 $as_echo "$ac_try_echo") >&5
3506 (eval "$ac_compiler -v >&5") 2>&5
3507 ac_status=$?
3508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }
3510 { (ac_try="$ac_compiler -V >&5"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3516 $as_echo "$ac_try_echo") >&5
3517 (eval "$ac_compiler -V >&5") 2>&5
3518 ac_status=$?
3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }
3522 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3523 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3524 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3525 $as_echo_n "(cached) " >&6
3526 else
3527 cat >conftest.$ac_ext <<_ACEOF
3528 /* confdefs.h. */
3529 _ACEOF
3530 cat confdefs.h >>conftest.$ac_ext
3531 cat >>conftest.$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3535 main ()
3537 #ifndef __GNUC__
3538 choke me
3539 #endif
3542 return 0;
3544 _ACEOF
3545 rm -f conftest.$ac_objext
3546 if { (ac_try="$ac_compile"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3552 $as_echo "$ac_try_echo") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_cxx_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3563 ac_compiler_gnu=yes
3564 else
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 ac_compiler_gnu=no
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3575 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3576 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3577 if test $ac_compiler_gnu = yes; then
3578 GXX=yes
3579 else
3580 GXX=
3582 ac_test_CXXFLAGS=${CXXFLAGS+set}
3583 ac_save_CXXFLAGS=$CXXFLAGS
3584 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3585 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3586 if test "${ac_cv_prog_cxx_g+set}" = set; then
3587 $as_echo_n "(cached) " >&6
3588 else
3589 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3590 ac_cxx_werror_flag=yes
3591 ac_cv_prog_cxx_g=no
3592 CXXFLAGS="-g"
3593 cat >conftest.$ac_ext <<_ACEOF
3594 /* confdefs.h. */
3595 _ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3601 main ()
3605 return 0;
3607 _ACEOF
3608 rm -f conftest.$ac_objext
3609 if { (ac_try="$ac_compile"
3610 case "(($ac_try" in
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3613 esac
3614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3615 $as_echo "$ac_try_echo") >&5
3616 (eval "$ac_compile") 2>conftest.er1
3617 ac_status=$?
3618 grep -v '^ *+' conftest.er1 >conftest.err
3619 rm -f conftest.er1
3620 cat conftest.err >&5
3621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } && {
3623 test -z "$ac_cxx_werror_flag" ||
3624 test ! -s conftest.err
3625 } && test -s conftest.$ac_objext; then
3626 ac_cv_prog_cxx_g=yes
3627 else
3628 $as_echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 CXXFLAGS=""
3632 cat >conftest.$ac_ext <<_ACEOF
3633 /* confdefs.h. */
3634 _ACEOF
3635 cat confdefs.h >>conftest.$ac_ext
3636 cat >>conftest.$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3640 main ()
3644 return 0;
3646 _ACEOF
3647 rm -f conftest.$ac_objext
3648 if { (ac_try="$ac_compile"
3649 case "(($ac_try" in
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3652 esac
3653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3654 $as_echo "$ac_try_echo") >&5
3655 (eval "$ac_compile") 2>conftest.er1
3656 ac_status=$?
3657 grep -v '^ *+' conftest.er1 >conftest.err
3658 rm -f conftest.er1
3659 cat conftest.err >&5
3660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && {
3662 test -z "$ac_cxx_werror_flag" ||
3663 test ! -s conftest.err
3664 } && test -s conftest.$ac_objext; then
3666 else
3667 $as_echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3670 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3671 CXXFLAGS="-g"
3672 cat >conftest.$ac_ext <<_ACEOF
3673 /* confdefs.h. */
3674 _ACEOF
3675 cat confdefs.h >>conftest.$ac_ext
3676 cat >>conftest.$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3680 main ()
3684 return 0;
3686 _ACEOF
3687 rm -f conftest.$ac_objext
3688 if { (ac_try="$ac_compile"
3689 case "(($ac_try" in
3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691 *) ac_try_echo=$ac_try;;
3692 esac
3693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3694 $as_echo "$ac_try_echo") >&5
3695 (eval "$ac_compile") 2>conftest.er1
3696 ac_status=$?
3697 grep -v '^ *+' conftest.er1 >conftest.err
3698 rm -f conftest.er1
3699 cat conftest.err >&5
3700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } && {
3702 test -z "$ac_cxx_werror_flag" ||
3703 test ! -s conftest.err
3704 } && test -s conftest.$ac_objext; then
3705 ac_cv_prog_cxx_g=yes
3706 else
3707 $as_echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3722 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3723 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3724 if test "$ac_test_CXXFLAGS" = set; then
3725 CXXFLAGS=$ac_save_CXXFLAGS
3726 elif test $ac_cv_prog_cxx_g = yes; then
3727 if test "$GXX" = yes; then
3728 CXXFLAGS="-g -O2"
3729 else
3730 CXXFLAGS="-g"
3732 else
3733 if test "$GXX" = yes; then
3734 CXXFLAGS="-O2"
3735 else
3736 CXXFLAGS=
3739 ac_ext=cpp
3740 ac_cpp='$CXXCPP $CPPFLAGS'
3741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3745 ac_ext=cpp
3746 ac_cpp='$CXXCPP $CPPFLAGS'
3747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3750 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3751 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3752 if test -z "$CXXCPP"; then
3753 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3754 $as_echo_n "(cached) " >&6
3755 else
3756 # Double quotes because CXXCPP needs to be expanded
3757 for CXXCPP in "$CXX -E" "/lib/cpp"
3759 ac_preproc_ok=false
3760 for ac_cxx_preproc_warn_flag in '' yes
3762 # Use a header file that comes with gcc, so configuring glibc
3763 # with a fresh cross-compiler works.
3764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3765 # <limits.h> exists even on freestanding compilers.
3766 # On the NeXT, cc -E runs the code through the compiler's parser,
3767 # not just through cpp. "Syntax error" is here to catch this case.
3768 cat >conftest.$ac_ext <<_ACEOF
3769 /* confdefs.h. */
3770 _ACEOF
3771 cat confdefs.h >>conftest.$ac_ext
3772 cat >>conftest.$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3774 #ifdef __STDC__
3775 # include <limits.h>
3776 #else
3777 # include <assert.h>
3778 #endif
3779 Syntax error
3780 _ACEOF
3781 if { (ac_try="$ac_cpp conftest.$ac_ext"
3782 case "(($ac_try" in
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3785 esac
3786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3787 $as_echo "$ac_try_echo") >&5
3788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3789 ac_status=$?
3790 grep -v '^ *+' conftest.er1 >conftest.err
3791 rm -f conftest.er1
3792 cat conftest.err >&5
3793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } >/dev/null && {
3795 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3796 test ! -s conftest.err
3797 }; then
3799 else
3800 $as_echo "$as_me: failed program was:" >&5
3801 sed 's/^/| /' conftest.$ac_ext >&5
3803 # Broken: fails on valid input.
3804 continue
3807 rm -f conftest.err conftest.$ac_ext
3809 # OK, works on sane cases. Now check whether nonexistent headers
3810 # can be detected and how.
3811 cat >conftest.$ac_ext <<_ACEOF
3812 /* confdefs.h. */
3813 _ACEOF
3814 cat confdefs.h >>conftest.$ac_ext
3815 cat >>conftest.$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3817 #include <ac_nonexistent.h>
3818 _ACEOF
3819 if { (ac_try="$ac_cpp conftest.$ac_ext"
3820 case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3825 $as_echo "$ac_try_echo") >&5
3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827 ac_status=$?
3828 grep -v '^ *+' conftest.er1 >conftest.err
3829 rm -f conftest.er1
3830 cat conftest.err >&5
3831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev/null && {
3833 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3834 test ! -s conftest.err
3835 }; then
3836 # Broken: success on invalid input.
3837 continue
3838 else
3839 $as_echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.$ac_ext >&5
3842 # Passes both tests.
3843 ac_preproc_ok=:
3844 break
3847 rm -f conftest.err conftest.$ac_ext
3849 done
3850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3851 rm -f conftest.err conftest.$ac_ext
3852 if $ac_preproc_ok; then
3853 break
3856 done
3857 ac_cv_prog_CXXCPP=$CXXCPP
3860 CXXCPP=$ac_cv_prog_CXXCPP
3861 else
3862 ac_cv_prog_CXXCPP=$CXXCPP
3864 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
3865 $as_echo "$CXXCPP" >&6; }
3866 ac_preproc_ok=false
3867 for ac_cxx_preproc_warn_flag in '' yes
3869 # Use a header file that comes with gcc, so configuring glibc
3870 # with a fresh cross-compiler works.
3871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3872 # <limits.h> exists even on freestanding compilers.
3873 # On the NeXT, cc -E runs the code through the compiler's parser,
3874 # not just through cpp. "Syntax error" is here to catch this case.
3875 cat >conftest.$ac_ext <<_ACEOF
3876 /* confdefs.h. */
3877 _ACEOF
3878 cat confdefs.h >>conftest.$ac_ext
3879 cat >>conftest.$ac_ext <<_ACEOF
3880 /* end confdefs.h. */
3881 #ifdef __STDC__
3882 # include <limits.h>
3883 #else
3884 # include <assert.h>
3885 #endif
3886 Syntax error
3887 _ACEOF
3888 if { (ac_try="$ac_cpp conftest.$ac_ext"
3889 case "(($ac_try" in
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3892 esac
3893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3894 $as_echo "$ac_try_echo") >&5
3895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3896 ac_status=$?
3897 grep -v '^ *+' conftest.er1 >conftest.err
3898 rm -f conftest.er1
3899 cat conftest.err >&5
3900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); } >/dev/null && {
3902 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3903 test ! -s conftest.err
3904 }; then
3906 else
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 # Broken: fails on valid input.
3911 continue
3914 rm -f conftest.err conftest.$ac_ext
3916 # OK, works on sane cases. Now check whether nonexistent headers
3917 # can be detected and how.
3918 cat >conftest.$ac_ext <<_ACEOF
3919 /* confdefs.h. */
3920 _ACEOF
3921 cat confdefs.h >>conftest.$ac_ext
3922 cat >>conftest.$ac_ext <<_ACEOF
3923 /* end confdefs.h. */
3924 #include <ac_nonexistent.h>
3925 _ACEOF
3926 if { (ac_try="$ac_cpp conftest.$ac_ext"
3927 case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3932 $as_echo "$ac_try_echo") >&5
3933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3934 ac_status=$?
3935 grep -v '^ *+' conftest.er1 >conftest.err
3936 rm -f conftest.er1
3937 cat conftest.err >&5
3938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } >/dev/null && {
3940 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3941 test ! -s conftest.err
3942 }; then
3943 # Broken: success on invalid input.
3944 continue
3945 else
3946 $as_echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3949 # Passes both tests.
3950 ac_preproc_ok=:
3951 break
3954 rm -f conftest.err conftest.$ac_ext
3956 done
3957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3958 rm -f conftest.err conftest.$ac_ext
3959 if $ac_preproc_ok; then
3961 else
3962 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3963 See \`config.log' for more details." >&5
3964 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3965 See \`config.log' for more details." >&2;}
3966 { (exit 1); exit 1; }; }
3969 ac_ext=cpp
3970 ac_cpp='$CXXCPP $CPPFLAGS'
3971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3975 C_COMPILER=$CXX
3976 C_PREPROC=$CXXCPP
3982 ###############################################################################
3984 # Check if the system must include GUIDE (Gambit Universal IDE).
3986 # Check whether --enable-guide was given.
3987 if test "${enable_guide+set}" = set; then
3988 enableval=$enable_guide; ENABLE_GUIDE=$enableval
3989 else
3990 ENABLE_GUIDE=no
3994 if test "$ENABLE_GUIDE" = yes; then
3995 if test "$ENABLE_CPLUSPLUS" = yes; then
3997 # Determine if Qt is available, if the version is good, etc
3999 ac_qmake='qmake -o conftest.qt /dev/null >&5'
4001 rm -f conftest.qt
4003 if { (eval echo "$as_me:$LINENO: \"$ac_qmake\"") >&5
4004 (eval $ac_qmake) 2>&5
4005 ac_status=$?
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); }; then
4009 ac_qt_version_check="grep -q '^# Generated by qmake ([^)]*) (Qt 3\\.3\\..*' conftest.qt"
4011 if { (eval echo "$as_me:$LINENO: \"$ac_qt_version_check\"") >&5
4012 (eval $ac_qt_version_check) 2>&5
4013 ac_status=$?
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); }; then
4017 QTINCPATH=`sed -n -e '/^INCPATH[ ]*=[ ]*\(.*\)/s//\1/p' conftest.qt`
4018 QTLIBS=`sed -n -e '/^LIBS[ ]*=[ ]*\\\$(SUBLIBS)[ ]*\(.*\)/s//\1/p' conftest.qt`
4020 else
4022 qt_version=`sed -n -e '/^# Generated by qmake (\([^)]*\)) (Qt \([0-9]*\.[0-9]*\).*/s//\2/p' conftest.qt`
4024 ENABLE_GUIDE=no
4025 { $as_echo "$as_me:$LINENO:
4026 ************************************************************************
4027 *** The Gambit Universal IDE requires that the system be built using ***
4028 *** the Qt GUI library version 3.3. Version $qt_version of Qt is currently ***
4029 *** installed. ***
4030 ************************************************************************
4031 " >&5
4032 $as_echo "$as_me:
4033 ************************************************************************
4034 *** The Gambit Universal IDE requires that the system be built using ***
4035 *** the Qt GUI library version 3.3. Version $qt_version of Qt is currently ***
4036 *** installed. ***
4037 ************************************************************************
4038 " >&6;}
4042 else
4044 ENABLE_GUIDE=no
4045 { $as_echo "$as_me:$LINENO:
4046 ************************************************************************
4047 *** The Gambit Universal IDE requires that the system be built using ***
4048 *** the Qt GUI library. This library could not be located. Make ***
4049 *** sure that the program qmake is in your PATH. ***
4050 ************************************************************************
4051 " >&5
4052 $as_echo "$as_me:
4053 ************************************************************************
4054 *** The Gambit Universal IDE requires that the system be built using ***
4055 *** the Qt GUI library. This library could not be located. Make ***
4056 *** sure that the program qmake is in your PATH. ***
4057 ************************************************************************
4058 " >&6;}
4062 else
4064 ENABLE_GUIDE=no
4065 { $as_echo "$as_me:$LINENO:
4066 ************************************************************************
4067 *** The Gambit Universal IDE requires that the system be built using ***
4068 *** a C++ compiler. You must specify both \"--enable-cplusplus\" and ***
4069 *** \"--enable-guide\" to include the Gambit Universal IDE. ***
4070 ************************************************************************
4071 " >&5
4072 $as_echo "$as_me:
4073 ************************************************************************
4074 *** The Gambit Universal IDE requires that the system be built using ***
4075 *** a C++ compiler. You must specify both \"--enable-cplusplus\" and ***
4076 *** \"--enable-guide\" to include the Gambit Universal IDE. ***
4077 ************************************************************************
4078 " >&6;}
4083 if test "$ENABLE_GUIDE" = yes; then
4084 cat >>confdefs.h <<\_ACEOF
4085 #define ___GUIDE 1
4086 _ACEOF
4089 RTLIBSUBSYS="$RTLIBSUBSYS guide"
4090 LIBS="$LIBS $QTLIBS"
4095 ###############################################################################
4097 # Check if the system is to be debugged.
4099 # Check whether --enable-debug was given.
4100 if test "${enable_debug+set}" = set; then
4101 enableval=$enable_debug; ENABLE_DEBUG=$enableval
4102 else
4103 ENABLE_DEBUG=no
4107 if test "$ENABLE_DEBUG" = yes; then
4108 cat >>confdefs.h <<\_ACEOF
4109 #define ___DEBUG 1
4110 _ACEOF
4112 GSC_CC_O_DEFS="$GSC_CC_O_DEFS -D___DEBUG"
4115 ###############################################################################
4117 # Check if the system is to be profiled.
4119 # Check whether --enable-profile was given.
4120 if test "${enable_profile+set}" = set; then
4121 enableval=$enable_profile; ENABLE_PROFILE=$enableval
4122 else
4123 ENABLE_PROFILE=no
4127 if test "$ENABLE_PROFILE" = yes; then
4128 cat >>confdefs.h <<\_ACEOF
4129 #define ___PROFILE 1
4130 _ACEOF
4132 GSC_CC_O_DEFS="$GSC_CC_O_DEFS -D___PROFILE"
4135 ###############################################################################
4137 # Check if the system is to be compiled with trial run feedback.
4139 # Check whether --enable-feedback1 was given.
4140 if test "${enable_feedback1+set}" = set; then
4141 enableval=$enable_feedback1; ENABLE_FEEDBACK1=$enableval
4142 else
4143 ENABLE_FEEDBACK1=no
4147 # Check whether --enable-feedback2 was given.
4148 if test "${enable_feedback2+set}" = set; then
4149 enableval=$enable_feedback2; ENABLE_FEEDBACK2=$enableval
4150 else
4151 ENABLE_FEEDBACK2=no
4155 ###############################################################################
4157 # Check if a single C function should be generated for all the Scheme
4158 # functions in a file. This makes the executable much faster but the
4159 # compilation will be much longer and take much more memory.
4161 # Check whether --enable-single-host was given.
4162 if test "${enable_single_host+set}" = set; then
4163 enableval=$enable_single_host; ENABLE_SINGLE_HOST=$enableval
4164 else
4165 ENABLE_SINGLE_HOST=no
4169 if test "$ENABLE_SINGLE_HOST" = yes; then
4170 cat >>confdefs.h <<\_ACEOF
4171 #define ___SINGLE_HOST 1
4172 _ACEOF
4174 GSC_CC_O_DEFS="$GSC_CC_O_DEFS -D___SINGLE_HOST"
4177 ###############################################################################
4179 # Check if inline code should be generated for jumps. It is possible
4180 # that on some platforms this will result in a faster but larger
4181 # executable program.
4183 # Check whether --enable-inline-jumps was given.
4184 if test "${enable_inline_jumps+set}" = set; then
4185 enableval=$enable_inline_jumps; ENABLE_INLINE_JUMPS=$enableval
4186 else
4187 ENABLE_INLINE_JUMPS=no
4191 if test "$ENABLE_INLINE_JUMPS" = yes; then
4192 cat >>confdefs.h <<\_ACEOF
4193 #define ___INLINE_JUMPS 1
4194 _ACEOF
4196 GSC_CC_O_DEFS="$GSC_CC_O_DEFS -D___INLINE_JUMPS"
4199 ###############################################################################
4201 # Check if expensive GCC optimizations should be used. This makes the
4202 # executable faster but the compilation will be much longer and take
4203 # much more memory.
4205 # Check whether --enable-gcc-opts was given.
4206 if test "${enable_gcc_opts+set}" = set; then
4207 enableval=$enable_gcc_opts; ENABLE_GCC_OPTS=$enableval
4208 else
4209 ENABLE_GCC_OPTS=no
4213 ###############################################################################
4215 # Check the width of Scheme characters.
4217 # Check whether --enable-char-size was given.
4218 if test "${enable_char_size+set}" = set; then
4219 enableval=$enable_char_size; CHAR_SIZE=$enableval
4220 else
4221 CHAR_SIZE=4
4225 if test "$CHAR_SIZE" = 1; then
4226 CONF_MAX_CHR="0xff"
4227 else
4228 if test "$CHAR_SIZE" = 2; then
4229 CONF_MAX_CHR="0xffff"
4230 else
4231 CONF_MAX_CHR="0x10ffff"
4237 ###############################################################################
4239 # Check the size of the type "void*". On many systems it is the same
4240 # size as "long". If this isn't the case then define
4241 # ___VOIDSTAR_WIDTH appropriately.
4245 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4246 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4247 if test "${ac_cv_path_GREP+set}" = set; then
4248 $as_echo_n "(cached) " >&6
4249 else
4250 if test -z "$GREP"; then
4251 ac_path_GREP_found=false
4252 # Loop through the user's path and test for each of PROGNAME-LIST
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4256 IFS=$as_save_IFS
4257 test -z "$as_dir" && as_dir=.
4258 for ac_prog in grep ggrep; do
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4261 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4262 # Check for GNU ac_path_GREP and select it if it is found.
4263 # Check for GNU $ac_path_GREP
4264 case `"$ac_path_GREP" --version 2>&1` in
4265 *GNU*)
4266 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4268 ac_count=0
4269 $as_echo_n 0123456789 >"conftest.in"
4270 while :
4272 cat "conftest.in" "conftest.in" >"conftest.tmp"
4273 mv "conftest.tmp" "conftest.in"
4274 cp "conftest.in" "conftest.nl"
4275 $as_echo 'GREP' >> "conftest.nl"
4276 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4277 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4278 ac_count=`expr $ac_count + 1`
4279 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4280 # Best one so far, save it but keep looking for a better one
4281 ac_cv_path_GREP="$ac_path_GREP"
4282 ac_path_GREP_max=$ac_count
4284 # 10*(2^10) chars as input seems more than enough
4285 test $ac_count -gt 10 && break
4286 done
4287 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4288 esac
4290 $ac_path_GREP_found && break 3
4291 done
4292 done
4293 done
4294 IFS=$as_save_IFS
4295 if test -z "$ac_cv_path_GREP"; then
4296 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4297 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4298 { (exit 1); exit 1; }; }
4300 else
4301 ac_cv_path_GREP=$GREP
4305 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4306 $as_echo "$ac_cv_path_GREP" >&6; }
4307 GREP="$ac_cv_path_GREP"
4310 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4311 $as_echo_n "checking for egrep... " >&6; }
4312 if test "${ac_cv_path_EGREP+set}" = set; then
4313 $as_echo_n "(cached) " >&6
4314 else
4315 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4316 then ac_cv_path_EGREP="$GREP -E"
4317 else
4318 if test -z "$EGREP"; then
4319 ac_path_EGREP_found=false
4320 # Loop through the user's path and test for each of PROGNAME-LIST
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4324 IFS=$as_save_IFS
4325 test -z "$as_dir" && as_dir=.
4326 for ac_prog in egrep; do
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4329 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4330 # Check for GNU ac_path_EGREP and select it if it is found.
4331 # Check for GNU $ac_path_EGREP
4332 case `"$ac_path_EGREP" --version 2>&1` in
4333 *GNU*)
4334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4336 ac_count=0
4337 $as_echo_n 0123456789 >"conftest.in"
4338 while :
4340 cat "conftest.in" "conftest.in" >"conftest.tmp"
4341 mv "conftest.tmp" "conftest.in"
4342 cp "conftest.in" "conftest.nl"
4343 $as_echo 'EGREP' >> "conftest.nl"
4344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4346 ac_count=`expr $ac_count + 1`
4347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4348 # Best one so far, save it but keep looking for a better one
4349 ac_cv_path_EGREP="$ac_path_EGREP"
4350 ac_path_EGREP_max=$ac_count
4352 # 10*(2^10) chars as input seems more than enough
4353 test $ac_count -gt 10 && break
4354 done
4355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356 esac
4358 $ac_path_EGREP_found && break 3
4359 done
4360 done
4361 done
4362 IFS=$as_save_IFS
4363 if test -z "$ac_cv_path_EGREP"; then
4364 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4365 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4366 { (exit 1); exit 1; }; }
4368 else
4369 ac_cv_path_EGREP=$EGREP
4374 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4375 $as_echo "$ac_cv_path_EGREP" >&6; }
4376 EGREP="$ac_cv_path_EGREP"
4379 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4380 $as_echo_n "checking for ANSI C header files... " >&6; }
4381 if test "${ac_cv_header_stdc+set}" = set; then
4382 $as_echo_n "(cached) " >&6
4383 else
4384 cat >conftest.$ac_ext <<_ACEOF
4385 /* confdefs.h. */
4386 _ACEOF
4387 cat confdefs.h >>conftest.$ac_ext
4388 cat >>conftest.$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4390 #include <stdlib.h>
4391 #include <stdarg.h>
4392 #include <string.h>
4393 #include <float.h>
4396 main ()
4400 return 0;
4402 _ACEOF
4403 rm -f conftest.$ac_objext
4404 if { (ac_try="$ac_compile"
4405 case "(($ac_try" in
4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4408 esac
4409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4410 $as_echo "$ac_try_echo") >&5
4411 (eval "$ac_compile") 2>conftest.er1
4412 ac_status=$?
4413 grep -v '^ *+' conftest.er1 >conftest.err
4414 rm -f conftest.er1
4415 cat conftest.err >&5
4416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } && {
4418 test -z "$ac_cxx_werror_flag" ||
4419 test ! -s conftest.err
4420 } && test -s conftest.$ac_objext; then
4421 ac_cv_header_stdc=yes
4422 else
4423 $as_echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 ac_cv_header_stdc=no
4429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 if test $ac_cv_header_stdc = yes; then
4432 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4433 cat >conftest.$ac_ext <<_ACEOF
4434 /* confdefs.h. */
4435 _ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 #include <string.h>
4441 _ACEOF
4442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4443 $EGREP "memchr" >/dev/null 2>&1; then
4445 else
4446 ac_cv_header_stdc=no
4448 rm -f conftest*
4452 if test $ac_cv_header_stdc = yes; then
4453 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4454 cat >conftest.$ac_ext <<_ACEOF
4455 /* confdefs.h. */
4456 _ACEOF
4457 cat confdefs.h >>conftest.$ac_ext
4458 cat >>conftest.$ac_ext <<_ACEOF
4459 /* end confdefs.h. */
4460 #include <stdlib.h>
4462 _ACEOF
4463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4464 $EGREP "free" >/dev/null 2>&1; then
4466 else
4467 ac_cv_header_stdc=no
4469 rm -f conftest*
4473 if test $ac_cv_header_stdc = yes; then
4474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4475 if test "$cross_compiling" = yes; then
4477 else
4478 cat >conftest.$ac_ext <<_ACEOF
4479 /* confdefs.h. */
4480 _ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 #include <ctype.h>
4485 #include <stdlib.h>
4486 #if ((' ' & 0x0FF) == 0x020)
4487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4489 #else
4490 # define ISLOWER(c) \
4491 (('a' <= (c) && (c) <= 'i') \
4492 || ('j' <= (c) && (c) <= 'r') \
4493 || ('s' <= (c) && (c) <= 'z'))
4494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4495 #endif
4497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4499 main ()
4501 int i;
4502 for (i = 0; i < 256; i++)
4503 if (XOR (islower (i), ISLOWER (i))
4504 || toupper (i) != TOUPPER (i))
4505 return 2;
4506 return 0;
4508 _ACEOF
4509 rm -f conftest$ac_exeext
4510 if { (ac_try="$ac_link"
4511 case "(($ac_try" in
4512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4514 esac
4515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4516 $as_echo "$ac_try_echo") >&5
4517 (eval "$ac_link") 2>&5
4518 ac_status=$?
4519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4521 { (case "(($ac_try" in
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4524 esac
4525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4526 $as_echo "$ac_try_echo") >&5
4527 (eval "$ac_try") 2>&5
4528 ac_status=$?
4529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4532 else
4533 $as_echo "$as_me: program exited with status $ac_status" >&5
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 ( exit $ac_status )
4538 ac_cv_header_stdc=no
4540 rm -rf conftest.dSYM
4541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4547 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4548 $as_echo "$ac_cv_header_stdc" >&6; }
4549 if test $ac_cv_header_stdc = yes; then
4551 cat >>confdefs.h <<\_ACEOF
4552 #define STDC_HEADERS 1
4553 _ACEOF
4557 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4567 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4568 inttypes.h stdint.h unistd.h
4570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4571 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4572 $as_echo_n "checking for $ac_header... " >&6; }
4573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4574 $as_echo_n "(cached) " >&6
4575 else
4576 cat >conftest.$ac_ext <<_ACEOF
4577 /* confdefs.h. */
4578 _ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 $ac_includes_default
4584 #include <$ac_header>
4585 _ACEOF
4586 rm -f conftest.$ac_objext
4587 if { (ac_try="$ac_compile"
4588 case "(($ac_try" in
4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4591 esac
4592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4593 $as_echo "$ac_try_echo") >&5
4594 (eval "$ac_compile") 2>conftest.er1
4595 ac_status=$?
4596 grep -v '^ *+' conftest.er1 >conftest.err
4597 rm -f conftest.er1
4598 cat conftest.err >&5
4599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } && {
4601 test -z "$ac_cxx_werror_flag" ||
4602 test ! -s conftest.err
4603 } && test -s conftest.$ac_objext; then
4604 eval "$as_ac_Header=yes"
4605 else
4606 $as_echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4609 eval "$as_ac_Header=no"
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 ac_res=`eval 'as_val=${'$as_ac_Header'}
4615 $as_echo "$as_val"'`
4616 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4617 $as_echo "$ac_res" >&6; }
4618 if test `eval 'as_val=${'$as_ac_Header'}
4619 $as_echo "$as_val"'` = yes; then
4620 cat >>confdefs.h <<_ACEOF
4621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4622 _ACEOF
4626 done
4629 # The cast to long int works around a bug in the HP C Compiler
4630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4632 # This bug is HP SR number 8606223364.
4633 { $as_echo "$as_me:$LINENO: checking size of void*" >&5
4634 $as_echo_n "checking size of void*... " >&6; }
4635 if test "${ac_cv_sizeof_voidp+set}" = set; then
4636 $as_echo_n "(cached) " >&6
4637 else
4638 if test "$cross_compiling" = yes; then
4639 # Depending upon the size, compute the lo and hi bounds.
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 $ac_includes_default
4648 main ()
4650 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
4651 test_array [0] = 0
4654 return 0;
4656 _ACEOF
4657 rm -f conftest.$ac_objext
4658 if { (ac_try="$ac_compile"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664 $as_echo "$ac_try_echo") >&5
4665 (eval "$ac_compile") 2>conftest.er1
4666 ac_status=$?
4667 grep -v '^ *+' conftest.er1 >conftest.err
4668 rm -f conftest.er1
4669 cat conftest.err >&5
4670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } && {
4672 test -z "$ac_cxx_werror_flag" ||
4673 test ! -s conftest.err
4674 } && test -s conftest.$ac_objext; then
4675 ac_lo=0 ac_mid=0
4676 while :; do
4677 cat >conftest.$ac_ext <<_ACEOF
4678 /* confdefs.h. */
4679 _ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4683 $ac_includes_default
4685 main ()
4687 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
4688 test_array [0] = 0
4691 return 0;
4693 _ACEOF
4694 rm -f conftest.$ac_objext
4695 if { (ac_try="$ac_compile"
4696 case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4699 esac
4700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4701 $as_echo "$ac_try_echo") >&5
4702 (eval "$ac_compile") 2>conftest.er1
4703 ac_status=$?
4704 grep -v '^ *+' conftest.er1 >conftest.err
4705 rm -f conftest.er1
4706 cat conftest.err >&5
4707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } && {
4709 test -z "$ac_cxx_werror_flag" ||
4710 test ! -s conftest.err
4711 } && test -s conftest.$ac_objext; then
4712 ac_hi=$ac_mid; break
4713 else
4714 $as_echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.$ac_ext >&5
4717 ac_lo=`expr $ac_mid + 1`
4718 if test $ac_lo -le $ac_mid; then
4719 ac_lo= ac_hi=
4720 break
4722 ac_mid=`expr 2 '*' $ac_mid + 1`
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 done
4727 else
4728 $as_echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.$ac_ext >&5
4731 cat >conftest.$ac_ext <<_ACEOF
4732 /* confdefs.h. */
4733 _ACEOF
4734 cat confdefs.h >>conftest.$ac_ext
4735 cat >>conftest.$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4737 $ac_includes_default
4739 main ()
4741 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
4742 test_array [0] = 0
4745 return 0;
4747 _ACEOF
4748 rm -f conftest.$ac_objext
4749 if { (ac_try="$ac_compile"
4750 case "(($ac_try" in
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4753 esac
4754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4755 $as_echo "$ac_try_echo") >&5
4756 (eval "$ac_compile") 2>conftest.er1
4757 ac_status=$?
4758 grep -v '^ *+' conftest.er1 >conftest.err
4759 rm -f conftest.er1
4760 cat conftest.err >&5
4761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } && {
4763 test -z "$ac_cxx_werror_flag" ||
4764 test ! -s conftest.err
4765 } && test -s conftest.$ac_objext; then
4766 ac_hi=-1 ac_mid=-1
4767 while :; do
4768 cat >conftest.$ac_ext <<_ACEOF
4769 /* confdefs.h. */
4770 _ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 $ac_includes_default
4776 main ()
4778 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
4779 test_array [0] = 0
4782 return 0;
4784 _ACEOF
4785 rm -f conftest.$ac_objext
4786 if { (ac_try="$ac_compile"
4787 case "(($ac_try" in
4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4790 esac
4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4792 $as_echo "$ac_try_echo") >&5
4793 (eval "$ac_compile") 2>conftest.er1
4794 ac_status=$?
4795 grep -v '^ *+' conftest.er1 >conftest.err
4796 rm -f conftest.er1
4797 cat conftest.err >&5
4798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } && {
4800 test -z "$ac_cxx_werror_flag" ||
4801 test ! -s conftest.err
4802 } && test -s conftest.$ac_objext; then
4803 ac_lo=$ac_mid; break
4804 else
4805 $as_echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4808 ac_hi=`expr '(' $ac_mid ')' - 1`
4809 if test $ac_mid -le $ac_hi; then
4810 ac_lo= ac_hi=
4811 break
4813 ac_mid=`expr 2 '*' $ac_mid`
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 done
4818 else
4819 $as_echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4822 ac_lo= ac_hi=
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4829 # Binary search between lo and hi bounds.
4830 while test "x$ac_lo" != "x$ac_hi"; do
4831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4832 cat >conftest.$ac_ext <<_ACEOF
4833 /* confdefs.h. */
4834 _ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 $ac_includes_default
4840 main ()
4842 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
4843 test_array [0] = 0
4846 return 0;
4848 _ACEOF
4849 rm -f conftest.$ac_objext
4850 if { (ac_try="$ac_compile"
4851 case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854 esac
4855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4856 $as_echo "$ac_try_echo") >&5
4857 (eval "$ac_compile") 2>conftest.er1
4858 ac_status=$?
4859 grep -v '^ *+' conftest.er1 >conftest.err
4860 rm -f conftest.er1
4861 cat conftest.err >&5
4862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } && {
4864 test -z "$ac_cxx_werror_flag" ||
4865 test ! -s conftest.err
4866 } && test -s conftest.$ac_objext; then
4867 ac_hi=$ac_mid
4868 else
4869 $as_echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 ac_lo=`expr '(' $ac_mid ')' + 1`
4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 done
4877 case $ac_lo in
4878 ?*) ac_cv_sizeof_voidp=$ac_lo;;
4879 '') if test "$ac_cv_type_voidp" = yes; then
4880 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
4881 See \`config.log' for more details." >&5
4882 $as_echo "$as_me: error: cannot compute sizeof (void*)
4883 See \`config.log' for more details." >&2;}
4884 { (exit 77); exit 77; }; }
4885 else
4886 ac_cv_sizeof_voidp=0
4887 fi ;;
4888 esac
4889 else
4890 cat >conftest.$ac_ext <<_ACEOF
4891 /* confdefs.h. */
4892 _ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 $ac_includes_default
4897 static long int longval () { return (long int) (sizeof (void*)); }
4898 static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
4899 #include <stdio.h>
4900 #include <stdlib.h>
4902 main ()
4905 FILE *f = fopen ("conftest.val", "w");
4906 if (! f)
4907 return 1;
4908 if (((long int) (sizeof (void*))) < 0)
4910 long int i = longval ();
4911 if (i != ((long int) (sizeof (void*))))
4912 return 1;
4913 fprintf (f, "%ld", i);
4915 else
4917 unsigned long int i = ulongval ();
4918 if (i != ((long int) (sizeof (void*))))
4919 return 1;
4920 fprintf (f, "%lu", i);
4922 /* Do not output a trailing newline, as this causes \r\n confusion
4923 on some platforms. */
4924 return ferror (f) || fclose (f) != 0;
4927 return 0;
4929 _ACEOF
4930 rm -f conftest$ac_exeext
4931 if { (ac_try="$ac_link"
4932 case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4937 $as_echo "$ac_try_echo") >&5
4938 (eval "$ac_link") 2>&5
4939 ac_status=$?
4940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4942 { (case "(($ac_try" in
4943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944 *) ac_try_echo=$ac_try;;
4945 esac
4946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4947 $as_echo "$ac_try_echo") >&5
4948 (eval "$ac_try") 2>&5
4949 ac_status=$?
4950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_cv_sizeof_voidp=`cat conftest.val`
4953 else
4954 $as_echo "$as_me: program exited with status $ac_status" >&5
4955 $as_echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.$ac_ext >&5
4958 ( exit $ac_status )
4959 if test "$ac_cv_type_voidp" = yes; then
4960 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
4961 See \`config.log' for more details." >&5
4962 $as_echo "$as_me: error: cannot compute sizeof (void*)
4963 See \`config.log' for more details." >&2;}
4964 { (exit 77); exit 77; }; }
4965 else
4966 ac_cv_sizeof_voidp=0
4969 rm -rf conftest.dSYM
4970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4972 rm -f conftest.val
4974 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
4975 $as_echo "$ac_cv_sizeof_voidp" >&6; }
4979 cat >>confdefs.h <<_ACEOF
4980 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
4981 _ACEOF
4984 # The cast to long int works around a bug in the HP C Compiler
4985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4987 # This bug is HP SR number 8606223364.
4988 { $as_echo "$as_me:$LINENO: checking size of long" >&5
4989 $as_echo_n "checking size of long... " >&6; }
4990 if test "${ac_cv_sizeof_long+set}" = set; then
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test "$cross_compiling" = yes; then
4994 # Depending upon the size, compute the lo and hi bounds.
4995 cat >conftest.$ac_ext <<_ACEOF
4996 /* confdefs.h. */
4997 _ACEOF
4998 cat confdefs.h >>conftest.$ac_ext
4999 cat >>conftest.$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5001 $ac_includes_default
5003 main ()
5005 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
5006 test_array [0] = 0
5009 return 0;
5011 _ACEOF
5012 rm -f conftest.$ac_objext
5013 if { (ac_try="$ac_compile"
5014 case "(($ac_try" in
5015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 *) ac_try_echo=$ac_try;;
5017 esac
5018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5019 $as_echo "$ac_try_echo") >&5
5020 (eval "$ac_compile") 2>conftest.er1
5021 ac_status=$?
5022 grep -v '^ *+' conftest.er1 >conftest.err
5023 rm -f conftest.er1
5024 cat conftest.err >&5
5025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } && {
5027 test -z "$ac_cxx_werror_flag" ||
5028 test ! -s conftest.err
5029 } && test -s conftest.$ac_objext; then
5030 ac_lo=0 ac_mid=0
5031 while :; do
5032 cat >conftest.$ac_ext <<_ACEOF
5033 /* confdefs.h. */
5034 _ACEOF
5035 cat confdefs.h >>conftest.$ac_ext
5036 cat >>conftest.$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5038 $ac_includes_default
5040 main ()
5042 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5043 test_array [0] = 0
5046 return 0;
5048 _ACEOF
5049 rm -f conftest.$ac_objext
5050 if { (ac_try="$ac_compile"
5051 case "(($ac_try" in
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5054 esac
5055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5056 $as_echo "$ac_try_echo") >&5
5057 (eval "$ac_compile") 2>conftest.er1
5058 ac_status=$?
5059 grep -v '^ *+' conftest.er1 >conftest.err
5060 rm -f conftest.er1
5061 cat conftest.err >&5
5062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } && {
5064 test -z "$ac_cxx_werror_flag" ||
5065 test ! -s conftest.err
5066 } && test -s conftest.$ac_objext; then
5067 ac_hi=$ac_mid; break
5068 else
5069 $as_echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5072 ac_lo=`expr $ac_mid + 1`
5073 if test $ac_lo -le $ac_mid; then
5074 ac_lo= ac_hi=
5075 break
5077 ac_mid=`expr 2 '*' $ac_mid + 1`
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 done
5082 else
5083 $as_echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.$ac_ext >&5
5086 cat >conftest.$ac_ext <<_ACEOF
5087 /* confdefs.h. */
5088 _ACEOF
5089 cat confdefs.h >>conftest.$ac_ext
5090 cat >>conftest.$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5092 $ac_includes_default
5094 main ()
5096 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
5097 test_array [0] = 0
5100 return 0;
5102 _ACEOF
5103 rm -f conftest.$ac_objext
5104 if { (ac_try="$ac_compile"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5110 $as_echo "$ac_try_echo") >&5
5111 (eval "$ac_compile") 2>conftest.er1
5112 ac_status=$?
5113 grep -v '^ *+' conftest.er1 >conftest.err
5114 rm -f conftest.er1
5115 cat conftest.err >&5
5116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } && {
5118 test -z "$ac_cxx_werror_flag" ||
5119 test ! -s conftest.err
5120 } && test -s conftest.$ac_objext; then
5121 ac_hi=-1 ac_mid=-1
5122 while :; do
5123 cat >conftest.$ac_ext <<_ACEOF
5124 /* confdefs.h. */
5125 _ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 $ac_includes_default
5131 main ()
5133 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
5134 test_array [0] = 0
5137 return 0;
5139 _ACEOF
5140 rm -f conftest.$ac_objext
5141 if { (ac_try="$ac_compile"
5142 case "(($ac_try" in
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5145 esac
5146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5147 $as_echo "$ac_try_echo") >&5
5148 (eval "$ac_compile") 2>conftest.er1
5149 ac_status=$?
5150 grep -v '^ *+' conftest.er1 >conftest.err
5151 rm -f conftest.er1
5152 cat conftest.err >&5
5153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } && {
5155 test -z "$ac_cxx_werror_flag" ||
5156 test ! -s conftest.err
5157 } && test -s conftest.$ac_objext; then
5158 ac_lo=$ac_mid; break
5159 else
5160 $as_echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.$ac_ext >&5
5163 ac_hi=`expr '(' $ac_mid ')' - 1`
5164 if test $ac_mid -le $ac_hi; then
5165 ac_lo= ac_hi=
5166 break
5168 ac_mid=`expr 2 '*' $ac_mid`
5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 done
5173 else
5174 $as_echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.$ac_ext >&5
5177 ac_lo= ac_hi=
5180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184 # Binary search between lo and hi bounds.
5185 while test "x$ac_lo" != "x$ac_hi"; do
5186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5187 cat >conftest.$ac_ext <<_ACEOF
5188 /* confdefs.h. */
5189 _ACEOF
5190 cat confdefs.h >>conftest.$ac_ext
5191 cat >>conftest.$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5193 $ac_includes_default
5195 main ()
5197 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5198 test_array [0] = 0
5201 return 0;
5203 _ACEOF
5204 rm -f conftest.$ac_objext
5205 if { (ac_try="$ac_compile"
5206 case "(($ac_try" in
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5209 esac
5210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5211 $as_echo "$ac_try_echo") >&5
5212 (eval "$ac_compile") 2>conftest.er1
5213 ac_status=$?
5214 grep -v '^ *+' conftest.er1 >conftest.err
5215 rm -f conftest.er1
5216 cat conftest.err >&5
5217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } && {
5219 test -z "$ac_cxx_werror_flag" ||
5220 test ! -s conftest.err
5221 } && test -s conftest.$ac_objext; then
5222 ac_hi=$ac_mid
5223 else
5224 $as_echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.$ac_ext >&5
5227 ac_lo=`expr '(' $ac_mid ')' + 1`
5230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5231 done
5232 case $ac_lo in
5233 ?*) ac_cv_sizeof_long=$ac_lo;;
5234 '') if test "$ac_cv_type_long" = yes; then
5235 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5236 See \`config.log' for more details." >&5
5237 $as_echo "$as_me: error: cannot compute sizeof (long)
5238 See \`config.log' for more details." >&2;}
5239 { (exit 77); exit 77; }; }
5240 else
5241 ac_cv_sizeof_long=0
5242 fi ;;
5243 esac
5244 else
5245 cat >conftest.$ac_ext <<_ACEOF
5246 /* confdefs.h. */
5247 _ACEOF
5248 cat confdefs.h >>conftest.$ac_ext
5249 cat >>conftest.$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5251 $ac_includes_default
5252 static long int longval () { return (long int) (sizeof (long)); }
5253 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
5254 #include <stdio.h>
5255 #include <stdlib.h>
5257 main ()
5260 FILE *f = fopen ("conftest.val", "w");
5261 if (! f)
5262 return 1;
5263 if (((long int) (sizeof (long))) < 0)
5265 long int i = longval ();
5266 if (i != ((long int) (sizeof (long))))
5267 return 1;
5268 fprintf (f, "%ld", i);
5270 else
5272 unsigned long int i = ulongval ();
5273 if (i != ((long int) (sizeof (long))))
5274 return 1;
5275 fprintf (f, "%lu", i);
5277 /* Do not output a trailing newline, as this causes \r\n confusion
5278 on some platforms. */
5279 return ferror (f) || fclose (f) != 0;
5282 return 0;
5284 _ACEOF
5285 rm -f conftest$ac_exeext
5286 if { (ac_try="$ac_link"
5287 case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5292 $as_echo "$ac_try_echo") >&5
5293 (eval "$ac_link") 2>&5
5294 ac_status=$?
5295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5302 $as_echo "$ac_try_echo") >&5
5303 (eval "$ac_try") 2>&5
5304 ac_status=$?
5305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_sizeof_long=`cat conftest.val`
5308 else
5309 $as_echo "$as_me: program exited with status $ac_status" >&5
5310 $as_echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ( exit $ac_status )
5314 if test "$ac_cv_type_long" = yes; then
5315 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5316 See \`config.log' for more details." >&5
5317 $as_echo "$as_me: error: cannot compute sizeof (long)
5318 See \`config.log' for more details." >&2;}
5319 { (exit 77); exit 77; }; }
5320 else
5321 ac_cv_sizeof_long=0
5324 rm -rf conftest.dSYM
5325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5327 rm -f conftest.val
5329 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5330 $as_echo "$ac_cv_sizeof_long" >&6; }
5334 cat >>confdefs.h <<_ACEOF
5335 #define SIZEOF_LONG $ac_cv_sizeof_long
5336 _ACEOF
5340 if test "$ac_cv_sizeof_voidp" != "$ac_cv_sizeof_long"; then
5341 CONF_VOIDSTAR_WIDTH="($ac_cv_sizeof_voidp * ___CHAR_WIDTH)"
5342 else
5343 CONF_VOIDSTAR_WIDTH="___LONG_WIDTH"
5348 ###############################################################################
5350 # Check if a shared library must be built.
5352 # Check whether --enable-shared was given.
5353 if test "${enable_shared+set}" = set; then
5354 enableval=$enable_shared; ENABLE_SHARED=$enableval
5355 else
5356 ENABLE_SHARED=no
5360 if test "$ENABLE_SHARED" = yes; then
5361 cat >>confdefs.h <<\_ACEOF
5362 #define ___SHARED 1
5363 _ACEOF
5365 # don't add to GSC_CC_O_DEFS
5368 ###############################################################################
5370 # Check if only ANSI C headers and libraries should be used.
5372 # Check whether --enable-ansi-c was given.
5373 if test "${enable_ansi_c+set}" = set; then
5374 enableval=$enable_ansi_c; ANSI_C=$enableval
5375 else
5376 ANSI_C=no
5380 ###############################################################################
5382 # Check if symbolic links should be used for files not in the
5383 # central installation directory.
5385 # Check whether --enable-symlinks was given.
5386 if test "${enable_symlinks+set}" = set; then
5387 enableval=$enable_symlinks; ENABLE_SYMLINKS=$enableval
5388 else
5389 ENABLE_SYMLINKS=no
5393 ###############################################################################
5395 # Check if multiple installed versions are supported.
5397 # Check whether --enable-multiple-versions was given.
5398 if test "${enable_multiple_versions+set}" = set; then
5399 enableval=$enable_multiple_versions; ENABLE_MULTIPLE_VERSIONS=$enableval
5400 else
5401 ENABLE_MULTIPLE_VERSIONS=no
5405 ###############################################################################
5407 # Check if libraries should contain a version number suffix.
5409 ENABLE_VERSIONNED_LIBS=no
5411 # This option does not currently work. Some work is needed to make it
5412 # work properly. Here is the documentation that should go in INSTALL.txt:
5414 #The option --enable-versionned-libs will add a version number suffix
5415 #to the libraries. For example the Gambit v4.3.2 runtime library which
5416 #is normally libgambc.a will be named libgambc-v4_3_2.a and it must be
5417 #linked to with the C compiler option -lgambc-v4_3_2 . If you give
5418 #this option a value, as in --enable-versionned-libs=<suffix> then
5419 #<suffix> will be appended to the name of the libraries.
5421 #AC_ARG_ENABLE(versionned-libs,
5422 # AC_HELP_STRING([--enable-versionned-libs],
5423 # [libraries should contain a version number suffix (default is NO)]),
5424 # ENABLE_VERSIONNED_LIBS=$enableval,
5425 # ENABLE_VERSIONNED_LIBS=no)
5427 ###############################################################################
5429 # Check if shared libraries should be linked to using an absolute path.
5431 # Check whether --enable-absolute-shared-libs was given.
5432 if test "${enable_absolute_shared_libs+set}" = set; then
5433 enableval=$enable_absolute_shared_libs; ENABLE_ABSOLUTE_SHARED_LIBS=$enableval
5434 else
5435 ENABLE_ABSOLUTE_SHARED_LIBS=yes
5439 if test "$ENABLE_SHARED" != "yes"; then
5440 ENABLE_ABSOLUTE_SHARED_LIBS=no
5443 ###############################################################################
5445 # Determine which browser to use for help.
5447 # Check whether --enable-help-browser was given.
5448 if test "${enable_help_browser+set}" = set; then
5449 enableval=$enable_help_browser; HELP_BROWSER=$enableval
5450 else
5451 HELP_BROWSER=""
5455 ###############################################################################
5457 # Check for C compiler.
5465 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER defines __GNUC__" >&5
5466 $as_echo_n "checking whether $C_COMPILER defines __GNUC__... " >&6; }
5467 if test "${C_COMP_GNUC+set}" = set; then
5468 $as_echo_n "(cached) " >&6
5469 else
5471 rm -f conftest.$ac_ext
5472 cat >conftest.$ac_ext <<_ACEOF
5473 #line $LINENO "configure"
5475 main ()
5477 #ifndef __GNUC__
5478 choke me
5479 #endif
5482 return 0;
5484 _ACEOF
5485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5486 (eval $ac_link) 2>&5
5487 ac_status=$?
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; then
5490 C_COMP_GNUC="yes"
5491 else
5492 C_COMP_GNUC=""
5496 { $as_echo "$as_me:$LINENO: result: $C_COMP_GNUC" >&5
5497 $as_echo "$C_COMP_GNUC" >&6; }
5498 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER defines _MSC_VER" >&5
5499 $as_echo_n "checking whether $C_COMPILER defines _MSC_VER... " >&6; }
5500 if test "${C_COMP_VISUALC+set}" = set; then
5501 $as_echo_n "(cached) " >&6
5502 else
5504 rm -f conftest.$ac_ext
5505 cat >conftest.$ac_ext <<_ACEOF
5506 #line $LINENO "configure"
5508 main ()
5510 #ifndef _MSC_VER
5511 choke me
5512 #endif
5515 return 0;
5517 _ACEOF
5518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5519 (eval $ac_link) 2>&5
5520 ac_status=$?
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; then
5523 C_COMP_VISUALC="yes"
5524 else
5525 C_COMP_VISUALC=""
5529 { $as_echo "$as_me:$LINENO: result: $C_COMP_VISUALC" >&5
5530 $as_echo "$C_COMP_VISUALC" >&6; }
5531 #AC_CHECK_C_COMPILER_DEF(__WATCOMC__,C_COMP_WATCOMC)
5532 #AC_CHECK_C_COMPILER_DEF(__BORLANDC__,C_COMP_BORLANDC)
5534 ###############################################################################
5536 # Check for header files.
5539 for ac_header in errno.h
5541 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5543 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5544 $as_echo_n "checking for $ac_header... " >&6; }
5545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5546 $as_echo_n "(cached) " >&6
5548 ac_res=`eval 'as_val=${'$as_ac_Header'}
5549 $as_echo "$as_val"'`
5550 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5551 $as_echo "$ac_res" >&6; }
5552 else
5553 # Is the header compilable?
5554 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5555 $as_echo_n "checking $ac_header usability... " >&6; }
5556 cat >conftest.$ac_ext <<_ACEOF
5557 /* confdefs.h. */
5558 _ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 $ac_includes_default
5563 #include <$ac_header>
5564 _ACEOF
5565 rm -f conftest.$ac_objext
5566 if { (ac_try="$ac_compile"
5567 case "(($ac_try" in
5568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569 *) ac_try_echo=$ac_try;;
5570 esac
5571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5572 $as_echo "$ac_try_echo") >&5
5573 (eval "$ac_compile") 2>conftest.er1
5574 ac_status=$?
5575 grep -v '^ *+' conftest.er1 >conftest.err
5576 rm -f conftest.er1
5577 cat conftest.err >&5
5578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } && {
5580 test -z "$ac_cxx_werror_flag" ||
5581 test ! -s conftest.err
5582 } && test -s conftest.$ac_objext; then
5583 ac_header_compiler=yes
5584 else
5585 $as_echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.$ac_ext >&5
5588 ac_header_compiler=no
5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5593 $as_echo "$ac_header_compiler" >&6; }
5595 # Is the header present?
5596 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5597 $as_echo_n "checking $ac_header presence... " >&6; }
5598 cat >conftest.$ac_ext <<_ACEOF
5599 /* confdefs.h. */
5600 _ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 #include <$ac_header>
5605 _ACEOF
5606 if { (ac_try="$ac_cpp conftest.$ac_ext"
5607 case "(($ac_try" in
5608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5609 *) ac_try_echo=$ac_try;;
5610 esac
5611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5612 $as_echo "$ac_try_echo") >&5
5613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5614 ac_status=$?
5615 grep -v '^ *+' conftest.er1 >conftest.err
5616 rm -f conftest.er1
5617 cat conftest.err >&5
5618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } >/dev/null && {
5620 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5621 test ! -s conftest.err
5622 }; then
5623 ac_header_preproc=yes
5624 else
5625 $as_echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5628 ac_header_preproc=no
5631 rm -f conftest.err conftest.$ac_ext
5632 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5633 $as_echo "$ac_header_preproc" >&6; }
5635 # So? What about this header?
5636 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5637 yes:no: )
5638 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5639 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5641 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5642 ac_header_preproc=yes
5644 no:yes:* )
5645 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5646 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5648 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5649 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5650 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5651 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5652 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5654 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5656 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5657 ( cat <<\_ASBOX
5658 ## -------------------------------------- ##
5659 ## Report this to gambit@iro.umontreal.ca ##
5660 ## -------------------------------------- ##
5661 _ASBOX
5662 ) | sed "s/^/$as_me: WARNING: /" >&2
5664 esac
5665 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5666 $as_echo_n "checking for $ac_header... " >&6; }
5667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5668 $as_echo_n "(cached) " >&6
5669 else
5670 eval "$as_ac_Header=\$ac_header_preproc"
5672 ac_res=`eval 'as_val=${'$as_ac_Header'}
5673 $as_echo "$as_val"'`
5674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5675 $as_echo "$ac_res" >&6; }
5678 if test `eval 'as_val=${'$as_ac_Header'}
5679 $as_echo "$as_val"'` = yes; then
5680 cat >>confdefs.h <<_ACEOF
5681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5682 _ACEOF
5686 done
5689 for ac_header in float.h
5691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5693 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5694 $as_echo_n "checking for $ac_header... " >&6; }
5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5696 $as_echo_n "(cached) " >&6
5698 ac_res=`eval 'as_val=${'$as_ac_Header'}
5699 $as_echo "$as_val"'`
5700 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5701 $as_echo "$ac_res" >&6; }
5702 else
5703 # Is the header compilable?
5704 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5705 $as_echo_n "checking $ac_header usability... " >&6; }
5706 cat >conftest.$ac_ext <<_ACEOF
5707 /* confdefs.h. */
5708 _ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 $ac_includes_default
5713 #include <$ac_header>
5714 _ACEOF
5715 rm -f conftest.$ac_objext
5716 if { (ac_try="$ac_compile"
5717 case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5722 $as_echo "$ac_try_echo") >&5
5723 (eval "$ac_compile") 2>conftest.er1
5724 ac_status=$?
5725 grep -v '^ *+' conftest.er1 >conftest.err
5726 rm -f conftest.er1
5727 cat conftest.err >&5
5728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } && {
5730 test -z "$ac_cxx_werror_flag" ||
5731 test ! -s conftest.err
5732 } && test -s conftest.$ac_objext; then
5733 ac_header_compiler=yes
5734 else
5735 $as_echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.$ac_ext >&5
5738 ac_header_compiler=no
5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5743 $as_echo "$ac_header_compiler" >&6; }
5745 # Is the header present?
5746 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5747 $as_echo_n "checking $ac_header presence... " >&6; }
5748 cat >conftest.$ac_ext <<_ACEOF
5749 /* confdefs.h. */
5750 _ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5754 #include <$ac_header>
5755 _ACEOF
5756 if { (ac_try="$ac_cpp conftest.$ac_ext"
5757 case "(($ac_try" in
5758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5759 *) ac_try_echo=$ac_try;;
5760 esac
5761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5762 $as_echo "$ac_try_echo") >&5
5763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5764 ac_status=$?
5765 grep -v '^ *+' conftest.er1 >conftest.err
5766 rm -f conftest.er1
5767 cat conftest.err >&5
5768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); } >/dev/null && {
5770 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5771 test ! -s conftest.err
5772 }; then
5773 ac_header_preproc=yes
5774 else
5775 $as_echo "$as_me: failed program was:" >&5
5776 sed 's/^/| /' conftest.$ac_ext >&5
5778 ac_header_preproc=no
5781 rm -f conftest.err conftest.$ac_ext
5782 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5783 $as_echo "$ac_header_preproc" >&6; }
5785 # So? What about this header?
5786 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5787 yes:no: )
5788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5789 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5791 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5792 ac_header_preproc=yes
5794 no:yes:* )
5795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5796 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5798 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5800 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5802 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5804 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5805 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5806 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5807 ( cat <<\_ASBOX
5808 ## -------------------------------------- ##
5809 ## Report this to gambit@iro.umontreal.ca ##
5810 ## -------------------------------------- ##
5811 _ASBOX
5812 ) | sed "s/^/$as_me: WARNING: /" >&2
5814 esac
5815 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5816 $as_echo_n "checking for $ac_header... " >&6; }
5817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5818 $as_echo_n "(cached) " >&6
5819 else
5820 eval "$as_ac_Header=\$ac_header_preproc"
5822 ac_res=`eval 'as_val=${'$as_ac_Header'}
5823 $as_echo "$as_val"'`
5824 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5825 $as_echo "$ac_res" >&6; }
5828 if test `eval 'as_val=${'$as_ac_Header'}
5829 $as_echo "$as_val"'` = yes; then
5830 cat >>confdefs.h <<_ACEOF
5831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5832 _ACEOF
5836 done
5839 for ac_header in signal.h
5841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5843 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5844 $as_echo_n "checking for $ac_header... " >&6; }
5845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5846 $as_echo_n "(cached) " >&6
5848 ac_res=`eval 'as_val=${'$as_ac_Header'}
5849 $as_echo "$as_val"'`
5850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5851 $as_echo "$ac_res" >&6; }
5852 else
5853 # Is the header compilable?
5854 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5855 $as_echo_n "checking $ac_header usability... " >&6; }
5856 cat >conftest.$ac_ext <<_ACEOF
5857 /* confdefs.h. */
5858 _ACEOF
5859 cat confdefs.h >>conftest.$ac_ext
5860 cat >>conftest.$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5862 $ac_includes_default
5863 #include <$ac_header>
5864 _ACEOF
5865 rm -f conftest.$ac_objext
5866 if { (ac_try="$ac_compile"
5867 case "(($ac_try" in
5868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869 *) ac_try_echo=$ac_try;;
5870 esac
5871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5872 $as_echo "$ac_try_echo") >&5
5873 (eval "$ac_compile") 2>conftest.er1
5874 ac_status=$?
5875 grep -v '^ *+' conftest.er1 >conftest.err
5876 rm -f conftest.er1
5877 cat conftest.err >&5
5878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); } && {
5880 test -z "$ac_cxx_werror_flag" ||
5881 test ! -s conftest.err
5882 } && test -s conftest.$ac_objext; then
5883 ac_header_compiler=yes
5884 else
5885 $as_echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.$ac_ext >&5
5888 ac_header_compiler=no
5891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5892 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5893 $as_echo "$ac_header_compiler" >&6; }
5895 # Is the header present?
5896 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5897 $as_echo_n "checking $ac_header presence... " >&6; }
5898 cat >conftest.$ac_ext <<_ACEOF
5899 /* confdefs.h. */
5900 _ACEOF
5901 cat confdefs.h >>conftest.$ac_ext
5902 cat >>conftest.$ac_ext <<_ACEOF
5903 /* end confdefs.h. */
5904 #include <$ac_header>
5905 _ACEOF
5906 if { (ac_try="$ac_cpp conftest.$ac_ext"
5907 case "(($ac_try" in
5908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5909 *) ac_try_echo=$ac_try;;
5910 esac
5911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5912 $as_echo "$ac_try_echo") >&5
5913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } >/dev/null && {
5920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921 test ! -s conftest.err
5922 }; then
5923 ac_header_preproc=yes
5924 else
5925 $as_echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 ac_header_preproc=no
5931 rm -f conftest.err conftest.$ac_ext
5932 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5933 $as_echo "$ac_header_preproc" >&6; }
5935 # So? What about this header?
5936 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5937 yes:no: )
5938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5939 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5941 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5942 ac_header_preproc=yes
5944 no:yes:* )
5945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5946 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5947 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5948 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5950 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5952 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5954 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5956 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5957 ( cat <<\_ASBOX
5958 ## -------------------------------------- ##
5959 ## Report this to gambit@iro.umontreal.ca ##
5960 ## -------------------------------------- ##
5961 _ASBOX
5962 ) | sed "s/^/$as_me: WARNING: /" >&2
5964 esac
5965 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5966 $as_echo_n "checking for $ac_header... " >&6; }
5967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5968 $as_echo_n "(cached) " >&6
5969 else
5970 eval "$as_ac_Header=\$ac_header_preproc"
5972 ac_res=`eval 'as_val=${'$as_ac_Header'}
5973 $as_echo "$as_val"'`
5974 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5975 $as_echo "$ac_res" >&6; }
5978 if test `eval 'as_val=${'$as_ac_Header'}
5979 $as_echo "$as_val"'` = yes; then
5980 cat >>confdefs.h <<_ACEOF
5981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5982 _ACEOF
5986 done
5989 for ac_header in stdio.h
5991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5993 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 $as_echo_n "checking for $ac_header... " >&6; }
5995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5996 $as_echo_n "(cached) " >&6
5998 ac_res=`eval 'as_val=${'$as_ac_Header'}
5999 $as_echo "$as_val"'`
6000 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6001 $as_echo "$ac_res" >&6; }
6002 else
6003 # Is the header compilable?
6004 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6005 $as_echo_n "checking $ac_header usability... " >&6; }
6006 cat >conftest.$ac_ext <<_ACEOF
6007 /* confdefs.h. */
6008 _ACEOF
6009 cat confdefs.h >>conftest.$ac_ext
6010 cat >>conftest.$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 $ac_includes_default
6013 #include <$ac_header>
6014 _ACEOF
6015 rm -f conftest.$ac_objext
6016 if { (ac_try="$ac_compile"
6017 case "(($ac_try" in
6018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6019 *) ac_try_echo=$ac_try;;
6020 esac
6021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6022 $as_echo "$ac_try_echo") >&5
6023 (eval "$ac_compile") 2>conftest.er1
6024 ac_status=$?
6025 grep -v '^ *+' conftest.er1 >conftest.err
6026 rm -f conftest.er1
6027 cat conftest.err >&5
6028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } && {
6030 test -z "$ac_cxx_werror_flag" ||
6031 test ! -s conftest.err
6032 } && test -s conftest.$ac_objext; then
6033 ac_header_compiler=yes
6034 else
6035 $as_echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6038 ac_header_compiler=no
6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6043 $as_echo "$ac_header_compiler" >&6; }
6045 # Is the header present?
6046 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6047 $as_echo_n "checking $ac_header presence... " >&6; }
6048 cat >conftest.$ac_ext <<_ACEOF
6049 /* confdefs.h. */
6050 _ACEOF
6051 cat confdefs.h >>conftest.$ac_ext
6052 cat >>conftest.$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6054 #include <$ac_header>
6055 _ACEOF
6056 if { (ac_try="$ac_cpp conftest.$ac_ext"
6057 case "(($ac_try" in
6058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6059 *) ac_try_echo=$ac_try;;
6060 esac
6061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6062 $as_echo "$ac_try_echo") >&5
6063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6064 ac_status=$?
6065 grep -v '^ *+' conftest.er1 >conftest.err
6066 rm -f conftest.er1
6067 cat conftest.err >&5
6068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } >/dev/null && {
6070 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6071 test ! -s conftest.err
6072 }; then
6073 ac_header_preproc=yes
6074 else
6075 $as_echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.$ac_ext >&5
6078 ac_header_preproc=no
6081 rm -f conftest.err conftest.$ac_ext
6082 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6083 $as_echo "$ac_header_preproc" >&6; }
6085 # So? What about this header?
6086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6087 yes:no: )
6088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6089 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6091 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6092 ac_header_preproc=yes
6094 no:yes:* )
6095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6096 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6098 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6100 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6102 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6104 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6106 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6107 ( cat <<\_ASBOX
6108 ## -------------------------------------- ##
6109 ## Report this to gambit@iro.umontreal.ca ##
6110 ## -------------------------------------- ##
6111 _ASBOX
6112 ) | sed "s/^/$as_me: WARNING: /" >&2
6114 esac
6115 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6116 $as_echo_n "checking for $ac_header... " >&6; }
6117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6118 $as_echo_n "(cached) " >&6
6119 else
6120 eval "$as_ac_Header=\$ac_header_preproc"
6122 ac_res=`eval 'as_val=${'$as_ac_Header'}
6123 $as_echo "$as_val"'`
6124 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6125 $as_echo "$ac_res" >&6; }
6128 if test `eval 'as_val=${'$as_ac_Header'}
6129 $as_echo "$as_val"'` = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6136 done
6139 for ac_header in stdlib.h
6141 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6143 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6144 $as_echo_n "checking for $ac_header... " >&6; }
6145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6146 $as_echo_n "(cached) " >&6
6148 ac_res=`eval 'as_val=${'$as_ac_Header'}
6149 $as_echo "$as_val"'`
6150 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6151 $as_echo "$ac_res" >&6; }
6152 else
6153 # Is the header compilable?
6154 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6155 $as_echo_n "checking $ac_header usability... " >&6; }
6156 cat >conftest.$ac_ext <<_ACEOF
6157 /* confdefs.h. */
6158 _ACEOF
6159 cat confdefs.h >>conftest.$ac_ext
6160 cat >>conftest.$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6162 $ac_includes_default
6163 #include <$ac_header>
6164 _ACEOF
6165 rm -f conftest.$ac_objext
6166 if { (ac_try="$ac_compile"
6167 case "(($ac_try" in
6168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6170 esac
6171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6172 $as_echo "$ac_try_echo") >&5
6173 (eval "$ac_compile") 2>conftest.er1
6174 ac_status=$?
6175 grep -v '^ *+' conftest.er1 >conftest.err
6176 rm -f conftest.er1
6177 cat conftest.err >&5
6178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && {
6180 test -z "$ac_cxx_werror_flag" ||
6181 test ! -s conftest.err
6182 } && test -s conftest.$ac_objext; then
6183 ac_header_compiler=yes
6184 else
6185 $as_echo "$as_me: failed program was:" >&5
6186 sed 's/^/| /' conftest.$ac_ext >&5
6188 ac_header_compiler=no
6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6193 $as_echo "$ac_header_compiler" >&6; }
6195 # Is the header present?
6196 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6197 $as_echo_n "checking $ac_header presence... " >&6; }
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 #include <$ac_header>
6205 _ACEOF
6206 if { (ac_try="$ac_cpp conftest.$ac_ext"
6207 case "(($ac_try" in
6208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6210 esac
6211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6212 $as_echo "$ac_try_echo") >&5
6213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } >/dev/null && {
6220 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6221 test ! -s conftest.err
6222 }; then
6223 ac_header_preproc=yes
6224 else
6225 $as_echo "$as_me: failed program was:" >&5
6226 sed 's/^/| /' conftest.$ac_ext >&5
6228 ac_header_preproc=no
6231 rm -f conftest.err conftest.$ac_ext
6232 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6233 $as_echo "$ac_header_preproc" >&6; }
6235 # So? What about this header?
6236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6237 yes:no: )
6238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6239 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6241 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6242 ac_header_preproc=yes
6244 no:yes:* )
6245 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6246 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6247 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6248 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6250 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6252 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6254 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6256 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6257 ( cat <<\_ASBOX
6258 ## -------------------------------------- ##
6259 ## Report this to gambit@iro.umontreal.ca ##
6260 ## -------------------------------------- ##
6261 _ASBOX
6262 ) | sed "s/^/$as_me: WARNING: /" >&2
6264 esac
6265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6266 $as_echo_n "checking for $ac_header... " >&6; }
6267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6268 $as_echo_n "(cached) " >&6
6269 else
6270 eval "$as_ac_Header=\$ac_header_preproc"
6272 ac_res=`eval 'as_val=${'$as_ac_Header'}
6273 $as_echo "$as_val"'`
6274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6275 $as_echo "$ac_res" >&6; }
6278 if test `eval 'as_val=${'$as_ac_Header'}
6279 $as_echo "$as_val"'` = yes; then
6280 cat >>confdefs.h <<_ACEOF
6281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6282 _ACEOF
6286 done
6289 for ac_header in string.h
6291 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6293 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6294 $as_echo_n "checking for $ac_header... " >&6; }
6295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6296 $as_echo_n "(cached) " >&6
6298 ac_res=`eval 'as_val=${'$as_ac_Header'}
6299 $as_echo "$as_val"'`
6300 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6301 $as_echo "$ac_res" >&6; }
6302 else
6303 # Is the header compilable?
6304 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6305 $as_echo_n "checking $ac_header usability... " >&6; }
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312 $ac_includes_default
6313 #include <$ac_header>
6314 _ACEOF
6315 rm -f conftest.$ac_objext
6316 if { (ac_try="$ac_compile"
6317 case "(($ac_try" in
6318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6319 *) ac_try_echo=$ac_try;;
6320 esac
6321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6322 $as_echo "$ac_try_echo") >&5
6323 (eval "$ac_compile") 2>conftest.er1
6324 ac_status=$?
6325 grep -v '^ *+' conftest.er1 >conftest.err
6326 rm -f conftest.er1
6327 cat conftest.err >&5
6328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } && {
6330 test -z "$ac_cxx_werror_flag" ||
6331 test ! -s conftest.err
6332 } && test -s conftest.$ac_objext; then
6333 ac_header_compiler=yes
6334 else
6335 $as_echo "$as_me: failed program was:" >&5
6336 sed 's/^/| /' conftest.$ac_ext >&5
6338 ac_header_compiler=no
6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6343 $as_echo "$ac_header_compiler" >&6; }
6345 # Is the header present?
6346 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6347 $as_echo_n "checking $ac_header presence... " >&6; }
6348 cat >conftest.$ac_ext <<_ACEOF
6349 /* confdefs.h. */
6350 _ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6354 #include <$ac_header>
6355 _ACEOF
6356 if { (ac_try="$ac_cpp conftest.$ac_ext"
6357 case "(($ac_try" in
6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6359 *) ac_try_echo=$ac_try;;
6360 esac
6361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6362 $as_echo "$ac_try_echo") >&5
6363 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6364 ac_status=$?
6365 grep -v '^ *+' conftest.er1 >conftest.err
6366 rm -f conftest.er1
6367 cat conftest.err >&5
6368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } >/dev/null && {
6370 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6371 test ! -s conftest.err
6372 }; then
6373 ac_header_preproc=yes
6374 else
6375 $as_echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.$ac_ext >&5
6378 ac_header_preproc=no
6381 rm -f conftest.err conftest.$ac_ext
6382 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6383 $as_echo "$ac_header_preproc" >&6; }
6385 # So? What about this header?
6386 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6387 yes:no: )
6388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6389 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6391 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6392 ac_header_preproc=yes
6394 no:yes:* )
6395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6396 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6397 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6398 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6399 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6400 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6402 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6404 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6406 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6407 ( cat <<\_ASBOX
6408 ## -------------------------------------- ##
6409 ## Report this to gambit@iro.umontreal.ca ##
6410 ## -------------------------------------- ##
6411 _ASBOX
6412 ) | sed "s/^/$as_me: WARNING: /" >&2
6414 esac
6415 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6416 $as_echo_n "checking for $ac_header... " >&6; }
6417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6418 $as_echo_n "(cached) " >&6
6419 else
6420 eval "$as_ac_Header=\$ac_header_preproc"
6422 ac_res=`eval 'as_val=${'$as_ac_Header'}
6423 $as_echo "$as_val"'`
6424 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6425 $as_echo "$ac_res" >&6; }
6428 if test `eval 'as_val=${'$as_ac_Header'}
6429 $as_echo "$as_val"'` = yes; then
6430 cat >>confdefs.h <<_ACEOF
6431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6432 _ACEOF
6436 done
6439 for ac_header in time.h
6441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6443 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6444 $as_echo_n "checking for $ac_header... " >&6; }
6445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6446 $as_echo_n "(cached) " >&6
6448 ac_res=`eval 'as_val=${'$as_ac_Header'}
6449 $as_echo "$as_val"'`
6450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6451 $as_echo "$ac_res" >&6; }
6452 else
6453 # Is the header compilable?
6454 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6455 $as_echo_n "checking $ac_header usability... " >&6; }
6456 cat >conftest.$ac_ext <<_ACEOF
6457 /* confdefs.h. */
6458 _ACEOF
6459 cat confdefs.h >>conftest.$ac_ext
6460 cat >>conftest.$ac_ext <<_ACEOF
6461 /* end confdefs.h. */
6462 $ac_includes_default
6463 #include <$ac_header>
6464 _ACEOF
6465 rm -f conftest.$ac_objext
6466 if { (ac_try="$ac_compile"
6467 case "(($ac_try" in
6468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6469 *) ac_try_echo=$ac_try;;
6470 esac
6471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6472 $as_echo "$ac_try_echo") >&5
6473 (eval "$ac_compile") 2>conftest.er1
6474 ac_status=$?
6475 grep -v '^ *+' conftest.er1 >conftest.err
6476 rm -f conftest.er1
6477 cat conftest.err >&5
6478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } && {
6480 test -z "$ac_cxx_werror_flag" ||
6481 test ! -s conftest.err
6482 } && test -s conftest.$ac_objext; then
6483 ac_header_compiler=yes
6484 else
6485 $as_echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 ac_header_compiler=no
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6493 $as_echo "$ac_header_compiler" >&6; }
6495 # Is the header present?
6496 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6497 $as_echo_n "checking $ac_header presence... " >&6; }
6498 cat >conftest.$ac_ext <<_ACEOF
6499 /* confdefs.h. */
6500 _ACEOF
6501 cat confdefs.h >>conftest.$ac_ext
6502 cat >>conftest.$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include <$ac_header>
6505 _ACEOF
6506 if { (ac_try="$ac_cpp conftest.$ac_ext"
6507 case "(($ac_try" in
6508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6509 *) ac_try_echo=$ac_try;;
6510 esac
6511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6512 $as_echo "$ac_try_echo") >&5
6513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6514 ac_status=$?
6515 grep -v '^ *+' conftest.er1 >conftest.err
6516 rm -f conftest.er1
6517 cat conftest.err >&5
6518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } >/dev/null && {
6520 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6521 test ! -s conftest.err
6522 }; then
6523 ac_header_preproc=yes
6524 else
6525 $as_echo "$as_me: failed program was:" >&5
6526 sed 's/^/| /' conftest.$ac_ext >&5
6528 ac_header_preproc=no
6531 rm -f conftest.err conftest.$ac_ext
6532 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6533 $as_echo "$ac_header_preproc" >&6; }
6535 # So? What about this header?
6536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6537 yes:no: )
6538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6539 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6541 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6542 ac_header_preproc=yes
6544 no:yes:* )
6545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6546 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6548 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6550 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6552 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6554 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6556 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6557 ( cat <<\_ASBOX
6558 ## -------------------------------------- ##
6559 ## Report this to gambit@iro.umontreal.ca ##
6560 ## -------------------------------------- ##
6561 _ASBOX
6562 ) | sed "s/^/$as_me: WARNING: /" >&2
6564 esac
6565 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6566 $as_echo_n "checking for $ac_header... " >&6; }
6567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6568 $as_echo_n "(cached) " >&6
6569 else
6570 eval "$as_ac_Header=\$ac_header_preproc"
6572 ac_res=`eval 'as_val=${'$as_ac_Header'}
6573 $as_echo "$as_val"'`
6574 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6575 $as_echo "$ac_res" >&6; }
6578 if test `eval 'as_val=${'$as_ac_Header'}
6579 $as_echo "$as_val"'` = yes; then
6580 cat >>confdefs.h <<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 _ACEOF
6586 done
6589 if test "$ANSI_C" = yes; then
6591 # Check if linking to the math library needs some special linker flags.
6593 { $as_echo "$as_me:$LINENO: checking for library containing asin" >&5
6594 $as_echo_n "checking for library containing asin... " >&6; }
6595 if test "${ac_cv_search_asin+set}" = set; then
6596 $as_echo_n "(cached) " >&6
6597 else
6598 ac_func_search_save_LIBS=$LIBS
6599 cat >conftest.$ac_ext <<_ACEOF
6600 /* confdefs.h. */
6601 _ACEOF
6602 cat confdefs.h >>conftest.$ac_ext
6603 cat >>conftest.$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6606 /* Override any GCC internal prototype to avoid an error.
6607 Use char because int might match the return type of a GCC
6608 builtin and then its argument prototype would still apply. */
6609 #ifdef __cplusplus
6610 extern "C"
6611 #endif
6612 char asin ();
6614 main ()
6616 return asin ();
6618 return 0;
6620 _ACEOF
6621 for ac_lib in '' m; do
6622 if test -z "$ac_lib"; then
6623 ac_res="none required"
6624 else
6625 ac_res=-l$ac_lib
6626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6628 rm -f conftest.$ac_objext conftest$ac_exeext
6629 if { (ac_try="$ac_link"
6630 case "(($ac_try" in
6631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6632 *) ac_try_echo=$ac_try;;
6633 esac
6634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6635 $as_echo "$ac_try_echo") >&5
6636 (eval "$ac_link") 2>conftest.er1
6637 ac_status=$?
6638 grep -v '^ *+' conftest.er1 >conftest.err
6639 rm -f conftest.er1
6640 cat conftest.err >&5
6641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && {
6643 test -z "$ac_cxx_werror_flag" ||
6644 test ! -s conftest.err
6645 } && test -s conftest$ac_exeext && {
6646 test "$cross_compiling" = yes ||
6647 $as_test_x conftest$ac_exeext
6648 }; then
6649 ac_cv_search_asin=$ac_res
6650 else
6651 $as_echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6657 rm -rf conftest.dSYM
6658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6659 conftest$ac_exeext
6660 if test "${ac_cv_search_asin+set}" = set; then
6661 break
6663 done
6664 if test "${ac_cv_search_asin+set}" = set; then
6666 else
6667 ac_cv_search_asin=no
6669 rm conftest.$ac_ext
6670 LIBS=$ac_func_search_save_LIBS
6672 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_asin" >&5
6673 $as_echo "$ac_cv_search_asin" >&6; }
6674 ac_res=$ac_cv_search_asin
6675 if test "$ac_res" != no; then
6676 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6681 # The following functions should be provided by an ANSI-C conforming
6682 # compiler, but it is safest to double check. If they are not
6683 # available, the system will still compile but some functionality
6684 # will be missing from the Gambit runtime system.
6687 for ac_func in getenv
6689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6690 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6691 $as_echo_n "checking for $ac_func... " >&6; }
6692 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6693 $as_echo_n "(cached) " >&6
6694 else
6695 cat >conftest.$ac_ext <<_ACEOF
6696 /* confdefs.h. */
6697 _ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6703 #define $ac_func innocuous_$ac_func
6705 /* System header to define __stub macros and hopefully few prototypes,
6706 which can conflict with char $ac_func (); below.
6707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6708 <limits.h> exists even on freestanding compilers. */
6710 #ifdef __STDC__
6711 # include <limits.h>
6712 #else
6713 # include <assert.h>
6714 #endif
6716 #undef $ac_func
6718 /* Override any GCC internal prototype to avoid an error.
6719 Use char because int might match the return type of a GCC
6720 builtin and then its argument prototype would still apply. */
6721 #ifdef __cplusplus
6722 extern "C"
6723 #endif
6724 char $ac_func ();
6725 /* The GNU C library defines this for functions which it implements
6726 to always fail with ENOSYS. Some functions are actually named
6727 something starting with __ and the normal name is an alias. */
6728 #if defined __stub_$ac_func || defined __stub___$ac_func
6729 choke me
6730 #endif
6733 main ()
6735 return $ac_func ();
6737 return 0;
6739 _ACEOF
6740 rm -f conftest.$ac_objext conftest$ac_exeext
6741 if { (ac_try="$ac_link"
6742 case "(($ac_try" in
6743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6744 *) ac_try_echo=$ac_try;;
6745 esac
6746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6747 $as_echo "$ac_try_echo") >&5
6748 (eval "$ac_link") 2>conftest.er1
6749 ac_status=$?
6750 grep -v '^ *+' conftest.er1 >conftest.err
6751 rm -f conftest.er1
6752 cat conftest.err >&5
6753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } && {
6755 test -z "$ac_cxx_werror_flag" ||
6756 test ! -s conftest.err
6757 } && test -s conftest$ac_exeext && {
6758 test "$cross_compiling" = yes ||
6759 $as_test_x conftest$ac_exeext
6760 }; then
6761 eval "$as_ac_var=yes"
6762 else
6763 $as_echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 eval "$as_ac_var=no"
6769 rm -rf conftest.dSYM
6770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6771 conftest$ac_exeext conftest.$ac_ext
6773 ac_res=`eval 'as_val=${'$as_ac_var'}
6774 $as_echo "$as_val"'`
6775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6776 $as_echo "$ac_res" >&6; }
6777 if test `eval 'as_val=${'$as_ac_var'}
6778 $as_echo "$as_val"'` = yes; then
6779 cat >>confdefs.h <<_ACEOF
6780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6781 _ACEOF
6784 done
6787 for ac_func in time
6789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6790 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6791 $as_echo_n "checking for $ac_func... " >&6; }
6792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6793 $as_echo_n "(cached) " >&6
6794 else
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6803 #define $ac_func innocuous_$ac_func
6805 /* System header to define __stub macros and hopefully few prototypes,
6806 which can conflict with char $ac_func (); below.
6807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6808 <limits.h> exists even on freestanding compilers. */
6810 #ifdef __STDC__
6811 # include <limits.h>
6812 #else
6813 # include <assert.h>
6814 #endif
6816 #undef $ac_func
6818 /* Override any GCC internal prototype to avoid an error.
6819 Use char because int might match the return type of a GCC
6820 builtin and then its argument prototype would still apply. */
6821 #ifdef __cplusplus
6822 extern "C"
6823 #endif
6824 char $ac_func ();
6825 /* The GNU C library defines this for functions which it implements
6826 to always fail with ENOSYS. Some functions are actually named
6827 something starting with __ and the normal name is an alias. */
6828 #if defined __stub_$ac_func || defined __stub___$ac_func
6829 choke me
6830 #endif
6833 main ()
6835 return $ac_func ();
6837 return 0;
6839 _ACEOF
6840 rm -f conftest.$ac_objext conftest$ac_exeext
6841 if { (ac_try="$ac_link"
6842 case "(($ac_try" in
6843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6844 *) ac_try_echo=$ac_try;;
6845 esac
6846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6847 $as_echo "$ac_try_echo") >&5
6848 (eval "$ac_link") 2>conftest.er1
6849 ac_status=$?
6850 grep -v '^ *+' conftest.er1 >conftest.err
6851 rm -f conftest.er1
6852 cat conftest.err >&5
6853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); } && {
6855 test -z "$ac_cxx_werror_flag" ||
6856 test ! -s conftest.err
6857 } && test -s conftest$ac_exeext && {
6858 test "$cross_compiling" = yes ||
6859 $as_test_x conftest$ac_exeext
6860 }; then
6861 eval "$as_ac_var=yes"
6862 else
6863 $as_echo "$as_me: failed program was:" >&5
6864 sed 's/^/| /' conftest.$ac_ext >&5
6866 eval "$as_ac_var=no"
6869 rm -rf conftest.dSYM
6870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6871 conftest$ac_exeext conftest.$ac_ext
6873 ac_res=`eval 'as_val=${'$as_ac_var'}
6874 $as_echo "$as_val"'`
6875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6876 $as_echo "$ac_res" >&6; }
6877 if test `eval 'as_val=${'$as_ac_var'}
6878 $as_echo "$as_val"'` = yes; then
6879 cat >>confdefs.h <<_ACEOF
6880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6881 _ACEOF
6884 done
6887 for ac_func in clock
6889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6890 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6891 $as_echo_n "checking for $ac_func... " >&6; }
6892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6893 $as_echo_n "(cached) " >&6
6894 else
6895 cat >conftest.$ac_ext <<_ACEOF
6896 /* confdefs.h. */
6897 _ACEOF
6898 cat confdefs.h >>conftest.$ac_ext
6899 cat >>conftest.$ac_ext <<_ACEOF
6900 /* end confdefs.h. */
6901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6903 #define $ac_func innocuous_$ac_func
6905 /* System header to define __stub macros and hopefully few prototypes,
6906 which can conflict with char $ac_func (); below.
6907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6908 <limits.h> exists even on freestanding compilers. */
6910 #ifdef __STDC__
6911 # include <limits.h>
6912 #else
6913 # include <assert.h>
6914 #endif
6916 #undef $ac_func
6918 /* Override any GCC internal prototype to avoid an error.
6919 Use char because int might match the return type of a GCC
6920 builtin and then its argument prototype would still apply. */
6921 #ifdef __cplusplus
6922 extern "C"
6923 #endif
6924 char $ac_func ();
6925 /* The GNU C library defines this for functions which it implements
6926 to always fail with ENOSYS. Some functions are actually named
6927 something starting with __ and the normal name is an alias. */
6928 #if defined __stub_$ac_func || defined __stub___$ac_func
6929 choke me
6930 #endif
6933 main ()
6935 return $ac_func ();
6937 return 0;
6939 _ACEOF
6940 rm -f conftest.$ac_objext conftest$ac_exeext
6941 if { (ac_try="$ac_link"
6942 case "(($ac_try" in
6943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6944 *) ac_try_echo=$ac_try;;
6945 esac
6946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6947 $as_echo "$ac_try_echo") >&5
6948 (eval "$ac_link") 2>conftest.er1
6949 ac_status=$?
6950 grep -v '^ *+' conftest.er1 >conftest.err
6951 rm -f conftest.er1
6952 cat conftest.err >&5
6953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } && {
6955 test -z "$ac_cxx_werror_flag" ||
6956 test ! -s conftest.err
6957 } && test -s conftest$ac_exeext && {
6958 test "$cross_compiling" = yes ||
6959 $as_test_x conftest$ac_exeext
6960 }; then
6961 eval "$as_ac_var=yes"
6962 else
6963 $as_echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6966 eval "$as_ac_var=no"
6969 rm -rf conftest.dSYM
6970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6971 conftest$ac_exeext conftest.$ac_ext
6973 ac_res=`eval 'as_val=${'$as_ac_var'}
6974 $as_echo "$as_val"'`
6975 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6976 $as_echo "$ac_res" >&6; }
6977 if test `eval 'as_val=${'$as_ac_var'}
6978 $as_echo "$as_val"'` = yes; then
6979 cat >>confdefs.h <<_ACEOF
6980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6981 _ACEOF
6984 done
6987 else
6990 for ac_header in unistd.h
6992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6994 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6995 $as_echo_n "checking for $ac_header... " >&6; }
6996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6997 $as_echo_n "(cached) " >&6
6999 ac_res=`eval 'as_val=${'$as_ac_Header'}
7000 $as_echo "$as_val"'`
7001 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7002 $as_echo "$ac_res" >&6; }
7003 else
7004 # Is the header compilable?
7005 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7006 $as_echo_n "checking $ac_header usability... " >&6; }
7007 cat >conftest.$ac_ext <<_ACEOF
7008 /* confdefs.h. */
7009 _ACEOF
7010 cat confdefs.h >>conftest.$ac_ext
7011 cat >>conftest.$ac_ext <<_ACEOF
7012 /* end confdefs.h. */
7013 $ac_includes_default
7014 #include <$ac_header>
7015 _ACEOF
7016 rm -f conftest.$ac_objext
7017 if { (ac_try="$ac_compile"
7018 case "(($ac_try" in
7019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7020 *) ac_try_echo=$ac_try;;
7021 esac
7022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7023 $as_echo "$ac_try_echo") >&5
7024 (eval "$ac_compile") 2>conftest.er1
7025 ac_status=$?
7026 grep -v '^ *+' conftest.er1 >conftest.err
7027 rm -f conftest.er1
7028 cat conftest.err >&5
7029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } && {
7031 test -z "$ac_cxx_werror_flag" ||
7032 test ! -s conftest.err
7033 } && test -s conftest.$ac_objext; then
7034 ac_header_compiler=yes
7035 else
7036 $as_echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_header_compiler=no
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7044 $as_echo "$ac_header_compiler" >&6; }
7046 # Is the header present?
7047 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7048 $as_echo_n "checking $ac_header presence... " >&6; }
7049 cat >conftest.$ac_ext <<_ACEOF
7050 /* confdefs.h. */
7051 _ACEOF
7052 cat confdefs.h >>conftest.$ac_ext
7053 cat >>conftest.$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7055 #include <$ac_header>
7056 _ACEOF
7057 if { (ac_try="$ac_cpp conftest.$ac_ext"
7058 case "(($ac_try" in
7059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7061 esac
7062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7063 $as_echo "$ac_try_echo") >&5
7064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7065 ac_status=$?
7066 grep -v '^ *+' conftest.er1 >conftest.err
7067 rm -f conftest.er1
7068 cat conftest.err >&5
7069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); } >/dev/null && {
7071 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7072 test ! -s conftest.err
7073 }; then
7074 ac_header_preproc=yes
7075 else
7076 $as_echo "$as_me: failed program was:" >&5
7077 sed 's/^/| /' conftest.$ac_ext >&5
7079 ac_header_preproc=no
7082 rm -f conftest.err conftest.$ac_ext
7083 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7084 $as_echo "$ac_header_preproc" >&6; }
7086 # So? What about this header?
7087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7088 yes:no: )
7089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7090 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7092 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7093 ac_header_preproc=yes
7095 no:yes:* )
7096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7097 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7099 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7101 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7103 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7105 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7107 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7108 ( cat <<\_ASBOX
7109 ## -------------------------------------- ##
7110 ## Report this to gambit@iro.umontreal.ca ##
7111 ## -------------------------------------- ##
7112 _ASBOX
7113 ) | sed "s/^/$as_me: WARNING: /" >&2
7115 esac
7116 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7117 $as_echo_n "checking for $ac_header... " >&6; }
7118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7119 $as_echo_n "(cached) " >&6
7120 else
7121 eval "$as_ac_Header=\$ac_header_preproc"
7123 ac_res=`eval 'as_val=${'$as_ac_Header'}
7124 $as_echo "$as_val"'`
7125 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7126 $as_echo "$ac_res" >&6; }
7129 if test `eval 'as_val=${'$as_ac_Header'}
7130 $as_echo "$as_val"'` = yes; then
7131 cat >>confdefs.h <<_ACEOF
7132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7133 _ACEOF
7137 done
7140 for ac_header in pwd.h
7142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7144 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7145 $as_echo_n "checking for $ac_header... " >&6; }
7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7147 $as_echo_n "(cached) " >&6
7149 ac_res=`eval 'as_val=${'$as_ac_Header'}
7150 $as_echo "$as_val"'`
7151 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7152 $as_echo "$ac_res" >&6; }
7153 else
7154 # Is the header compilable?
7155 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7156 $as_echo_n "checking $ac_header usability... " >&6; }
7157 cat >conftest.$ac_ext <<_ACEOF
7158 /* confdefs.h. */
7159 _ACEOF
7160 cat confdefs.h >>conftest.$ac_ext
7161 cat >>conftest.$ac_ext <<_ACEOF
7162 /* end confdefs.h. */
7163 $ac_includes_default
7164 #include <$ac_header>
7165 _ACEOF
7166 rm -f conftest.$ac_objext
7167 if { (ac_try="$ac_compile"
7168 case "(($ac_try" in
7169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170 *) ac_try_echo=$ac_try;;
7171 esac
7172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7173 $as_echo "$ac_try_echo") >&5
7174 (eval "$ac_compile") 2>conftest.er1
7175 ac_status=$?
7176 grep -v '^ *+' conftest.er1 >conftest.err
7177 rm -f conftest.er1
7178 cat conftest.err >&5
7179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } && {
7181 test -z "$ac_cxx_werror_flag" ||
7182 test ! -s conftest.err
7183 } && test -s conftest.$ac_objext; then
7184 ac_header_compiler=yes
7185 else
7186 $as_echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7189 ac_header_compiler=no
7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7194 $as_echo "$ac_header_compiler" >&6; }
7196 # Is the header present?
7197 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7198 $as_echo_n "checking $ac_header presence... " >&6; }
7199 cat >conftest.$ac_ext <<_ACEOF
7200 /* confdefs.h. */
7201 _ACEOF
7202 cat confdefs.h >>conftest.$ac_ext
7203 cat >>conftest.$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7205 #include <$ac_header>
7206 _ACEOF
7207 if { (ac_try="$ac_cpp conftest.$ac_ext"
7208 case "(($ac_try" in
7209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7210 *) ac_try_echo=$ac_try;;
7211 esac
7212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7213 $as_echo "$ac_try_echo") >&5
7214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7215 ac_status=$?
7216 grep -v '^ *+' conftest.er1 >conftest.err
7217 rm -f conftest.er1
7218 cat conftest.err >&5
7219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } >/dev/null && {
7221 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7222 test ! -s conftest.err
7223 }; then
7224 ac_header_preproc=yes
7225 else
7226 $as_echo "$as_me: failed program was:" >&5
7227 sed 's/^/| /' conftest.$ac_ext >&5
7229 ac_header_preproc=no
7232 rm -f conftest.err conftest.$ac_ext
7233 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7234 $as_echo "$ac_header_preproc" >&6; }
7236 # So? What about this header?
7237 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7238 yes:no: )
7239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7240 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7241 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7242 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7243 ac_header_preproc=yes
7245 no:yes:* )
7246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7247 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7249 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7251 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7252 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7253 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7254 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7255 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7256 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7257 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7258 ( cat <<\_ASBOX
7259 ## -------------------------------------- ##
7260 ## Report this to gambit@iro.umontreal.ca ##
7261 ## -------------------------------------- ##
7262 _ASBOX
7263 ) | sed "s/^/$as_me: WARNING: /" >&2
7265 esac
7266 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7267 $as_echo_n "checking for $ac_header... " >&6; }
7268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7269 $as_echo_n "(cached) " >&6
7270 else
7271 eval "$as_ac_Header=\$ac_header_preproc"
7273 ac_res=`eval 'as_val=${'$as_ac_Header'}
7274 $as_echo "$as_val"'`
7275 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7276 $as_echo "$ac_res" >&6; }
7279 if test `eval 'as_val=${'$as_ac_Header'}
7280 $as_echo "$as_val"'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7283 _ACEOF
7287 done
7290 for ac_header in dirent.h
7292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7295 $as_echo_n "checking for $ac_header... " >&6; }
7296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7297 $as_echo_n "(cached) " >&6
7299 ac_res=`eval 'as_val=${'$as_ac_Header'}
7300 $as_echo "$as_val"'`
7301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7302 $as_echo "$ac_res" >&6; }
7303 else
7304 # Is the header compilable?
7305 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7306 $as_echo_n "checking $ac_header usability... " >&6; }
7307 cat >conftest.$ac_ext <<_ACEOF
7308 /* confdefs.h. */
7309 _ACEOF
7310 cat confdefs.h >>conftest.$ac_ext
7311 cat >>conftest.$ac_ext <<_ACEOF
7312 /* end confdefs.h. */
7313 $ac_includes_default
7314 #include <$ac_header>
7315 _ACEOF
7316 rm -f conftest.$ac_objext
7317 if { (ac_try="$ac_compile"
7318 case "(($ac_try" in
7319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7320 *) ac_try_echo=$ac_try;;
7321 esac
7322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7323 $as_echo "$ac_try_echo") >&5
7324 (eval "$ac_compile") 2>conftest.er1
7325 ac_status=$?
7326 grep -v '^ *+' conftest.er1 >conftest.err
7327 rm -f conftest.er1
7328 cat conftest.err >&5
7329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_cxx_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest.$ac_objext; then
7334 ac_header_compiler=yes
7335 else
7336 $as_echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.$ac_ext >&5
7339 ac_header_compiler=no
7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7343 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7344 $as_echo "$ac_header_compiler" >&6; }
7346 # Is the header present?
7347 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7348 $as_echo_n "checking $ac_header presence... " >&6; }
7349 cat >conftest.$ac_ext <<_ACEOF
7350 /* confdefs.h. */
7351 _ACEOF
7352 cat confdefs.h >>conftest.$ac_ext
7353 cat >>conftest.$ac_ext <<_ACEOF
7354 /* end confdefs.h. */
7355 #include <$ac_header>
7356 _ACEOF
7357 if { (ac_try="$ac_cpp conftest.$ac_ext"
7358 case "(($ac_try" in
7359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7360 *) ac_try_echo=$ac_try;;
7361 esac
7362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7363 $as_echo "$ac_try_echo") >&5
7364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7365 ac_status=$?
7366 grep -v '^ *+' conftest.er1 >conftest.err
7367 rm -f conftest.er1
7368 cat conftest.err >&5
7369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } >/dev/null && {
7371 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7372 test ! -s conftest.err
7373 }; then
7374 ac_header_preproc=yes
7375 else
7376 $as_echo "$as_me: failed program was:" >&5
7377 sed 's/^/| /' conftest.$ac_ext >&5
7379 ac_header_preproc=no
7382 rm -f conftest.err conftest.$ac_ext
7383 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7384 $as_echo "$ac_header_preproc" >&6; }
7386 # So? What about this header?
7387 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7388 yes:no: )
7389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7390 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7392 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7393 ac_header_preproc=yes
7395 no:yes:* )
7396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7397 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7399 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7401 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7403 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7405 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7407 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7408 ( cat <<\_ASBOX
7409 ## -------------------------------------- ##
7410 ## Report this to gambit@iro.umontreal.ca ##
7411 ## -------------------------------------- ##
7412 _ASBOX
7413 ) | sed "s/^/$as_me: WARNING: /" >&2
7415 esac
7416 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 $as_echo_n "checking for $ac_header... " >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 $as_echo_n "(cached) " >&6
7420 else
7421 eval "$as_ac_Header=\$ac_header_preproc"
7423 ac_res=`eval 'as_val=${'$as_ac_Header'}
7424 $as_echo "$as_val"'`
7425 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7426 $as_echo "$ac_res" >&6; }
7429 if test `eval 'as_val=${'$as_ac_Header'}
7430 $as_echo "$as_val"'` = yes; then
7431 cat >>confdefs.h <<_ACEOF
7432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7433 _ACEOF
7437 done
7440 for ac_header in dlfcn.h
7442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7444 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7445 $as_echo_n "checking for $ac_header... " >&6; }
7446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7447 $as_echo_n "(cached) " >&6
7449 ac_res=`eval 'as_val=${'$as_ac_Header'}
7450 $as_echo "$as_val"'`
7451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7452 $as_echo "$ac_res" >&6; }
7453 else
7454 # Is the header compilable?
7455 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7456 $as_echo_n "checking $ac_header usability... " >&6; }
7457 cat >conftest.$ac_ext <<_ACEOF
7458 /* confdefs.h. */
7459 _ACEOF
7460 cat confdefs.h >>conftest.$ac_ext
7461 cat >>conftest.$ac_ext <<_ACEOF
7462 /* end confdefs.h. */
7463 $ac_includes_default
7464 #include <$ac_header>
7465 _ACEOF
7466 rm -f conftest.$ac_objext
7467 if { (ac_try="$ac_compile"
7468 case "(($ac_try" in
7469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7470 *) ac_try_echo=$ac_try;;
7471 esac
7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7473 $as_echo "$ac_try_echo") >&5
7474 (eval "$ac_compile") 2>conftest.er1
7475 ac_status=$?
7476 grep -v '^ *+' conftest.er1 >conftest.err
7477 rm -f conftest.er1
7478 cat conftest.err >&5
7479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } && {
7481 test -z "$ac_cxx_werror_flag" ||
7482 test ! -s conftest.err
7483 } && test -s conftest.$ac_objext; then
7484 ac_header_compiler=yes
7485 else
7486 $as_echo "$as_me: failed program was:" >&5
7487 sed 's/^/| /' conftest.$ac_ext >&5
7489 ac_header_compiler=no
7492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7493 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7494 $as_echo "$ac_header_compiler" >&6; }
7496 # Is the header present?
7497 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7498 $as_echo_n "checking $ac_header presence... " >&6; }
7499 cat >conftest.$ac_ext <<_ACEOF
7500 /* confdefs.h. */
7501 _ACEOF
7502 cat confdefs.h >>conftest.$ac_ext
7503 cat >>conftest.$ac_ext <<_ACEOF
7504 /* end confdefs.h. */
7505 #include <$ac_header>
7506 _ACEOF
7507 if { (ac_try="$ac_cpp conftest.$ac_ext"
7508 case "(($ac_try" in
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7511 esac
7512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7513 $as_echo "$ac_try_echo") >&5
7514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7515 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1
7518 cat conftest.err >&5
7519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } >/dev/null && {
7521 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7522 test ! -s conftest.err
7523 }; then
7524 ac_header_preproc=yes
7525 else
7526 $as_echo "$as_me: failed program was:" >&5
7527 sed 's/^/| /' conftest.$ac_ext >&5
7529 ac_header_preproc=no
7532 rm -f conftest.err conftest.$ac_ext
7533 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7534 $as_echo "$ac_header_preproc" >&6; }
7536 # So? What about this header?
7537 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7538 yes:no: )
7539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7540 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7542 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7543 ac_header_preproc=yes
7545 no:yes:* )
7546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7547 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7549 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7551 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7553 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7555 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7557 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7558 ( cat <<\_ASBOX
7559 ## -------------------------------------- ##
7560 ## Report this to gambit@iro.umontreal.ca ##
7561 ## -------------------------------------- ##
7562 _ASBOX
7563 ) | sed "s/^/$as_me: WARNING: /" >&2
7565 esac
7566 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7567 $as_echo_n "checking for $ac_header... " >&6; }
7568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7569 $as_echo_n "(cached) " >&6
7570 else
7571 eval "$as_ac_Header=\$ac_header_preproc"
7573 ac_res=`eval 'as_val=${'$as_ac_Header'}
7574 $as_echo "$as_val"'`
7575 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7576 $as_echo "$ac_res" >&6; }
7579 if test `eval 'as_val=${'$as_ac_Header'}
7580 $as_echo "$as_val"'` = yes; then
7581 cat >>confdefs.h <<_ACEOF
7582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583 _ACEOF
7587 done
7590 for ac_header in dl.h
7592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7594 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7595 $as_echo_n "checking for $ac_header... " >&6; }
7596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7597 $as_echo_n "(cached) " >&6
7599 ac_res=`eval 'as_val=${'$as_ac_Header'}
7600 $as_echo "$as_val"'`
7601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7602 $as_echo "$ac_res" >&6; }
7603 else
7604 # Is the header compilable?
7605 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7606 $as_echo_n "checking $ac_header usability... " >&6; }
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 $ac_includes_default
7614 #include <$ac_header>
7615 _ACEOF
7616 rm -f conftest.$ac_objext
7617 if { (ac_try="$ac_compile"
7618 case "(($ac_try" in
7619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620 *) ac_try_echo=$ac_try;;
7621 esac
7622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7623 $as_echo "$ac_try_echo") >&5
7624 (eval "$ac_compile") 2>conftest.er1
7625 ac_status=$?
7626 grep -v '^ *+' conftest.er1 >conftest.err
7627 rm -f conftest.er1
7628 cat conftest.err >&5
7629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } && {
7631 test -z "$ac_cxx_werror_flag" ||
7632 test ! -s conftest.err
7633 } && test -s conftest.$ac_objext; then
7634 ac_header_compiler=yes
7635 else
7636 $as_echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.$ac_ext >&5
7639 ac_header_compiler=no
7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7644 $as_echo "$ac_header_compiler" >&6; }
7646 # Is the header present?
7647 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7648 $as_echo_n "checking $ac_header presence... " >&6; }
7649 cat >conftest.$ac_ext <<_ACEOF
7650 /* confdefs.h. */
7651 _ACEOF
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h. */
7655 #include <$ac_header>
7656 _ACEOF
7657 if { (ac_try="$ac_cpp conftest.$ac_ext"
7658 case "(($ac_try" in
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7661 esac
7662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7663 $as_echo "$ac_try_echo") >&5
7664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7665 ac_status=$?
7666 grep -v '^ *+' conftest.er1 >conftest.err
7667 rm -f conftest.er1
7668 cat conftest.err >&5
7669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } >/dev/null && {
7671 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7672 test ! -s conftest.err
7673 }; then
7674 ac_header_preproc=yes
7675 else
7676 $as_echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7679 ac_header_preproc=no
7682 rm -f conftest.err conftest.$ac_ext
7683 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7684 $as_echo "$ac_header_preproc" >&6; }
7686 # So? What about this header?
7687 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7688 yes:no: )
7689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7690 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7692 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7693 ac_header_preproc=yes
7695 no:yes:* )
7696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7697 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7699 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7701 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7703 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7707 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7708 ( cat <<\_ASBOX
7709 ## -------------------------------------- ##
7710 ## Report this to gambit@iro.umontreal.ca ##
7711 ## -------------------------------------- ##
7712 _ASBOX
7713 ) | sed "s/^/$as_me: WARNING: /" >&2
7715 esac
7716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7717 $as_echo_n "checking for $ac_header... " >&6; }
7718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7719 $as_echo_n "(cached) " >&6
7720 else
7721 eval "$as_ac_Header=\$ac_header_preproc"
7723 ac_res=`eval 'as_val=${'$as_ac_Header'}
7724 $as_echo "$as_val"'`
7725 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7726 $as_echo "$ac_res" >&6; }
7729 if test `eval 'as_val=${'$as_ac_Header'}
7730 $as_echo "$as_val"'` = yes; then
7731 cat >>confdefs.h <<_ACEOF
7732 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7733 _ACEOF
7737 done
7740 for ac_header in sys/dxe.h
7742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7744 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7745 $as_echo_n "checking for $ac_header... " >&6; }
7746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7747 $as_echo_n "(cached) " >&6
7749 ac_res=`eval 'as_val=${'$as_ac_Header'}
7750 $as_echo "$as_val"'`
7751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7752 $as_echo "$ac_res" >&6; }
7753 else
7754 # Is the header compilable?
7755 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7756 $as_echo_n "checking $ac_header usability... " >&6; }
7757 cat >conftest.$ac_ext <<_ACEOF
7758 /* confdefs.h. */
7759 _ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 $ac_includes_default
7764 #include <$ac_header>
7765 _ACEOF
7766 rm -f conftest.$ac_objext
7767 if { (ac_try="$ac_compile"
7768 case "(($ac_try" in
7769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;;
7771 esac
7772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7773 $as_echo "$ac_try_echo") >&5
7774 (eval "$ac_compile") 2>conftest.er1
7775 ac_status=$?
7776 grep -v '^ *+' conftest.er1 >conftest.err
7777 rm -f conftest.er1
7778 cat conftest.err >&5
7779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && {
7781 test -z "$ac_cxx_werror_flag" ||
7782 test ! -s conftest.err
7783 } && test -s conftest.$ac_objext; then
7784 ac_header_compiler=yes
7785 else
7786 $as_echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 ac_header_compiler=no
7792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7793 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7794 $as_echo "$ac_header_compiler" >&6; }
7796 # Is the header present?
7797 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7798 $as_echo_n "checking $ac_header presence... " >&6; }
7799 cat >conftest.$ac_ext <<_ACEOF
7800 /* confdefs.h. */
7801 _ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7805 #include <$ac_header>
7806 _ACEOF
7807 if { (ac_try="$ac_cpp conftest.$ac_ext"
7808 case "(($ac_try" in
7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7811 esac
7812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7813 $as_echo "$ac_try_echo") >&5
7814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7815 ac_status=$?
7816 grep -v '^ *+' conftest.er1 >conftest.err
7817 rm -f conftest.er1
7818 cat conftest.err >&5
7819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } >/dev/null && {
7821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7822 test ! -s conftest.err
7823 }; then
7824 ac_header_preproc=yes
7825 else
7826 $as_echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7829 ac_header_preproc=no
7832 rm -f conftest.err conftest.$ac_ext
7833 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7834 $as_echo "$ac_header_preproc" >&6; }
7836 # So? What about this header?
7837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7838 yes:no: )
7839 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7840 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7842 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7843 ac_header_preproc=yes
7845 no:yes:* )
7846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7847 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7849 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7851 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7853 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7855 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7857 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7858 ( cat <<\_ASBOX
7859 ## -------------------------------------- ##
7860 ## Report this to gambit@iro.umontreal.ca ##
7861 ## -------------------------------------- ##
7862 _ASBOX
7863 ) | sed "s/^/$as_me: WARNING: /" >&2
7865 esac
7866 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7867 $as_echo_n "checking for $ac_header... " >&6; }
7868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7869 $as_echo_n "(cached) " >&6
7870 else
7871 eval "$as_ac_Header=\$ac_header_preproc"
7873 ac_res=`eval 'as_val=${'$as_ac_Header'}
7874 $as_echo "$as_val"'`
7875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7876 $as_echo "$ac_res" >&6; }
7879 if test `eval 'as_val=${'$as_ac_Header'}
7880 $as_echo "$as_val"'` = yes; then
7881 cat >>confdefs.h <<_ACEOF
7882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7883 _ACEOF
7887 done
7890 for ac_header in mach-o/dyld.h
7892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7894 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7895 $as_echo_n "checking for $ac_header... " >&6; }
7896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7897 $as_echo_n "(cached) " >&6
7899 ac_res=`eval 'as_val=${'$as_ac_Header'}
7900 $as_echo "$as_val"'`
7901 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7902 $as_echo "$ac_res" >&6; }
7903 else
7904 # Is the header compilable?
7905 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7906 $as_echo_n "checking $ac_header usability... " >&6; }
7907 cat >conftest.$ac_ext <<_ACEOF
7908 /* confdefs.h. */
7909 _ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7913 $ac_includes_default
7914 #include <$ac_header>
7915 _ACEOF
7916 rm -f conftest.$ac_objext
7917 if { (ac_try="$ac_compile"
7918 case "(($ac_try" in
7919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7920 *) ac_try_echo=$ac_try;;
7921 esac
7922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7923 $as_echo "$ac_try_echo") >&5
7924 (eval "$ac_compile") 2>conftest.er1
7925 ac_status=$?
7926 grep -v '^ *+' conftest.er1 >conftest.err
7927 rm -f conftest.er1
7928 cat conftest.err >&5
7929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } && {
7931 test -z "$ac_cxx_werror_flag" ||
7932 test ! -s conftest.err
7933 } && test -s conftest.$ac_objext; then
7934 ac_header_compiler=yes
7935 else
7936 $as_echo "$as_me: failed program was:" >&5
7937 sed 's/^/| /' conftest.$ac_ext >&5
7939 ac_header_compiler=no
7942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7943 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7944 $as_echo "$ac_header_compiler" >&6; }
7946 # Is the header present?
7947 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7948 $as_echo_n "checking $ac_header presence... " >&6; }
7949 cat >conftest.$ac_ext <<_ACEOF
7950 /* confdefs.h. */
7951 _ACEOF
7952 cat confdefs.h >>conftest.$ac_ext
7953 cat >>conftest.$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7955 #include <$ac_header>
7956 _ACEOF
7957 if { (ac_try="$ac_cpp conftest.$ac_ext"
7958 case "(($ac_try" in
7959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7960 *) ac_try_echo=$ac_try;;
7961 esac
7962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7963 $as_echo "$ac_try_echo") >&5
7964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7965 ac_status=$?
7966 grep -v '^ *+' conftest.er1 >conftest.err
7967 rm -f conftest.er1
7968 cat conftest.err >&5
7969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } >/dev/null && {
7971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7972 test ! -s conftest.err
7973 }; then
7974 ac_header_preproc=yes
7975 else
7976 $as_echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 ac_header_preproc=no
7982 rm -f conftest.err conftest.$ac_ext
7983 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7984 $as_echo "$ac_header_preproc" >&6; }
7986 # So? What about this header?
7987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7988 yes:no: )
7989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7990 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7992 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7993 ac_header_preproc=yes
7995 no:yes:* )
7996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7997 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7999 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8001 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8003 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8005 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8007 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8008 ( cat <<\_ASBOX
8009 ## -------------------------------------- ##
8010 ## Report this to gambit@iro.umontreal.ca ##
8011 ## -------------------------------------- ##
8012 _ASBOX
8013 ) | sed "s/^/$as_me: WARNING: /" >&2
8015 esac
8016 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8017 $as_echo_n "checking for $ac_header... " >&6; }
8018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8019 $as_echo_n "(cached) " >&6
8020 else
8021 eval "$as_ac_Header=\$ac_header_preproc"
8023 ac_res=`eval 'as_val=${'$as_ac_Header'}
8024 $as_echo "$as_val"'`
8025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8026 $as_echo "$ac_res" >&6; }
8029 if test `eval 'as_val=${'$as_ac_Header'}
8030 $as_echo "$as_val"'` = yes; then
8031 cat >>confdefs.h <<_ACEOF
8032 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8033 _ACEOF
8037 done
8040 for ac_header in sys/types.h
8042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8044 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8045 $as_echo_n "checking for $ac_header... " >&6; }
8046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8047 $as_echo_n "(cached) " >&6
8049 ac_res=`eval 'as_val=${'$as_ac_Header'}
8050 $as_echo "$as_val"'`
8051 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8052 $as_echo "$ac_res" >&6; }
8053 else
8054 # Is the header compilable?
8055 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8056 $as_echo_n "checking $ac_header usability... " >&6; }
8057 cat >conftest.$ac_ext <<_ACEOF
8058 /* confdefs.h. */
8059 _ACEOF
8060 cat confdefs.h >>conftest.$ac_ext
8061 cat >>conftest.$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8063 $ac_includes_default
8064 #include <$ac_header>
8065 _ACEOF
8066 rm -f conftest.$ac_objext
8067 if { (ac_try="$ac_compile"
8068 case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8071 esac
8072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8073 $as_echo "$ac_try_echo") >&5
8074 (eval "$ac_compile") 2>conftest.er1
8075 ac_status=$?
8076 grep -v '^ *+' conftest.er1 >conftest.err
8077 rm -f conftest.er1
8078 cat conftest.err >&5
8079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } && {
8081 test -z "$ac_cxx_werror_flag" ||
8082 test ! -s conftest.err
8083 } && test -s conftest.$ac_objext; then
8084 ac_header_compiler=yes
8085 else
8086 $as_echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_header_compiler=no
8092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8093 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8094 $as_echo "$ac_header_compiler" >&6; }
8096 # Is the header present?
8097 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8098 $as_echo_n "checking $ac_header presence... " >&6; }
8099 cat >conftest.$ac_ext <<_ACEOF
8100 /* confdefs.h. */
8101 _ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8105 #include <$ac_header>
8106 _ACEOF
8107 if { (ac_try="$ac_cpp conftest.$ac_ext"
8108 case "(($ac_try" in
8109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8110 *) ac_try_echo=$ac_try;;
8111 esac
8112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8113 $as_echo "$ac_try_echo") >&5
8114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8115 ac_status=$?
8116 grep -v '^ *+' conftest.er1 >conftest.err
8117 rm -f conftest.er1
8118 cat conftest.err >&5
8119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } >/dev/null && {
8121 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8122 test ! -s conftest.err
8123 }; then
8124 ac_header_preproc=yes
8125 else
8126 $as_echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.$ac_ext >&5
8129 ac_header_preproc=no
8132 rm -f conftest.err conftest.$ac_ext
8133 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8134 $as_echo "$ac_header_preproc" >&6; }
8136 # So? What about this header?
8137 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8138 yes:no: )
8139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8140 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8142 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8143 ac_header_preproc=yes
8145 no:yes:* )
8146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8147 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8149 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8151 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8153 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8155 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8157 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8158 ( cat <<\_ASBOX
8159 ## -------------------------------------- ##
8160 ## Report this to gambit@iro.umontreal.ca ##
8161 ## -------------------------------------- ##
8162 _ASBOX
8163 ) | sed "s/^/$as_me: WARNING: /" >&2
8165 esac
8166 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8167 $as_echo_n "checking for $ac_header... " >&6; }
8168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8169 $as_echo_n "(cached) " >&6
8170 else
8171 eval "$as_ac_Header=\$ac_header_preproc"
8173 ac_res=`eval 'as_val=${'$as_ac_Header'}
8174 $as_echo "$as_val"'`
8175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8176 $as_echo "$ac_res" >&6; }
8179 if test `eval 'as_val=${'$as_ac_Header'}
8180 $as_echo "$as_val"'` = yes; then
8181 cat >>confdefs.h <<_ACEOF
8182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8183 _ACEOF
8187 done
8190 for ac_header in sys/time.h
8192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8194 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8195 $as_echo_n "checking for $ac_header... " >&6; }
8196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8197 $as_echo_n "(cached) " >&6
8199 ac_res=`eval 'as_val=${'$as_ac_Header'}
8200 $as_echo "$as_val"'`
8201 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8202 $as_echo "$ac_res" >&6; }
8203 else
8204 # Is the header compilable?
8205 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8206 $as_echo_n "checking $ac_header usability... " >&6; }
8207 cat >conftest.$ac_ext <<_ACEOF
8208 /* confdefs.h. */
8209 _ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8213 $ac_includes_default
8214 #include <$ac_header>
8215 _ACEOF
8216 rm -f conftest.$ac_objext
8217 if { (ac_try="$ac_compile"
8218 case "(($ac_try" in
8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8220 *) ac_try_echo=$ac_try;;
8221 esac
8222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8223 $as_echo "$ac_try_echo") >&5
8224 (eval "$ac_compile") 2>conftest.er1
8225 ac_status=$?
8226 grep -v '^ *+' conftest.er1 >conftest.err
8227 rm -f conftest.er1
8228 cat conftest.err >&5
8229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); } && {
8231 test -z "$ac_cxx_werror_flag" ||
8232 test ! -s conftest.err
8233 } && test -s conftest.$ac_objext; then
8234 ac_header_compiler=yes
8235 else
8236 $as_echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.$ac_ext >&5
8239 ac_header_compiler=no
8242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8243 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8244 $as_echo "$ac_header_compiler" >&6; }
8246 # Is the header present?
8247 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8248 $as_echo_n "checking $ac_header presence... " >&6; }
8249 cat >conftest.$ac_ext <<_ACEOF
8250 /* confdefs.h. */
8251 _ACEOF
8252 cat confdefs.h >>conftest.$ac_ext
8253 cat >>conftest.$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 #include <$ac_header>
8256 _ACEOF
8257 if { (ac_try="$ac_cpp conftest.$ac_ext"
8258 case "(($ac_try" in
8259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8260 *) ac_try_echo=$ac_try;;
8261 esac
8262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8263 $as_echo "$ac_try_echo") >&5
8264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8265 ac_status=$?
8266 grep -v '^ *+' conftest.er1 >conftest.err
8267 rm -f conftest.er1
8268 cat conftest.err >&5
8269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } >/dev/null && {
8271 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8272 test ! -s conftest.err
8273 }; then
8274 ac_header_preproc=yes
8275 else
8276 $as_echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.$ac_ext >&5
8279 ac_header_preproc=no
8282 rm -f conftest.err conftest.$ac_ext
8283 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8284 $as_echo "$ac_header_preproc" >&6; }
8286 # So? What about this header?
8287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8288 yes:no: )
8289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8290 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8292 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8293 ac_header_preproc=yes
8295 no:yes:* )
8296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8297 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8299 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8301 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8303 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8305 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8307 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8308 ( cat <<\_ASBOX
8309 ## -------------------------------------- ##
8310 ## Report this to gambit@iro.umontreal.ca ##
8311 ## -------------------------------------- ##
8312 _ASBOX
8313 ) | sed "s/^/$as_me: WARNING: /" >&2
8315 esac
8316 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8317 $as_echo_n "checking for $ac_header... " >&6; }
8318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8319 $as_echo_n "(cached) " >&6
8320 else
8321 eval "$as_ac_Header=\$ac_header_preproc"
8323 ac_res=`eval 'as_val=${'$as_ac_Header'}
8324 $as_echo "$as_val"'`
8325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8326 $as_echo "$ac_res" >&6; }
8329 if test `eval 'as_val=${'$as_ac_Header'}
8330 $as_echo "$as_val"'` = yes; then
8331 cat >>confdefs.h <<_ACEOF
8332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8333 _ACEOF
8337 done
8340 for ac_header in sys/times.h
8342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8345 $as_echo_n "checking for $ac_header... " >&6; }
8346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8347 $as_echo_n "(cached) " >&6
8349 ac_res=`eval 'as_val=${'$as_ac_Header'}
8350 $as_echo "$as_val"'`
8351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8352 $as_echo "$ac_res" >&6; }
8353 else
8354 # Is the header compilable?
8355 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8356 $as_echo_n "checking $ac_header usability... " >&6; }
8357 cat >conftest.$ac_ext <<_ACEOF
8358 /* confdefs.h. */
8359 _ACEOF
8360 cat confdefs.h >>conftest.$ac_ext
8361 cat >>conftest.$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8363 $ac_includes_default
8364 #include <$ac_header>
8365 _ACEOF
8366 rm -f conftest.$ac_objext
8367 if { (ac_try="$ac_compile"
8368 case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8373 $as_echo "$ac_try_echo") >&5
8374 (eval "$ac_compile") 2>conftest.er1
8375 ac_status=$?
8376 grep -v '^ *+' conftest.er1 >conftest.err
8377 rm -f conftest.er1
8378 cat conftest.err >&5
8379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } && {
8381 test -z "$ac_cxx_werror_flag" ||
8382 test ! -s conftest.err
8383 } && test -s conftest.$ac_objext; then
8384 ac_header_compiler=yes
8385 else
8386 $as_echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 ac_header_compiler=no
8392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8393 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8394 $as_echo "$ac_header_compiler" >&6; }
8396 # Is the header present?
8397 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8398 $as_echo_n "checking $ac_header presence... " >&6; }
8399 cat >conftest.$ac_ext <<_ACEOF
8400 /* confdefs.h. */
8401 _ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405 #include <$ac_header>
8406 _ACEOF
8407 if { (ac_try="$ac_cpp conftest.$ac_ext"
8408 case "(($ac_try" in
8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8410 *) ac_try_echo=$ac_try;;
8411 esac
8412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8413 $as_echo "$ac_try_echo") >&5
8414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8415 ac_status=$?
8416 grep -v '^ *+' conftest.er1 >conftest.err
8417 rm -f conftest.er1
8418 cat conftest.err >&5
8419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); } >/dev/null && {
8421 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8422 test ! -s conftest.err
8423 }; then
8424 ac_header_preproc=yes
8425 else
8426 $as_echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.$ac_ext >&5
8429 ac_header_preproc=no
8432 rm -f conftest.err conftest.$ac_ext
8433 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8434 $as_echo "$ac_header_preproc" >&6; }
8436 # So? What about this header?
8437 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8438 yes:no: )
8439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8440 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8442 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8443 ac_header_preproc=yes
8445 no:yes:* )
8446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8447 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8449 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8451 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8453 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8455 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8457 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8458 ( cat <<\_ASBOX
8459 ## -------------------------------------- ##
8460 ## Report this to gambit@iro.umontreal.ca ##
8461 ## -------------------------------------- ##
8462 _ASBOX
8463 ) | sed "s/^/$as_me: WARNING: /" >&2
8465 esac
8466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8467 $as_echo_n "checking for $ac_header... " >&6; }
8468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8469 $as_echo_n "(cached) " >&6
8470 else
8471 eval "$as_ac_Header=\$ac_header_preproc"
8473 ac_res=`eval 'as_val=${'$as_ac_Header'}
8474 $as_echo "$as_val"'`
8475 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8476 $as_echo "$ac_res" >&6; }
8479 if test `eval 'as_val=${'$as_ac_Header'}
8480 $as_echo "$as_val"'` = yes; then
8481 cat >>confdefs.h <<_ACEOF
8482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8483 _ACEOF
8487 done
8490 for ac_header in sys/timeb.h
8492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8494 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8495 $as_echo_n "checking for $ac_header... " >&6; }
8496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8497 $as_echo_n "(cached) " >&6
8499 ac_res=`eval 'as_val=${'$as_ac_Header'}
8500 $as_echo "$as_val"'`
8501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8502 $as_echo "$ac_res" >&6; }
8503 else
8504 # Is the header compilable?
8505 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8506 $as_echo_n "checking $ac_header usability... " >&6; }
8507 cat >conftest.$ac_ext <<_ACEOF
8508 /* confdefs.h. */
8509 _ACEOF
8510 cat confdefs.h >>conftest.$ac_ext
8511 cat >>conftest.$ac_ext <<_ACEOF
8512 /* end confdefs.h. */
8513 $ac_includes_default
8514 #include <$ac_header>
8515 _ACEOF
8516 rm -f conftest.$ac_objext
8517 if { (ac_try="$ac_compile"
8518 case "(($ac_try" in
8519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8520 *) ac_try_echo=$ac_try;;
8521 esac
8522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8523 $as_echo "$ac_try_echo") >&5
8524 (eval "$ac_compile") 2>conftest.er1
8525 ac_status=$?
8526 grep -v '^ *+' conftest.er1 >conftest.err
8527 rm -f conftest.er1
8528 cat conftest.err >&5
8529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } && {
8531 test -z "$ac_cxx_werror_flag" ||
8532 test ! -s conftest.err
8533 } && test -s conftest.$ac_objext; then
8534 ac_header_compiler=yes
8535 else
8536 $as_echo "$as_me: failed program was:" >&5
8537 sed 's/^/| /' conftest.$ac_ext >&5
8539 ac_header_compiler=no
8542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8543 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8544 $as_echo "$ac_header_compiler" >&6; }
8546 # Is the header present?
8547 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8548 $as_echo_n "checking $ac_header presence... " >&6; }
8549 cat >conftest.$ac_ext <<_ACEOF
8550 /* confdefs.h. */
8551 _ACEOF
8552 cat confdefs.h >>conftest.$ac_ext
8553 cat >>conftest.$ac_ext <<_ACEOF
8554 /* end confdefs.h. */
8555 #include <$ac_header>
8556 _ACEOF
8557 if { (ac_try="$ac_cpp conftest.$ac_ext"
8558 case "(($ac_try" in
8559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8560 *) ac_try_echo=$ac_try;;
8561 esac
8562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8563 $as_echo "$ac_try_echo") >&5
8564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8565 ac_status=$?
8566 grep -v '^ *+' conftest.er1 >conftest.err
8567 rm -f conftest.er1
8568 cat conftest.err >&5
8569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); } >/dev/null && {
8571 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8572 test ! -s conftest.err
8573 }; then
8574 ac_header_preproc=yes
8575 else
8576 $as_echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8579 ac_header_preproc=no
8582 rm -f conftest.err conftest.$ac_ext
8583 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8584 $as_echo "$ac_header_preproc" >&6; }
8586 # So? What about this header?
8587 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8588 yes:no: )
8589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8590 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8592 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8593 ac_header_preproc=yes
8595 no:yes:* )
8596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8597 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8599 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8601 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8603 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8605 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8607 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8608 ( cat <<\_ASBOX
8609 ## -------------------------------------- ##
8610 ## Report this to gambit@iro.umontreal.ca ##
8611 ## -------------------------------------- ##
8612 _ASBOX
8613 ) | sed "s/^/$as_me: WARNING: /" >&2
8615 esac
8616 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8617 $as_echo_n "checking for $ac_header... " >&6; }
8618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8619 $as_echo_n "(cached) " >&6
8620 else
8621 eval "$as_ac_Header=\$ac_header_preproc"
8623 ac_res=`eval 'as_val=${'$as_ac_Header'}
8624 $as_echo "$as_val"'`
8625 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8626 $as_echo "$ac_res" >&6; }
8629 if test `eval 'as_val=${'$as_ac_Header'}
8630 $as_echo "$as_val"'` = yes; then
8631 cat >>confdefs.h <<_ACEOF
8632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8633 _ACEOF
8637 done
8640 for ac_header in sys/timers.h
8642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8644 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8645 $as_echo_n "checking for $ac_header... " >&6; }
8646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8647 $as_echo_n "(cached) " >&6
8649 ac_res=`eval 'as_val=${'$as_ac_Header'}
8650 $as_echo "$as_val"'`
8651 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8652 $as_echo "$ac_res" >&6; }
8653 else
8654 # Is the header compilable?
8655 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8656 $as_echo_n "checking $ac_header usability... " >&6; }
8657 cat >conftest.$ac_ext <<_ACEOF
8658 /* confdefs.h. */
8659 _ACEOF
8660 cat confdefs.h >>conftest.$ac_ext
8661 cat >>conftest.$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8663 $ac_includes_default
8664 #include <$ac_header>
8665 _ACEOF
8666 rm -f conftest.$ac_objext
8667 if { (ac_try="$ac_compile"
8668 case "(($ac_try" in
8669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8670 *) ac_try_echo=$ac_try;;
8671 esac
8672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8673 $as_echo "$ac_try_echo") >&5
8674 (eval "$ac_compile") 2>conftest.er1
8675 ac_status=$?
8676 grep -v '^ *+' conftest.er1 >conftest.err
8677 rm -f conftest.er1
8678 cat conftest.err >&5
8679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } && {
8681 test -z "$ac_cxx_werror_flag" ||
8682 test ! -s conftest.err
8683 } && test -s conftest.$ac_objext; then
8684 ac_header_compiler=yes
8685 else
8686 $as_echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_header_compiler=no
8692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8693 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8694 $as_echo "$ac_header_compiler" >&6; }
8696 # Is the header present?
8697 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8698 $as_echo_n "checking $ac_header presence... " >&6; }
8699 cat >conftest.$ac_ext <<_ACEOF
8700 /* confdefs.h. */
8701 _ACEOF
8702 cat confdefs.h >>conftest.$ac_ext
8703 cat >>conftest.$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8705 #include <$ac_header>
8706 _ACEOF
8707 if { (ac_try="$ac_cpp conftest.$ac_ext"
8708 case "(($ac_try" in
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8711 esac
8712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8713 $as_echo "$ac_try_echo") >&5
8714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8715 ac_status=$?
8716 grep -v '^ *+' conftest.er1 >conftest.err
8717 rm -f conftest.er1
8718 cat conftest.err >&5
8719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } >/dev/null && {
8721 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8722 test ! -s conftest.err
8723 }; then
8724 ac_header_preproc=yes
8725 else
8726 $as_echo "$as_me: failed program was:" >&5
8727 sed 's/^/| /' conftest.$ac_ext >&5
8729 ac_header_preproc=no
8732 rm -f conftest.err conftest.$ac_ext
8733 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8734 $as_echo "$ac_header_preproc" >&6; }
8736 # So? What about this header?
8737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8738 yes:no: )
8739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8740 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8742 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8743 ac_header_preproc=yes
8745 no:yes:* )
8746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8747 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8748 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8749 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8751 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8753 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8755 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8757 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8758 ( cat <<\_ASBOX
8759 ## -------------------------------------- ##
8760 ## Report this to gambit@iro.umontreal.ca ##
8761 ## -------------------------------------- ##
8762 _ASBOX
8763 ) | sed "s/^/$as_me: WARNING: /" >&2
8765 esac
8766 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8767 $as_echo_n "checking for $ac_header... " >&6; }
8768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8769 $as_echo_n "(cached) " >&6
8770 else
8771 eval "$as_ac_Header=\$ac_header_preproc"
8773 ac_res=`eval 'as_val=${'$as_ac_Header'}
8774 $as_echo "$as_val"'`
8775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8776 $as_echo "$ac_res" >&6; }
8779 if test `eval 'as_val=${'$as_ac_Header'}
8780 $as_echo "$as_val"'` = yes; then
8781 cat >>confdefs.h <<_ACEOF
8782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8783 _ACEOF
8787 done
8790 for ac_header in sys/resource.h
8792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8794 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8795 $as_echo_n "checking for $ac_header... " >&6; }
8796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8797 $as_echo_n "(cached) " >&6
8799 ac_res=`eval 'as_val=${'$as_ac_Header'}
8800 $as_echo "$as_val"'`
8801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8802 $as_echo "$ac_res" >&6; }
8803 else
8804 # Is the header compilable?
8805 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8806 $as_echo_n "checking $ac_header usability... " >&6; }
8807 cat >conftest.$ac_ext <<_ACEOF
8808 /* confdefs.h. */
8809 _ACEOF
8810 cat confdefs.h >>conftest.$ac_ext
8811 cat >>conftest.$ac_ext <<_ACEOF
8812 /* end confdefs.h. */
8813 $ac_includes_default
8814 #include <$ac_header>
8815 _ACEOF
8816 rm -f conftest.$ac_objext
8817 if { (ac_try="$ac_compile"
8818 case "(($ac_try" in
8819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8820 *) ac_try_echo=$ac_try;;
8821 esac
8822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8823 $as_echo "$ac_try_echo") >&5
8824 (eval "$ac_compile") 2>conftest.er1
8825 ac_status=$?
8826 grep -v '^ *+' conftest.er1 >conftest.err
8827 rm -f conftest.er1
8828 cat conftest.err >&5
8829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } && {
8831 test -z "$ac_cxx_werror_flag" ||
8832 test ! -s conftest.err
8833 } && test -s conftest.$ac_objext; then
8834 ac_header_compiler=yes
8835 else
8836 $as_echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8839 ac_header_compiler=no
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8843 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8844 $as_echo "$ac_header_compiler" >&6; }
8846 # Is the header present?
8847 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8848 $as_echo_n "checking $ac_header presence... " >&6; }
8849 cat >conftest.$ac_ext <<_ACEOF
8850 /* confdefs.h. */
8851 _ACEOF
8852 cat confdefs.h >>conftest.$ac_ext
8853 cat >>conftest.$ac_ext <<_ACEOF
8854 /* end confdefs.h. */
8855 #include <$ac_header>
8856 _ACEOF
8857 if { (ac_try="$ac_cpp conftest.$ac_ext"
8858 case "(($ac_try" in
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8861 esac
8862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8863 $as_echo "$ac_try_echo") >&5
8864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8865 ac_status=$?
8866 grep -v '^ *+' conftest.er1 >conftest.err
8867 rm -f conftest.er1
8868 cat conftest.err >&5
8869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } >/dev/null && {
8871 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8872 test ! -s conftest.err
8873 }; then
8874 ac_header_preproc=yes
8875 else
8876 $as_echo "$as_me: failed program was:" >&5
8877 sed 's/^/| /' conftest.$ac_ext >&5
8879 ac_header_preproc=no
8882 rm -f conftest.err conftest.$ac_ext
8883 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8884 $as_echo "$ac_header_preproc" >&6; }
8886 # So? What about this header?
8887 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8888 yes:no: )
8889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8890 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8892 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8893 ac_header_preproc=yes
8895 no:yes:* )
8896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8897 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8899 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8901 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8903 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8905 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8907 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8908 ( cat <<\_ASBOX
8909 ## -------------------------------------- ##
8910 ## Report this to gambit@iro.umontreal.ca ##
8911 ## -------------------------------------- ##
8912 _ASBOX
8913 ) | sed "s/^/$as_me: WARNING: /" >&2
8915 esac
8916 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8917 $as_echo_n "checking for $ac_header... " >&6; }
8918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8919 $as_echo_n "(cached) " >&6
8920 else
8921 eval "$as_ac_Header=\$ac_header_preproc"
8923 ac_res=`eval 'as_val=${'$as_ac_Header'}
8924 $as_echo "$as_val"'`
8925 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8926 $as_echo "$ac_res" >&6; }
8929 if test `eval 'as_val=${'$as_ac_Header'}
8930 $as_echo "$as_val"'` = yes; then
8931 cat >>confdefs.h <<_ACEOF
8932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8933 _ACEOF
8937 done
8940 for ac_header in sys/stat.h
8942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8944 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8945 $as_echo_n "checking for $ac_header... " >&6; }
8946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8947 $as_echo_n "(cached) " >&6
8949 ac_res=`eval 'as_val=${'$as_ac_Header'}
8950 $as_echo "$as_val"'`
8951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8952 $as_echo "$ac_res" >&6; }
8953 else
8954 # Is the header compilable?
8955 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8956 $as_echo_n "checking $ac_header usability... " >&6; }
8957 cat >conftest.$ac_ext <<_ACEOF
8958 /* confdefs.h. */
8959 _ACEOF
8960 cat confdefs.h >>conftest.$ac_ext
8961 cat >>conftest.$ac_ext <<_ACEOF
8962 /* end confdefs.h. */
8963 $ac_includes_default
8964 #include <$ac_header>
8965 _ACEOF
8966 rm -f conftest.$ac_objext
8967 if { (ac_try="$ac_compile"
8968 case "(($ac_try" in
8969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8970 *) ac_try_echo=$ac_try;;
8971 esac
8972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8973 $as_echo "$ac_try_echo") >&5
8974 (eval "$ac_compile") 2>conftest.er1
8975 ac_status=$?
8976 grep -v '^ *+' conftest.er1 >conftest.err
8977 rm -f conftest.er1
8978 cat conftest.err >&5
8979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } && {
8981 test -z "$ac_cxx_werror_flag" ||
8982 test ! -s conftest.err
8983 } && test -s conftest.$ac_objext; then
8984 ac_header_compiler=yes
8985 else
8986 $as_echo "$as_me: failed program was:" >&5
8987 sed 's/^/| /' conftest.$ac_ext >&5
8989 ac_header_compiler=no
8992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8993 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8994 $as_echo "$ac_header_compiler" >&6; }
8996 # Is the header present?
8997 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8998 $as_echo_n "checking $ac_header presence... " >&6; }
8999 cat >conftest.$ac_ext <<_ACEOF
9000 /* confdefs.h. */
9001 _ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9005 #include <$ac_header>
9006 _ACEOF
9007 if { (ac_try="$ac_cpp conftest.$ac_ext"
9008 case "(($ac_try" in
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010 *) ac_try_echo=$ac_try;;
9011 esac
9012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9013 $as_echo "$ac_try_echo") >&5
9014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9015 ac_status=$?
9016 grep -v '^ *+' conftest.er1 >conftest.err
9017 rm -f conftest.er1
9018 cat conftest.err >&5
9019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } >/dev/null && {
9021 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9022 test ! -s conftest.err
9023 }; then
9024 ac_header_preproc=yes
9025 else
9026 $as_echo "$as_me: failed program was:" >&5
9027 sed 's/^/| /' conftest.$ac_ext >&5
9029 ac_header_preproc=no
9032 rm -f conftest.err conftest.$ac_ext
9033 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9034 $as_echo "$ac_header_preproc" >&6; }
9036 # So? What about this header?
9037 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9038 yes:no: )
9039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9040 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9042 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9043 ac_header_preproc=yes
9045 no:yes:* )
9046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9047 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9048 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9049 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9051 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9053 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9055 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9057 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9058 ( cat <<\_ASBOX
9059 ## -------------------------------------- ##
9060 ## Report this to gambit@iro.umontreal.ca ##
9061 ## -------------------------------------- ##
9062 _ASBOX
9063 ) | sed "s/^/$as_me: WARNING: /" >&2
9065 esac
9066 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9067 $as_echo_n "checking for $ac_header... " >&6; }
9068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9069 $as_echo_n "(cached) " >&6
9070 else
9071 eval "$as_ac_Header=\$ac_header_preproc"
9073 ac_res=`eval 'as_val=${'$as_ac_Header'}
9074 $as_echo "$as_val"'`
9075 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9076 $as_echo "$ac_res" >&6; }
9079 if test `eval 'as_val=${'$as_ac_Header'}
9080 $as_echo "$as_val"'` = yes; then
9081 cat >>confdefs.h <<_ACEOF
9082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9083 _ACEOF
9087 done
9090 for ac_header in sys/wait.h
9092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9094 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9095 $as_echo_n "checking for $ac_header... " >&6; }
9096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9097 $as_echo_n "(cached) " >&6
9099 ac_res=`eval 'as_val=${'$as_ac_Header'}
9100 $as_echo "$as_val"'`
9101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9102 $as_echo "$ac_res" >&6; }
9103 else
9104 # Is the header compilable?
9105 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9106 $as_echo_n "checking $ac_header usability... " >&6; }
9107 cat >conftest.$ac_ext <<_ACEOF
9108 /* confdefs.h. */
9109 _ACEOF
9110 cat confdefs.h >>conftest.$ac_ext
9111 cat >>conftest.$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9113 $ac_includes_default
9114 #include <$ac_header>
9115 _ACEOF
9116 rm -f conftest.$ac_objext
9117 if { (ac_try="$ac_compile"
9118 case "(($ac_try" in
9119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9120 *) ac_try_echo=$ac_try;;
9121 esac
9122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9123 $as_echo "$ac_try_echo") >&5
9124 (eval "$ac_compile") 2>conftest.er1
9125 ac_status=$?
9126 grep -v '^ *+' conftest.er1 >conftest.err
9127 rm -f conftest.er1
9128 cat conftest.err >&5
9129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); } && {
9131 test -z "$ac_cxx_werror_flag" ||
9132 test ! -s conftest.err
9133 } && test -s conftest.$ac_objext; then
9134 ac_header_compiler=yes
9135 else
9136 $as_echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 ac_header_compiler=no
9142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9143 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9144 $as_echo "$ac_header_compiler" >&6; }
9146 # Is the header present?
9147 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9148 $as_echo_n "checking $ac_header presence... " >&6; }
9149 cat >conftest.$ac_ext <<_ACEOF
9150 /* confdefs.h. */
9151 _ACEOF
9152 cat confdefs.h >>conftest.$ac_ext
9153 cat >>conftest.$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 #include <$ac_header>
9156 _ACEOF
9157 if { (ac_try="$ac_cpp conftest.$ac_ext"
9158 case "(($ac_try" in
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9161 esac
9162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9163 $as_echo "$ac_try_echo") >&5
9164 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9165 ac_status=$?
9166 grep -v '^ *+' conftest.er1 >conftest.err
9167 rm -f conftest.er1
9168 cat conftest.err >&5
9169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } >/dev/null && {
9171 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9172 test ! -s conftest.err
9173 }; then
9174 ac_header_preproc=yes
9175 else
9176 $as_echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_header_preproc=no
9182 rm -f conftest.err conftest.$ac_ext
9183 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9184 $as_echo "$ac_header_preproc" >&6; }
9186 # So? What about this header?
9187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9188 yes:no: )
9189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9190 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9192 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9193 ac_header_preproc=yes
9195 no:yes:* )
9196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9197 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9199 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9201 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9203 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9205 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9207 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9208 ( cat <<\_ASBOX
9209 ## -------------------------------------- ##
9210 ## Report this to gambit@iro.umontreal.ca ##
9211 ## -------------------------------------- ##
9212 _ASBOX
9213 ) | sed "s/^/$as_me: WARNING: /" >&2
9215 esac
9216 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9217 $as_echo_n "checking for $ac_header... " >&6; }
9218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9219 $as_echo_n "(cached) " >&6
9220 else
9221 eval "$as_ac_Header=\$ac_header_preproc"
9223 ac_res=`eval 'as_val=${'$as_ac_Header'}
9224 $as_echo "$as_val"'`
9225 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9226 $as_echo "$ac_res" >&6; }
9229 if test `eval 'as_val=${'$as_ac_Header'}
9230 $as_echo "$as_val"'` = yes; then
9231 cat >>confdefs.h <<_ACEOF
9232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9233 _ACEOF
9237 done
9240 for ac_header in stat.h
9242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9244 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9245 $as_echo_n "checking for $ac_header... " >&6; }
9246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9247 $as_echo_n "(cached) " >&6
9249 ac_res=`eval 'as_val=${'$as_ac_Header'}
9250 $as_echo "$as_val"'`
9251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9252 $as_echo "$ac_res" >&6; }
9253 else
9254 # Is the header compilable?
9255 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9256 $as_echo_n "checking $ac_header usability... " >&6; }
9257 cat >conftest.$ac_ext <<_ACEOF
9258 /* confdefs.h. */
9259 _ACEOF
9260 cat confdefs.h >>conftest.$ac_ext
9261 cat >>conftest.$ac_ext <<_ACEOF
9262 /* end confdefs.h. */
9263 $ac_includes_default
9264 #include <$ac_header>
9265 _ACEOF
9266 rm -f conftest.$ac_objext
9267 if { (ac_try="$ac_compile"
9268 case "(($ac_try" in
9269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9270 *) ac_try_echo=$ac_try;;
9271 esac
9272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9273 $as_echo "$ac_try_echo") >&5
9274 (eval "$ac_compile") 2>conftest.er1
9275 ac_status=$?
9276 grep -v '^ *+' conftest.er1 >conftest.err
9277 rm -f conftest.er1
9278 cat conftest.err >&5
9279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } && {
9281 test -z "$ac_cxx_werror_flag" ||
9282 test ! -s conftest.err
9283 } && test -s conftest.$ac_objext; then
9284 ac_header_compiler=yes
9285 else
9286 $as_echo "$as_me: failed program was:" >&5
9287 sed 's/^/| /' conftest.$ac_ext >&5
9289 ac_header_compiler=no
9292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9293 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9294 $as_echo "$ac_header_compiler" >&6; }
9296 # Is the header present?
9297 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9298 $as_echo_n "checking $ac_header presence... " >&6; }
9299 cat >conftest.$ac_ext <<_ACEOF
9300 /* confdefs.h. */
9301 _ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9305 #include <$ac_header>
9306 _ACEOF
9307 if { (ac_try="$ac_cpp conftest.$ac_ext"
9308 case "(($ac_try" in
9309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9310 *) ac_try_echo=$ac_try;;
9311 esac
9312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9313 $as_echo "$ac_try_echo") >&5
9314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9315 ac_status=$?
9316 grep -v '^ *+' conftest.er1 >conftest.err
9317 rm -f conftest.er1
9318 cat conftest.err >&5
9319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } >/dev/null && {
9321 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9322 test ! -s conftest.err
9323 }; then
9324 ac_header_preproc=yes
9325 else
9326 $as_echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9329 ac_header_preproc=no
9332 rm -f conftest.err conftest.$ac_ext
9333 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9334 $as_echo "$ac_header_preproc" >&6; }
9336 # So? What about this header?
9337 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9338 yes:no: )
9339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9340 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9342 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9343 ac_header_preproc=yes
9345 no:yes:* )
9346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9347 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9349 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9351 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9353 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9355 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9357 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9358 ( cat <<\_ASBOX
9359 ## -------------------------------------- ##
9360 ## Report this to gambit@iro.umontreal.ca ##
9361 ## -------------------------------------- ##
9362 _ASBOX
9363 ) | sed "s/^/$as_me: WARNING: /" >&2
9365 esac
9366 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9367 $as_echo_n "checking for $ac_header... " >&6; }
9368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9369 $as_echo_n "(cached) " >&6
9370 else
9371 eval "$as_ac_Header=\$ac_header_preproc"
9373 ac_res=`eval 'as_val=${'$as_ac_Header'}
9374 $as_echo "$as_val"'`
9375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9376 $as_echo "$ac_res" >&6; }
9379 if test `eval 'as_val=${'$as_ac_Header'}
9380 $as_echo "$as_val"'` = yes; then
9381 cat >>confdefs.h <<_ACEOF
9382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9383 _ACEOF
9387 done
9390 for ac_header in netdb.h
9392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9394 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9395 $as_echo_n "checking for $ac_header... " >&6; }
9396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9397 $as_echo_n "(cached) " >&6
9399 ac_res=`eval 'as_val=${'$as_ac_Header'}
9400 $as_echo "$as_val"'`
9401 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9402 $as_echo "$ac_res" >&6; }
9403 else
9404 # Is the header compilable?
9405 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9406 $as_echo_n "checking $ac_header usability... " >&6; }
9407 cat >conftest.$ac_ext <<_ACEOF
9408 /* confdefs.h. */
9409 _ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9413 $ac_includes_default
9414 #include <$ac_header>
9415 _ACEOF
9416 rm -f conftest.$ac_objext
9417 if { (ac_try="$ac_compile"
9418 case "(($ac_try" in
9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9420 *) ac_try_echo=$ac_try;;
9421 esac
9422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9423 $as_echo "$ac_try_echo") >&5
9424 (eval "$ac_compile") 2>conftest.er1
9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
9429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } && {
9431 test -z "$ac_cxx_werror_flag" ||
9432 test ! -s conftest.err
9433 } && test -s conftest.$ac_objext; then
9434 ac_header_compiler=yes
9435 else
9436 $as_echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.$ac_ext >&5
9439 ac_header_compiler=no
9442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9443 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9444 $as_echo "$ac_header_compiler" >&6; }
9446 # Is the header present?
9447 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9448 $as_echo_n "checking $ac_header presence... " >&6; }
9449 cat >conftest.$ac_ext <<_ACEOF
9450 /* confdefs.h. */
9451 _ACEOF
9452 cat confdefs.h >>conftest.$ac_ext
9453 cat >>conftest.$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9455 #include <$ac_header>
9456 _ACEOF
9457 if { (ac_try="$ac_cpp conftest.$ac_ext"
9458 case "(($ac_try" in
9459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9460 *) ac_try_echo=$ac_try;;
9461 esac
9462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9463 $as_echo "$ac_try_echo") >&5
9464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9465 ac_status=$?
9466 grep -v '^ *+' conftest.er1 >conftest.err
9467 rm -f conftest.er1
9468 cat conftest.err >&5
9469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } >/dev/null && {
9471 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9472 test ! -s conftest.err
9473 }; then
9474 ac_header_preproc=yes
9475 else
9476 $as_echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9479 ac_header_preproc=no
9482 rm -f conftest.err conftest.$ac_ext
9483 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9484 $as_echo "$ac_header_preproc" >&6; }
9486 # So? What about this header?
9487 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9488 yes:no: )
9489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9490 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9492 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9493 ac_header_preproc=yes
9495 no:yes:* )
9496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9497 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9499 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9501 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9503 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9505 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9507 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9508 ( cat <<\_ASBOX
9509 ## -------------------------------------- ##
9510 ## Report this to gambit@iro.umontreal.ca ##
9511 ## -------------------------------------- ##
9512 _ASBOX
9513 ) | sed "s/^/$as_me: WARNING: /" >&2
9515 esac
9516 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9517 $as_echo_n "checking for $ac_header... " >&6; }
9518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9519 $as_echo_n "(cached) " >&6
9520 else
9521 eval "$as_ac_Header=\$ac_header_preproc"
9523 ac_res=`eval 'as_val=${'$as_ac_Header'}
9524 $as_echo "$as_val"'`
9525 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9526 $as_echo "$ac_res" >&6; }
9529 if test `eval 'as_val=${'$as_ac_Header'}
9530 $as_echo "$as_val"'` = yes; then
9531 cat >>confdefs.h <<_ACEOF
9532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9533 _ACEOF
9537 done
9540 for ac_header in grp.h
9542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9544 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9545 $as_echo_n "checking for $ac_header... " >&6; }
9546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9547 $as_echo_n "(cached) " >&6
9549 ac_res=`eval 'as_val=${'$as_ac_Header'}
9550 $as_echo "$as_val"'`
9551 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9552 $as_echo "$ac_res" >&6; }
9553 else
9554 # Is the header compilable?
9555 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9556 $as_echo_n "checking $ac_header usability... " >&6; }
9557 cat >conftest.$ac_ext <<_ACEOF
9558 /* confdefs.h. */
9559 _ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9563 $ac_includes_default
9564 #include <$ac_header>
9565 _ACEOF
9566 rm -f conftest.$ac_objext
9567 if { (ac_try="$ac_compile"
9568 case "(($ac_try" in
9569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570 *) ac_try_echo=$ac_try;;
9571 esac
9572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9573 $as_echo "$ac_try_echo") >&5
9574 (eval "$ac_compile") 2>conftest.er1
9575 ac_status=$?
9576 grep -v '^ *+' conftest.er1 >conftest.err
9577 rm -f conftest.er1
9578 cat conftest.err >&5
9579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } && {
9581 test -z "$ac_cxx_werror_flag" ||
9582 test ! -s conftest.err
9583 } && test -s conftest.$ac_objext; then
9584 ac_header_compiler=yes
9585 else
9586 $as_echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.$ac_ext >&5
9589 ac_header_compiler=no
9592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9593 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9594 $as_echo "$ac_header_compiler" >&6; }
9596 # Is the header present?
9597 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9598 $as_echo_n "checking $ac_header presence... " >&6; }
9599 cat >conftest.$ac_ext <<_ACEOF
9600 /* confdefs.h. */
9601 _ACEOF
9602 cat confdefs.h >>conftest.$ac_ext
9603 cat >>conftest.$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9605 #include <$ac_header>
9606 _ACEOF
9607 if { (ac_try="$ac_cpp conftest.$ac_ext"
9608 case "(($ac_try" in
9609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9610 *) ac_try_echo=$ac_try;;
9611 esac
9612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9613 $as_echo "$ac_try_echo") >&5
9614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9615 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1
9618 cat conftest.err >&5
9619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } >/dev/null && {
9621 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9622 test ! -s conftest.err
9623 }; then
9624 ac_header_preproc=yes
9625 else
9626 $as_echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_header_preproc=no
9632 rm -f conftest.err conftest.$ac_ext
9633 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9634 $as_echo "$ac_header_preproc" >&6; }
9636 # So? What about this header?
9637 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9638 yes:no: )
9639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9640 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9642 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9643 ac_header_preproc=yes
9645 no:yes:* )
9646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9647 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9649 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9651 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9653 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9655 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9657 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9658 ( cat <<\_ASBOX
9659 ## -------------------------------------- ##
9660 ## Report this to gambit@iro.umontreal.ca ##
9661 ## -------------------------------------- ##
9662 _ASBOX
9663 ) | sed "s/^/$as_me: WARNING: /" >&2
9665 esac
9666 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9667 $as_echo_n "checking for $ac_header... " >&6; }
9668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9669 $as_echo_n "(cached) " >&6
9670 else
9671 eval "$as_ac_Header=\$ac_header_preproc"
9673 ac_res=`eval 'as_val=${'$as_ac_Header'}
9674 $as_echo "$as_val"'`
9675 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9676 $as_echo "$ac_res" >&6; }
9679 if test `eval 'as_val=${'$as_ac_Header'}
9680 $as_echo "$as_val"'` = yes; then
9681 cat >>confdefs.h <<_ACEOF
9682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9683 _ACEOF
9687 done
9689 #AC_CHECK_HEADERS(windows.h)
9690 #AC_CHECK_HEADERS(io.h)
9691 #AC_CHECK_HEADERS(tchar.h)
9693 for ac_header in fpu_control.h
9695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9697 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9698 $as_echo_n "checking for $ac_header... " >&6; }
9699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9700 $as_echo_n "(cached) " >&6
9702 ac_res=`eval 'as_val=${'$as_ac_Header'}
9703 $as_echo "$as_val"'`
9704 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9705 $as_echo "$ac_res" >&6; }
9706 else
9707 # Is the header compilable?
9708 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9709 $as_echo_n "checking $ac_header usability... " >&6; }
9710 cat >conftest.$ac_ext <<_ACEOF
9711 /* confdefs.h. */
9712 _ACEOF
9713 cat confdefs.h >>conftest.$ac_ext
9714 cat >>conftest.$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9716 $ac_includes_default
9717 #include <$ac_header>
9718 _ACEOF
9719 rm -f conftest.$ac_objext
9720 if { (ac_try="$ac_compile"
9721 case "(($ac_try" in
9722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9723 *) ac_try_echo=$ac_try;;
9724 esac
9725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9726 $as_echo "$ac_try_echo") >&5
9727 (eval "$ac_compile") 2>conftest.er1
9728 ac_status=$?
9729 grep -v '^ *+' conftest.er1 >conftest.err
9730 rm -f conftest.er1
9731 cat conftest.err >&5
9732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); } && {
9734 test -z "$ac_cxx_werror_flag" ||
9735 test ! -s conftest.err
9736 } && test -s conftest.$ac_objext; then
9737 ac_header_compiler=yes
9738 else
9739 $as_echo "$as_me: failed program was:" >&5
9740 sed 's/^/| /' conftest.$ac_ext >&5
9742 ac_header_compiler=no
9745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9746 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9747 $as_echo "$ac_header_compiler" >&6; }
9749 # Is the header present?
9750 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9751 $as_echo_n "checking $ac_header presence... " >&6; }
9752 cat >conftest.$ac_ext <<_ACEOF
9753 /* confdefs.h. */
9754 _ACEOF
9755 cat confdefs.h >>conftest.$ac_ext
9756 cat >>conftest.$ac_ext <<_ACEOF
9757 /* end confdefs.h. */
9758 #include <$ac_header>
9759 _ACEOF
9760 if { (ac_try="$ac_cpp conftest.$ac_ext"
9761 case "(($ac_try" in
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9764 esac
9765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9766 $as_echo "$ac_try_echo") >&5
9767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9768 ac_status=$?
9769 grep -v '^ *+' conftest.er1 >conftest.err
9770 rm -f conftest.er1
9771 cat conftest.err >&5
9772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } >/dev/null && {
9774 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9775 test ! -s conftest.err
9776 }; then
9777 ac_header_preproc=yes
9778 else
9779 $as_echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9782 ac_header_preproc=no
9785 rm -f conftest.err conftest.$ac_ext
9786 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9787 $as_echo "$ac_header_preproc" >&6; }
9789 # So? What about this header?
9790 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9791 yes:no: )
9792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9793 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9795 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9796 ac_header_preproc=yes
9798 no:yes:* )
9799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9800 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9802 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9804 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9805 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9806 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9808 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9810 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9811 ( cat <<\_ASBOX
9812 ## -------------------------------------- ##
9813 ## Report this to gambit@iro.umontreal.ca ##
9814 ## -------------------------------------- ##
9815 _ASBOX
9816 ) | sed "s/^/$as_me: WARNING: /" >&2
9818 esac
9819 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9820 $as_echo_n "checking for $ac_header... " >&6; }
9821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9822 $as_echo_n "(cached) " >&6
9823 else
9824 eval "$as_ac_Header=\$ac_header_preproc"
9826 ac_res=`eval 'as_val=${'$as_ac_Header'}
9827 $as_echo "$as_val"'`
9828 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9829 $as_echo "$ac_res" >&6; }
9832 if test `eval 'as_val=${'$as_ac_Header'}
9833 $as_echo "$as_val"'` = yes; then
9834 cat >>confdefs.h <<_ACEOF
9835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9836 _ACEOF
9840 done
9843 for ac_header in os2.h
9845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9847 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9848 $as_echo_n "checking for $ac_header... " >&6; }
9849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9850 $as_echo_n "(cached) " >&6
9852 ac_res=`eval 'as_val=${'$as_ac_Header'}
9853 $as_echo "$as_val"'`
9854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9855 $as_echo "$ac_res" >&6; }
9856 else
9857 # Is the header compilable?
9858 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9859 $as_echo_n "checking $ac_header usability... " >&6; }
9860 cat >conftest.$ac_ext <<_ACEOF
9861 /* confdefs.h. */
9862 _ACEOF
9863 cat confdefs.h >>conftest.$ac_ext
9864 cat >>conftest.$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9866 $ac_includes_default
9867 #include <$ac_header>
9868 _ACEOF
9869 rm -f conftest.$ac_objext
9870 if { (ac_try="$ac_compile"
9871 case "(($ac_try" in
9872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9873 *) ac_try_echo=$ac_try;;
9874 esac
9875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9876 $as_echo "$ac_try_echo") >&5
9877 (eval "$ac_compile") 2>conftest.er1
9878 ac_status=$?
9879 grep -v '^ *+' conftest.er1 >conftest.err
9880 rm -f conftest.er1
9881 cat conftest.err >&5
9882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } && {
9884 test -z "$ac_cxx_werror_flag" ||
9885 test ! -s conftest.err
9886 } && test -s conftest.$ac_objext; then
9887 ac_header_compiler=yes
9888 else
9889 $as_echo "$as_me: failed program was:" >&5
9890 sed 's/^/| /' conftest.$ac_ext >&5
9892 ac_header_compiler=no
9895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9896 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9897 $as_echo "$ac_header_compiler" >&6; }
9899 # Is the header present?
9900 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9901 $as_echo_n "checking $ac_header presence... " >&6; }
9902 cat >conftest.$ac_ext <<_ACEOF
9903 /* confdefs.h. */
9904 _ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9908 #include <$ac_header>
9909 _ACEOF
9910 if { (ac_try="$ac_cpp conftest.$ac_ext"
9911 case "(($ac_try" in
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9914 esac
9915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9916 $as_echo "$ac_try_echo") >&5
9917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9918 ac_status=$?
9919 grep -v '^ *+' conftest.er1 >conftest.err
9920 rm -f conftest.er1
9921 cat conftest.err >&5
9922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } >/dev/null && {
9924 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9925 test ! -s conftest.err
9926 }; then
9927 ac_header_preproc=yes
9928 else
9929 $as_echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.$ac_ext >&5
9932 ac_header_preproc=no
9935 rm -f conftest.err conftest.$ac_ext
9936 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9937 $as_echo "$ac_header_preproc" >&6; }
9939 # So? What about this header?
9940 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9941 yes:no: )
9942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9943 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9945 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9946 ac_header_preproc=yes
9948 no:yes:* )
9949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9950 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9952 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9954 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9956 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9958 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9960 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9961 ( cat <<\_ASBOX
9962 ## -------------------------------------- ##
9963 ## Report this to gambit@iro.umontreal.ca ##
9964 ## -------------------------------------- ##
9965 _ASBOX
9966 ) | sed "s/^/$as_me: WARNING: /" >&2
9968 esac
9969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9970 $as_echo_n "checking for $ac_header... " >&6; }
9971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9972 $as_echo_n "(cached) " >&6
9973 else
9974 eval "$as_ac_Header=\$ac_header_preproc"
9976 ac_res=`eval 'as_val=${'$as_ac_Header'}
9977 $as_echo "$as_val"'`
9978 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9979 $as_echo "$ac_res" >&6; }
9982 if test `eval 'as_val=${'$as_ac_Header'}
9983 $as_echo "$as_val"'` = yes; then
9984 cat >>confdefs.h <<_ACEOF
9985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9986 _ACEOF
9990 done
9993 for ac_header in dos.h
9995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9997 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9998 $as_echo_n "checking for $ac_header... " >&6; }
9999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10000 $as_echo_n "(cached) " >&6
10002 ac_res=`eval 'as_val=${'$as_ac_Header'}
10003 $as_echo "$as_val"'`
10004 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10005 $as_echo "$ac_res" >&6; }
10006 else
10007 # Is the header compilable?
10008 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10009 $as_echo_n "checking $ac_header usability... " >&6; }
10010 cat >conftest.$ac_ext <<_ACEOF
10011 /* confdefs.h. */
10012 _ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10016 $ac_includes_default
10017 #include <$ac_header>
10018 _ACEOF
10019 rm -f conftest.$ac_objext
10020 if { (ac_try="$ac_compile"
10021 case "(($ac_try" in
10022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023 *) ac_try_echo=$ac_try;;
10024 esac
10025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10026 $as_echo "$ac_try_echo") >&5
10027 (eval "$ac_compile") 2>conftest.er1
10028 ac_status=$?
10029 grep -v '^ *+' conftest.er1 >conftest.err
10030 rm -f conftest.er1
10031 cat conftest.err >&5
10032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_cxx_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest.$ac_objext; then
10037 ac_header_compiler=yes
10038 else
10039 $as_echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 ac_header_compiler=no
10045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10046 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10047 $as_echo "$ac_header_compiler" >&6; }
10049 # Is the header present?
10050 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10051 $as_echo_n "checking $ac_header presence... " >&6; }
10052 cat >conftest.$ac_ext <<_ACEOF
10053 /* confdefs.h. */
10054 _ACEOF
10055 cat confdefs.h >>conftest.$ac_ext
10056 cat >>conftest.$ac_ext <<_ACEOF
10057 /* end confdefs.h. */
10058 #include <$ac_header>
10059 _ACEOF
10060 if { (ac_try="$ac_cpp conftest.$ac_ext"
10061 case "(($ac_try" in
10062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10063 *) ac_try_echo=$ac_try;;
10064 esac
10065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10066 $as_echo "$ac_try_echo") >&5
10067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10068 ac_status=$?
10069 grep -v '^ *+' conftest.er1 >conftest.err
10070 rm -f conftest.er1
10071 cat conftest.err >&5
10072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } >/dev/null && {
10074 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10075 test ! -s conftest.err
10076 }; then
10077 ac_header_preproc=yes
10078 else
10079 $as_echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.$ac_ext >&5
10082 ac_header_preproc=no
10085 rm -f conftest.err conftest.$ac_ext
10086 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10087 $as_echo "$ac_header_preproc" >&6; }
10089 # So? What about this header?
10090 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10091 yes:no: )
10092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10093 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10095 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10096 ac_header_preproc=yes
10098 no:yes:* )
10099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10100 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10102 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10104 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10106 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10108 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10110 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10111 ( cat <<\_ASBOX
10112 ## -------------------------------------- ##
10113 ## Report this to gambit@iro.umontreal.ca ##
10114 ## -------------------------------------- ##
10115 _ASBOX
10116 ) | sed "s/^/$as_me: WARNING: /" >&2
10118 esac
10119 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10120 $as_echo_n "checking for $ac_header... " >&6; }
10121 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10122 $as_echo_n "(cached) " >&6
10123 else
10124 eval "$as_ac_Header=\$ac_header_preproc"
10126 ac_res=`eval 'as_val=${'$as_ac_Header'}
10127 $as_echo "$as_val"'`
10128 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10129 $as_echo "$ac_res" >&6; }
10132 if test `eval 'as_val=${'$as_ac_Header'}
10133 $as_echo "$as_val"'` = yes; then
10134 cat >>confdefs.h <<_ACEOF
10135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10136 _ACEOF
10140 done
10143 for ac_header in direct.h
10145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10147 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10148 $as_echo_n "checking for $ac_header... " >&6; }
10149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10150 $as_echo_n "(cached) " >&6
10152 ac_res=`eval 'as_val=${'$as_ac_Header'}
10153 $as_echo "$as_val"'`
10154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10155 $as_echo "$ac_res" >&6; }
10156 else
10157 # Is the header compilable?
10158 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10159 $as_echo_n "checking $ac_header usability... " >&6; }
10160 cat >conftest.$ac_ext <<_ACEOF
10161 /* confdefs.h. */
10162 _ACEOF
10163 cat confdefs.h >>conftest.$ac_ext
10164 cat >>conftest.$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10166 $ac_includes_default
10167 #include <$ac_header>
10168 _ACEOF
10169 rm -f conftest.$ac_objext
10170 if { (ac_try="$ac_compile"
10171 case "(($ac_try" in
10172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 *) ac_try_echo=$ac_try;;
10174 esac
10175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10176 $as_echo "$ac_try_echo") >&5
10177 (eval "$ac_compile") 2>conftest.er1
10178 ac_status=$?
10179 grep -v '^ *+' conftest.er1 >conftest.err
10180 rm -f conftest.er1
10181 cat conftest.err >&5
10182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } && {
10184 test -z "$ac_cxx_werror_flag" ||
10185 test ! -s conftest.err
10186 } && test -s conftest.$ac_objext; then
10187 ac_header_compiler=yes
10188 else
10189 $as_echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.$ac_ext >&5
10192 ac_header_compiler=no
10195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10196 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10197 $as_echo "$ac_header_compiler" >&6; }
10199 # Is the header present?
10200 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10201 $as_echo_n "checking $ac_header presence... " >&6; }
10202 cat >conftest.$ac_ext <<_ACEOF
10203 /* confdefs.h. */
10204 _ACEOF
10205 cat confdefs.h >>conftest.$ac_ext
10206 cat >>conftest.$ac_ext <<_ACEOF
10207 /* end confdefs.h. */
10208 #include <$ac_header>
10209 _ACEOF
10210 if { (ac_try="$ac_cpp conftest.$ac_ext"
10211 case "(($ac_try" in
10212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10213 *) ac_try_echo=$ac_try;;
10214 esac
10215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10216 $as_echo "$ac_try_echo") >&5
10217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10218 ac_status=$?
10219 grep -v '^ *+' conftest.er1 >conftest.err
10220 rm -f conftest.er1
10221 cat conftest.err >&5
10222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); } >/dev/null && {
10224 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10225 test ! -s conftest.err
10226 }; then
10227 ac_header_preproc=yes
10228 else
10229 $as_echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10232 ac_header_preproc=no
10235 rm -f conftest.err conftest.$ac_ext
10236 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10237 $as_echo "$ac_header_preproc" >&6; }
10239 # So? What about this header?
10240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10241 yes:no: )
10242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10243 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10245 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10246 ac_header_preproc=yes
10248 no:yes:* )
10249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10250 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10252 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10254 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10256 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10258 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10260 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10261 ( cat <<\_ASBOX
10262 ## -------------------------------------- ##
10263 ## Report this to gambit@iro.umontreal.ca ##
10264 ## -------------------------------------- ##
10265 _ASBOX
10266 ) | sed "s/^/$as_me: WARNING: /" >&2
10268 esac
10269 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10270 $as_echo_n "checking for $ac_header... " >&6; }
10271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10272 $as_echo_n "(cached) " >&6
10273 else
10274 eval "$as_ac_Header=\$ac_header_preproc"
10276 ac_res=`eval 'as_val=${'$as_ac_Header'}
10277 $as_echo "$as_val"'`
10278 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10279 $as_echo "$ac_res" >&6; }
10282 if test `eval 'as_val=${'$as_ac_Header'}
10283 $as_echo "$as_val"'` = yes; then
10284 cat >>confdefs.h <<_ACEOF
10285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10286 _ACEOF
10290 done
10292 #AC_CHECK_HEADERS(Retrace.h)
10293 #AC_CHECK_HEADERS(Files.h)
10294 #AC_CHECK_HEADERS(Finder.h)
10295 #AC_CHECK_HEADERS(Errors.h)
10296 #AC_CHECK_HEADERS(Folders.h)
10297 #AC_CHECK_HEADERS(OSUtils.h)
10298 #AC_CHECK_HEADERS(Power.h)
10299 #AC_CHECK_HEADERS(CodeFragments.h)
10300 #AC_CHECK_HEADERS(SIOUX.h)
10301 #AC_CHECK_HEADERS(mac_gui.h)
10302 #AC_CHECK_HEADERS(unix.h)
10304 for ac_header in wdefwin.h
10306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10309 $as_echo_n "checking for $ac_header... " >&6; }
10310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10311 $as_echo_n "(cached) " >&6
10313 ac_res=`eval 'as_val=${'$as_ac_Header'}
10314 $as_echo "$as_val"'`
10315 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10316 $as_echo "$ac_res" >&6; }
10317 else
10318 # Is the header compilable?
10319 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10320 $as_echo_n "checking $ac_header usability... " >&6; }
10321 cat >conftest.$ac_ext <<_ACEOF
10322 /* confdefs.h. */
10323 _ACEOF
10324 cat confdefs.h >>conftest.$ac_ext
10325 cat >>conftest.$ac_ext <<_ACEOF
10326 /* end confdefs.h. */
10327 $ac_includes_default
10328 #include <$ac_header>
10329 _ACEOF
10330 rm -f conftest.$ac_objext
10331 if { (ac_try="$ac_compile"
10332 case "(($ac_try" in
10333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10334 *) ac_try_echo=$ac_try;;
10335 esac
10336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10337 $as_echo "$ac_try_echo") >&5
10338 (eval "$ac_compile") 2>conftest.er1
10339 ac_status=$?
10340 grep -v '^ *+' conftest.er1 >conftest.err
10341 rm -f conftest.er1
10342 cat conftest.err >&5
10343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); } && {
10345 test -z "$ac_cxx_werror_flag" ||
10346 test ! -s conftest.err
10347 } && test -s conftest.$ac_objext; then
10348 ac_header_compiler=yes
10349 else
10350 $as_echo "$as_me: failed program was:" >&5
10351 sed 's/^/| /' conftest.$ac_ext >&5
10353 ac_header_compiler=no
10356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10357 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10358 $as_echo "$ac_header_compiler" >&6; }
10360 # Is the header present?
10361 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10362 $as_echo_n "checking $ac_header presence... " >&6; }
10363 cat >conftest.$ac_ext <<_ACEOF
10364 /* confdefs.h. */
10365 _ACEOF
10366 cat confdefs.h >>conftest.$ac_ext
10367 cat >>conftest.$ac_ext <<_ACEOF
10368 /* end confdefs.h. */
10369 #include <$ac_header>
10370 _ACEOF
10371 if { (ac_try="$ac_cpp conftest.$ac_ext"
10372 case "(($ac_try" in
10373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10374 *) ac_try_echo=$ac_try;;
10375 esac
10376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10377 $as_echo "$ac_try_echo") >&5
10378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10379 ac_status=$?
10380 grep -v '^ *+' conftest.er1 >conftest.err
10381 rm -f conftest.er1
10382 cat conftest.err >&5
10383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); } >/dev/null && {
10385 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10386 test ! -s conftest.err
10387 }; then
10388 ac_header_preproc=yes
10389 else
10390 $as_echo "$as_me: failed program was:" >&5
10391 sed 's/^/| /' conftest.$ac_ext >&5
10393 ac_header_preproc=no
10396 rm -f conftest.err conftest.$ac_ext
10397 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10398 $as_echo "$ac_header_preproc" >&6; }
10400 # So? What about this header?
10401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10402 yes:no: )
10403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10404 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10406 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10407 ac_header_preproc=yes
10409 no:yes:* )
10410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10411 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10413 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10415 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10417 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10419 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10420 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10421 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10422 ( cat <<\_ASBOX
10423 ## -------------------------------------- ##
10424 ## Report this to gambit@iro.umontreal.ca ##
10425 ## -------------------------------------- ##
10426 _ASBOX
10427 ) | sed "s/^/$as_me: WARNING: /" >&2
10429 esac
10430 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10431 $as_echo_n "checking for $ac_header... " >&6; }
10432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10433 $as_echo_n "(cached) " >&6
10434 else
10435 eval "$as_ac_Header=\$ac_header_preproc"
10437 ac_res=`eval 'as_val=${'$as_ac_Header'}
10438 $as_echo "$as_val"'`
10439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10440 $as_echo "$ac_res" >&6; }
10443 if test `eval 'as_val=${'$as_ac_Header'}
10444 $as_echo "$as_val"'` = yes; then
10445 cat >>confdefs.h <<_ACEOF
10446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10447 _ACEOF
10451 done
10454 for ac_header in tfork.h
10456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10458 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10459 $as_echo_n "checking for $ac_header... " >&6; }
10460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10461 $as_echo_n "(cached) " >&6
10463 ac_res=`eval 'as_val=${'$as_ac_Header'}
10464 $as_echo "$as_val"'`
10465 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10466 $as_echo "$ac_res" >&6; }
10467 else
10468 # Is the header compilable?
10469 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10470 $as_echo_n "checking $ac_header usability... " >&6; }
10471 cat >conftest.$ac_ext <<_ACEOF
10472 /* confdefs.h. */
10473 _ACEOF
10474 cat confdefs.h >>conftest.$ac_ext
10475 cat >>conftest.$ac_ext <<_ACEOF
10476 /* end confdefs.h. */
10477 $ac_includes_default
10478 #include <$ac_header>
10479 _ACEOF
10480 rm -f conftest.$ac_objext
10481 if { (ac_try="$ac_compile"
10482 case "(($ac_try" in
10483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10484 *) ac_try_echo=$ac_try;;
10485 esac
10486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10487 $as_echo "$ac_try_echo") >&5
10488 (eval "$ac_compile") 2>conftest.er1
10489 ac_status=$?
10490 grep -v '^ *+' conftest.er1 >conftest.err
10491 rm -f conftest.er1
10492 cat conftest.err >&5
10493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); } && {
10495 test -z "$ac_cxx_werror_flag" ||
10496 test ! -s conftest.err
10497 } && test -s conftest.$ac_objext; then
10498 ac_header_compiler=yes
10499 else
10500 $as_echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 ac_header_compiler=no
10506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10507 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10508 $as_echo "$ac_header_compiler" >&6; }
10510 # Is the header present?
10511 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10512 $as_echo_n "checking $ac_header presence... " >&6; }
10513 cat >conftest.$ac_ext <<_ACEOF
10514 /* confdefs.h. */
10515 _ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10519 #include <$ac_header>
10520 _ACEOF
10521 if { (ac_try="$ac_cpp conftest.$ac_ext"
10522 case "(($ac_try" in
10523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10525 esac
10526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10527 $as_echo "$ac_try_echo") >&5
10528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10529 ac_status=$?
10530 grep -v '^ *+' conftest.er1 >conftest.err
10531 rm -f conftest.er1
10532 cat conftest.err >&5
10533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } >/dev/null && {
10535 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10536 test ! -s conftest.err
10537 }; then
10538 ac_header_preproc=yes
10539 else
10540 $as_echo "$as_me: failed program was:" >&5
10541 sed 's/^/| /' conftest.$ac_ext >&5
10543 ac_header_preproc=no
10546 rm -f conftest.err conftest.$ac_ext
10547 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10548 $as_echo "$ac_header_preproc" >&6; }
10550 # So? What about this header?
10551 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10552 yes:no: )
10553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10554 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10556 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10557 ac_header_preproc=yes
10559 no:yes:* )
10560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10561 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10563 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10565 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10566 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10567 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10569 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10571 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10572 ( cat <<\_ASBOX
10573 ## -------------------------------------- ##
10574 ## Report this to gambit@iro.umontreal.ca ##
10575 ## -------------------------------------- ##
10576 _ASBOX
10577 ) | sed "s/^/$as_me: WARNING: /" >&2
10579 esac
10580 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10581 $as_echo_n "checking for $ac_header... " >&6; }
10582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10583 $as_echo_n "(cached) " >&6
10584 else
10585 eval "$as_ac_Header=\$ac_header_preproc"
10587 ac_res=`eval 'as_val=${'$as_ac_Header'}
10588 $as_echo "$as_val"'`
10589 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10590 $as_echo "$ac_res" >&6; }
10593 if test `eval 'as_val=${'$as_ac_Header'}
10594 $as_echo "$as_val"'` = yes; then
10595 cat >>confdefs.h <<_ACEOF
10596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10597 _ACEOF
10601 done
10604 for ac_header in curses.h
10606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10608 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10609 $as_echo_n "checking for $ac_header... " >&6; }
10610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10611 $as_echo_n "(cached) " >&6
10613 ac_res=`eval 'as_val=${'$as_ac_Header'}
10614 $as_echo "$as_val"'`
10615 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10616 $as_echo "$ac_res" >&6; }
10617 else
10618 # Is the header compilable?
10619 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10620 $as_echo_n "checking $ac_header usability... " >&6; }
10621 cat >conftest.$ac_ext <<_ACEOF
10622 /* confdefs.h. */
10623 _ACEOF
10624 cat confdefs.h >>conftest.$ac_ext
10625 cat >>conftest.$ac_ext <<_ACEOF
10626 /* end confdefs.h. */
10627 $ac_includes_default
10628 #include <$ac_header>
10629 _ACEOF
10630 rm -f conftest.$ac_objext
10631 if { (ac_try="$ac_compile"
10632 case "(($ac_try" in
10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10634 *) ac_try_echo=$ac_try;;
10635 esac
10636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10637 $as_echo "$ac_try_echo") >&5
10638 (eval "$ac_compile") 2>conftest.er1
10639 ac_status=$?
10640 grep -v '^ *+' conftest.er1 >conftest.err
10641 rm -f conftest.er1
10642 cat conftest.err >&5
10643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_cxx_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest.$ac_objext; then
10648 ac_header_compiler=yes
10649 else
10650 $as_echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.$ac_ext >&5
10653 ac_header_compiler=no
10656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10657 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10658 $as_echo "$ac_header_compiler" >&6; }
10660 # Is the header present?
10661 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10662 $as_echo_n "checking $ac_header presence... " >&6; }
10663 cat >conftest.$ac_ext <<_ACEOF
10664 /* confdefs.h. */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <$ac_header>
10670 _ACEOF
10671 if { (ac_try="$ac_cpp conftest.$ac_ext"
10672 case "(($ac_try" in
10673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10675 esac
10676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10677 $as_echo "$ac_try_echo") >&5
10678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10679 ac_status=$?
10680 grep -v '^ *+' conftest.er1 >conftest.err
10681 rm -f conftest.er1
10682 cat conftest.err >&5
10683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } >/dev/null && {
10685 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10686 test ! -s conftest.err
10687 }; then
10688 ac_header_preproc=yes
10689 else
10690 $as_echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_header_preproc=no
10696 rm -f conftest.err conftest.$ac_ext
10697 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10698 $as_echo "$ac_header_preproc" >&6; }
10700 # So? What about this header?
10701 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10702 yes:no: )
10703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10704 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10706 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10707 ac_header_preproc=yes
10709 no:yes:* )
10710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10711 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10713 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10715 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10717 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10719 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10721 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10722 ( cat <<\_ASBOX
10723 ## -------------------------------------- ##
10724 ## Report this to gambit@iro.umontreal.ca ##
10725 ## -------------------------------------- ##
10726 _ASBOX
10727 ) | sed "s/^/$as_me: WARNING: /" >&2
10729 esac
10730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10731 $as_echo_n "checking for $ac_header... " >&6; }
10732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10733 $as_echo_n "(cached) " >&6
10734 else
10735 eval "$as_ac_Header=\$ac_header_preproc"
10737 ac_res=`eval 'as_val=${'$as_ac_Header'}
10738 $as_echo "$as_val"'`
10739 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10740 $as_echo "$ac_res" >&6; }
10743 if test `eval 'as_val=${'$as_ac_Header'}
10744 $as_echo "$as_val"'` = yes; then
10745 cat >>confdefs.h <<_ACEOF
10746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10747 _ACEOF
10751 done
10754 for ac_header in ncurses.h
10756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10758 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10759 $as_echo_n "checking for $ac_header... " >&6; }
10760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10761 $as_echo_n "(cached) " >&6
10763 ac_res=`eval 'as_val=${'$as_ac_Header'}
10764 $as_echo "$as_val"'`
10765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10766 $as_echo "$ac_res" >&6; }
10767 else
10768 # Is the header compilable?
10769 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10770 $as_echo_n "checking $ac_header usability... " >&6; }
10771 cat >conftest.$ac_ext <<_ACEOF
10772 /* confdefs.h. */
10773 _ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10777 $ac_includes_default
10778 #include <$ac_header>
10779 _ACEOF
10780 rm -f conftest.$ac_objext
10781 if { (ac_try="$ac_compile"
10782 case "(($ac_try" in
10783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10784 *) ac_try_echo=$ac_try;;
10785 esac
10786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10787 $as_echo "$ac_try_echo") >&5
10788 (eval "$ac_compile") 2>conftest.er1
10789 ac_status=$?
10790 grep -v '^ *+' conftest.er1 >conftest.err
10791 rm -f conftest.er1
10792 cat conftest.err >&5
10793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } && {
10795 test -z "$ac_cxx_werror_flag" ||
10796 test ! -s conftest.err
10797 } && test -s conftest.$ac_objext; then
10798 ac_header_compiler=yes
10799 else
10800 $as_echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10803 ac_header_compiler=no
10806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10807 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10808 $as_echo "$ac_header_compiler" >&6; }
10810 # Is the header present?
10811 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10812 $as_echo_n "checking $ac_header presence... " >&6; }
10813 cat >conftest.$ac_ext <<_ACEOF
10814 /* confdefs.h. */
10815 _ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 #include <$ac_header>
10820 _ACEOF
10821 if { (ac_try="$ac_cpp conftest.$ac_ext"
10822 case "(($ac_try" in
10823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10824 *) ac_try_echo=$ac_try;;
10825 esac
10826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10827 $as_echo "$ac_try_echo") >&5
10828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10829 ac_status=$?
10830 grep -v '^ *+' conftest.er1 >conftest.err
10831 rm -f conftest.er1
10832 cat conftest.err >&5
10833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } >/dev/null && {
10835 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10836 test ! -s conftest.err
10837 }; then
10838 ac_header_preproc=yes
10839 else
10840 $as_echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10843 ac_header_preproc=no
10846 rm -f conftest.err conftest.$ac_ext
10847 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10848 $as_echo "$ac_header_preproc" >&6; }
10850 # So? What about this header?
10851 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10852 yes:no: )
10853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10854 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10856 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10857 ac_header_preproc=yes
10859 no:yes:* )
10860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10861 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10863 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10865 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10867 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10869 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10871 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10872 ( cat <<\_ASBOX
10873 ## -------------------------------------- ##
10874 ## Report this to gambit@iro.umontreal.ca ##
10875 ## -------------------------------------- ##
10876 _ASBOX
10877 ) | sed "s/^/$as_me: WARNING: /" >&2
10879 esac
10880 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10881 $as_echo_n "checking for $ac_header... " >&6; }
10882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10883 $as_echo_n "(cached) " >&6
10884 else
10885 eval "$as_ac_Header=\$ac_header_preproc"
10887 ac_res=`eval 'as_val=${'$as_ac_Header'}
10888 $as_echo "$as_val"'`
10889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10890 $as_echo "$ac_res" >&6; }
10893 if test `eval 'as_val=${'$as_ac_Header'}
10894 $as_echo "$as_val"'` = yes; then
10895 cat >>confdefs.h <<_ACEOF
10896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10897 _ACEOF
10901 done
10904 for ac_header in netinet/in.h
10906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10909 $as_echo_n "checking for $ac_header... " >&6; }
10910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10911 $as_echo_n "(cached) " >&6
10913 ac_res=`eval 'as_val=${'$as_ac_Header'}
10914 $as_echo "$as_val"'`
10915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10916 $as_echo "$ac_res" >&6; }
10917 else
10918 # Is the header compilable?
10919 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10920 $as_echo_n "checking $ac_header usability... " >&6; }
10921 cat >conftest.$ac_ext <<_ACEOF
10922 /* confdefs.h. */
10923 _ACEOF
10924 cat confdefs.h >>conftest.$ac_ext
10925 cat >>conftest.$ac_ext <<_ACEOF
10926 /* end confdefs.h. */
10927 $ac_includes_default
10928 #include <$ac_header>
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (ac_try="$ac_compile"
10932 case "(($ac_try" in
10933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10934 *) ac_try_echo=$ac_try;;
10935 esac
10936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10937 $as_echo "$ac_try_echo") >&5
10938 (eval "$ac_compile") 2>conftest.er1
10939 ac_status=$?
10940 grep -v '^ *+' conftest.er1 >conftest.err
10941 rm -f conftest.er1
10942 cat conftest.err >&5
10943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } && {
10945 test -z "$ac_cxx_werror_flag" ||
10946 test ! -s conftest.err
10947 } && test -s conftest.$ac_objext; then
10948 ac_header_compiler=yes
10949 else
10950 $as_echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10953 ac_header_compiler=no
10956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10957 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10958 $as_echo "$ac_header_compiler" >&6; }
10960 # Is the header present?
10961 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10962 $as_echo_n "checking $ac_header presence... " >&6; }
10963 cat >conftest.$ac_ext <<_ACEOF
10964 /* confdefs.h. */
10965 _ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10969 #include <$ac_header>
10970 _ACEOF
10971 if { (ac_try="$ac_cpp conftest.$ac_ext"
10972 case "(($ac_try" in
10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 *) ac_try_echo=$ac_try;;
10975 esac
10976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10977 $as_echo "$ac_try_echo") >&5
10978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10979 ac_status=$?
10980 grep -v '^ *+' conftest.er1 >conftest.err
10981 rm -f conftest.er1
10982 cat conftest.err >&5
10983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } >/dev/null && {
10985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10986 test ! -s conftest.err
10987 }; then
10988 ac_header_preproc=yes
10989 else
10990 $as_echo "$as_me: failed program was:" >&5
10991 sed 's/^/| /' conftest.$ac_ext >&5
10993 ac_header_preproc=no
10996 rm -f conftest.err conftest.$ac_ext
10997 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10998 $as_echo "$ac_header_preproc" >&6; }
11000 # So? What about this header?
11001 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11002 yes:no: )
11003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11004 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11006 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11007 ac_header_preproc=yes
11009 no:yes:* )
11010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11011 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11013 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11015 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11017 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11019 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11021 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11022 ( cat <<\_ASBOX
11023 ## -------------------------------------- ##
11024 ## Report this to gambit@iro.umontreal.ca ##
11025 ## -------------------------------------- ##
11026 _ASBOX
11027 ) | sed "s/^/$as_me: WARNING: /" >&2
11029 esac
11030 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11031 $as_echo_n "checking for $ac_header... " >&6; }
11032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11033 $as_echo_n "(cached) " >&6
11034 else
11035 eval "$as_ac_Header=\$ac_header_preproc"
11037 ac_res=`eval 'as_val=${'$as_ac_Header'}
11038 $as_echo "$as_val"'`
11039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11040 $as_echo "$ac_res" >&6; }
11043 if test `eval 'as_val=${'$as_ac_Header'}
11044 $as_echo "$as_val"'` = yes; then
11045 cat >>confdefs.h <<_ACEOF
11046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11047 _ACEOF
11051 done
11054 for ac_header in arpa/inet.h
11056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11058 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11059 $as_echo_n "checking for $ac_header... " >&6; }
11060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11061 $as_echo_n "(cached) " >&6
11063 ac_res=`eval 'as_val=${'$as_ac_Header'}
11064 $as_echo "$as_val"'`
11065 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11066 $as_echo "$ac_res" >&6; }
11067 else
11068 # Is the header compilable?
11069 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11070 $as_echo_n "checking $ac_header usability... " >&6; }
11071 cat >conftest.$ac_ext <<_ACEOF
11072 /* confdefs.h. */
11073 _ACEOF
11074 cat confdefs.h >>conftest.$ac_ext
11075 cat >>conftest.$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077 $ac_includes_default
11078 #include <$ac_header>
11079 _ACEOF
11080 rm -f conftest.$ac_objext
11081 if { (ac_try="$ac_compile"
11082 case "(($ac_try" in
11083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11084 *) ac_try_echo=$ac_try;;
11085 esac
11086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11087 $as_echo "$ac_try_echo") >&5
11088 (eval "$ac_compile") 2>conftest.er1
11089 ac_status=$?
11090 grep -v '^ *+' conftest.er1 >conftest.err
11091 rm -f conftest.er1
11092 cat conftest.err >&5
11093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } && {
11095 test -z "$ac_cxx_werror_flag" ||
11096 test ! -s conftest.err
11097 } && test -s conftest.$ac_objext; then
11098 ac_header_compiler=yes
11099 else
11100 $as_echo "$as_me: failed program was:" >&5
11101 sed 's/^/| /' conftest.$ac_ext >&5
11103 ac_header_compiler=no
11106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11107 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11108 $as_echo "$ac_header_compiler" >&6; }
11110 # Is the header present?
11111 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11112 $as_echo_n "checking $ac_header presence... " >&6; }
11113 cat >conftest.$ac_ext <<_ACEOF
11114 /* confdefs.h. */
11115 _ACEOF
11116 cat confdefs.h >>conftest.$ac_ext
11117 cat >>conftest.$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 #include <$ac_header>
11120 _ACEOF
11121 if { (ac_try="$ac_cpp conftest.$ac_ext"
11122 case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11125 esac
11126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11127 $as_echo "$ac_try_echo") >&5
11128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11129 ac_status=$?
11130 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1
11132 cat conftest.err >&5
11133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } >/dev/null && {
11135 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11136 test ! -s conftest.err
11137 }; then
11138 ac_header_preproc=yes
11139 else
11140 $as_echo "$as_me: failed program was:" >&5
11141 sed 's/^/| /' conftest.$ac_ext >&5
11143 ac_header_preproc=no
11146 rm -f conftest.err conftest.$ac_ext
11147 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11148 $as_echo "$ac_header_preproc" >&6; }
11150 # So? What about this header?
11151 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11152 yes:no: )
11153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11154 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11156 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11157 ac_header_preproc=yes
11159 no:yes:* )
11160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11161 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11163 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11165 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11167 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11169 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11171 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11172 ( cat <<\_ASBOX
11173 ## -------------------------------------- ##
11174 ## Report this to gambit@iro.umontreal.ca ##
11175 ## -------------------------------------- ##
11176 _ASBOX
11177 ) | sed "s/^/$as_me: WARNING: /" >&2
11179 esac
11180 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11181 $as_echo_n "checking for $ac_header... " >&6; }
11182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11183 $as_echo_n "(cached) " >&6
11184 else
11185 eval "$as_ac_Header=\$ac_header_preproc"
11187 ac_res=`eval 'as_val=${'$as_ac_Header'}
11188 $as_echo "$as_val"'`
11189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11190 $as_echo "$ac_res" >&6; }
11193 if test `eval 'as_val=${'$as_ac_Header'}
11194 $as_echo "$as_val"'` = yes; then
11195 cat >>confdefs.h <<_ACEOF
11196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11197 _ACEOF
11201 done
11204 for ac_header in termios.h
11206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11208 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11209 $as_echo_n "checking for $ac_header... " >&6; }
11210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11211 $as_echo_n "(cached) " >&6
11213 ac_res=`eval 'as_val=${'$as_ac_Header'}
11214 $as_echo "$as_val"'`
11215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11216 $as_echo "$ac_res" >&6; }
11217 else
11218 # Is the header compilable?
11219 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11220 $as_echo_n "checking $ac_header usability... " >&6; }
11221 cat >conftest.$ac_ext <<_ACEOF
11222 /* confdefs.h. */
11223 _ACEOF
11224 cat confdefs.h >>conftest.$ac_ext
11225 cat >>conftest.$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11227 $ac_includes_default
11228 #include <$ac_header>
11229 _ACEOF
11230 rm -f conftest.$ac_objext
11231 if { (ac_try="$ac_compile"
11232 case "(($ac_try" in
11233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11234 *) ac_try_echo=$ac_try;;
11235 esac
11236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11237 $as_echo "$ac_try_echo") >&5
11238 (eval "$ac_compile") 2>conftest.er1
11239 ac_status=$?
11240 grep -v '^ *+' conftest.er1 >conftest.err
11241 rm -f conftest.er1
11242 cat conftest.err >&5
11243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); } && {
11245 test -z "$ac_cxx_werror_flag" ||
11246 test ! -s conftest.err
11247 } && test -s conftest.$ac_objext; then
11248 ac_header_compiler=yes
11249 else
11250 $as_echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
11253 ac_header_compiler=no
11256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11257 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11258 $as_echo "$ac_header_compiler" >&6; }
11260 # Is the header present?
11261 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11262 $as_echo_n "checking $ac_header presence... " >&6; }
11263 cat >conftest.$ac_ext <<_ACEOF
11264 /* confdefs.h. */
11265 _ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 #include <$ac_header>
11270 _ACEOF
11271 if { (ac_try="$ac_cpp conftest.$ac_ext"
11272 case "(($ac_try" in
11273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11274 *) ac_try_echo=$ac_try;;
11275 esac
11276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11277 $as_echo "$ac_try_echo") >&5
11278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11279 ac_status=$?
11280 grep -v '^ *+' conftest.er1 >conftest.err
11281 rm -f conftest.er1
11282 cat conftest.err >&5
11283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } >/dev/null && {
11285 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11286 test ! -s conftest.err
11287 }; then
11288 ac_header_preproc=yes
11289 else
11290 $as_echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.$ac_ext >&5
11293 ac_header_preproc=no
11296 rm -f conftest.err conftest.$ac_ext
11297 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11298 $as_echo "$ac_header_preproc" >&6; }
11300 # So? What about this header?
11301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11302 yes:no: )
11303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11304 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11306 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11307 ac_header_preproc=yes
11309 no:yes:* )
11310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11311 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11313 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11315 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11317 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11319 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11321 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11322 ( cat <<\_ASBOX
11323 ## -------------------------------------- ##
11324 ## Report this to gambit@iro.umontreal.ca ##
11325 ## -------------------------------------- ##
11326 _ASBOX
11327 ) | sed "s/^/$as_me: WARNING: /" >&2
11329 esac
11330 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11331 $as_echo_n "checking for $ac_header... " >&6; }
11332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11333 $as_echo_n "(cached) " >&6
11334 else
11335 eval "$as_ac_Header=\$ac_header_preproc"
11337 ac_res=`eval 'as_val=${'$as_ac_Header'}
11338 $as_echo "$as_val"'`
11339 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11340 $as_echo "$ac_res" >&6; }
11343 if test `eval 'as_val=${'$as_ac_Header'}
11344 $as_echo "$as_val"'` = yes; then
11345 cat >>confdefs.h <<_ACEOF
11346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11347 _ACEOF
11351 done
11353 #AC_CHECK_HEADERS(term.h)
11355 for ac_header in pty.h
11357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11360 $as_echo_n "checking for $ac_header... " >&6; }
11361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11362 $as_echo_n "(cached) " >&6
11364 ac_res=`eval 'as_val=${'$as_ac_Header'}
11365 $as_echo "$as_val"'`
11366 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11367 $as_echo "$ac_res" >&6; }
11368 else
11369 # Is the header compilable?
11370 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11371 $as_echo_n "checking $ac_header usability... " >&6; }
11372 cat >conftest.$ac_ext <<_ACEOF
11373 /* confdefs.h. */
11374 _ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 $ac_includes_default
11379 #include <$ac_header>
11380 _ACEOF
11381 rm -f conftest.$ac_objext
11382 if { (ac_try="$ac_compile"
11383 case "(($ac_try" in
11384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11385 *) ac_try_echo=$ac_try;;
11386 esac
11387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11388 $as_echo "$ac_try_echo") >&5
11389 (eval "$ac_compile") 2>conftest.er1
11390 ac_status=$?
11391 grep -v '^ *+' conftest.er1 >conftest.err
11392 rm -f conftest.er1
11393 cat conftest.err >&5
11394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } && {
11396 test -z "$ac_cxx_werror_flag" ||
11397 test ! -s conftest.err
11398 } && test -s conftest.$ac_objext; then
11399 ac_header_compiler=yes
11400 else
11401 $as_echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 ac_header_compiler=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11409 $as_echo "$ac_header_compiler" >&6; }
11411 # Is the header present?
11412 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11413 $as_echo_n "checking $ac_header presence... " >&6; }
11414 cat >conftest.$ac_ext <<_ACEOF
11415 /* confdefs.h. */
11416 _ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <$ac_header>
11421 _ACEOF
11422 if { (ac_try="$ac_cpp conftest.$ac_ext"
11423 case "(($ac_try" in
11424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11425 *) ac_try_echo=$ac_try;;
11426 esac
11427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11428 $as_echo "$ac_try_echo") >&5
11429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11430 ac_status=$?
11431 grep -v '^ *+' conftest.er1 >conftest.err
11432 rm -f conftest.er1
11433 cat conftest.err >&5
11434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } >/dev/null && {
11436 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11437 test ! -s conftest.err
11438 }; then
11439 ac_header_preproc=yes
11440 else
11441 $as_echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11444 ac_header_preproc=no
11447 rm -f conftest.err conftest.$ac_ext
11448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11449 $as_echo "$ac_header_preproc" >&6; }
11451 # So? What about this header?
11452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11453 yes:no: )
11454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11455 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11458 ac_header_preproc=yes
11460 no:yes:* )
11461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11462 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11464 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11466 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11468 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11470 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11472 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11473 ( cat <<\_ASBOX
11474 ## -------------------------------------- ##
11475 ## Report this to gambit@iro.umontreal.ca ##
11476 ## -------------------------------------- ##
11477 _ASBOX
11478 ) | sed "s/^/$as_me: WARNING: /" >&2
11480 esac
11481 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11482 $as_echo_n "checking for $ac_header... " >&6; }
11483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11484 $as_echo_n "(cached) " >&6
11485 else
11486 eval "$as_ac_Header=\$ac_header_preproc"
11488 ac_res=`eval 'as_val=${'$as_ac_Header'}
11489 $as_echo "$as_val"'`
11490 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11491 $as_echo "$ac_res" >&6; }
11494 if test `eval 'as_val=${'$as_ac_Header'}
11495 $as_echo "$as_val"'` = yes; then
11496 cat >>confdefs.h <<_ACEOF
11497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11498 _ACEOF
11502 done
11505 for ac_header in libutil.h
11507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11509 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11510 $as_echo_n "checking for $ac_header... " >&6; }
11511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11512 $as_echo_n "(cached) " >&6
11514 ac_res=`eval 'as_val=${'$as_ac_Header'}
11515 $as_echo "$as_val"'`
11516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11517 $as_echo "$ac_res" >&6; }
11518 else
11519 # Is the header compilable?
11520 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11521 $as_echo_n "checking $ac_header usability... " >&6; }
11522 cat >conftest.$ac_ext <<_ACEOF
11523 /* confdefs.h. */
11524 _ACEOF
11525 cat confdefs.h >>conftest.$ac_ext
11526 cat >>conftest.$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11528 $ac_includes_default
11529 #include <$ac_header>
11530 _ACEOF
11531 rm -f conftest.$ac_objext
11532 if { (ac_try="$ac_compile"
11533 case "(($ac_try" in
11534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11535 *) ac_try_echo=$ac_try;;
11536 esac
11537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11538 $as_echo "$ac_try_echo") >&5
11539 (eval "$ac_compile") 2>conftest.er1
11540 ac_status=$?
11541 grep -v '^ *+' conftest.er1 >conftest.err
11542 rm -f conftest.er1
11543 cat conftest.err >&5
11544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } && {
11546 test -z "$ac_cxx_werror_flag" ||
11547 test ! -s conftest.err
11548 } && test -s conftest.$ac_objext; then
11549 ac_header_compiler=yes
11550 else
11551 $as_echo "$as_me: failed program was:" >&5
11552 sed 's/^/| /' conftest.$ac_ext >&5
11554 ac_header_compiler=no
11557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11558 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11559 $as_echo "$ac_header_compiler" >&6; }
11561 # Is the header present?
11562 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11563 $as_echo_n "checking $ac_header presence... " >&6; }
11564 cat >conftest.$ac_ext <<_ACEOF
11565 /* confdefs.h. */
11566 _ACEOF
11567 cat confdefs.h >>conftest.$ac_ext
11568 cat >>conftest.$ac_ext <<_ACEOF
11569 /* end confdefs.h. */
11570 #include <$ac_header>
11571 _ACEOF
11572 if { (ac_try="$ac_cpp conftest.$ac_ext"
11573 case "(($ac_try" in
11574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11575 *) ac_try_echo=$ac_try;;
11576 esac
11577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11578 $as_echo "$ac_try_echo") >&5
11579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11580 ac_status=$?
11581 grep -v '^ *+' conftest.er1 >conftest.err
11582 rm -f conftest.er1
11583 cat conftest.err >&5
11584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); } >/dev/null && {
11586 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11587 test ! -s conftest.err
11588 }; then
11589 ac_header_preproc=yes
11590 else
11591 $as_echo "$as_me: failed program was:" >&5
11592 sed 's/^/| /' conftest.$ac_ext >&5
11594 ac_header_preproc=no
11597 rm -f conftest.err conftest.$ac_ext
11598 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11599 $as_echo "$ac_header_preproc" >&6; }
11601 # So? What about this header?
11602 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11603 yes:no: )
11604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11605 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11607 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11608 ac_header_preproc=yes
11610 no:yes:* )
11611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11612 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11614 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11616 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11618 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11620 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11622 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11623 ( cat <<\_ASBOX
11624 ## -------------------------------------- ##
11625 ## Report this to gambit@iro.umontreal.ca ##
11626 ## -------------------------------------- ##
11627 _ASBOX
11628 ) | sed "s/^/$as_me: WARNING: /" >&2
11630 esac
11631 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11632 $as_echo_n "checking for $ac_header... " >&6; }
11633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11634 $as_echo_n "(cached) " >&6
11635 else
11636 eval "$as_ac_Header=\$ac_header_preproc"
11638 ac_res=`eval 'as_val=${'$as_ac_Header'}
11639 $as_echo "$as_val"'`
11640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11641 $as_echo "$ac_res" >&6; }
11644 if test `eval 'as_val=${'$as_ac_Header'}
11645 $as_echo "$as_val"'` = yes; then
11646 cat >>confdefs.h <<_ACEOF
11647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11648 _ACEOF
11652 done
11655 for ac_header in util.h
11657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11659 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11660 $as_echo_n "checking for $ac_header... " >&6; }
11661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11662 $as_echo_n "(cached) " >&6
11664 ac_res=`eval 'as_val=${'$as_ac_Header'}
11665 $as_echo "$as_val"'`
11666 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11667 $as_echo "$ac_res" >&6; }
11668 else
11669 # Is the header compilable?
11670 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11671 $as_echo_n "checking $ac_header usability... " >&6; }
11672 cat >conftest.$ac_ext <<_ACEOF
11673 /* confdefs.h. */
11674 _ACEOF
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678 $ac_includes_default
11679 #include <$ac_header>
11680 _ACEOF
11681 rm -f conftest.$ac_objext
11682 if { (ac_try="$ac_compile"
11683 case "(($ac_try" in
11684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11685 *) ac_try_echo=$ac_try;;
11686 esac
11687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11688 $as_echo "$ac_try_echo") >&5
11689 (eval "$ac_compile") 2>conftest.er1
11690 ac_status=$?
11691 grep -v '^ *+' conftest.er1 >conftest.err
11692 rm -f conftest.er1
11693 cat conftest.err >&5
11694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } && {
11696 test -z "$ac_cxx_werror_flag" ||
11697 test ! -s conftest.err
11698 } && test -s conftest.$ac_objext; then
11699 ac_header_compiler=yes
11700 else
11701 $as_echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11704 ac_header_compiler=no
11707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11708 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11709 $as_echo "$ac_header_compiler" >&6; }
11711 # Is the header present?
11712 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11713 $as_echo_n "checking $ac_header presence... " >&6; }
11714 cat >conftest.$ac_ext <<_ACEOF
11715 /* confdefs.h. */
11716 _ACEOF
11717 cat confdefs.h >>conftest.$ac_ext
11718 cat >>conftest.$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11720 #include <$ac_header>
11721 _ACEOF
11722 if { (ac_try="$ac_cpp conftest.$ac_ext"
11723 case "(($ac_try" in
11724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11725 *) ac_try_echo=$ac_try;;
11726 esac
11727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11728 $as_echo "$ac_try_echo") >&5
11729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11730 ac_status=$?
11731 grep -v '^ *+' conftest.er1 >conftest.err
11732 rm -f conftest.er1
11733 cat conftest.err >&5
11734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } >/dev/null && {
11736 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11737 test ! -s conftest.err
11738 }; then
11739 ac_header_preproc=yes
11740 else
11741 $as_echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.$ac_ext >&5
11744 ac_header_preproc=no
11747 rm -f conftest.err conftest.$ac_ext
11748 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11749 $as_echo "$ac_header_preproc" >&6; }
11751 # So? What about this header?
11752 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11753 yes:no: )
11754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11755 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11757 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11758 ac_header_preproc=yes
11760 no:yes:* )
11761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11762 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11764 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11766 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11768 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11770 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11772 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11773 ( cat <<\_ASBOX
11774 ## -------------------------------------- ##
11775 ## Report this to gambit@iro.umontreal.ca ##
11776 ## -------------------------------------- ##
11777 _ASBOX
11778 ) | sed "s/^/$as_me: WARNING: /" >&2
11780 esac
11781 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11782 $as_echo_n "checking for $ac_header... " >&6; }
11783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11784 $as_echo_n "(cached) " >&6
11785 else
11786 eval "$as_ac_Header=\$ac_header_preproc"
11788 ac_res=`eval 'as_val=${'$as_ac_Header'}
11789 $as_echo "$as_val"'`
11790 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11791 $as_echo "$ac_res" >&6; }
11794 if test `eval 'as_val=${'$as_ac_Header'}
11795 $as_echo "$as_val"'` = yes; then
11796 cat >>confdefs.h <<_ACEOF
11797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11798 _ACEOF
11802 done
11805 for ac_header in sys/fpu.h
11807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11809 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11810 $as_echo_n "checking for $ac_header... " >&6; }
11811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11812 $as_echo_n "(cached) " >&6
11814 ac_res=`eval 'as_val=${'$as_ac_Header'}
11815 $as_echo "$as_val"'`
11816 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11817 $as_echo "$ac_res" >&6; }
11818 else
11819 # Is the header compilable?
11820 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11821 $as_echo_n "checking $ac_header usability... " >&6; }
11822 cat >conftest.$ac_ext <<_ACEOF
11823 /* confdefs.h. */
11824 _ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 $ac_includes_default
11829 #include <$ac_header>
11830 _ACEOF
11831 rm -f conftest.$ac_objext
11832 if { (ac_try="$ac_compile"
11833 case "(($ac_try" in
11834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11835 *) ac_try_echo=$ac_try;;
11836 esac
11837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11838 $as_echo "$ac_try_echo") >&5
11839 (eval "$ac_compile") 2>conftest.er1
11840 ac_status=$?
11841 grep -v '^ *+' conftest.er1 >conftest.err
11842 rm -f conftest.er1
11843 cat conftest.err >&5
11844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } && {
11846 test -z "$ac_cxx_werror_flag" ||
11847 test ! -s conftest.err
11848 } && test -s conftest.$ac_objext; then
11849 ac_header_compiler=yes
11850 else
11851 $as_echo "$as_me: failed program was:" >&5
11852 sed 's/^/| /' conftest.$ac_ext >&5
11854 ac_header_compiler=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11858 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11859 $as_echo "$ac_header_compiler" >&6; }
11861 # Is the header present?
11862 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11863 $as_echo_n "checking $ac_header presence... " >&6; }
11864 cat >conftest.$ac_ext <<_ACEOF
11865 /* confdefs.h. */
11866 _ACEOF
11867 cat confdefs.h >>conftest.$ac_ext
11868 cat >>conftest.$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 #include <$ac_header>
11871 _ACEOF
11872 if { (ac_try="$ac_cpp conftest.$ac_ext"
11873 case "(($ac_try" in
11874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11875 *) ac_try_echo=$ac_try;;
11876 esac
11877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11878 $as_echo "$ac_try_echo") >&5
11879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11880 ac_status=$?
11881 grep -v '^ *+' conftest.er1 >conftest.err
11882 rm -f conftest.er1
11883 cat conftest.err >&5
11884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } >/dev/null && {
11886 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11887 test ! -s conftest.err
11888 }; then
11889 ac_header_preproc=yes
11890 else
11891 $as_echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.$ac_ext >&5
11894 ac_header_preproc=no
11897 rm -f conftest.err conftest.$ac_ext
11898 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11899 $as_echo "$ac_header_preproc" >&6; }
11901 # So? What about this header?
11902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11903 yes:no: )
11904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11905 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11907 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11908 ac_header_preproc=yes
11910 no:yes:* )
11911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11912 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11914 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11916 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11917 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11918 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11919 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11920 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11922 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11923 ( cat <<\_ASBOX
11924 ## -------------------------------------- ##
11925 ## Report this to gambit@iro.umontreal.ca ##
11926 ## -------------------------------------- ##
11927 _ASBOX
11928 ) | sed "s/^/$as_me: WARNING: /" >&2
11930 esac
11931 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11932 $as_echo_n "checking for $ac_header... " >&6; }
11933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11934 $as_echo_n "(cached) " >&6
11935 else
11936 eval "$as_ac_Header=\$ac_header_preproc"
11938 ac_res=`eval 'as_val=${'$as_ac_Header'}
11939 $as_echo "$as_val"'`
11940 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11941 $as_echo "$ac_res" >&6; }
11944 if test `eval 'as_val=${'$as_ac_Header'}
11945 $as_echo "$as_val"'` = yes; then
11946 cat >>confdefs.h <<_ACEOF
11947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11948 _ACEOF
11952 done
11955 for ac_header in fenv.h
11957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11959 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11960 $as_echo_n "checking for $ac_header... " >&6; }
11961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11962 $as_echo_n "(cached) " >&6
11964 ac_res=`eval 'as_val=${'$as_ac_Header'}
11965 $as_echo "$as_val"'`
11966 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11967 $as_echo "$ac_res" >&6; }
11968 else
11969 # Is the header compilable?
11970 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11971 $as_echo_n "checking $ac_header usability... " >&6; }
11972 cat >conftest.$ac_ext <<_ACEOF
11973 /* confdefs.h. */
11974 _ACEOF
11975 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11978 $ac_includes_default
11979 #include <$ac_header>
11980 _ACEOF
11981 rm -f conftest.$ac_objext
11982 if { (ac_try="$ac_compile"
11983 case "(($ac_try" in
11984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11985 *) ac_try_echo=$ac_try;;
11986 esac
11987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11988 $as_echo "$ac_try_echo") >&5
11989 (eval "$ac_compile") 2>conftest.er1
11990 ac_status=$?
11991 grep -v '^ *+' conftest.er1 >conftest.err
11992 rm -f conftest.er1
11993 cat conftest.err >&5
11994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } && {
11996 test -z "$ac_cxx_werror_flag" ||
11997 test ! -s conftest.err
11998 } && test -s conftest.$ac_objext; then
11999 ac_header_compiler=yes
12000 else
12001 $as_echo "$as_me: failed program was:" >&5
12002 sed 's/^/| /' conftest.$ac_ext >&5
12004 ac_header_compiler=no
12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12008 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12009 $as_echo "$ac_header_compiler" >&6; }
12011 # Is the header present?
12012 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12013 $as_echo_n "checking $ac_header presence... " >&6; }
12014 cat >conftest.$ac_ext <<_ACEOF
12015 /* confdefs.h. */
12016 _ACEOF
12017 cat confdefs.h >>conftest.$ac_ext
12018 cat >>conftest.$ac_ext <<_ACEOF
12019 /* end confdefs.h. */
12020 #include <$ac_header>
12021 _ACEOF
12022 if { (ac_try="$ac_cpp conftest.$ac_ext"
12023 case "(($ac_try" in
12024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12025 *) ac_try_echo=$ac_try;;
12026 esac
12027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12028 $as_echo "$ac_try_echo") >&5
12029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12030 ac_status=$?
12031 grep -v '^ *+' conftest.er1 >conftest.err
12032 rm -f conftest.er1
12033 cat conftest.err >&5
12034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } >/dev/null && {
12036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12037 test ! -s conftest.err
12038 }; then
12039 ac_header_preproc=yes
12040 else
12041 $as_echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 ac_header_preproc=no
12047 rm -f conftest.err conftest.$ac_ext
12048 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12049 $as_echo "$ac_header_preproc" >&6; }
12051 # So? What about this header?
12052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12053 yes:no: )
12054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12055 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12057 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12058 ac_header_preproc=yes
12060 no:yes:* )
12061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12062 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12064 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12066 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12068 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12070 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12072 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12073 ( cat <<\_ASBOX
12074 ## -------------------------------------- ##
12075 ## Report this to gambit@iro.umontreal.ca ##
12076 ## -------------------------------------- ##
12077 _ASBOX
12078 ) | sed "s/^/$as_me: WARNING: /" >&2
12080 esac
12081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12082 $as_echo_n "checking for $ac_header... " >&6; }
12083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12084 $as_echo_n "(cached) " >&6
12085 else
12086 eval "$as_ac_Header=\$ac_header_preproc"
12088 ac_res=`eval 'as_val=${'$as_ac_Header'}
12089 $as_echo "$as_val"'`
12090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12091 $as_echo "$ac_res" >&6; }
12094 if test `eval 'as_val=${'$as_ac_Header'}
12095 $as_echo "$as_val"'` = yes; then
12096 cat >>confdefs.h <<_ACEOF
12097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12098 _ACEOF
12102 done
12105 for ac_header in fcntl.h
12107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12109 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12110 $as_echo_n "checking for $ac_header... " >&6; }
12111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12112 $as_echo_n "(cached) " >&6
12114 ac_res=`eval 'as_val=${'$as_ac_Header'}
12115 $as_echo "$as_val"'`
12116 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12117 $as_echo "$ac_res" >&6; }
12118 else
12119 # Is the header compilable?
12120 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12121 $as_echo_n "checking $ac_header usability... " >&6; }
12122 cat >conftest.$ac_ext <<_ACEOF
12123 /* confdefs.h. */
12124 _ACEOF
12125 cat confdefs.h >>conftest.$ac_ext
12126 cat >>conftest.$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12128 $ac_includes_default
12129 #include <$ac_header>
12130 _ACEOF
12131 rm -f conftest.$ac_objext
12132 if { (ac_try="$ac_compile"
12133 case "(($ac_try" in
12134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12135 *) ac_try_echo=$ac_try;;
12136 esac
12137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12138 $as_echo "$ac_try_echo") >&5
12139 (eval "$ac_compile") 2>conftest.er1
12140 ac_status=$?
12141 grep -v '^ *+' conftest.er1 >conftest.err
12142 rm -f conftest.er1
12143 cat conftest.err >&5
12144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); } && {
12146 test -z "$ac_cxx_werror_flag" ||
12147 test ! -s conftest.err
12148 } && test -s conftest.$ac_objext; then
12149 ac_header_compiler=yes
12150 else
12151 $as_echo "$as_me: failed program was:" >&5
12152 sed 's/^/| /' conftest.$ac_ext >&5
12154 ac_header_compiler=no
12157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12158 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12159 $as_echo "$ac_header_compiler" >&6; }
12161 # Is the header present?
12162 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12163 $as_echo_n "checking $ac_header presence... " >&6; }
12164 cat >conftest.$ac_ext <<_ACEOF
12165 /* confdefs.h. */
12166 _ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <$ac_header>
12171 _ACEOF
12172 if { (ac_try="$ac_cpp conftest.$ac_ext"
12173 case "(($ac_try" in
12174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12175 *) ac_try_echo=$ac_try;;
12176 esac
12177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12178 $as_echo "$ac_try_echo") >&5
12179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12180 ac_status=$?
12181 grep -v '^ *+' conftest.er1 >conftest.err
12182 rm -f conftest.er1
12183 cat conftest.err >&5
12184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } >/dev/null && {
12186 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12187 test ! -s conftest.err
12188 }; then
12189 ac_header_preproc=yes
12190 else
12191 $as_echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12194 ac_header_preproc=no
12197 rm -f conftest.err conftest.$ac_ext
12198 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12199 $as_echo "$ac_header_preproc" >&6; }
12201 # So? What about this header?
12202 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12203 yes:no: )
12204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12205 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12207 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12208 ac_header_preproc=yes
12210 no:yes:* )
12211 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12216 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12218 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12220 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12222 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12223 ( cat <<\_ASBOX
12224 ## -------------------------------------- ##
12225 ## Report this to gambit@iro.umontreal.ca ##
12226 ## -------------------------------------- ##
12227 _ASBOX
12228 ) | sed "s/^/$as_me: WARNING: /" >&2
12230 esac
12231 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12232 $as_echo_n "checking for $ac_header... " >&6; }
12233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12234 $as_echo_n "(cached) " >&6
12235 else
12236 eval "$as_ac_Header=\$ac_header_preproc"
12238 ac_res=`eval 'as_val=${'$as_ac_Header'}
12239 $as_echo "$as_val"'`
12240 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12241 $as_echo "$ac_res" >&6; }
12244 if test `eval 'as_val=${'$as_ac_Header'}
12245 $as_echo "$as_val"'` = yes; then
12246 cat >>confdefs.h <<_ACEOF
12247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12248 _ACEOF
12252 done
12255 for ac_header in sys/ioctl.h
12257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12259 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12260 $as_echo_n "checking for $ac_header... " >&6; }
12261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12262 $as_echo_n "(cached) " >&6
12264 ac_res=`eval 'as_val=${'$as_ac_Header'}
12265 $as_echo "$as_val"'`
12266 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12267 $as_echo "$ac_res" >&6; }
12268 else
12269 # Is the header compilable?
12270 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12271 $as_echo_n "checking $ac_header usability... " >&6; }
12272 cat >conftest.$ac_ext <<_ACEOF
12273 /* confdefs.h. */
12274 _ACEOF
12275 cat confdefs.h >>conftest.$ac_ext
12276 cat >>conftest.$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12278 $ac_includes_default
12279 #include <$ac_header>
12280 _ACEOF
12281 rm -f conftest.$ac_objext
12282 if { (ac_try="$ac_compile"
12283 case "(($ac_try" in
12284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12285 *) ac_try_echo=$ac_try;;
12286 esac
12287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12288 $as_echo "$ac_try_echo") >&5
12289 (eval "$ac_compile") 2>conftest.er1
12290 ac_status=$?
12291 grep -v '^ *+' conftest.er1 >conftest.err
12292 rm -f conftest.er1
12293 cat conftest.err >&5
12294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && {
12296 test -z "$ac_cxx_werror_flag" ||
12297 test ! -s conftest.err
12298 } && test -s conftest.$ac_objext; then
12299 ac_header_compiler=yes
12300 else
12301 $as_echo "$as_me: failed program was:" >&5
12302 sed 's/^/| /' conftest.$ac_ext >&5
12304 ac_header_compiler=no
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12309 $as_echo "$ac_header_compiler" >&6; }
12311 # Is the header present?
12312 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12313 $as_echo_n "checking $ac_header presence... " >&6; }
12314 cat >conftest.$ac_ext <<_ACEOF
12315 /* confdefs.h. */
12316 _ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 #include <$ac_header>
12321 _ACEOF
12322 if { (ac_try="$ac_cpp conftest.$ac_ext"
12323 case "(($ac_try" in
12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12325 *) ac_try_echo=$ac_try;;
12326 esac
12327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12328 $as_echo "$ac_try_echo") >&5
12329 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12330 ac_status=$?
12331 grep -v '^ *+' conftest.er1 >conftest.err
12332 rm -f conftest.er1
12333 cat conftest.err >&5
12334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); } >/dev/null && {
12336 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12337 test ! -s conftest.err
12338 }; then
12339 ac_header_preproc=yes
12340 else
12341 $as_echo "$as_me: failed program was:" >&5
12342 sed 's/^/| /' conftest.$ac_ext >&5
12344 ac_header_preproc=no
12347 rm -f conftest.err conftest.$ac_ext
12348 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12349 $as_echo "$ac_header_preproc" >&6; }
12351 # So? What about this header?
12352 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12353 yes:no: )
12354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12355 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12357 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12358 ac_header_preproc=yes
12360 no:yes:* )
12361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12362 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12364 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12366 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12368 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12370 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12372 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12373 ( cat <<\_ASBOX
12374 ## -------------------------------------- ##
12375 ## Report this to gambit@iro.umontreal.ca ##
12376 ## -------------------------------------- ##
12377 _ASBOX
12378 ) | sed "s/^/$as_me: WARNING: /" >&2
12380 esac
12381 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12382 $as_echo_n "checking for $ac_header... " >&6; }
12383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12384 $as_echo_n "(cached) " >&6
12385 else
12386 eval "$as_ac_Header=\$ac_header_preproc"
12388 ac_res=`eval 'as_val=${'$as_ac_Header'}
12389 $as_echo "$as_val"'`
12390 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12391 $as_echo "$ac_res" >&6; }
12394 if test `eval 'as_val=${'$as_ac_Header'}
12395 $as_echo "$as_val"'` = yes; then
12396 cat >>confdefs.h <<_ACEOF
12397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12398 _ACEOF
12402 done
12405 for ac_header in sys/socket.h
12407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12409 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12410 $as_echo_n "checking for $ac_header... " >&6; }
12411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12412 $as_echo_n "(cached) " >&6
12414 ac_res=`eval 'as_val=${'$as_ac_Header'}
12415 $as_echo "$as_val"'`
12416 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12417 $as_echo "$ac_res" >&6; }
12418 else
12419 # Is the header compilable?
12420 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12421 $as_echo_n "checking $ac_header usability... " >&6; }
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h. */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 $ac_includes_default
12429 #include <$ac_header>
12430 _ACEOF
12431 rm -f conftest.$ac_objext
12432 if { (ac_try="$ac_compile"
12433 case "(($ac_try" in
12434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12435 *) ac_try_echo=$ac_try;;
12436 esac
12437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12438 $as_echo "$ac_try_echo") >&5
12439 (eval "$ac_compile") 2>conftest.er1
12440 ac_status=$?
12441 grep -v '^ *+' conftest.er1 >conftest.err
12442 rm -f conftest.er1
12443 cat conftest.err >&5
12444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } && {
12446 test -z "$ac_cxx_werror_flag" ||
12447 test ! -s conftest.err
12448 } && test -s conftest.$ac_objext; then
12449 ac_header_compiler=yes
12450 else
12451 $as_echo "$as_me: failed program was:" >&5
12452 sed 's/^/| /' conftest.$ac_ext >&5
12454 ac_header_compiler=no
12457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12458 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12459 $as_echo "$ac_header_compiler" >&6; }
12461 # Is the header present?
12462 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12463 $as_echo_n "checking $ac_header presence... " >&6; }
12464 cat >conftest.$ac_ext <<_ACEOF
12465 /* confdefs.h. */
12466 _ACEOF
12467 cat confdefs.h >>conftest.$ac_ext
12468 cat >>conftest.$ac_ext <<_ACEOF
12469 /* end confdefs.h. */
12470 #include <$ac_header>
12471 _ACEOF
12472 if { (ac_try="$ac_cpp conftest.$ac_ext"
12473 case "(($ac_try" in
12474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12475 *) ac_try_echo=$ac_try;;
12476 esac
12477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12478 $as_echo "$ac_try_echo") >&5
12479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12480 ac_status=$?
12481 grep -v '^ *+' conftest.er1 >conftest.err
12482 rm -f conftest.er1
12483 cat conftest.err >&5
12484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } >/dev/null && {
12486 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12487 test ! -s conftest.err
12488 }; then
12489 ac_header_preproc=yes
12490 else
12491 $as_echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.$ac_ext >&5
12494 ac_header_preproc=no
12497 rm -f conftest.err conftest.$ac_ext
12498 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12499 $as_echo "$ac_header_preproc" >&6; }
12501 # So? What about this header?
12502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12503 yes:no: )
12504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12505 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12507 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12508 ac_header_preproc=yes
12510 no:yes:* )
12511 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12512 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12513 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12514 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12516 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12518 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12519 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12520 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12521 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12522 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12523 ( cat <<\_ASBOX
12524 ## -------------------------------------- ##
12525 ## Report this to gambit@iro.umontreal.ca ##
12526 ## -------------------------------------- ##
12527 _ASBOX
12528 ) | sed "s/^/$as_me: WARNING: /" >&2
12530 esac
12531 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12532 $as_echo_n "checking for $ac_header... " >&6; }
12533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12534 $as_echo_n "(cached) " >&6
12535 else
12536 eval "$as_ac_Header=\$ac_header_preproc"
12538 ac_res=`eval 'as_val=${'$as_ac_Header'}
12539 $as_echo "$as_val"'`
12540 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12541 $as_echo "$ac_res" >&6; }
12544 if test `eval 'as_val=${'$as_ac_Header'}
12545 $as_echo "$as_val"'` = yes; then
12546 cat >>confdefs.h <<_ACEOF
12547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12548 _ACEOF
12552 done
12555 for ac_header in strings.h
12557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12560 $as_echo_n "checking for $ac_header... " >&6; }
12561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12562 $as_echo_n "(cached) " >&6
12564 ac_res=`eval 'as_val=${'$as_ac_Header'}
12565 $as_echo "$as_val"'`
12566 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12567 $as_echo "$ac_res" >&6; }
12568 else
12569 # Is the header compilable?
12570 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12571 $as_echo_n "checking $ac_header usability... " >&6; }
12572 cat >conftest.$ac_ext <<_ACEOF
12573 /* confdefs.h. */
12574 _ACEOF
12575 cat confdefs.h >>conftest.$ac_ext
12576 cat >>conftest.$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 $ac_includes_default
12579 #include <$ac_header>
12580 _ACEOF
12581 rm -f conftest.$ac_objext
12582 if { (ac_try="$ac_compile"
12583 case "(($ac_try" in
12584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12586 esac
12587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12588 $as_echo "$ac_try_echo") >&5
12589 (eval "$ac_compile") 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_cxx_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest.$ac_objext; then
12599 ac_header_compiler=yes
12600 else
12601 $as_echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 ac_header_compiler=no
12607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12608 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12609 $as_echo "$ac_header_compiler" >&6; }
12611 # Is the header present?
12612 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12613 $as_echo_n "checking $ac_header presence... " >&6; }
12614 cat >conftest.$ac_ext <<_ACEOF
12615 /* confdefs.h. */
12616 _ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #include <$ac_header>
12621 _ACEOF
12622 if { (ac_try="$ac_cpp conftest.$ac_ext"
12623 case "(($ac_try" in
12624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12625 *) ac_try_echo=$ac_try;;
12626 esac
12627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12628 $as_echo "$ac_try_echo") >&5
12629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12630 ac_status=$?
12631 grep -v '^ *+' conftest.er1 >conftest.err
12632 rm -f conftest.er1
12633 cat conftest.err >&5
12634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); } >/dev/null && {
12636 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12637 test ! -s conftest.err
12638 }; then
12639 ac_header_preproc=yes
12640 else
12641 $as_echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.$ac_ext >&5
12644 ac_header_preproc=no
12647 rm -f conftest.err conftest.$ac_ext
12648 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12649 $as_echo "$ac_header_preproc" >&6; }
12651 # So? What about this header?
12652 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12653 yes:no: )
12654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12655 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12657 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12658 ac_header_preproc=yes
12660 no:yes:* )
12661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12662 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12664 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12666 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12668 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12672 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12673 ( cat <<\_ASBOX
12674 ## -------------------------------------- ##
12675 ## Report this to gambit@iro.umontreal.ca ##
12676 ## -------------------------------------- ##
12677 _ASBOX
12678 ) | sed "s/^/$as_me: WARNING: /" >&2
12680 esac
12681 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12682 $as_echo_n "checking for $ac_header... " >&6; }
12683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12684 $as_echo_n "(cached) " >&6
12685 else
12686 eval "$as_ac_Header=\$ac_header_preproc"
12688 ac_res=`eval 'as_val=${'$as_ac_Header'}
12689 $as_echo "$as_val"'`
12690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12691 $as_echo "$ac_res" >&6; }
12694 if test `eval 'as_val=${'$as_ac_Header'}
12695 $as_echo "$as_val"'` = yes; then
12696 cat >>confdefs.h <<_ACEOF
12697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12698 _ACEOF
12702 done
12705 for ac_header in memory.h
12707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12709 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12710 $as_echo_n "checking for $ac_header... " >&6; }
12711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12712 $as_echo_n "(cached) " >&6
12714 ac_res=`eval 'as_val=${'$as_ac_Header'}
12715 $as_echo "$as_val"'`
12716 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12717 $as_echo "$ac_res" >&6; }
12718 else
12719 # Is the header compilable?
12720 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12721 $as_echo_n "checking $ac_header usability... " >&6; }
12722 cat >conftest.$ac_ext <<_ACEOF
12723 /* confdefs.h. */
12724 _ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 $ac_includes_default
12729 #include <$ac_header>
12730 _ACEOF
12731 rm -f conftest.$ac_objext
12732 if { (ac_try="$ac_compile"
12733 case "(($ac_try" in
12734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12735 *) ac_try_echo=$ac_try;;
12736 esac
12737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12738 $as_echo "$ac_try_echo") >&5
12739 (eval "$ac_compile") 2>conftest.er1
12740 ac_status=$?
12741 grep -v '^ *+' conftest.er1 >conftest.err
12742 rm -f conftest.er1
12743 cat conftest.err >&5
12744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && {
12746 test -z "$ac_cxx_werror_flag" ||
12747 test ! -s conftest.err
12748 } && test -s conftest.$ac_objext; then
12749 ac_header_compiler=yes
12750 else
12751 $as_echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 ac_header_compiler=no
12757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12758 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12759 $as_echo "$ac_header_compiler" >&6; }
12761 # Is the header present?
12762 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12763 $as_echo_n "checking $ac_header presence... " >&6; }
12764 cat >conftest.$ac_ext <<_ACEOF
12765 /* confdefs.h. */
12766 _ACEOF
12767 cat confdefs.h >>conftest.$ac_ext
12768 cat >>conftest.$ac_ext <<_ACEOF
12769 /* end confdefs.h. */
12770 #include <$ac_header>
12771 _ACEOF
12772 if { (ac_try="$ac_cpp conftest.$ac_ext"
12773 case "(($ac_try" in
12774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12775 *) ac_try_echo=$ac_try;;
12776 esac
12777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12778 $as_echo "$ac_try_echo") >&5
12779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12780 ac_status=$?
12781 grep -v '^ *+' conftest.er1 >conftest.err
12782 rm -f conftest.er1
12783 cat conftest.err >&5
12784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } >/dev/null && {
12786 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12787 test ! -s conftest.err
12788 }; then
12789 ac_header_preproc=yes
12790 else
12791 $as_echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 ac_header_preproc=no
12797 rm -f conftest.err conftest.$ac_ext
12798 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12799 $as_echo "$ac_header_preproc" >&6; }
12801 # So? What about this header?
12802 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12803 yes:no: )
12804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12805 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12807 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12808 ac_header_preproc=yes
12810 no:yes:* )
12811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12812 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12814 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12816 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12818 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12820 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12822 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12823 ( cat <<\_ASBOX
12824 ## -------------------------------------- ##
12825 ## Report this to gambit@iro.umontreal.ca ##
12826 ## -------------------------------------- ##
12827 _ASBOX
12828 ) | sed "s/^/$as_me: WARNING: /" >&2
12830 esac
12831 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12832 $as_echo_n "checking for $ac_header... " >&6; }
12833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12834 $as_echo_n "(cached) " >&6
12835 else
12836 eval "$as_ac_Header=\$ac_header_preproc"
12838 ac_res=`eval 'as_val=${'$as_ac_Header'}
12839 $as_echo "$as_val"'`
12840 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12841 $as_echo "$ac_res" >&6; }
12844 if test `eval 'as_val=${'$as_ac_Header'}
12845 $as_echo "$as_val"'` = yes; then
12846 cat >>confdefs.h <<_ACEOF
12847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12848 _ACEOF
12852 done
12855 for ac_header in sys/sysctl.h
12857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12859 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12860 $as_echo_n "checking for $ac_header... " >&6; }
12861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12862 $as_echo_n "(cached) " >&6
12864 ac_res=`eval 'as_val=${'$as_ac_Header'}
12865 $as_echo "$as_val"'`
12866 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12867 $as_echo "$ac_res" >&6; }
12868 else
12869 # Is the header compilable?
12870 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12871 $as_echo_n "checking $ac_header usability... " >&6; }
12872 cat >conftest.$ac_ext <<_ACEOF
12873 /* confdefs.h. */
12874 _ACEOF
12875 cat confdefs.h >>conftest.$ac_ext
12876 cat >>conftest.$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 $ac_includes_default
12879 #include <$ac_header>
12880 _ACEOF
12881 rm -f conftest.$ac_objext
12882 if { (ac_try="$ac_compile"
12883 case "(($ac_try" in
12884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12885 *) ac_try_echo=$ac_try;;
12886 esac
12887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12888 $as_echo "$ac_try_echo") >&5
12889 (eval "$ac_compile") 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } && {
12896 test -z "$ac_cxx_werror_flag" ||
12897 test ! -s conftest.err
12898 } && test -s conftest.$ac_objext; then
12899 ac_header_compiler=yes
12900 else
12901 $as_echo "$as_me: failed program was:" >&5
12902 sed 's/^/| /' conftest.$ac_ext >&5
12904 ac_header_compiler=no
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12909 $as_echo "$ac_header_compiler" >&6; }
12911 # Is the header present?
12912 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12913 $as_echo_n "checking $ac_header presence... " >&6; }
12914 cat >conftest.$ac_ext <<_ACEOF
12915 /* confdefs.h. */
12916 _ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 #include <$ac_header>
12921 _ACEOF
12922 if { (ac_try="$ac_cpp conftest.$ac_ext"
12923 case "(($ac_try" in
12924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12925 *) ac_try_echo=$ac_try;;
12926 esac
12927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12928 $as_echo "$ac_try_echo") >&5
12929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev/null && {
12936 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12937 test ! -s conftest.err
12938 }; then
12939 ac_header_preproc=yes
12940 else
12941 $as_echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12944 ac_header_preproc=no
12947 rm -f conftest.err conftest.$ac_ext
12948 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12949 $as_echo "$ac_header_preproc" >&6; }
12951 # So? What about this header?
12952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12953 yes:no: )
12954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12955 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12957 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12958 ac_header_preproc=yes
12960 no:yes:* )
12961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12962 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12964 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12966 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12968 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12969 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12970 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12971 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12972 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12973 ( cat <<\_ASBOX
12974 ## -------------------------------------- ##
12975 ## Report this to gambit@iro.umontreal.ca ##
12976 ## -------------------------------------- ##
12977 _ASBOX
12978 ) | sed "s/^/$as_me: WARNING: /" >&2
12980 esac
12981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12982 $as_echo_n "checking for $ac_header... " >&6; }
12983 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12984 $as_echo_n "(cached) " >&6
12985 else
12986 eval "$as_ac_Header=\$ac_header_preproc"
12988 ac_res=`eval 'as_val=${'$as_ac_Header'}
12989 $as_echo "$as_val"'`
12990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12991 $as_echo "$ac_res" >&6; }
12994 if test `eval 'as_val=${'$as_ac_Header'}
12995 $as_echo "$as_val"'` = yes; then
12996 cat >>confdefs.h <<_ACEOF
12997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12998 _ACEOF
13002 done
13005 if test "$C_COMP_VISUALC" != yes; then
13009 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
13010 $as_echo_n "checking for socklen_t... " >&6; }
13011 if test "${ac_cv_type_socklen_t+set}" = set; then
13012 $as_echo_n "(cached) " >&6
13013 else
13015 cat >conftest.$ac_ext <<_ACEOF
13016 /* confdefs.h. */
13017 _ACEOF
13018 cat confdefs.h >>conftest.$ac_ext
13019 cat >>conftest.$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <sys/types.h>
13022 #include <sys/socket.h>
13024 main ()
13026 socklen_t len = 42; return 0;
13028 return 0;
13030 _ACEOF
13031 rm -f conftest.$ac_objext
13032 if { (ac_try="$ac_compile"
13033 case "(($ac_try" in
13034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13035 *) ac_try_echo=$ac_try;;
13036 esac
13037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13038 $as_echo "$ac_try_echo") >&5
13039 (eval "$ac_compile") 2>conftest.er1
13040 ac_status=$?
13041 grep -v '^ *+' conftest.er1 >conftest.err
13042 rm -f conftest.er1
13043 cat conftest.err >&5
13044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } && {
13046 test -z "$ac_cxx_werror_flag" ||
13047 test ! -s conftest.err
13048 } && test -s conftest.$ac_objext; then
13049 ac_cv_type_socklen_t=yes
13050 else
13051 $as_echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.$ac_ext >&5
13054 ac_cv_type_socklen_t=no
13057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13060 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13061 $as_echo "$ac_cv_type_socklen_t" >&6; }
13062 if test $ac_cv_type_socklen_t != yes; then
13063 cat >>confdefs.h <<\_ACEOF
13064 #define socklen_t int
13065 _ACEOF
13072 #AC_TYPE_MODE_T
13073 #AC_TYPE_OFF_T
13074 #AC_TYPE_PID_T
13075 #AC_TYPE_SIGNAL
13076 #AC_TYPE_SIZE_T
13077 #AC_TYPE_UID_T
13079 #AC_HEADER_DIRENT
13080 #AC_HEADER_STAT
13081 #AC_HEADER_STDC
13082 #AC_HEADER_SYS_WAIT
13083 #AC_HEADER_TIME
13084 #AC_HEADER_TIOCGWINSZ
13085 #AC_FUNC_SELECT_ARGTYPES
13087 #AC_FUNC_CLOSEDIR_VOID
13088 #AC_FUNC_FSEEKO
13089 #AC_FUNC_STAT
13090 #AC_FUNC_LSTAT
13092 if test "$C_COMP_VISUALC" = yes; then
13094 LIBS="$LIBS Kernel32.Lib User32.Lib Gdi32.Lib WS2_32.Lib"
13095 FLAGS_OBJ="$FLAGS_OBJ -D_WINDOWS"
13097 else
13099 case "$target_os" in
13101 mingw*) # add Windows libraries needed by MinGW
13102 LIBS="$LIBS -lws2_32"
13103 FLAGS_OBJ="$FLAGS_OBJ -D_WINDOWS"
13106 *) # check libraries for other systems
13107 { $as_echo "$as_me:$LINENO: checking for library containing asin" >&5
13108 $as_echo_n "checking for library containing asin... " >&6; }
13109 if test "${ac_cv_search_asin+set}" = set; then
13110 $as_echo_n "(cached) " >&6
13111 else
13112 ac_func_search_save_LIBS=$LIBS
13113 cat >conftest.$ac_ext <<_ACEOF
13114 /* confdefs.h. */
13115 _ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char asin ();
13128 main ()
13130 return asin ();
13132 return 0;
13134 _ACEOF
13135 for ac_lib in '' m; do
13136 if test -z "$ac_lib"; then
13137 ac_res="none required"
13138 else
13139 ac_res=-l$ac_lib
13140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13142 rm -f conftest.$ac_objext conftest$ac_exeext
13143 if { (ac_try="$ac_link"
13144 case "(($ac_try" in
13145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13147 esac
13148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13149 $as_echo "$ac_try_echo") >&5
13150 (eval "$ac_link") 2>conftest.er1
13151 ac_status=$?
13152 grep -v '^ *+' conftest.er1 >conftest.err
13153 rm -f conftest.er1
13154 cat conftest.err >&5
13155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } && {
13157 test -z "$ac_cxx_werror_flag" ||
13158 test ! -s conftest.err
13159 } && test -s conftest$ac_exeext && {
13160 test "$cross_compiling" = yes ||
13161 $as_test_x conftest$ac_exeext
13162 }; then
13163 ac_cv_search_asin=$ac_res
13164 else
13165 $as_echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.$ac_ext >&5
13171 rm -rf conftest.dSYM
13172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13173 conftest$ac_exeext
13174 if test "${ac_cv_search_asin+set}" = set; then
13175 break
13177 done
13178 if test "${ac_cv_search_asin+set}" = set; then
13180 else
13181 ac_cv_search_asin=no
13183 rm conftest.$ac_ext
13184 LIBS=$ac_func_search_save_LIBS
13186 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_asin" >&5
13187 $as_echo "$ac_cv_search_asin" >&6; }
13188 ac_res=$ac_cv_search_asin
13189 if test "$ac_res" != no; then
13190 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13195 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13196 $as_echo_n "checking for library containing dlopen... " >&6; }
13197 if test "${ac_cv_search_dlopen+set}" = set; then
13198 $as_echo_n "(cached) " >&6
13199 else
13200 ac_func_search_save_LIBS=$LIBS
13201 cat >conftest.$ac_ext <<_ACEOF
13202 /* confdefs.h. */
13203 _ACEOF
13204 cat confdefs.h >>conftest.$ac_ext
13205 cat >>conftest.$ac_ext <<_ACEOF
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13211 #ifdef __cplusplus
13212 extern "C"
13213 #endif
13214 char dlopen ();
13216 main ()
13218 return dlopen ();
13220 return 0;
13222 _ACEOF
13223 for ac_lib in '' dl; do
13224 if test -z "$ac_lib"; then
13225 ac_res="none required"
13226 else
13227 ac_res=-l$ac_lib
13228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13230 rm -f conftest.$ac_objext conftest$ac_exeext
13231 if { (ac_try="$ac_link"
13232 case "(($ac_try" in
13233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13234 *) ac_try_echo=$ac_try;;
13235 esac
13236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13237 $as_echo "$ac_try_echo") >&5
13238 (eval "$ac_link") 2>conftest.er1
13239 ac_status=$?
13240 grep -v '^ *+' conftest.er1 >conftest.err
13241 rm -f conftest.er1
13242 cat conftest.err >&5
13243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } && {
13245 test -z "$ac_cxx_werror_flag" ||
13246 test ! -s conftest.err
13247 } && test -s conftest$ac_exeext && {
13248 test "$cross_compiling" = yes ||
13249 $as_test_x conftest$ac_exeext
13250 }; then
13251 ac_cv_search_dlopen=$ac_res
13252 else
13253 $as_echo "$as_me: failed program was:" >&5
13254 sed 's/^/| /' conftest.$ac_ext >&5
13259 rm -rf conftest.dSYM
13260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13261 conftest$ac_exeext
13262 if test "${ac_cv_search_dlopen+set}" = set; then
13263 break
13265 done
13266 if test "${ac_cv_search_dlopen+set}" = set; then
13268 else
13269 ac_cv_search_dlopen=no
13271 rm conftest.$ac_ext
13272 LIBS=$ac_func_search_save_LIBS
13274 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13275 $as_echo "$ac_cv_search_dlopen" >&6; }
13276 ac_res=$ac_cv_search_dlopen
13277 if test "$ac_res" != no; then
13278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13282 { $as_echo "$as_me:$LINENO: checking for library containing shl_load" >&5
13283 $as_echo_n "checking for library containing shl_load... " >&6; }
13284 if test "${ac_cv_search_shl_load+set}" = set; then
13285 $as_echo_n "(cached) " >&6
13286 else
13287 ac_func_search_save_LIBS=$LIBS
13288 cat >conftest.$ac_ext <<_ACEOF
13289 /* confdefs.h. */
13290 _ACEOF
13291 cat confdefs.h >>conftest.$ac_ext
13292 cat >>conftest.$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 #ifdef __cplusplus
13299 extern "C"
13300 #endif
13301 char shl_load ();
13303 main ()
13305 return shl_load ();
13307 return 0;
13309 _ACEOF
13310 for ac_lib in '' dld; do
13311 if test -z "$ac_lib"; then
13312 ac_res="none required"
13313 else
13314 ac_res=-l$ac_lib
13315 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13317 rm -f conftest.$ac_objext conftest$ac_exeext
13318 if { (ac_try="$ac_link"
13319 case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13322 esac
13323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13324 $as_echo "$ac_try_echo") >&5
13325 (eval "$ac_link") 2>conftest.er1
13326 ac_status=$?
13327 grep -v '^ *+' conftest.er1 >conftest.err
13328 rm -f conftest.er1
13329 cat conftest.err >&5
13330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && {
13332 test -z "$ac_cxx_werror_flag" ||
13333 test ! -s conftest.err
13334 } && test -s conftest$ac_exeext && {
13335 test "$cross_compiling" = yes ||
13336 $as_test_x conftest$ac_exeext
13337 }; then
13338 ac_cv_search_shl_load=$ac_res
13339 else
13340 $as_echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13346 rm -rf conftest.dSYM
13347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13348 conftest$ac_exeext
13349 if test "${ac_cv_search_shl_load+set}" = set; then
13350 break
13352 done
13353 if test "${ac_cv_search_shl_load+set}" = set; then
13355 else
13356 ac_cv_search_shl_load=no
13358 rm conftest.$ac_ext
13359 LIBS=$ac_func_search_save_LIBS
13361 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_shl_load" >&5
13362 $as_echo "$ac_cv_search_shl_load" >&6; }
13363 ac_res=$ac_cv_search_shl_load
13364 if test "$ac_res" != no; then
13365 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13370 #AC_SEARCH_LIBS(tgetstr,ncurses curses)
13371 #AC_SEARCH_LIBS(tigetstr,ncurses curses)
13373 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
13374 $as_echo_n "checking for library containing socket... " >&6; }
13375 if test "${ac_cv_search_socket+set}" = set; then
13376 $as_echo_n "(cached) " >&6
13377 else
13378 ac_func_search_save_LIBS=$LIBS
13379 cat >conftest.$ac_ext <<_ACEOF
13380 /* confdefs.h. */
13381 _ACEOF
13382 cat confdefs.h >>conftest.$ac_ext
13383 cat >>conftest.$ac_ext <<_ACEOF
13384 /* end confdefs.h. */
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13389 #ifdef __cplusplus
13390 extern "C"
13391 #endif
13392 char socket ();
13394 main ()
13396 return socket ();
13398 return 0;
13400 _ACEOF
13401 for ac_lib in '' socket; do
13402 if test -z "$ac_lib"; then
13403 ac_res="none required"
13404 else
13405 ac_res=-l$ac_lib
13406 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13408 rm -f conftest.$ac_objext conftest$ac_exeext
13409 if { (ac_try="$ac_link"
13410 case "(($ac_try" in
13411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13412 *) ac_try_echo=$ac_try;;
13413 esac
13414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13415 $as_echo "$ac_try_echo") >&5
13416 (eval "$ac_link") 2>conftest.er1
13417 ac_status=$?
13418 grep -v '^ *+' conftest.er1 >conftest.err
13419 rm -f conftest.er1
13420 cat conftest.err >&5
13421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } && {
13423 test -z "$ac_cxx_werror_flag" ||
13424 test ! -s conftest.err
13425 } && test -s conftest$ac_exeext && {
13426 test "$cross_compiling" = yes ||
13427 $as_test_x conftest$ac_exeext
13428 }; then
13429 ac_cv_search_socket=$ac_res
13430 else
13431 $as_echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13437 rm -rf conftest.dSYM
13438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13439 conftest$ac_exeext
13440 if test "${ac_cv_search_socket+set}" = set; then
13441 break
13443 done
13444 if test "${ac_cv_search_socket+set}" = set; then
13446 else
13447 ac_cv_search_socket=no
13449 rm conftest.$ac_ext
13450 LIBS=$ac_func_search_save_LIBS
13452 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
13453 $as_echo "$ac_cv_search_socket" >&6; }
13454 ac_res=$ac_cv_search_socket
13455 if test "$ac_res" != no; then
13456 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13461 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
13462 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13463 if test "${ac_cv_search_gethostbyname+set}" = set; then
13464 $as_echo_n "(cached) " >&6
13465 else
13466 ac_func_search_save_LIBS=$LIBS
13467 cat >conftest.$ac_ext <<_ACEOF
13468 /* confdefs.h. */
13469 _ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char gethostbyname ();
13482 main ()
13484 return gethostbyname ();
13486 return 0;
13488 _ACEOF
13489 for ac_lib in '' nsl resolv xnet; do
13490 if test -z "$ac_lib"; then
13491 ac_res="none required"
13492 else
13493 ac_res=-l$ac_lib
13494 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13496 rm -f conftest.$ac_objext conftest$ac_exeext
13497 if { (ac_try="$ac_link"
13498 case "(($ac_try" in
13499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13501 esac
13502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13503 $as_echo "$ac_try_echo") >&5
13504 (eval "$ac_link") 2>conftest.er1
13505 ac_status=$?
13506 grep -v '^ *+' conftest.er1 >conftest.err
13507 rm -f conftest.er1
13508 cat conftest.err >&5
13509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && {
13511 test -z "$ac_cxx_werror_flag" ||
13512 test ! -s conftest.err
13513 } && test -s conftest$ac_exeext && {
13514 test "$cross_compiling" = yes ||
13515 $as_test_x conftest$ac_exeext
13516 }; then
13517 ac_cv_search_gethostbyname=$ac_res
13518 else
13519 $as_echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.$ac_ext >&5
13525 rm -rf conftest.dSYM
13526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13527 conftest$ac_exeext
13528 if test "${ac_cv_search_gethostbyname+set}" = set; then
13529 break
13531 done
13532 if test "${ac_cv_search_gethostbyname+set}" = set; then
13534 else
13535 ac_cv_search_gethostbyname=no
13537 rm conftest.$ac_ext
13538 LIBS=$ac_func_search_save_LIBS
13540 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
13541 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13542 ac_res=$ac_cv_search_gethostbyname
13543 if test "$ac_res" != no; then
13544 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13549 { $as_echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
13550 $as_echo_n "checking for library containing hstrerror... " >&6; }
13551 if test "${ac_cv_search_hstrerror+set}" = set; then
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_func_search_save_LIBS=$LIBS
13555 cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h. */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char hstrerror ();
13570 main ()
13572 return hstrerror ();
13574 return 0;
13576 _ACEOF
13577 for ac_lib in '' resolv; do
13578 if test -z "$ac_lib"; then
13579 ac_res="none required"
13580 else
13581 ac_res=-l$ac_lib
13582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (ac_try="$ac_link"
13586 case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13589 esac
13590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13591 $as_echo "$ac_try_echo") >&5
13592 (eval "$ac_link") 2>conftest.er1
13593 ac_status=$?
13594 grep -v '^ *+' conftest.er1 >conftest.err
13595 rm -f conftest.er1
13596 cat conftest.err >&5
13597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } && {
13599 test -z "$ac_cxx_werror_flag" ||
13600 test ! -s conftest.err
13601 } && test -s conftest$ac_exeext && {
13602 test "$cross_compiling" = yes ||
13603 $as_test_x conftest$ac_exeext
13604 }; then
13605 ac_cv_search_hstrerror=$ac_res
13606 else
13607 $as_echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13613 rm -rf conftest.dSYM
13614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13615 conftest$ac_exeext
13616 if test "${ac_cv_search_hstrerror+set}" = set; then
13617 break
13619 done
13620 if test "${ac_cv_search_hstrerror+set}" = set; then
13622 else
13623 ac_cv_search_hstrerror=no
13625 rm conftest.$ac_ext
13626 LIBS=$ac_func_search_save_LIBS
13628 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
13629 $as_echo "$ac_cv_search_hstrerror" >&6; }
13630 ac_res=$ac_cv_search_hstrerror
13631 if test "$ac_res" != no; then
13632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13637 { $as_echo "$as_me:$LINENO: checking for library containing openpty" >&5
13638 $as_echo_n "checking for library containing openpty... " >&6; }
13639 if test "${ac_cv_search_openpty+set}" = set; then
13640 $as_echo_n "(cached) " >&6
13641 else
13642 ac_func_search_save_LIBS=$LIBS
13643 cat >conftest.$ac_ext <<_ACEOF
13644 /* confdefs.h. */
13645 _ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13650 /* Override any GCC internal prototype to avoid an error.
13651 Use char because int might match the return type of a GCC
13652 builtin and then its argument prototype would still apply. */
13653 #ifdef __cplusplus
13654 extern "C"
13655 #endif
13656 char openpty ();
13658 main ()
13660 return openpty ();
13662 return 0;
13664 _ACEOF
13665 for ac_lib in '' util; do
13666 if test -z "$ac_lib"; then
13667 ac_res="none required"
13668 else
13669 ac_res=-l$ac_lib
13670 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13672 rm -f conftest.$ac_objext conftest$ac_exeext
13673 if { (ac_try="$ac_link"
13674 case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13677 esac
13678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13679 $as_echo "$ac_try_echo") >&5
13680 (eval "$ac_link") 2>conftest.er1
13681 ac_status=$?
13682 grep -v '^ *+' conftest.er1 >conftest.err
13683 rm -f conftest.er1
13684 cat conftest.err >&5
13685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } && {
13687 test -z "$ac_cxx_werror_flag" ||
13688 test ! -s conftest.err
13689 } && test -s conftest$ac_exeext && {
13690 test "$cross_compiling" = yes ||
13691 $as_test_x conftest$ac_exeext
13692 }; then
13693 ac_cv_search_openpty=$ac_res
13694 else
13695 $as_echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.$ac_ext >&5
13701 rm -rf conftest.dSYM
13702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13703 conftest$ac_exeext
13704 if test "${ac_cv_search_openpty+set}" = set; then
13705 break
13707 done
13708 if test "${ac_cv_search_openpty+set}" = set; then
13710 else
13711 ac_cv_search_openpty=no
13713 rm conftest.$ac_ext
13714 LIBS=$ac_func_search_save_LIBS
13716 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
13717 $as_echo "$ac_cv_search_openpty" >&6; }
13718 ac_res=$ac_cv_search_openpty
13719 if test "$ac_res" != no; then
13720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13725 { $as_echo "$as_me:$LINENO: checking for library containing WSAStartup" >&5
13726 $as_echo_n "checking for library containing WSAStartup... " >&6; }
13727 if test "${ac_cv_search_WSAStartup+set}" = set; then
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_func_search_save_LIBS=$LIBS
13731 cat >conftest.$ac_ext <<_ACEOF
13732 /* confdefs.h. */
13733 _ACEOF
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13738 /* Override any GCC internal prototype to avoid an error.
13739 Use char because int might match the return type of a GCC
13740 builtin and then its argument prototype would still apply. */
13741 #ifdef __cplusplus
13742 extern "C"
13743 #endif
13744 char WSAStartup ();
13746 main ()
13748 return WSAStartup ();
13750 return 0;
13752 _ACEOF
13753 for ac_lib in '' ws2_32; do
13754 if test -z "$ac_lib"; then
13755 ac_res="none required"
13756 else
13757 ac_res=-l$ac_lib
13758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13760 rm -f conftest.$ac_objext conftest$ac_exeext
13761 if { (ac_try="$ac_link"
13762 case "(($ac_try" in
13763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13764 *) ac_try_echo=$ac_try;;
13765 esac
13766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13767 $as_echo "$ac_try_echo") >&5
13768 (eval "$ac_link") 2>conftest.er1
13769 ac_status=$?
13770 grep -v '^ *+' conftest.er1 >conftest.err
13771 rm -f conftest.er1
13772 cat conftest.err >&5
13773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } && {
13775 test -z "$ac_cxx_werror_flag" ||
13776 test ! -s conftest.err
13777 } && test -s conftest$ac_exeext && {
13778 test "$cross_compiling" = yes ||
13779 $as_test_x conftest$ac_exeext
13780 }; then
13781 ac_cv_search_WSAStartup=$ac_res
13782 else
13783 $as_echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13789 rm -rf conftest.dSYM
13790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13791 conftest$ac_exeext
13792 if test "${ac_cv_search_WSAStartup+set}" = set; then
13793 break
13795 done
13796 if test "${ac_cv_search_WSAStartup+set}" = set; then
13798 else
13799 ac_cv_search_WSAStartup=no
13801 rm conftest.$ac_ext
13802 LIBS=$ac_func_search_save_LIBS
13804 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_WSAStartup" >&5
13805 $as_echo "$ac_cv_search_WSAStartup" >&6; }
13806 ac_res=$ac_cv_search_WSAStartup
13807 if test "$ac_res" != no; then
13808 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13813 esac
13818 for ac_func in pipe
13820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13821 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13822 $as_echo_n "checking for $ac_func... " >&6; }
13823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13824 $as_echo_n "(cached) " >&6
13825 else
13826 cat >conftest.$ac_ext <<_ACEOF
13827 /* confdefs.h. */
13828 _ACEOF
13829 cat confdefs.h >>conftest.$ac_ext
13830 cat >>conftest.$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13834 #define $ac_func innocuous_$ac_func
13836 /* System header to define __stub macros and hopefully few prototypes,
13837 which can conflict with char $ac_func (); below.
13838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13839 <limits.h> exists even on freestanding compilers. */
13841 #ifdef __STDC__
13842 # include <limits.h>
13843 #else
13844 # include <assert.h>
13845 #endif
13847 #undef $ac_func
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char $ac_func ();
13856 /* The GNU C library defines this for functions which it implements
13857 to always fail with ENOSYS. Some functions are actually named
13858 something starting with __ and the normal name is an alias. */
13859 #if defined __stub_$ac_func || defined __stub___$ac_func
13860 choke me
13861 #endif
13864 main ()
13866 return $ac_func ();
13868 return 0;
13870 _ACEOF
13871 rm -f conftest.$ac_objext conftest$ac_exeext
13872 if { (ac_try="$ac_link"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13878 $as_echo "$ac_try_echo") >&5
13879 (eval "$ac_link") 2>conftest.er1
13880 ac_status=$?
13881 grep -v '^ *+' conftest.er1 >conftest.err
13882 rm -f conftest.er1
13883 cat conftest.err >&5
13884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); } && {
13886 test -z "$ac_cxx_werror_flag" ||
13887 test ! -s conftest.err
13888 } && test -s conftest$ac_exeext && {
13889 test "$cross_compiling" = yes ||
13890 $as_test_x conftest$ac_exeext
13891 }; then
13892 eval "$as_ac_var=yes"
13893 else
13894 $as_echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13897 eval "$as_ac_var=no"
13900 rm -rf conftest.dSYM
13901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13902 conftest$ac_exeext conftest.$ac_ext
13904 ac_res=`eval 'as_val=${'$as_ac_var'}
13905 $as_echo "$as_val"'`
13906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13907 $as_echo "$ac_res" >&6; }
13908 if test `eval 'as_val=${'$as_ac_var'}
13909 $as_echo "$as_val"'` = yes; then
13910 cat >>confdefs.h <<_ACEOF
13911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13912 _ACEOF
13915 done
13918 for ac_func in socketpair
13920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13921 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13922 $as_echo_n "checking for $ac_func... " >&6; }
13923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13924 $as_echo_n "(cached) " >&6
13925 else
13926 cat >conftest.$ac_ext <<_ACEOF
13927 /* confdefs.h. */
13928 _ACEOF
13929 cat confdefs.h >>conftest.$ac_ext
13930 cat >>conftest.$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13934 #define $ac_func innocuous_$ac_func
13936 /* System header to define __stub macros and hopefully few prototypes,
13937 which can conflict with char $ac_func (); below.
13938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13939 <limits.h> exists even on freestanding compilers. */
13941 #ifdef __STDC__
13942 # include <limits.h>
13943 #else
13944 # include <assert.h>
13945 #endif
13947 #undef $ac_func
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 #ifdef __cplusplus
13953 extern "C"
13954 #endif
13955 char $ac_func ();
13956 /* The GNU C library defines this for functions which it implements
13957 to always fail with ENOSYS. Some functions are actually named
13958 something starting with __ and the normal name is an alias. */
13959 #if defined __stub_$ac_func || defined __stub___$ac_func
13960 choke me
13961 #endif
13964 main ()
13966 return $ac_func ();
13968 return 0;
13970 _ACEOF
13971 rm -f conftest.$ac_objext conftest$ac_exeext
13972 if { (ac_try="$ac_link"
13973 case "(($ac_try" in
13974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975 *) ac_try_echo=$ac_try;;
13976 esac
13977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13978 $as_echo "$ac_try_echo") >&5
13979 (eval "$ac_link") 2>conftest.er1
13980 ac_status=$?
13981 grep -v '^ *+' conftest.er1 >conftest.err
13982 rm -f conftest.er1
13983 cat conftest.err >&5
13984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } && {
13986 test -z "$ac_cxx_werror_flag" ||
13987 test ! -s conftest.err
13988 } && test -s conftest$ac_exeext && {
13989 test "$cross_compiling" = yes ||
13990 $as_test_x conftest$ac_exeext
13991 }; then
13992 eval "$as_ac_var=yes"
13993 else
13994 $as_echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.$ac_ext >&5
13997 eval "$as_ac_var=no"
14000 rm -rf conftest.dSYM
14001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14002 conftest$ac_exeext conftest.$ac_ext
14004 ac_res=`eval 'as_val=${'$as_ac_var'}
14005 $as_echo "$as_val"'`
14006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14007 $as_echo "$ac_res" >&6; }
14008 if test `eval 'as_val=${'$as_ac_var'}
14009 $as_echo "$as_val"'` = yes; then
14010 cat >>confdefs.h <<_ACEOF
14011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14012 _ACEOF
14015 done
14018 for ac_func in chdir
14020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14021 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14022 $as_echo_n "checking for $ac_func... " >&6; }
14023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14024 $as_echo_n "(cached) " >&6
14025 else
14026 cat >conftest.$ac_ext <<_ACEOF
14027 /* confdefs.h. */
14028 _ACEOF
14029 cat confdefs.h >>conftest.$ac_ext
14030 cat >>conftest.$ac_ext <<_ACEOF
14031 /* end confdefs.h. */
14032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14034 #define $ac_func innocuous_$ac_func
14036 /* System header to define __stub macros and hopefully few prototypes,
14037 which can conflict with char $ac_func (); below.
14038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14039 <limits.h> exists even on freestanding compilers. */
14041 #ifdef __STDC__
14042 # include <limits.h>
14043 #else
14044 # include <assert.h>
14045 #endif
14047 #undef $ac_func
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char $ac_func ();
14056 /* The GNU C library defines this for functions which it implements
14057 to always fail with ENOSYS. Some functions are actually named
14058 something starting with __ and the normal name is an alias. */
14059 #if defined __stub_$ac_func || defined __stub___$ac_func
14060 choke me
14061 #endif
14064 main ()
14066 return $ac_func ();
14068 return 0;
14070 _ACEOF
14071 rm -f conftest.$ac_objext conftest$ac_exeext
14072 if { (ac_try="$ac_link"
14073 case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14076 esac
14077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14078 $as_echo "$ac_try_echo") >&5
14079 (eval "$ac_link") 2>conftest.er1
14080 ac_status=$?
14081 grep -v '^ *+' conftest.er1 >conftest.err
14082 rm -f conftest.er1
14083 cat conftest.err >&5
14084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_cxx_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest$ac_exeext && {
14089 test "$cross_compiling" = yes ||
14090 $as_test_x conftest$ac_exeext
14091 }; then
14092 eval "$as_ac_var=yes"
14093 else
14094 $as_echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14097 eval "$as_ac_var=no"
14100 rm -rf conftest.dSYM
14101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14102 conftest$ac_exeext conftest.$ac_ext
14104 ac_res=`eval 'as_val=${'$as_ac_var'}
14105 $as_echo "$as_val"'`
14106 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14107 $as_echo "$ac_res" >&6; }
14108 if test `eval 'as_val=${'$as_ac_var'}
14109 $as_echo "$as_val"'` = yes; then
14110 cat >>confdefs.h <<_ACEOF
14111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14112 _ACEOF
14115 done
14118 for ac_func in execvp
14120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14121 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14122 $as_echo_n "checking for $ac_func... " >&6; }
14123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14124 $as_echo_n "(cached) " >&6
14125 else
14126 cat >conftest.$ac_ext <<_ACEOF
14127 /* confdefs.h. */
14128 _ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14134 #define $ac_func innocuous_$ac_func
14136 /* System header to define __stub macros and hopefully few prototypes,
14137 which can conflict with char $ac_func (); below.
14138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14139 <limits.h> exists even on freestanding compilers. */
14141 #ifdef __STDC__
14142 # include <limits.h>
14143 #else
14144 # include <assert.h>
14145 #endif
14147 #undef $ac_func
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 #ifdef __cplusplus
14153 extern "C"
14154 #endif
14155 char $ac_func ();
14156 /* The GNU C library defines this for functions which it implements
14157 to always fail with ENOSYS. Some functions are actually named
14158 something starting with __ and the normal name is an alias. */
14159 #if defined __stub_$ac_func || defined __stub___$ac_func
14160 choke me
14161 #endif
14164 main ()
14166 return $ac_func ();
14168 return 0;
14170 _ACEOF
14171 rm -f conftest.$ac_objext conftest$ac_exeext
14172 if { (ac_try="$ac_link"
14173 case "(($ac_try" in
14174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14175 *) ac_try_echo=$ac_try;;
14176 esac
14177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14178 $as_echo "$ac_try_echo") >&5
14179 (eval "$ac_link") 2>conftest.er1
14180 ac_status=$?
14181 grep -v '^ *+' conftest.er1 >conftest.err
14182 rm -f conftest.er1
14183 cat conftest.err >&5
14184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); } && {
14186 test -z "$ac_cxx_werror_flag" ||
14187 test ! -s conftest.err
14188 } && test -s conftest$ac_exeext && {
14189 test "$cross_compiling" = yes ||
14190 $as_test_x conftest$ac_exeext
14191 }; then
14192 eval "$as_ac_var=yes"
14193 else
14194 $as_echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14197 eval "$as_ac_var=no"
14200 rm -rf conftest.dSYM
14201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14202 conftest$ac_exeext conftest.$ac_ext
14204 ac_res=`eval 'as_val=${'$as_ac_var'}
14205 $as_echo "$as_val"'`
14206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14207 $as_echo "$ac_res" >&6; }
14208 if test `eval 'as_val=${'$as_ac_var'}
14209 $as_echo "$as_val"'` = yes; then
14210 cat >>confdefs.h <<_ACEOF
14211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14212 _ACEOF
14215 done
14218 for ac_func in getgrnam
14220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14221 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14222 $as_echo_n "checking for $ac_func... " >&6; }
14223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14224 $as_echo_n "(cached) " >&6
14225 else
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14234 #define $ac_func innocuous_$ac_func
14236 /* System header to define __stub macros and hopefully few prototypes,
14237 which can conflict with char $ac_func (); below.
14238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14239 <limits.h> exists even on freestanding compilers. */
14241 #ifdef __STDC__
14242 # include <limits.h>
14243 #else
14244 # include <assert.h>
14245 #endif
14247 #undef $ac_func
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14252 #ifdef __cplusplus
14253 extern "C"
14254 #endif
14255 char $ac_func ();
14256 /* The GNU C library defines this for functions which it implements
14257 to always fail with ENOSYS. Some functions are actually named
14258 something starting with __ and the normal name is an alias. */
14259 #if defined __stub_$ac_func || defined __stub___$ac_func
14260 choke me
14261 #endif
14264 main ()
14266 return $ac_func ();
14268 return 0;
14270 _ACEOF
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (ac_try="$ac_link"
14273 case "(($ac_try" in
14274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275 *) ac_try_echo=$ac_try;;
14276 esac
14277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14278 $as_echo "$ac_try_echo") >&5
14279 (eval "$ac_link") 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_cxx_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest$ac_exeext && {
14289 test "$cross_compiling" = yes ||
14290 $as_test_x conftest$ac_exeext
14291 }; then
14292 eval "$as_ac_var=yes"
14293 else
14294 $as_echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14297 eval "$as_ac_var=no"
14300 rm -rf conftest.dSYM
14301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14302 conftest$ac_exeext conftest.$ac_ext
14304 ac_res=`eval 'as_val=${'$as_ac_var'}
14305 $as_echo "$as_val"'`
14306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14307 $as_echo "$ac_res" >&6; }
14308 if test `eval 'as_val=${'$as_ac_var'}
14309 $as_echo "$as_val"'` = yes; then
14310 cat >>confdefs.h <<_ACEOF
14311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14312 _ACEOF
14315 done
14318 for ac_func in getpid
14320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14321 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14322 $as_echo_n "checking for $ac_func... " >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14324 $as_echo_n "(cached) " >&6
14325 else
14326 cat >conftest.$ac_ext <<_ACEOF
14327 /* confdefs.h. */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14334 #define $ac_func innocuous_$ac_func
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func (); below.
14338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 <limits.h> exists even on freestanding compilers. */
14341 #ifdef __STDC__
14342 # include <limits.h>
14343 #else
14344 # include <assert.h>
14345 #endif
14347 #undef $ac_func
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char $ac_func ();
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14360 choke me
14361 #endif
14364 main ()
14366 return $ac_func ();
14368 return 0;
14370 _ACEOF
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14376 esac
14377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14378 $as_echo "$ac_try_echo") >&5
14379 (eval "$ac_link") 2>conftest.er1
14380 ac_status=$?
14381 grep -v '^ *+' conftest.er1 >conftest.err
14382 rm -f conftest.er1
14383 cat conftest.err >&5
14384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_cxx_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest$ac_exeext && {
14389 test "$cross_compiling" = yes ||
14390 $as_test_x conftest$ac_exeext
14391 }; then
14392 eval "$as_ac_var=yes"
14393 else
14394 $as_echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.$ac_ext >&5
14397 eval "$as_ac_var=no"
14400 rm -rf conftest.dSYM
14401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14402 conftest$ac_exeext conftest.$ac_ext
14404 ac_res=`eval 'as_val=${'$as_ac_var'}
14405 $as_echo "$as_val"'`
14406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14407 $as_echo "$ac_res" >&6; }
14408 if test `eval 'as_val=${'$as_ac_var'}
14409 $as_echo "$as_val"'` = yes; then
14410 cat >>confdefs.h <<_ACEOF
14411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14412 _ACEOF
14415 done
14418 for ac_func in getppid
14420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14421 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14422 $as_echo_n "checking for $ac_func... " >&6; }
14423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14424 $as_echo_n "(cached) " >&6
14425 else
14426 cat >conftest.$ac_ext <<_ACEOF
14427 /* confdefs.h. */
14428 _ACEOF
14429 cat confdefs.h >>conftest.$ac_ext
14430 cat >>conftest.$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14434 #define $ac_func innocuous_$ac_func
14436 /* System header to define __stub macros and hopefully few prototypes,
14437 which can conflict with char $ac_func (); below.
14438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14439 <limits.h> exists even on freestanding compilers. */
14441 #ifdef __STDC__
14442 # include <limits.h>
14443 #else
14444 # include <assert.h>
14445 #endif
14447 #undef $ac_func
14449 /* Override any GCC internal prototype to avoid an error.
14450 Use char because int might match the return type of a GCC
14451 builtin and then its argument prototype would still apply. */
14452 #ifdef __cplusplus
14453 extern "C"
14454 #endif
14455 char $ac_func ();
14456 /* The GNU C library defines this for functions which it implements
14457 to always fail with ENOSYS. Some functions are actually named
14458 something starting with __ and the normal name is an alias. */
14459 #if defined __stub_$ac_func || defined __stub___$ac_func
14460 choke me
14461 #endif
14464 main ()
14466 return $ac_func ();
14468 return 0;
14470 _ACEOF
14471 rm -f conftest.$ac_objext conftest$ac_exeext
14472 if { (ac_try="$ac_link"
14473 case "(($ac_try" in
14474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14476 esac
14477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14478 $as_echo "$ac_try_echo") >&5
14479 (eval "$ac_link") 2>conftest.er1
14480 ac_status=$?
14481 grep -v '^ *+' conftest.er1 >conftest.err
14482 rm -f conftest.er1
14483 cat conftest.err >&5
14484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_cxx_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest$ac_exeext && {
14489 test "$cross_compiling" = yes ||
14490 $as_test_x conftest$ac_exeext
14491 }; then
14492 eval "$as_ac_var=yes"
14493 else
14494 $as_echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14497 eval "$as_ac_var=no"
14500 rm -rf conftest.dSYM
14501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14502 conftest$ac_exeext conftest.$ac_ext
14504 ac_res=`eval 'as_val=${'$as_ac_var'}
14505 $as_echo "$as_val"'`
14506 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14507 $as_echo "$ac_res" >&6; }
14508 if test `eval 'as_val=${'$as_ac_var'}
14509 $as_echo "$as_val"'` = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14512 _ACEOF
14515 done
14518 for ac_func in getpwnam
14520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14521 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14522 $as_echo_n "checking for $ac_func... " >&6; }
14523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14524 $as_echo_n "(cached) " >&6
14525 else
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14534 #define $ac_func innocuous_$ac_func
14536 /* System header to define __stub macros and hopefully few prototypes,
14537 which can conflict with char $ac_func (); below.
14538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14539 <limits.h> exists even on freestanding compilers. */
14541 #ifdef __STDC__
14542 # include <limits.h>
14543 #else
14544 # include <assert.h>
14545 #endif
14547 #undef $ac_func
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 #ifdef __cplusplus
14553 extern "C"
14554 #endif
14555 char $ac_func ();
14556 /* The GNU C library defines this for functions which it implements
14557 to always fail with ENOSYS. Some functions are actually named
14558 something starting with __ and the normal name is an alias. */
14559 #if defined __stub_$ac_func || defined __stub___$ac_func
14560 choke me
14561 #endif
14564 main ()
14566 return $ac_func ();
14568 return 0;
14570 _ACEOF
14571 rm -f conftest.$ac_objext conftest$ac_exeext
14572 if { (ac_try="$ac_link"
14573 case "(($ac_try" in
14574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14575 *) ac_try_echo=$ac_try;;
14576 esac
14577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14578 $as_echo "$ac_try_echo") >&5
14579 (eval "$ac_link") 2>conftest.er1
14580 ac_status=$?
14581 grep -v '^ *+' conftest.er1 >conftest.err
14582 rm -f conftest.er1
14583 cat conftest.err >&5
14584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } && {
14586 test -z "$ac_cxx_werror_flag" ||
14587 test ! -s conftest.err
14588 } && test -s conftest$ac_exeext && {
14589 test "$cross_compiling" = yes ||
14590 $as_test_x conftest$ac_exeext
14591 }; then
14592 eval "$as_ac_var=yes"
14593 else
14594 $as_echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 eval "$as_ac_var=no"
14600 rm -rf conftest.dSYM
14601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14602 conftest$ac_exeext conftest.$ac_ext
14604 ac_res=`eval 'as_val=${'$as_ac_var'}
14605 $as_echo "$as_val"'`
14606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14607 $as_echo "$ac_res" >&6; }
14608 if test `eval 'as_val=${'$as_ac_var'}
14609 $as_echo "$as_val"'` = yes; then
14610 cat >>confdefs.h <<_ACEOF
14611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14612 _ACEOF
14615 done
14618 for ac_func in ioctl
14620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14621 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14622 $as_echo_n "checking for $ac_func... " >&6; }
14623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14624 $as_echo_n "(cached) " >&6
14625 else
14626 cat >conftest.$ac_ext <<_ACEOF
14627 /* confdefs.h. */
14628 _ACEOF
14629 cat confdefs.h >>conftest.$ac_ext
14630 cat >>conftest.$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14634 #define $ac_func innocuous_$ac_func
14636 /* System header to define __stub macros and hopefully few prototypes,
14637 which can conflict with char $ac_func (); below.
14638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14639 <limits.h> exists even on freestanding compilers. */
14641 #ifdef __STDC__
14642 # include <limits.h>
14643 #else
14644 # include <assert.h>
14645 #endif
14647 #undef $ac_func
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 char $ac_func ();
14656 /* The GNU C library defines this for functions which it implements
14657 to always fail with ENOSYS. Some functions are actually named
14658 something starting with __ and the normal name is an alias. */
14659 #if defined __stub_$ac_func || defined __stub___$ac_func
14660 choke me
14661 #endif
14664 main ()
14666 return $ac_func ();
14668 return 0;
14670 _ACEOF
14671 rm -f conftest.$ac_objext conftest$ac_exeext
14672 if { (ac_try="$ac_link"
14673 case "(($ac_try" in
14674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14675 *) ac_try_echo=$ac_try;;
14676 esac
14677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14678 $as_echo "$ac_try_echo") >&5
14679 (eval "$ac_link") 2>conftest.er1
14680 ac_status=$?
14681 grep -v '^ *+' conftest.er1 >conftest.err
14682 rm -f conftest.er1
14683 cat conftest.err >&5
14684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); } && {
14686 test -z "$ac_cxx_werror_flag" ||
14687 test ! -s conftest.err
14688 } && test -s conftest$ac_exeext && {
14689 test "$cross_compiling" = yes ||
14690 $as_test_x conftest$ac_exeext
14691 }; then
14692 eval "$as_ac_var=yes"
14693 else
14694 $as_echo "$as_me: failed program was:" >&5
14695 sed 's/^/| /' conftest.$ac_ext >&5
14697 eval "$as_ac_var=no"
14700 rm -rf conftest.dSYM
14701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14702 conftest$ac_exeext conftest.$ac_ext
14704 ac_res=`eval 'as_val=${'$as_ac_var'}
14705 $as_echo "$as_val"'`
14706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14707 $as_echo "$ac_res" >&6; }
14708 if test `eval 'as_val=${'$as_ac_var'}
14709 $as_echo "$as_val"'` = yes; then
14710 cat >>confdefs.h <<_ACEOF
14711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14712 _ACEOF
14715 done
14718 for ac_func in link
14720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14721 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14722 $as_echo_n "checking for $ac_func... " >&6; }
14723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14724 $as_echo_n "(cached) " >&6
14725 else
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14734 #define $ac_func innocuous_$ac_func
14736 /* System header to define __stub macros and hopefully few prototypes,
14737 which can conflict with char $ac_func (); below.
14738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14739 <limits.h> exists even on freestanding compilers. */
14741 #ifdef __STDC__
14742 # include <limits.h>
14743 #else
14744 # include <assert.h>
14745 #endif
14747 #undef $ac_func
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14752 #ifdef __cplusplus
14753 extern "C"
14754 #endif
14755 char $ac_func ();
14756 /* The GNU C library defines this for functions which it implements
14757 to always fail with ENOSYS. Some functions are actually named
14758 something starting with __ and the normal name is an alias. */
14759 #if defined __stub_$ac_func || defined __stub___$ac_func
14760 choke me
14761 #endif
14764 main ()
14766 return $ac_func ();
14768 return 0;
14770 _ACEOF
14771 rm -f conftest.$ac_objext conftest$ac_exeext
14772 if { (ac_try="$ac_link"
14773 case "(($ac_try" in
14774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775 *) ac_try_echo=$ac_try;;
14776 esac
14777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14778 $as_echo "$ac_try_echo") >&5
14779 (eval "$ac_link") 2>conftest.er1
14780 ac_status=$?
14781 grep -v '^ *+' conftest.er1 >conftest.err
14782 rm -f conftest.er1
14783 cat conftest.err >&5
14784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_cxx_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest$ac_exeext && {
14789 test "$cross_compiling" = yes ||
14790 $as_test_x conftest$ac_exeext
14791 }; then
14792 eval "$as_ac_var=yes"
14793 else
14794 $as_echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 eval "$as_ac_var=no"
14800 rm -rf conftest.dSYM
14801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14802 conftest$ac_exeext conftest.$ac_ext
14804 ac_res=`eval 'as_val=${'$as_ac_var'}
14805 $as_echo "$as_val"'`
14806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14807 $as_echo "$ac_res" >&6; }
14808 if test `eval 'as_val=${'$as_ac_var'}
14809 $as_echo "$as_val"'` = yes; then
14810 cat >>confdefs.h <<_ACEOF
14811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14812 _ACEOF
14815 done
14818 for ac_func in mkdir
14820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14821 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14822 $as_echo_n "checking for $ac_func... " >&6; }
14823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14824 $as_echo_n "(cached) " >&6
14825 else
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14834 #define $ac_func innocuous_$ac_func
14836 /* System header to define __stub macros and hopefully few prototypes,
14837 which can conflict with char $ac_func (); below.
14838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14839 <limits.h> exists even on freestanding compilers. */
14841 #ifdef __STDC__
14842 # include <limits.h>
14843 #else
14844 # include <assert.h>
14845 #endif
14847 #undef $ac_func
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 #ifdef __cplusplus
14853 extern "C"
14854 #endif
14855 char $ac_func ();
14856 /* The GNU C library defines this for functions which it implements
14857 to always fail with ENOSYS. Some functions are actually named
14858 something starting with __ and the normal name is an alias. */
14859 #if defined __stub_$ac_func || defined __stub___$ac_func
14860 choke me
14861 #endif
14864 main ()
14866 return $ac_func ();
14868 return 0;
14870 _ACEOF
14871 rm -f conftest.$ac_objext conftest$ac_exeext
14872 if { (ac_try="$ac_link"
14873 case "(($ac_try" in
14874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14875 *) ac_try_echo=$ac_try;;
14876 esac
14877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14878 $as_echo "$ac_try_echo") >&5
14879 (eval "$ac_link") 2>conftest.er1
14880 ac_status=$?
14881 grep -v '^ *+' conftest.er1 >conftest.err
14882 rm -f conftest.er1
14883 cat conftest.err >&5
14884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && {
14886 test -z "$ac_cxx_werror_flag" ||
14887 test ! -s conftest.err
14888 } && test -s conftest$ac_exeext && {
14889 test "$cross_compiling" = yes ||
14890 $as_test_x conftest$ac_exeext
14891 }; then
14892 eval "$as_ac_var=yes"
14893 else
14894 $as_echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 eval "$as_ac_var=no"
14900 rm -rf conftest.dSYM
14901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14902 conftest$ac_exeext conftest.$ac_ext
14904 ac_res=`eval 'as_val=${'$as_ac_var'}
14905 $as_echo "$as_val"'`
14906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14907 $as_echo "$ac_res" >&6; }
14908 if test `eval 'as_val=${'$as_ac_var'}
14909 $as_echo "$as_val"'` = yes; then
14910 cat >>confdefs.h <<_ACEOF
14911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14912 _ACEOF
14915 done
14918 for ac_func in mkfifo
14920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14921 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14922 $as_echo_n "checking for $ac_func... " >&6; }
14923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14924 $as_echo_n "(cached) " >&6
14925 else
14926 cat >conftest.$ac_ext <<_ACEOF
14927 /* confdefs.h. */
14928 _ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14934 #define $ac_func innocuous_$ac_func
14936 /* System header to define __stub macros and hopefully few prototypes,
14937 which can conflict with char $ac_func (); below.
14938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14939 <limits.h> exists even on freestanding compilers. */
14941 #ifdef __STDC__
14942 # include <limits.h>
14943 #else
14944 # include <assert.h>
14945 #endif
14947 #undef $ac_func
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 #ifdef __cplusplus
14953 extern "C"
14954 #endif
14955 char $ac_func ();
14956 /* The GNU C library defines this for functions which it implements
14957 to always fail with ENOSYS. Some functions are actually named
14958 something starting with __ and the normal name is an alias. */
14959 #if defined __stub_$ac_func || defined __stub___$ac_func
14960 choke me
14961 #endif
14964 main ()
14966 return $ac_func ();
14968 return 0;
14970 _ACEOF
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14976 esac
14977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14978 $as_echo "$ac_try_echo") >&5
14979 (eval "$ac_link") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_cxx_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest$ac_exeext && {
14989 test "$cross_compiling" = yes ||
14990 $as_test_x conftest$ac_exeext
14991 }; then
14992 eval "$as_ac_var=yes"
14993 else
14994 $as_echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14997 eval "$as_ac_var=no"
15000 rm -rf conftest.dSYM
15001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15002 conftest$ac_exeext conftest.$ac_ext
15004 ac_res=`eval 'as_val=${'$as_ac_var'}
15005 $as_echo "$as_val"'`
15006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15007 $as_echo "$ac_res" >&6; }
15008 if test `eval 'as_val=${'$as_ac_var'}
15009 $as_echo "$as_val"'` = yes; then
15010 cat >>confdefs.h <<_ACEOF
15011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15012 _ACEOF
15015 done
15018 for ac_func in opendir
15020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15021 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15022 $as_echo_n "checking for $ac_func... " >&6; }
15023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15024 $as_echo_n "(cached) " >&6
15025 else
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15034 #define $ac_func innocuous_$ac_func
15036 /* System header to define __stub macros and hopefully few prototypes,
15037 which can conflict with char $ac_func (); below.
15038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15039 <limits.h> exists even on freestanding compilers. */
15041 #ifdef __STDC__
15042 # include <limits.h>
15043 #else
15044 # include <assert.h>
15045 #endif
15047 #undef $ac_func
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 #ifdef __cplusplus
15053 extern "C"
15054 #endif
15055 char $ac_func ();
15056 /* The GNU C library defines this for functions which it implements
15057 to always fail with ENOSYS. Some functions are actually named
15058 something starting with __ and the normal name is an alias. */
15059 #if defined __stub_$ac_func || defined __stub___$ac_func
15060 choke me
15061 #endif
15064 main ()
15066 return $ac_func ();
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (ac_try="$ac_link"
15073 case "(($ac_try" in
15074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15075 *) ac_try_echo=$ac_try;;
15076 esac
15077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15078 $as_echo "$ac_try_echo") >&5
15079 (eval "$ac_link") 2>conftest.er1
15080 ac_status=$?
15081 grep -v '^ *+' conftest.er1 >conftest.err
15082 rm -f conftest.er1
15083 cat conftest.err >&5
15084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } && {
15086 test -z "$ac_cxx_werror_flag" ||
15087 test ! -s conftest.err
15088 } && test -s conftest$ac_exeext && {
15089 test "$cross_compiling" = yes ||
15090 $as_test_x conftest$ac_exeext
15091 }; then
15092 eval "$as_ac_var=yes"
15093 else
15094 $as_echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15097 eval "$as_ac_var=no"
15100 rm -rf conftest.dSYM
15101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15102 conftest$ac_exeext conftest.$ac_ext
15104 ac_res=`eval 'as_val=${'$as_ac_var'}
15105 $as_echo "$as_val"'`
15106 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15107 $as_echo "$ac_res" >&6; }
15108 if test `eval 'as_val=${'$as_ac_var'}
15109 $as_echo "$as_val"'` = yes; then
15110 cat >>confdefs.h <<_ACEOF
15111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15112 _ACEOF
15115 done
15118 for ac_func in rename
15120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15121 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15122 $as_echo_n "checking for $ac_func... " >&6; }
15123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat >conftest.$ac_ext <<_ACEOF
15127 /* confdefs.h. */
15128 _ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15134 #define $ac_func innocuous_$ac_func
15136 /* System header to define __stub macros and hopefully few prototypes,
15137 which can conflict with char $ac_func (); below.
15138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15139 <limits.h> exists even on freestanding compilers. */
15141 #ifdef __STDC__
15142 # include <limits.h>
15143 #else
15144 # include <assert.h>
15145 #endif
15147 #undef $ac_func
15149 /* Override any GCC internal prototype to avoid an error.
15150 Use char because int might match the return type of a GCC
15151 builtin and then its argument prototype would still apply. */
15152 #ifdef __cplusplus
15153 extern "C"
15154 #endif
15155 char $ac_func ();
15156 /* The GNU C library defines this for functions which it implements
15157 to always fail with ENOSYS. Some functions are actually named
15158 something starting with __ and the normal name is an alias. */
15159 #if defined __stub_$ac_func || defined __stub___$ac_func
15160 choke me
15161 #endif
15164 main ()
15166 return $ac_func ();
15168 return 0;
15170 _ACEOF
15171 rm -f conftest.$ac_objext conftest$ac_exeext
15172 if { (ac_try="$ac_link"
15173 case "(($ac_try" in
15174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15175 *) ac_try_echo=$ac_try;;
15176 esac
15177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15178 $as_echo "$ac_try_echo") >&5
15179 (eval "$ac_link") 2>conftest.er1
15180 ac_status=$?
15181 grep -v '^ *+' conftest.er1 >conftest.err
15182 rm -f conftest.er1
15183 cat conftest.err >&5
15184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } && {
15186 test -z "$ac_cxx_werror_flag" ||
15187 test ! -s conftest.err
15188 } && test -s conftest$ac_exeext && {
15189 test "$cross_compiling" = yes ||
15190 $as_test_x conftest$ac_exeext
15191 }; then
15192 eval "$as_ac_var=yes"
15193 else
15194 $as_echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15197 eval "$as_ac_var=no"
15200 rm -rf conftest.dSYM
15201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15202 conftest$ac_exeext conftest.$ac_ext
15204 ac_res=`eval 'as_val=${'$as_ac_var'}
15205 $as_echo "$as_val"'`
15206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15207 $as_echo "$ac_res" >&6; }
15208 if test `eval 'as_val=${'$as_ac_var'}
15209 $as_echo "$as_val"'` = yes; then
15210 cat >>confdefs.h <<_ACEOF
15211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15212 _ACEOF
15215 done
15218 for ac_func in rmdir
15220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15221 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15222 $as_echo_n "checking for $ac_func... " >&6; }
15223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15224 $as_echo_n "(cached) " >&6
15225 else
15226 cat >conftest.$ac_ext <<_ACEOF
15227 /* confdefs.h. */
15228 _ACEOF
15229 cat confdefs.h >>conftest.$ac_ext
15230 cat >>conftest.$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15234 #define $ac_func innocuous_$ac_func
15236 /* System header to define __stub macros and hopefully few prototypes,
15237 which can conflict with char $ac_func (); below.
15238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15239 <limits.h> exists even on freestanding compilers. */
15241 #ifdef __STDC__
15242 # include <limits.h>
15243 #else
15244 # include <assert.h>
15245 #endif
15247 #undef $ac_func
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15252 #ifdef __cplusplus
15253 extern "C"
15254 #endif
15255 char $ac_func ();
15256 /* The GNU C library defines this for functions which it implements
15257 to always fail with ENOSYS. Some functions are actually named
15258 something starting with __ and the normal name is an alias. */
15259 #if defined __stub_$ac_func || defined __stub___$ac_func
15260 choke me
15261 #endif
15264 main ()
15266 return $ac_func ();
15268 return 0;
15270 _ACEOF
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (ac_try="$ac_link"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15276 esac
15277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15278 $as_echo "$ac_try_echo") >&5
15279 (eval "$ac_link") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_cxx_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest$ac_exeext && {
15289 test "$cross_compiling" = yes ||
15290 $as_test_x conftest$ac_exeext
15291 }; then
15292 eval "$as_ac_var=yes"
15293 else
15294 $as_echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15297 eval "$as_ac_var=no"
15300 rm -rf conftest.dSYM
15301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15302 conftest$ac_exeext conftest.$ac_ext
15304 ac_res=`eval 'as_val=${'$as_ac_var'}
15305 $as_echo "$as_val"'`
15306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15307 $as_echo "$ac_res" >&6; }
15308 if test `eval 'as_val=${'$as_ac_var'}
15309 $as_echo "$as_val"'` = yes; then
15310 cat >>confdefs.h <<_ACEOF
15311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15312 _ACEOF
15315 done
15318 for ac_func in socket
15320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15321 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15322 $as_echo_n "checking for $ac_func... " >&6; }
15323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15324 $as_echo_n "(cached) " >&6
15325 else
15326 cat >conftest.$ac_ext <<_ACEOF
15327 /* confdefs.h. */
15328 _ACEOF
15329 cat confdefs.h >>conftest.$ac_ext
15330 cat >>conftest.$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15334 #define $ac_func innocuous_$ac_func
15336 /* System header to define __stub macros and hopefully few prototypes,
15337 which can conflict with char $ac_func (); below.
15338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15339 <limits.h> exists even on freestanding compilers. */
15341 #ifdef __STDC__
15342 # include <limits.h>
15343 #else
15344 # include <assert.h>
15345 #endif
15347 #undef $ac_func
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 #ifdef __cplusplus
15353 extern "C"
15354 #endif
15355 char $ac_func ();
15356 /* The GNU C library defines this for functions which it implements
15357 to always fail with ENOSYS. Some functions are actually named
15358 something starting with __ and the normal name is an alias. */
15359 #if defined __stub_$ac_func || defined __stub___$ac_func
15360 choke me
15361 #endif
15364 main ()
15366 return $ac_func ();
15368 return 0;
15370 _ACEOF
15371 rm -f conftest.$ac_objext conftest$ac_exeext
15372 if { (ac_try="$ac_link"
15373 case "(($ac_try" in
15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15375 *) ac_try_echo=$ac_try;;
15376 esac
15377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15378 $as_echo "$ac_try_echo") >&5
15379 (eval "$ac_link") 2>conftest.er1
15380 ac_status=$?
15381 grep -v '^ *+' conftest.er1 >conftest.err
15382 rm -f conftest.er1
15383 cat conftest.err >&5
15384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_cxx_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest$ac_exeext && {
15389 test "$cross_compiling" = yes ||
15390 $as_test_x conftest$ac_exeext
15391 }; then
15392 eval "$as_ac_var=yes"
15393 else
15394 $as_echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15397 eval "$as_ac_var=no"
15400 rm -rf conftest.dSYM
15401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15402 conftest$ac_exeext conftest.$ac_ext
15404 ac_res=`eval 'as_val=${'$as_ac_var'}
15405 $as_echo "$as_val"'`
15406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15407 $as_echo "$ac_res" >&6; }
15408 if test `eval 'as_val=${'$as_ac_var'}
15409 $as_echo "$as_val"'` = yes; then
15410 cat >>confdefs.h <<_ACEOF
15411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15412 _ACEOF
15415 done
15418 for ac_func in stat
15420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15421 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15422 $as_echo_n "checking for $ac_func... " >&6; }
15423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15424 $as_echo_n "(cached) " >&6
15425 else
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15434 #define $ac_func innocuous_$ac_func
15436 /* System header to define __stub macros and hopefully few prototypes,
15437 which can conflict with char $ac_func (); below.
15438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15439 <limits.h> exists even on freestanding compilers. */
15441 #ifdef __STDC__
15442 # include <limits.h>
15443 #else
15444 # include <assert.h>
15445 #endif
15447 #undef $ac_func
15449 /* Override any GCC internal prototype to avoid an error.
15450 Use char because int might match the return type of a GCC
15451 builtin and then its argument prototype would still apply. */
15452 #ifdef __cplusplus
15453 extern "C"
15454 #endif
15455 char $ac_func ();
15456 /* The GNU C library defines this for functions which it implements
15457 to always fail with ENOSYS. Some functions are actually named
15458 something starting with __ and the normal name is an alias. */
15459 #if defined __stub_$ac_func || defined __stub___$ac_func
15460 choke me
15461 #endif
15464 main ()
15466 return $ac_func ();
15468 return 0;
15470 _ACEOF
15471 rm -f conftest.$ac_objext conftest$ac_exeext
15472 if { (ac_try="$ac_link"
15473 case "(($ac_try" in
15474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475 *) ac_try_echo=$ac_try;;
15476 esac
15477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15478 $as_echo "$ac_try_echo") >&5
15479 (eval "$ac_link") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_cxx_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest$ac_exeext && {
15489 test "$cross_compiling" = yes ||
15490 $as_test_x conftest$ac_exeext
15491 }; then
15492 eval "$as_ac_var=yes"
15493 else
15494 $as_echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15497 eval "$as_ac_var=no"
15500 rm -rf conftest.dSYM
15501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15502 conftest$ac_exeext conftest.$ac_ext
15504 ac_res=`eval 'as_val=${'$as_ac_var'}
15505 $as_echo "$as_val"'`
15506 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15507 $as_echo "$ac_res" >&6; }
15508 if test `eval 'as_val=${'$as_ac_var'}
15509 $as_echo "$as_val"'` = yes; then
15510 cat >>confdefs.h <<_ACEOF
15511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15512 _ACEOF
15515 done
15518 for ac_func in strerror
15520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15521 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15522 $as_echo_n "checking for $ac_func... " >&6; }
15523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15524 $as_echo_n "(cached) " >&6
15525 else
15526 cat >conftest.$ac_ext <<_ACEOF
15527 /* confdefs.h. */
15528 _ACEOF
15529 cat confdefs.h >>conftest.$ac_ext
15530 cat >>conftest.$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15534 #define $ac_func innocuous_$ac_func
15536 /* System header to define __stub macros and hopefully few prototypes,
15537 which can conflict with char $ac_func (); below.
15538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15539 <limits.h> exists even on freestanding compilers. */
15541 #ifdef __STDC__
15542 # include <limits.h>
15543 #else
15544 # include <assert.h>
15545 #endif
15547 #undef $ac_func
15549 /* Override any GCC internal prototype to avoid an error.
15550 Use char because int might match the return type of a GCC
15551 builtin and then its argument prototype would still apply. */
15552 #ifdef __cplusplus
15553 extern "C"
15554 #endif
15555 char $ac_func ();
15556 /* The GNU C library defines this for functions which it implements
15557 to always fail with ENOSYS. Some functions are actually named
15558 something starting with __ and the normal name is an alias. */
15559 #if defined __stub_$ac_func || defined __stub___$ac_func
15560 choke me
15561 #endif
15564 main ()
15566 return $ac_func ();
15568 return 0;
15570 _ACEOF
15571 rm -f conftest.$ac_objext conftest$ac_exeext
15572 if { (ac_try="$ac_link"
15573 case "(($ac_try" in
15574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;;
15576 esac
15577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15578 $as_echo "$ac_try_echo") >&5
15579 (eval "$ac_link") 2>conftest.er1
15580 ac_status=$?
15581 grep -v '^ *+' conftest.er1 >conftest.err
15582 rm -f conftest.er1
15583 cat conftest.err >&5
15584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } && {
15586 test -z "$ac_cxx_werror_flag" ||
15587 test ! -s conftest.err
15588 } && test -s conftest$ac_exeext && {
15589 test "$cross_compiling" = yes ||
15590 $as_test_x conftest$ac_exeext
15591 }; then
15592 eval "$as_ac_var=yes"
15593 else
15594 $as_echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15597 eval "$as_ac_var=no"
15600 rm -rf conftest.dSYM
15601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15602 conftest$ac_exeext conftest.$ac_ext
15604 ac_res=`eval 'as_val=${'$as_ac_var'}
15605 $as_echo "$as_val"'`
15606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15607 $as_echo "$ac_res" >&6; }
15608 if test `eval 'as_val=${'$as_ac_var'}
15609 $as_echo "$as_val"'` = yes; then
15610 cat >>confdefs.h <<_ACEOF
15611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15612 _ACEOF
15615 done
15618 for ac_func in symlink
15620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15621 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15622 $as_echo_n "checking for $ac_func... " >&6; }
15623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15624 $as_echo_n "(cached) " >&6
15625 else
15626 cat >conftest.$ac_ext <<_ACEOF
15627 /* confdefs.h. */
15628 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15634 #define $ac_func innocuous_$ac_func
15636 /* System header to define __stub macros and hopefully few prototypes,
15637 which can conflict with char $ac_func (); below.
15638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15639 <limits.h> exists even on freestanding compilers. */
15641 #ifdef __STDC__
15642 # include <limits.h>
15643 #else
15644 # include <assert.h>
15645 #endif
15647 #undef $ac_func
15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
15652 #ifdef __cplusplus
15653 extern "C"
15654 #endif
15655 char $ac_func ();
15656 /* The GNU C library defines this for functions which it implements
15657 to always fail with ENOSYS. Some functions are actually named
15658 something starting with __ and the normal name is an alias. */
15659 #if defined __stub_$ac_func || defined __stub___$ac_func
15660 choke me
15661 #endif
15664 main ()
15666 return $ac_func ();
15668 return 0;
15670 _ACEOF
15671 rm -f conftest.$ac_objext conftest$ac_exeext
15672 if { (ac_try="$ac_link"
15673 case "(($ac_try" in
15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15675 *) ac_try_echo=$ac_try;;
15676 esac
15677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15678 $as_echo "$ac_try_echo") >&5
15679 (eval "$ac_link") 2>conftest.er1
15680 ac_status=$?
15681 grep -v '^ *+' conftest.er1 >conftest.err
15682 rm -f conftest.er1
15683 cat conftest.err >&5
15684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } && {
15686 test -z "$ac_cxx_werror_flag" ||
15687 test ! -s conftest.err
15688 } && test -s conftest$ac_exeext && {
15689 test "$cross_compiling" = yes ||
15690 $as_test_x conftest$ac_exeext
15691 }; then
15692 eval "$as_ac_var=yes"
15693 else
15694 $as_echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15697 eval "$as_ac_var=no"
15700 rm -rf conftest.dSYM
15701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15702 conftest$ac_exeext conftest.$ac_ext
15704 ac_res=`eval 'as_val=${'$as_ac_var'}
15705 $as_echo "$as_val"'`
15706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15707 $as_echo "$ac_res" >&6; }
15708 if test `eval 'as_val=${'$as_ac_var'}
15709 $as_echo "$as_val"'` = yes; then
15710 cat >>confdefs.h <<_ACEOF
15711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15712 _ACEOF
15715 done
15718 for ac_func in sysconf
15720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15721 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15722 $as_echo_n "checking for $ac_func... " >&6; }
15723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15724 $as_echo_n "(cached) " >&6
15725 else
15726 cat >conftest.$ac_ext <<_ACEOF
15727 /* confdefs.h. */
15728 _ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15734 #define $ac_func innocuous_$ac_func
15736 /* System header to define __stub macros and hopefully few prototypes,
15737 which can conflict with char $ac_func (); below.
15738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15739 <limits.h> exists even on freestanding compilers. */
15741 #ifdef __STDC__
15742 # include <limits.h>
15743 #else
15744 # include <assert.h>
15745 #endif
15747 #undef $ac_func
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char $ac_func ();
15756 /* The GNU C library defines this for functions which it implements
15757 to always fail with ENOSYS. Some functions are actually named
15758 something starting with __ and the normal name is an alias. */
15759 #if defined __stub_$ac_func || defined __stub___$ac_func
15760 choke me
15761 #endif
15764 main ()
15766 return $ac_func ();
15768 return 0;
15770 _ACEOF
15771 rm -f conftest.$ac_objext conftest$ac_exeext
15772 if { (ac_try="$ac_link"
15773 case "(($ac_try" in
15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15775 *) ac_try_echo=$ac_try;;
15776 esac
15777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15778 $as_echo "$ac_try_echo") >&5
15779 (eval "$ac_link") 2>conftest.er1
15780 ac_status=$?
15781 grep -v '^ *+' conftest.er1 >conftest.err
15782 rm -f conftest.er1
15783 cat conftest.err >&5
15784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } && {
15786 test -z "$ac_cxx_werror_flag" ||
15787 test ! -s conftest.err
15788 } && test -s conftest$ac_exeext && {
15789 test "$cross_compiling" = yes ||
15790 $as_test_x conftest$ac_exeext
15791 }; then
15792 eval "$as_ac_var=yes"
15793 else
15794 $as_echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.$ac_ext >&5
15797 eval "$as_ac_var=no"
15800 rm -rf conftest.dSYM
15801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15802 conftest$ac_exeext conftest.$ac_ext
15804 ac_res=`eval 'as_val=${'$as_ac_var'}
15805 $as_echo "$as_val"'`
15806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15807 $as_echo "$ac_res" >&6; }
15808 if test `eval 'as_val=${'$as_ac_var'}
15809 $as_echo "$as_val"'` = yes; then
15810 cat >>confdefs.h <<_ACEOF
15811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15812 _ACEOF
15815 done
15818 for ac_func in sysctl
15820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15821 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15822 $as_echo_n "checking for $ac_func... " >&6; }
15823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15824 $as_echo_n "(cached) " >&6
15825 else
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15834 #define $ac_func innocuous_$ac_func
15836 /* System header to define __stub macros and hopefully few prototypes,
15837 which can conflict with char $ac_func (); below.
15838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15839 <limits.h> exists even on freestanding compilers. */
15841 #ifdef __STDC__
15842 # include <limits.h>
15843 #else
15844 # include <assert.h>
15845 #endif
15847 #undef $ac_func
15849 /* Override any GCC internal prototype to avoid an error.
15850 Use char because int might match the return type of a GCC
15851 builtin and then its argument prototype would still apply. */
15852 #ifdef __cplusplus
15853 extern "C"
15854 #endif
15855 char $ac_func ();
15856 /* The GNU C library defines this for functions which it implements
15857 to always fail with ENOSYS. Some functions are actually named
15858 something starting with __ and the normal name is an alias. */
15859 #if defined __stub_$ac_func || defined __stub___$ac_func
15860 choke me
15861 #endif
15864 main ()
15866 return $ac_func ();
15868 return 0;
15870 _ACEOF
15871 rm -f conftest.$ac_objext conftest$ac_exeext
15872 if { (ac_try="$ac_link"
15873 case "(($ac_try" in
15874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875 *) ac_try_echo=$ac_try;;
15876 esac
15877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15878 $as_echo "$ac_try_echo") >&5
15879 (eval "$ac_link") 2>conftest.er1
15880 ac_status=$?
15881 grep -v '^ *+' conftest.er1 >conftest.err
15882 rm -f conftest.er1
15883 cat conftest.err >&5
15884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } && {
15886 test -z "$ac_cxx_werror_flag" ||
15887 test ! -s conftest.err
15888 } && test -s conftest$ac_exeext && {
15889 test "$cross_compiling" = yes ||
15890 $as_test_x conftest$ac_exeext
15891 }; then
15892 eval "$as_ac_var=yes"
15893 else
15894 $as_echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 eval "$as_ac_var=no"
15900 rm -rf conftest.dSYM
15901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15902 conftest$ac_exeext conftest.$ac_ext
15904 ac_res=`eval 'as_val=${'$as_ac_var'}
15905 $as_echo "$as_val"'`
15906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15907 $as_echo "$ac_res" >&6; }
15908 if test `eval 'as_val=${'$as_ac_var'}
15909 $as_echo "$as_val"'` = yes; then
15910 cat >>confdefs.h <<_ACEOF
15911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15912 _ACEOF
15915 done
15918 for ac_func in tcgetattr
15920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15921 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15922 $as_echo_n "checking for $ac_func... " >&6; }
15923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15924 $as_echo_n "(cached) " >&6
15925 else
15926 cat >conftest.$ac_ext <<_ACEOF
15927 /* confdefs.h. */
15928 _ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15934 #define $ac_func innocuous_$ac_func
15936 /* System header to define __stub macros and hopefully few prototypes,
15937 which can conflict with char $ac_func (); below.
15938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15939 <limits.h> exists even on freestanding compilers. */
15941 #ifdef __STDC__
15942 # include <limits.h>
15943 #else
15944 # include <assert.h>
15945 #endif
15947 #undef $ac_func
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15952 #ifdef __cplusplus
15953 extern "C"
15954 #endif
15955 char $ac_func ();
15956 /* The GNU C library defines this for functions which it implements
15957 to always fail with ENOSYS. Some functions are actually named
15958 something starting with __ and the normal name is an alias. */
15959 #if defined __stub_$ac_func || defined __stub___$ac_func
15960 choke me
15961 #endif
15964 main ()
15966 return $ac_func ();
15968 return 0;
15970 _ACEOF
15971 rm -f conftest.$ac_objext conftest$ac_exeext
15972 if { (ac_try="$ac_link"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15978 $as_echo "$ac_try_echo") >&5
15979 (eval "$ac_link") 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } && {
15986 test -z "$ac_cxx_werror_flag" ||
15987 test ! -s conftest.err
15988 } && test -s conftest$ac_exeext && {
15989 test "$cross_compiling" = yes ||
15990 $as_test_x conftest$ac_exeext
15991 }; then
15992 eval "$as_ac_var=yes"
15993 else
15994 $as_echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 eval "$as_ac_var=no"
16000 rm -rf conftest.dSYM
16001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16002 conftest$ac_exeext conftest.$ac_ext
16004 ac_res=`eval 'as_val=${'$as_ac_var'}
16005 $as_echo "$as_val"'`
16006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16007 $as_echo "$ac_res" >&6; }
16008 if test `eval 'as_val=${'$as_ac_var'}
16009 $as_echo "$as_val"'` = yes; then
16010 cat >>confdefs.h <<_ACEOF
16011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16012 _ACEOF
16015 done
16018 for ac_func in unlink
16020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16021 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16022 $as_echo_n "checking for $ac_func... " >&6; }
16023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16024 $as_echo_n "(cached) " >&6
16025 else
16026 cat >conftest.$ac_ext <<_ACEOF
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16034 #define $ac_func innocuous_$ac_func
16036 /* System header to define __stub macros and hopefully few prototypes,
16037 which can conflict with char $ac_func (); below.
16038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16039 <limits.h> exists even on freestanding compilers. */
16041 #ifdef __STDC__
16042 # include <limits.h>
16043 #else
16044 # include <assert.h>
16045 #endif
16047 #undef $ac_func
16049 /* Override any GCC internal prototype to avoid an error.
16050 Use char because int might match the return type of a GCC
16051 builtin and then its argument prototype would still apply. */
16052 #ifdef __cplusplus
16053 extern "C"
16054 #endif
16055 char $ac_func ();
16056 /* The GNU C library defines this for functions which it implements
16057 to always fail with ENOSYS. Some functions are actually named
16058 something starting with __ and the normal name is an alias. */
16059 #if defined __stub_$ac_func || defined __stub___$ac_func
16060 choke me
16061 #endif
16064 main ()
16066 return $ac_func ();
16068 return 0;
16070 _ACEOF
16071 rm -f conftest.$ac_objext conftest$ac_exeext
16072 if { (ac_try="$ac_link"
16073 case "(($ac_try" in
16074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16075 *) ac_try_echo=$ac_try;;
16076 esac
16077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16078 $as_echo "$ac_try_echo") >&5
16079 (eval "$ac_link") 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } && {
16086 test -z "$ac_cxx_werror_flag" ||
16087 test ! -s conftest.err
16088 } && test -s conftest$ac_exeext && {
16089 test "$cross_compiling" = yes ||
16090 $as_test_x conftest$ac_exeext
16091 }; then
16092 eval "$as_ac_var=yes"
16093 else
16094 $as_echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16097 eval "$as_ac_var=no"
16100 rm -rf conftest.dSYM
16101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102 conftest$ac_exeext conftest.$ac_ext
16104 ac_res=`eval 'as_val=${'$as_ac_var'}
16105 $as_echo "$as_val"'`
16106 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16107 $as_echo "$ac_res" >&6; }
16108 if test `eval 'as_val=${'$as_ac_var'}
16109 $as_echo "$as_val"'` = yes; then
16110 cat >>confdefs.h <<_ACEOF
16111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16112 _ACEOF
16115 done
16118 for ac_func in waitpid
16120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16121 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16122 $as_echo_n "checking for $ac_func... " >&6; }
16123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16124 $as_echo_n "(cached) " >&6
16125 else
16126 cat >conftest.$ac_ext <<_ACEOF
16127 /* confdefs.h. */
16128 _ACEOF
16129 cat confdefs.h >>conftest.$ac_ext
16130 cat >>conftest.$ac_ext <<_ACEOF
16131 /* end confdefs.h. */
16132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16134 #define $ac_func innocuous_$ac_func
16136 /* System header to define __stub macros and hopefully few prototypes,
16137 which can conflict with char $ac_func (); below.
16138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16139 <limits.h> exists even on freestanding compilers. */
16141 #ifdef __STDC__
16142 # include <limits.h>
16143 #else
16144 # include <assert.h>
16145 #endif
16147 #undef $ac_func
16149 /* Override any GCC internal prototype to avoid an error.
16150 Use char because int might match the return type of a GCC
16151 builtin and then its argument prototype would still apply. */
16152 #ifdef __cplusplus
16153 extern "C"
16154 #endif
16155 char $ac_func ();
16156 /* The GNU C library defines this for functions which it implements
16157 to always fail with ENOSYS. Some functions are actually named
16158 something starting with __ and the normal name is an alias. */
16159 #if defined __stub_$ac_func || defined __stub___$ac_func
16160 choke me
16161 #endif
16164 main ()
16166 return $ac_func ();
16168 return 0;
16170 _ACEOF
16171 rm -f conftest.$ac_objext conftest$ac_exeext
16172 if { (ac_try="$ac_link"
16173 case "(($ac_try" in
16174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16175 *) ac_try_echo=$ac_try;;
16176 esac
16177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16178 $as_echo "$ac_try_echo") >&5
16179 (eval "$ac_link") 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } && {
16186 test -z "$ac_cxx_werror_flag" ||
16187 test ! -s conftest.err
16188 } && test -s conftest$ac_exeext && {
16189 test "$cross_compiling" = yes ||
16190 $as_test_x conftest$ac_exeext
16191 }; then
16192 eval "$as_ac_var=yes"
16193 else
16194 $as_echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.$ac_ext >&5
16197 eval "$as_ac_var=no"
16200 rm -rf conftest.dSYM
16201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16202 conftest$ac_exeext conftest.$ac_ext
16204 ac_res=`eval 'as_val=${'$as_ac_var'}
16205 $as_echo "$as_val"'`
16206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16207 $as_echo "$ac_res" >&6; }
16208 if test `eval 'as_val=${'$as_ac_var'}
16209 $as_echo "$as_val"'` = yes; then
16210 cat >>confdefs.h <<_ACEOF
16211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16212 _ACEOF
16215 done
16219 for ac_func in clock_gettime
16221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16222 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16223 $as_echo_n "checking for $ac_func... " >&6; }
16224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16225 $as_echo_n "(cached) " >&6
16226 else
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h. */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16235 #define $ac_func innocuous_$ac_func
16237 /* System header to define __stub macros and hopefully few prototypes,
16238 which can conflict with char $ac_func (); below.
16239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16240 <limits.h> exists even on freestanding compilers. */
16242 #ifdef __STDC__
16243 # include <limits.h>
16244 #else
16245 # include <assert.h>
16246 #endif
16248 #undef $ac_func
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 char $ac_func ();
16257 /* The GNU C library defines this for functions which it implements
16258 to always fail with ENOSYS. Some functions are actually named
16259 something starting with __ and the normal name is an alias. */
16260 #if defined __stub_$ac_func || defined __stub___$ac_func
16261 choke me
16262 #endif
16265 main ()
16267 return $ac_func ();
16269 return 0;
16271 _ACEOF
16272 rm -f conftest.$ac_objext conftest$ac_exeext
16273 if { (ac_try="$ac_link"
16274 case "(($ac_try" in
16275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16276 *) ac_try_echo=$ac_try;;
16277 esac
16278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16279 $as_echo "$ac_try_echo") >&5
16280 (eval "$ac_link") 2>conftest.er1
16281 ac_status=$?
16282 grep -v '^ *+' conftest.er1 >conftest.err
16283 rm -f conftest.er1
16284 cat conftest.err >&5
16285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } && {
16287 test -z "$ac_cxx_werror_flag" ||
16288 test ! -s conftest.err
16289 } && test -s conftest$ac_exeext && {
16290 test "$cross_compiling" = yes ||
16291 $as_test_x conftest$ac_exeext
16292 }; then
16293 eval "$as_ac_var=yes"
16294 else
16295 $as_echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16298 eval "$as_ac_var=no"
16301 rm -rf conftest.dSYM
16302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16303 conftest$ac_exeext conftest.$ac_ext
16305 ac_res=`eval 'as_val=${'$as_ac_var'}
16306 $as_echo "$as_val"'`
16307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16308 $as_echo "$ac_res" >&6; }
16309 if test `eval 'as_val=${'$as_ac_var'}
16310 $as_echo "$as_val"'` = yes; then
16311 cat >>confdefs.h <<_ACEOF
16312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16313 _ACEOF
16316 done
16319 for ac_func in getclock
16321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16322 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16323 $as_echo_n "checking for $ac_func... " >&6; }
16324 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16325 $as_echo_n "(cached) " >&6
16326 else
16327 cat >conftest.$ac_ext <<_ACEOF
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16335 #define $ac_func innocuous_$ac_func
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16342 #ifdef __STDC__
16343 # include <limits.h>
16344 #else
16345 # include <assert.h>
16346 #endif
16348 #undef $ac_func
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16353 #ifdef __cplusplus
16354 extern "C"
16355 #endif
16356 char $ac_func ();
16357 /* The GNU C library defines this for functions which it implements
16358 to always fail with ENOSYS. Some functions are actually named
16359 something starting with __ and the normal name is an alias. */
16360 #if defined __stub_$ac_func || defined __stub___$ac_func
16361 choke me
16362 #endif
16365 main ()
16367 return $ac_func ();
16369 return 0;
16371 _ACEOF
16372 rm -f conftest.$ac_objext conftest$ac_exeext
16373 if { (ac_try="$ac_link"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16377 esac
16378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16379 $as_echo "$ac_try_echo") >&5
16380 (eval "$ac_link") 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } && {
16387 test -z "$ac_cxx_werror_flag" ||
16388 test ! -s conftest.err
16389 } && test -s conftest$ac_exeext && {
16390 test "$cross_compiling" = yes ||
16391 $as_test_x conftest$ac_exeext
16392 }; then
16393 eval "$as_ac_var=yes"
16394 else
16395 $as_echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16398 eval "$as_ac_var=no"
16401 rm -rf conftest.dSYM
16402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16403 conftest$ac_exeext conftest.$ac_ext
16405 ac_res=`eval 'as_val=${'$as_ac_var'}
16406 $as_echo "$as_val"'`
16407 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16408 $as_echo "$ac_res" >&6; }
16409 if test `eval 'as_val=${'$as_ac_var'}
16410 $as_echo "$as_val"'` = yes; then
16411 cat >>confdefs.h <<_ACEOF
16412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16413 _ACEOF
16416 done
16418 #AC_CHECK_FUNCS(GetSystemTime)
16420 for ac_func in gettimeofday
16422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16423 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16424 $as_echo_n "checking for $ac_func... " >&6; }
16425 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16426 $as_echo_n "(cached) " >&6
16427 else
16428 cat >conftest.$ac_ext <<_ACEOF
16429 /* confdefs.h. */
16430 _ACEOF
16431 cat confdefs.h >>conftest.$ac_ext
16432 cat >>conftest.$ac_ext <<_ACEOF
16433 /* end confdefs.h. */
16434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16436 #define $ac_func innocuous_$ac_func
16438 /* System header to define __stub macros and hopefully few prototypes,
16439 which can conflict with char $ac_func (); below.
16440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16441 <limits.h> exists even on freestanding compilers. */
16443 #ifdef __STDC__
16444 # include <limits.h>
16445 #else
16446 # include <assert.h>
16447 #endif
16449 #undef $ac_func
16451 /* Override any GCC internal prototype to avoid an error.
16452 Use char because int might match the return type of a GCC
16453 builtin and then its argument prototype would still apply. */
16454 #ifdef __cplusplus
16455 extern "C"
16456 #endif
16457 char $ac_func ();
16458 /* The GNU C library defines this for functions which it implements
16459 to always fail with ENOSYS. Some functions are actually named
16460 something starting with __ and the normal name is an alias. */
16461 #if defined __stub_$ac_func || defined __stub___$ac_func
16462 choke me
16463 #endif
16466 main ()
16468 return $ac_func ();
16470 return 0;
16472 _ACEOF
16473 rm -f conftest.$ac_objext conftest$ac_exeext
16474 if { (ac_try="$ac_link"
16475 case "(($ac_try" in
16476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16477 *) ac_try_echo=$ac_try;;
16478 esac
16479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16480 $as_echo "$ac_try_echo") >&5
16481 (eval "$ac_link") 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_cxx_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest$ac_exeext && {
16491 test "$cross_compiling" = yes ||
16492 $as_test_x conftest$ac_exeext
16493 }; then
16494 eval "$as_ac_var=yes"
16495 else
16496 $as_echo "$as_me: failed program was:" >&5
16497 sed 's/^/| /' conftest.$ac_ext >&5
16499 eval "$as_ac_var=no"
16502 rm -rf conftest.dSYM
16503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16504 conftest$ac_exeext conftest.$ac_ext
16506 ac_res=`eval 'as_val=${'$as_ac_var'}
16507 $as_echo "$as_val"'`
16508 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16509 $as_echo "$ac_res" >&6; }
16510 if test `eval 'as_val=${'$as_ac_var'}
16511 $as_echo "$as_val"'` = yes; then
16512 cat >>confdefs.h <<_ACEOF
16513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16514 _ACEOF
16517 done
16520 for ac_func in ftime
16522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16523 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16524 $as_echo_n "checking for $ac_func... " >&6; }
16525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16526 $as_echo_n "(cached) " >&6
16527 else
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16536 #define $ac_func innocuous_$ac_func
16538 /* System header to define __stub macros and hopefully few prototypes,
16539 which can conflict with char $ac_func (); below.
16540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16541 <limits.h> exists even on freestanding compilers. */
16543 #ifdef __STDC__
16544 # include <limits.h>
16545 #else
16546 # include <assert.h>
16547 #endif
16549 #undef $ac_func
16551 /* Override any GCC internal prototype to avoid an error.
16552 Use char because int might match the return type of a GCC
16553 builtin and then its argument prototype would still apply. */
16554 #ifdef __cplusplus
16555 extern "C"
16556 #endif
16557 char $ac_func ();
16558 /* The GNU C library defines this for functions which it implements
16559 to always fail with ENOSYS. Some functions are actually named
16560 something starting with __ and the normal name is an alias. */
16561 #if defined __stub_$ac_func || defined __stub___$ac_func
16562 choke me
16563 #endif
16566 main ()
16568 return $ac_func ();
16570 return 0;
16572 _ACEOF
16573 rm -f conftest.$ac_objext conftest$ac_exeext
16574 if { (ac_try="$ac_link"
16575 case "(($ac_try" in
16576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16577 *) ac_try_echo=$ac_try;;
16578 esac
16579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16580 $as_echo "$ac_try_echo") >&5
16581 (eval "$ac_link") 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_cxx_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest$ac_exeext && {
16591 test "$cross_compiling" = yes ||
16592 $as_test_x conftest$ac_exeext
16593 }; then
16594 eval "$as_ac_var=yes"
16595 else
16596 $as_echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16599 eval "$as_ac_var=no"
16602 rm -rf conftest.dSYM
16603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16604 conftest$ac_exeext conftest.$ac_ext
16606 ac_res=`eval 'as_val=${'$as_ac_var'}
16607 $as_echo "$as_val"'`
16608 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16609 $as_echo "$ac_res" >&6; }
16610 if test `eval 'as_val=${'$as_ac_var'}
16611 $as_echo "$as_val"'` = yes; then
16612 cat >>confdefs.h <<_ACEOF
16613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16614 _ACEOF
16617 done
16620 for ac_func in time
16622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16623 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16624 $as_echo_n "checking for $ac_func... " >&6; }
16625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16626 $as_echo_n "(cached) " >&6
16627 else
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16636 #define $ac_func innocuous_$ac_func
16638 /* System header to define __stub macros and hopefully few prototypes,
16639 which can conflict with char $ac_func (); below.
16640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16641 <limits.h> exists even on freestanding compilers. */
16643 #ifdef __STDC__
16644 # include <limits.h>
16645 #else
16646 # include <assert.h>
16647 #endif
16649 #undef $ac_func
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char $ac_func ();
16658 /* The GNU C library defines this for functions which it implements
16659 to always fail with ENOSYS. Some functions are actually named
16660 something starting with __ and the normal name is an alias. */
16661 #if defined __stub_$ac_func || defined __stub___$ac_func
16662 choke me
16663 #endif
16666 main ()
16668 return $ac_func ();
16670 return 0;
16672 _ACEOF
16673 rm -f conftest.$ac_objext conftest$ac_exeext
16674 if { (ac_try="$ac_link"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16678 esac
16679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16680 $as_echo "$ac_try_echo") >&5
16681 (eval "$ac_link") 2>conftest.er1
16682 ac_status=$?
16683 grep -v '^ *+' conftest.er1 >conftest.err
16684 rm -f conftest.er1
16685 cat conftest.err >&5
16686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } && {
16688 test -z "$ac_cxx_werror_flag" ||
16689 test ! -s conftest.err
16690 } && test -s conftest$ac_exeext && {
16691 test "$cross_compiling" = yes ||
16692 $as_test_x conftest$ac_exeext
16693 }; then
16694 eval "$as_ac_var=yes"
16695 else
16696 $as_echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16699 eval "$as_ac_var=no"
16702 rm -rf conftest.dSYM
16703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16704 conftest$ac_exeext conftest.$ac_ext
16706 ac_res=`eval 'as_val=${'$as_ac_var'}
16707 $as_echo "$as_val"'`
16708 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16709 $as_echo "$ac_res" >&6; }
16710 if test `eval 'as_val=${'$as_ac_var'}
16711 $as_echo "$as_val"'` = yes; then
16712 cat >>confdefs.h <<_ACEOF
16713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16714 _ACEOF
16717 done
16721 for ac_func in nanosleep
16723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16724 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16725 $as_echo_n "checking for $ac_func... " >&6; }
16726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16727 $as_echo_n "(cached) " >&6
16728 else
16729 cat >conftest.$ac_ext <<_ACEOF
16730 /* confdefs.h. */
16731 _ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16737 #define $ac_func innocuous_$ac_func
16739 /* System header to define __stub macros and hopefully few prototypes,
16740 which can conflict with char $ac_func (); below.
16741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16742 <limits.h> exists even on freestanding compilers. */
16744 #ifdef __STDC__
16745 # include <limits.h>
16746 #else
16747 # include <assert.h>
16748 #endif
16750 #undef $ac_func
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16755 #ifdef __cplusplus
16756 extern "C"
16757 #endif
16758 char $ac_func ();
16759 /* The GNU C library defines this for functions which it implements
16760 to always fail with ENOSYS. Some functions are actually named
16761 something starting with __ and the normal name is an alias. */
16762 #if defined __stub_$ac_func || defined __stub___$ac_func
16763 choke me
16764 #endif
16767 main ()
16769 return $ac_func ();
16771 return 0;
16773 _ACEOF
16774 rm -f conftest.$ac_objext conftest$ac_exeext
16775 if { (ac_try="$ac_link"
16776 case "(($ac_try" in
16777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16778 *) ac_try_echo=$ac_try;;
16779 esac
16780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16781 $as_echo "$ac_try_echo") >&5
16782 (eval "$ac_link") 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } && {
16789 test -z "$ac_cxx_werror_flag" ||
16790 test ! -s conftest.err
16791 } && test -s conftest$ac_exeext && {
16792 test "$cross_compiling" = yes ||
16793 $as_test_x conftest$ac_exeext
16794 }; then
16795 eval "$as_ac_var=yes"
16796 else
16797 $as_echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16800 eval "$as_ac_var=no"
16803 rm -rf conftest.dSYM
16804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16805 conftest$ac_exeext conftest.$ac_ext
16807 ac_res=`eval 'as_val=${'$as_ac_var'}
16808 $as_echo "$as_val"'`
16809 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16810 $as_echo "$ac_res" >&6; }
16811 if test `eval 'as_val=${'$as_ac_var'}
16812 $as_echo "$as_val"'` = yes; then
16813 cat >>confdefs.h <<_ACEOF
16814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16815 _ACEOF
16818 done
16820 #AC_CHECK_FUNCS(Sleep)
16822 for ac_func in sleep
16824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16825 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16826 $as_echo_n "checking for $ac_func... " >&6; }
16827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16828 $as_echo_n "(cached) " >&6
16829 else
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16838 #define $ac_func innocuous_$ac_func
16840 /* System header to define __stub macros and hopefully few prototypes,
16841 which can conflict with char $ac_func (); below.
16842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16843 <limits.h> exists even on freestanding compilers. */
16845 #ifdef __STDC__
16846 # include <limits.h>
16847 #else
16848 # include <assert.h>
16849 #endif
16851 #undef $ac_func
16853 /* Override any GCC internal prototype to avoid an error.
16854 Use char because int might match the return type of a GCC
16855 builtin and then its argument prototype would still apply. */
16856 #ifdef __cplusplus
16857 extern "C"
16858 #endif
16859 char $ac_func ();
16860 /* The GNU C library defines this for functions which it implements
16861 to always fail with ENOSYS. Some functions are actually named
16862 something starting with __ and the normal name is an alias. */
16863 #if defined __stub_$ac_func || defined __stub___$ac_func
16864 choke me
16865 #endif
16868 main ()
16870 return $ac_func ();
16872 return 0;
16874 _ACEOF
16875 rm -f conftest.$ac_objext conftest$ac_exeext
16876 if { (ac_try="$ac_link"
16877 case "(($ac_try" in
16878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16879 *) ac_try_echo=$ac_try;;
16880 esac
16881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16882 $as_echo "$ac_try_echo") >&5
16883 (eval "$ac_link") 2>conftest.er1
16884 ac_status=$?
16885 grep -v '^ *+' conftest.er1 >conftest.err
16886 rm -f conftest.er1
16887 cat conftest.err >&5
16888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } && {
16890 test -z "$ac_cxx_werror_flag" ||
16891 test ! -s conftest.err
16892 } && test -s conftest$ac_exeext && {
16893 test "$cross_compiling" = yes ||
16894 $as_test_x conftest$ac_exeext
16895 }; then
16896 eval "$as_ac_var=yes"
16897 else
16898 $as_echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16901 eval "$as_ac_var=no"
16904 rm -rf conftest.dSYM
16905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16906 conftest$ac_exeext conftest.$ac_ext
16908 ac_res=`eval 'as_val=${'$as_ac_var'}
16909 $as_echo "$as_val"'`
16910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16911 $as_echo "$ac_res" >&6; }
16912 if test `eval 'as_val=${'$as_ac_var'}
16913 $as_echo "$as_val"'` = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16916 _ACEOF
16919 done
16922 #AC_CHECK_FUNCS(GetProcessTimes)
16924 for ac_func in getrusage
16926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16927 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16928 $as_echo_n "checking for $ac_func... " >&6; }
16929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16930 $as_echo_n "(cached) " >&6
16931 else
16932 cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h. */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16940 #define $ac_func innocuous_$ac_func
16942 /* System header to define __stub macros and hopefully few prototypes,
16943 which can conflict with char $ac_func (); below.
16944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16945 <limits.h> exists even on freestanding compilers. */
16947 #ifdef __STDC__
16948 # include <limits.h>
16949 #else
16950 # include <assert.h>
16951 #endif
16953 #undef $ac_func
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 #ifdef __cplusplus
16959 extern "C"
16960 #endif
16961 char $ac_func ();
16962 /* The GNU C library defines this for functions which it implements
16963 to always fail with ENOSYS. Some functions are actually named
16964 something starting with __ and the normal name is an alias. */
16965 #if defined __stub_$ac_func || defined __stub___$ac_func
16966 choke me
16967 #endif
16970 main ()
16972 return $ac_func ();
16974 return 0;
16976 _ACEOF
16977 rm -f conftest.$ac_objext conftest$ac_exeext
16978 if { (ac_try="$ac_link"
16979 case "(($ac_try" in
16980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16981 *) ac_try_echo=$ac_try;;
16982 esac
16983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16984 $as_echo "$ac_try_echo") >&5
16985 (eval "$ac_link") 2>conftest.er1
16986 ac_status=$?
16987 grep -v '^ *+' conftest.er1 >conftest.err
16988 rm -f conftest.er1
16989 cat conftest.err >&5
16990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } && {
16992 test -z "$ac_cxx_werror_flag" ||
16993 test ! -s conftest.err
16994 } && test -s conftest$ac_exeext && {
16995 test "$cross_compiling" = yes ||
16996 $as_test_x conftest$ac_exeext
16997 }; then
16998 eval "$as_ac_var=yes"
16999 else
17000 $as_echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 eval "$as_ac_var=no"
17006 rm -rf conftest.dSYM
17007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17008 conftest$ac_exeext conftest.$ac_ext
17010 ac_res=`eval 'as_val=${'$as_ac_var'}
17011 $as_echo "$as_val"'`
17012 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17013 $as_echo "$ac_res" >&6; }
17014 if test `eval 'as_val=${'$as_ac_var'}
17015 $as_echo "$as_val"'` = yes; then
17016 cat >>confdefs.h <<_ACEOF
17017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17018 _ACEOF
17021 done
17024 for ac_func in times
17026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17027 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17028 $as_echo_n "checking for $ac_func... " >&6; }
17029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17030 $as_echo_n "(cached) " >&6
17031 else
17032 cat >conftest.$ac_ext <<_ACEOF
17033 /* confdefs.h. */
17034 _ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17040 #define $ac_func innocuous_$ac_func
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char $ac_func (); below.
17044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17045 <limits.h> exists even on freestanding compilers. */
17047 #ifdef __STDC__
17048 # include <limits.h>
17049 #else
17050 # include <assert.h>
17051 #endif
17053 #undef $ac_func
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17058 #ifdef __cplusplus
17059 extern "C"
17060 #endif
17061 char $ac_func ();
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined __stub_$ac_func || defined __stub___$ac_func
17066 choke me
17067 #endif
17070 main ()
17072 return $ac_func ();
17074 return 0;
17076 _ACEOF
17077 rm -f conftest.$ac_objext conftest$ac_exeext
17078 if { (ac_try="$ac_link"
17079 case "(($ac_try" in
17080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17082 esac
17083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17084 $as_echo "$ac_try_echo") >&5
17085 (eval "$ac_link") 2>conftest.er1
17086 ac_status=$?
17087 grep -v '^ *+' conftest.er1 >conftest.err
17088 rm -f conftest.er1
17089 cat conftest.err >&5
17090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } && {
17092 test -z "$ac_cxx_werror_flag" ||
17093 test ! -s conftest.err
17094 } && test -s conftest$ac_exeext && {
17095 test "$cross_compiling" = yes ||
17096 $as_test_x conftest$ac_exeext
17097 }; then
17098 eval "$as_ac_var=yes"
17099 else
17100 $as_echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17103 eval "$as_ac_var=no"
17106 rm -rf conftest.dSYM
17107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17108 conftest$ac_exeext conftest.$ac_ext
17110 ac_res=`eval 'as_val=${'$as_ac_var'}
17111 $as_echo "$as_val"'`
17112 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17113 $as_echo "$ac_res" >&6; }
17114 if test `eval 'as_val=${'$as_ac_var'}
17115 $as_echo "$as_val"'` = yes; then
17116 cat >>confdefs.h <<_ACEOF
17117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17118 _ACEOF
17121 done
17124 for ac_func in clock
17126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17127 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17128 $as_echo_n "checking for $ac_func... " >&6; }
17129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17140 #define $ac_func innocuous_$ac_func
17142 /* System header to define __stub macros and hopefully few prototypes,
17143 which can conflict with char $ac_func (); below.
17144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17145 <limits.h> exists even on freestanding compilers. */
17147 #ifdef __STDC__
17148 # include <limits.h>
17149 #else
17150 # include <assert.h>
17151 #endif
17153 #undef $ac_func
17155 /* Override any GCC internal prototype to avoid an error.
17156 Use char because int might match the return type of a GCC
17157 builtin and then its argument prototype would still apply. */
17158 #ifdef __cplusplus
17159 extern "C"
17160 #endif
17161 char $ac_func ();
17162 /* The GNU C library defines this for functions which it implements
17163 to always fail with ENOSYS. Some functions are actually named
17164 something starting with __ and the normal name is an alias. */
17165 #if defined __stub_$ac_func || defined __stub___$ac_func
17166 choke me
17167 #endif
17170 main ()
17172 return $ac_func ();
17174 return 0;
17176 _ACEOF
17177 rm -f conftest.$ac_objext conftest$ac_exeext
17178 if { (ac_try="$ac_link"
17179 case "(($ac_try" in
17180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17181 *) ac_try_echo=$ac_try;;
17182 esac
17183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17184 $as_echo "$ac_try_echo") >&5
17185 (eval "$ac_link") 2>conftest.er1
17186 ac_status=$?
17187 grep -v '^ *+' conftest.er1 >conftest.err
17188 rm -f conftest.er1
17189 cat conftest.err >&5
17190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && {
17192 test -z "$ac_cxx_werror_flag" ||
17193 test ! -s conftest.err
17194 } && test -s conftest$ac_exeext && {
17195 test "$cross_compiling" = yes ||
17196 $as_test_x conftest$ac_exeext
17197 }; then
17198 eval "$as_ac_var=yes"
17199 else
17200 $as_echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 eval "$as_ac_var=no"
17206 rm -rf conftest.dSYM
17207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17208 conftest$ac_exeext conftest.$ac_ext
17210 ac_res=`eval 'as_val=${'$as_ac_var'}
17211 $as_echo "$as_val"'`
17212 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17213 $as_echo "$ac_res" >&6; }
17214 if test `eval 'as_val=${'$as_ac_var'}
17215 $as_echo "$as_val"'` = yes; then
17216 cat >>confdefs.h <<_ACEOF
17217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17218 _ACEOF
17221 done
17224 for ac_func in DosQuerySysInfo
17226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17227 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17228 $as_echo_n "checking for $ac_func... " >&6; }
17229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17230 $as_echo_n "(cached) " >&6
17231 else
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17240 #define $ac_func innocuous_$ac_func
17242 /* System header to define __stub macros and hopefully few prototypes,
17243 which can conflict with char $ac_func (); below.
17244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17245 <limits.h> exists even on freestanding compilers. */
17247 #ifdef __STDC__
17248 # include <limits.h>
17249 #else
17250 # include <assert.h>
17251 #endif
17253 #undef $ac_func
17255 /* Override any GCC internal prototype to avoid an error.
17256 Use char because int might match the return type of a GCC
17257 builtin and then its argument prototype would still apply. */
17258 #ifdef __cplusplus
17259 extern "C"
17260 #endif
17261 char $ac_func ();
17262 /* The GNU C library defines this for functions which it implements
17263 to always fail with ENOSYS. Some functions are actually named
17264 something starting with __ and the normal name is an alias. */
17265 #if defined __stub_$ac_func || defined __stub___$ac_func
17266 choke me
17267 #endif
17270 main ()
17272 return $ac_func ();
17274 return 0;
17276 _ACEOF
17277 rm -f conftest.$ac_objext conftest$ac_exeext
17278 if { (ac_try="$ac_link"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17284 $as_echo "$ac_try_echo") >&5
17285 (eval "$ac_link") 2>conftest.er1
17286 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1
17289 cat conftest.err >&5
17290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } && {
17292 test -z "$ac_cxx_werror_flag" ||
17293 test ! -s conftest.err
17294 } && test -s conftest$ac_exeext && {
17295 test "$cross_compiling" = yes ||
17296 $as_test_x conftest$ac_exeext
17297 }; then
17298 eval "$as_ac_var=yes"
17299 else
17300 $as_echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17303 eval "$as_ac_var=no"
17306 rm -rf conftest.dSYM
17307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17308 conftest$ac_exeext conftest.$ac_ext
17310 ac_res=`eval 'as_val=${'$as_ac_var'}
17311 $as_echo "$as_val"'`
17312 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17313 $as_echo "$ac_res" >&6; }
17314 if test `eval 'as_val=${'$as_ac_var'}
17315 $as_echo "$as_val"'` = yes; then
17316 cat >>confdefs.h <<_ACEOF
17317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17318 _ACEOF
17321 done
17325 for ac_func in setitimer
17327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17328 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17329 $as_echo_n "checking for $ac_func... " >&6; }
17330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17331 $as_echo_n "(cached) " >&6
17332 else
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17341 #define $ac_func innocuous_$ac_func
17343 /* System header to define __stub macros and hopefully few prototypes,
17344 which can conflict with char $ac_func (); below.
17345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17346 <limits.h> exists even on freestanding compilers. */
17348 #ifdef __STDC__
17349 # include <limits.h>
17350 #else
17351 # include <assert.h>
17352 #endif
17354 #undef $ac_func
17356 /* Override any GCC internal prototype to avoid an error.
17357 Use char because int might match the return type of a GCC
17358 builtin and then its argument prototype would still apply. */
17359 #ifdef __cplusplus
17360 extern "C"
17361 #endif
17362 char $ac_func ();
17363 /* The GNU C library defines this for functions which it implements
17364 to always fail with ENOSYS. Some functions are actually named
17365 something starting with __ and the normal name is an alias. */
17366 #if defined __stub_$ac_func || defined __stub___$ac_func
17367 choke me
17368 #endif
17371 main ()
17373 return $ac_func ();
17375 return 0;
17377 _ACEOF
17378 rm -f conftest.$ac_objext conftest$ac_exeext
17379 if { (ac_try="$ac_link"
17380 case "(($ac_try" in
17381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17382 *) ac_try_echo=$ac_try;;
17383 esac
17384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17385 $as_echo "$ac_try_echo") >&5
17386 (eval "$ac_link") 2>conftest.er1
17387 ac_status=$?
17388 grep -v '^ *+' conftest.er1 >conftest.err
17389 rm -f conftest.er1
17390 cat conftest.err >&5
17391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } && {
17393 test -z "$ac_cxx_werror_flag" ||
17394 test ! -s conftest.err
17395 } && test -s conftest$ac_exeext && {
17396 test "$cross_compiling" = yes ||
17397 $as_test_x conftest$ac_exeext
17398 }; then
17399 eval "$as_ac_var=yes"
17400 else
17401 $as_echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 eval "$as_ac_var=no"
17407 rm -rf conftest.dSYM
17408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17409 conftest$ac_exeext conftest.$ac_ext
17411 ac_res=`eval 'as_val=${'$as_ac_var'}
17412 $as_echo "$as_val"'`
17413 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17414 $as_echo "$ac_res" >&6; }
17415 if test `eval 'as_val=${'$as_ac_var'}
17416 $as_echo "$as_val"'` = yes; then
17417 cat >>confdefs.h <<_ACEOF
17418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17419 _ACEOF
17422 done
17425 for ac_func in dos_setvect
17427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17428 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17429 $as_echo_n "checking for $ac_func... " >&6; }
17430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17431 $as_echo_n "(cached) " >&6
17432 else
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17441 #define $ac_func innocuous_$ac_func
17443 /* System header to define __stub macros and hopefully few prototypes,
17444 which can conflict with char $ac_func (); below.
17445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17446 <limits.h> exists even on freestanding compilers. */
17448 #ifdef __STDC__
17449 # include <limits.h>
17450 #else
17451 # include <assert.h>
17452 #endif
17454 #undef $ac_func
17456 /* Override any GCC internal prototype to avoid an error.
17457 Use char because int might match the return type of a GCC
17458 builtin and then its argument prototype would still apply. */
17459 #ifdef __cplusplus
17460 extern "C"
17461 #endif
17462 char $ac_func ();
17463 /* The GNU C library defines this for functions which it implements
17464 to always fail with ENOSYS. Some functions are actually named
17465 something starting with __ and the normal name is an alias. */
17466 #if defined __stub_$ac_func || defined __stub___$ac_func
17467 choke me
17468 #endif
17471 main ()
17473 return $ac_func ();
17475 return 0;
17477 _ACEOF
17478 rm -f conftest.$ac_objext conftest$ac_exeext
17479 if { (ac_try="$ac_link"
17480 case "(($ac_try" in
17481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17482 *) ac_try_echo=$ac_try;;
17483 esac
17484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17485 $as_echo "$ac_try_echo") >&5
17486 (eval "$ac_link") 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_cxx_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest$ac_exeext && {
17496 test "$cross_compiling" = yes ||
17497 $as_test_x conftest$ac_exeext
17498 }; then
17499 eval "$as_ac_var=yes"
17500 else
17501 $as_echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17504 eval "$as_ac_var=no"
17507 rm -rf conftest.dSYM
17508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17509 conftest$ac_exeext conftest.$ac_ext
17511 ac_res=`eval 'as_val=${'$as_ac_var'}
17512 $as_echo "$as_val"'`
17513 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17514 $as_echo "$ac_res" >&6; }
17515 if test `eval 'as_val=${'$as_ac_var'}
17516 $as_echo "$as_val"'` = yes; then
17517 cat >>confdefs.h <<_ACEOF
17518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17519 _ACEOF
17522 done
17525 for ac_func in DosStartTimer
17527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17528 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17529 $as_echo_n "checking for $ac_func... " >&6; }
17530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17531 $as_echo_n "(cached) " >&6
17532 else
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17541 #define $ac_func innocuous_$ac_func
17543 /* System header to define __stub macros and hopefully few prototypes,
17544 which can conflict with char $ac_func (); below.
17545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17546 <limits.h> exists even on freestanding compilers. */
17548 #ifdef __STDC__
17549 # include <limits.h>
17550 #else
17551 # include <assert.h>
17552 #endif
17554 #undef $ac_func
17556 /* Override any GCC internal prototype to avoid an error.
17557 Use char because int might match the return type of a GCC
17558 builtin and then its argument prototype would still apply. */
17559 #ifdef __cplusplus
17560 extern "C"
17561 #endif
17562 char $ac_func ();
17563 /* The GNU C library defines this for functions which it implements
17564 to always fail with ENOSYS. Some functions are actually named
17565 something starting with __ and the normal name is an alias. */
17566 #if defined __stub_$ac_func || defined __stub___$ac_func
17567 choke me
17568 #endif
17571 main ()
17573 return $ac_func ();
17575 return 0;
17577 _ACEOF
17578 rm -f conftest.$ac_objext conftest$ac_exeext
17579 if { (ac_try="$ac_link"
17580 case "(($ac_try" in
17581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17582 *) ac_try_echo=$ac_try;;
17583 esac
17584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17585 $as_echo "$ac_try_echo") >&5
17586 (eval "$ac_link") 2>conftest.er1
17587 ac_status=$?
17588 grep -v '^ *+' conftest.er1 >conftest.err
17589 rm -f conftest.er1
17590 cat conftest.err >&5
17591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_cxx_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest$ac_exeext && {
17596 test "$cross_compiling" = yes ||
17597 $as_test_x conftest$ac_exeext
17598 }; then
17599 eval "$as_ac_var=yes"
17600 else
17601 $as_echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17604 eval "$as_ac_var=no"
17607 rm -rf conftest.dSYM
17608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17609 conftest$ac_exeext conftest.$ac_ext
17611 ac_res=`eval 'as_val=${'$as_ac_var'}
17612 $as_echo "$as_val"'`
17613 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17614 $as_echo "$ac_res" >&6; }
17615 if test `eval 'as_val=${'$as_ac_var'}
17616 $as_echo "$as_val"'` = yes; then
17617 cat >>confdefs.h <<_ACEOF
17618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17619 _ACEOF
17622 done
17625 for ac_func in VInstall
17627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17628 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17629 $as_echo_n "checking for $ac_func... " >&6; }
17630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17631 $as_echo_n "(cached) " >&6
17632 else
17633 cat >conftest.$ac_ext <<_ACEOF
17634 /* confdefs.h. */
17635 _ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17641 #define $ac_func innocuous_$ac_func
17643 /* System header to define __stub macros and hopefully few prototypes,
17644 which can conflict with char $ac_func (); below.
17645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 <limits.h> exists even on freestanding compilers. */
17648 #ifdef __STDC__
17649 # include <limits.h>
17650 #else
17651 # include <assert.h>
17652 #endif
17654 #undef $ac_func
17656 /* Override any GCC internal prototype to avoid an error.
17657 Use char because int might match the return type of a GCC
17658 builtin and then its argument prototype would still apply. */
17659 #ifdef __cplusplus
17660 extern "C"
17661 #endif
17662 char $ac_func ();
17663 /* The GNU C library defines this for functions which it implements
17664 to always fail with ENOSYS. Some functions are actually named
17665 something starting with __ and the normal name is an alias. */
17666 #if defined __stub_$ac_func || defined __stub___$ac_func
17667 choke me
17668 #endif
17671 main ()
17673 return $ac_func ();
17675 return 0;
17677 _ACEOF
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (ac_try="$ac_link"
17680 case "(($ac_try" in
17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682 *) ac_try_echo=$ac_try;;
17683 esac
17684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17685 $as_echo "$ac_try_echo") >&5
17686 (eval "$ac_link") 2>conftest.er1
17687 ac_status=$?
17688 grep -v '^ *+' conftest.er1 >conftest.err
17689 rm -f conftest.er1
17690 cat conftest.err >&5
17691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } && {
17693 test -z "$ac_cxx_werror_flag" ||
17694 test ! -s conftest.err
17695 } && test -s conftest$ac_exeext && {
17696 test "$cross_compiling" = yes ||
17697 $as_test_x conftest$ac_exeext
17698 }; then
17699 eval "$as_ac_var=yes"
17700 else
17701 $as_echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 eval "$as_ac_var=no"
17707 rm -rf conftest.dSYM
17708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17709 conftest$ac_exeext conftest.$ac_ext
17711 ac_res=`eval 'as_val=${'$as_ac_var'}
17712 $as_echo "$as_val"'`
17713 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17714 $as_echo "$ac_res" >&6; }
17715 if test `eval 'as_val=${'$as_ac_var'}
17716 $as_echo "$as_val"'` = yes; then
17717 cat >>confdefs.h <<_ACEOF
17718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17719 _ACEOF
17722 done
17724 #AC_CHECK_FUNCS(CreateThread)
17727 for ac_func in sigaction
17729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17730 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17731 $as_echo_n "checking for $ac_func... " >&6; }
17732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17733 $as_echo_n "(cached) " >&6
17734 else
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17743 #define $ac_func innocuous_$ac_func
17745 /* System header to define __stub macros and hopefully few prototypes,
17746 which can conflict with char $ac_func (); below.
17747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17748 <limits.h> exists even on freestanding compilers. */
17750 #ifdef __STDC__
17751 # include <limits.h>
17752 #else
17753 # include <assert.h>
17754 #endif
17756 #undef $ac_func
17758 /* Override any GCC internal prototype to avoid an error.
17759 Use char because int might match the return type of a GCC
17760 builtin and then its argument prototype would still apply. */
17761 #ifdef __cplusplus
17762 extern "C"
17763 #endif
17764 char $ac_func ();
17765 /* The GNU C library defines this for functions which it implements
17766 to always fail with ENOSYS. Some functions are actually named
17767 something starting with __ and the normal name is an alias. */
17768 #if defined __stub_$ac_func || defined __stub___$ac_func
17769 choke me
17770 #endif
17773 main ()
17775 return $ac_func ();
17777 return 0;
17779 _ACEOF
17780 rm -f conftest.$ac_objext conftest$ac_exeext
17781 if { (ac_try="$ac_link"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17787 $as_echo "$ac_try_echo") >&5
17788 (eval "$ac_link") 2>conftest.er1
17789 ac_status=$?
17790 grep -v '^ *+' conftest.er1 >conftest.err
17791 rm -f conftest.er1
17792 cat conftest.err >&5
17793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } && {
17795 test -z "$ac_cxx_werror_flag" ||
17796 test ! -s conftest.err
17797 } && test -s conftest$ac_exeext && {
17798 test "$cross_compiling" = yes ||
17799 $as_test_x conftest$ac_exeext
17800 }; then
17801 eval "$as_ac_var=yes"
17802 else
17803 $as_echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17806 eval "$as_ac_var=no"
17809 rm -rf conftest.dSYM
17810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17811 conftest$ac_exeext conftest.$ac_ext
17813 ac_res=`eval 'as_val=${'$as_ac_var'}
17814 $as_echo "$as_val"'`
17815 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17816 $as_echo "$ac_res" >&6; }
17817 if test `eval 'as_val=${'$as_ac_var'}
17818 $as_echo "$as_val"'` = yes; then
17819 cat >>confdefs.h <<_ACEOF
17820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17821 _ACEOF
17824 done
17827 for ac_func in sigemptyset
17829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17830 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17831 $as_echo_n "checking for $ac_func... " >&6; }
17832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17833 $as_echo_n "(cached) " >&6
17834 else
17835 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */
17837 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17843 #define $ac_func innocuous_$ac_func
17845 /* System header to define __stub macros and hopefully few prototypes,
17846 which can conflict with char $ac_func (); below.
17847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17848 <limits.h> exists even on freestanding compilers. */
17850 #ifdef __STDC__
17851 # include <limits.h>
17852 #else
17853 # include <assert.h>
17854 #endif
17856 #undef $ac_func
17858 /* Override any GCC internal prototype to avoid an error.
17859 Use char because int might match the return type of a GCC
17860 builtin and then its argument prototype would still apply. */
17861 #ifdef __cplusplus
17862 extern "C"
17863 #endif
17864 char $ac_func ();
17865 /* The GNU C library defines this for functions which it implements
17866 to always fail with ENOSYS. Some functions are actually named
17867 something starting with __ and the normal name is an alias. */
17868 #if defined __stub_$ac_func || defined __stub___$ac_func
17869 choke me
17870 #endif
17873 main ()
17875 return $ac_func ();
17877 return 0;
17879 _ACEOF
17880 rm -f conftest.$ac_objext conftest$ac_exeext
17881 if { (ac_try="$ac_link"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17885 esac
17886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17887 $as_echo "$ac_try_echo") >&5
17888 (eval "$ac_link") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_cxx_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest$ac_exeext && {
17898 test "$cross_compiling" = yes ||
17899 $as_test_x conftest$ac_exeext
17900 }; then
17901 eval "$as_ac_var=yes"
17902 else
17903 $as_echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17906 eval "$as_ac_var=no"
17909 rm -rf conftest.dSYM
17910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17911 conftest$ac_exeext conftest.$ac_ext
17913 ac_res=`eval 'as_val=${'$as_ac_var'}
17914 $as_echo "$as_val"'`
17915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17916 $as_echo "$ac_res" >&6; }
17917 if test `eval 'as_val=${'$as_ac_var'}
17918 $as_echo "$as_val"'` = yes; then
17919 cat >>confdefs.h <<_ACEOF
17920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17921 _ACEOF
17924 done
17927 for ac_func in sigaddset
17929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17930 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17931 $as_echo_n "checking for $ac_func... " >&6; }
17932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17933 $as_echo_n "(cached) " >&6
17934 else
17935 cat >conftest.$ac_ext <<_ACEOF
17936 /* confdefs.h. */
17937 _ACEOF
17938 cat confdefs.h >>conftest.$ac_ext
17939 cat >>conftest.$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17943 #define $ac_func innocuous_$ac_func
17945 /* System header to define __stub macros and hopefully few prototypes,
17946 which can conflict with char $ac_func (); below.
17947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17948 <limits.h> exists even on freestanding compilers. */
17950 #ifdef __STDC__
17951 # include <limits.h>
17952 #else
17953 # include <assert.h>
17954 #endif
17956 #undef $ac_func
17958 /* Override any GCC internal prototype to avoid an error.
17959 Use char because int might match the return type of a GCC
17960 builtin and then its argument prototype would still apply. */
17961 #ifdef __cplusplus
17962 extern "C"
17963 #endif
17964 char $ac_func ();
17965 /* The GNU C library defines this for functions which it implements
17966 to always fail with ENOSYS. Some functions are actually named
17967 something starting with __ and the normal name is an alias. */
17968 #if defined __stub_$ac_func || defined __stub___$ac_func
17969 choke me
17970 #endif
17973 main ()
17975 return $ac_func ();
17977 return 0;
17979 _ACEOF
17980 rm -f conftest.$ac_objext conftest$ac_exeext
17981 if { (ac_try="$ac_link"
17982 case "(($ac_try" in
17983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17984 *) ac_try_echo=$ac_try;;
17985 esac
17986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17987 $as_echo "$ac_try_echo") >&5
17988 (eval "$ac_link") 2>conftest.er1
17989 ac_status=$?
17990 grep -v '^ *+' conftest.er1 >conftest.err
17991 rm -f conftest.er1
17992 cat conftest.err >&5
17993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } && {
17995 test -z "$ac_cxx_werror_flag" ||
17996 test ! -s conftest.err
17997 } && test -s conftest$ac_exeext && {
17998 test "$cross_compiling" = yes ||
17999 $as_test_x conftest$ac_exeext
18000 }; then
18001 eval "$as_ac_var=yes"
18002 else
18003 $as_echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18006 eval "$as_ac_var=no"
18009 rm -rf conftest.dSYM
18010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18011 conftest$ac_exeext conftest.$ac_ext
18013 ac_res=`eval 'as_val=${'$as_ac_var'}
18014 $as_echo "$as_val"'`
18015 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18016 $as_echo "$ac_res" >&6; }
18017 if test `eval 'as_val=${'$as_ac_var'}
18018 $as_echo "$as_val"'` = yes; then
18019 cat >>confdefs.h <<_ACEOF
18020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18021 _ACEOF
18024 done
18027 for ac_func in sigprocmask
18029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18030 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18031 $as_echo_n "checking for $ac_func... " >&6; }
18032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18033 $as_echo_n "(cached) " >&6
18034 else
18035 cat >conftest.$ac_ext <<_ACEOF
18036 /* confdefs.h. */
18037 _ACEOF
18038 cat confdefs.h >>conftest.$ac_ext
18039 cat >>conftest.$ac_ext <<_ACEOF
18040 /* end confdefs.h. */
18041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18043 #define $ac_func innocuous_$ac_func
18045 /* System header to define __stub macros and hopefully few prototypes,
18046 which can conflict with char $ac_func (); below.
18047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18048 <limits.h> exists even on freestanding compilers. */
18050 #ifdef __STDC__
18051 # include <limits.h>
18052 #else
18053 # include <assert.h>
18054 #endif
18056 #undef $ac_func
18058 /* Override any GCC internal prototype to avoid an error.
18059 Use char because int might match the return type of a GCC
18060 builtin and then its argument prototype would still apply. */
18061 #ifdef __cplusplus
18062 extern "C"
18063 #endif
18064 char $ac_func ();
18065 /* The GNU C library defines this for functions which it implements
18066 to always fail with ENOSYS. Some functions are actually named
18067 something starting with __ and the normal name is an alias. */
18068 #if defined __stub_$ac_func || defined __stub___$ac_func
18069 choke me
18070 #endif
18073 main ()
18075 return $ac_func ();
18077 return 0;
18079 _ACEOF
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (ac_try="$ac_link"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18085 esac
18086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18087 $as_echo "$ac_try_echo") >&5
18088 (eval "$ac_link") 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_cxx_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest$ac_exeext && {
18098 test "$cross_compiling" = yes ||
18099 $as_test_x conftest$ac_exeext
18100 }; then
18101 eval "$as_ac_var=yes"
18102 else
18103 $as_echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 eval "$as_ac_var=no"
18109 rm -rf conftest.dSYM
18110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18111 conftest$ac_exeext conftest.$ac_ext
18113 ac_res=`eval 'as_val=${'$as_ac_var'}
18114 $as_echo "$as_val"'`
18115 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18116 $as_echo "$ac_res" >&6; }
18117 if test `eval 'as_val=${'$as_ac_var'}
18118 $as_echo "$as_val"'` = yes; then
18119 cat >>confdefs.h <<_ACEOF
18120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18121 _ACEOF
18124 done
18127 for ac_func in signal
18129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18130 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18131 $as_echo_n "checking for $ac_func... " >&6; }
18132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18133 $as_echo_n "(cached) " >&6
18134 else
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18143 #define $ac_func innocuous_$ac_func
18145 /* System header to define __stub macros and hopefully few prototypes,
18146 which can conflict with char $ac_func (); below.
18147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18148 <limits.h> exists even on freestanding compilers. */
18150 #ifdef __STDC__
18151 # include <limits.h>
18152 #else
18153 # include <assert.h>
18154 #endif
18156 #undef $ac_func
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 #ifdef __cplusplus
18162 extern "C"
18163 #endif
18164 char $ac_func ();
18165 /* The GNU C library defines this for functions which it implements
18166 to always fail with ENOSYS. Some functions are actually named
18167 something starting with __ and the normal name is an alias. */
18168 #if defined __stub_$ac_func || defined __stub___$ac_func
18169 choke me
18170 #endif
18173 main ()
18175 return $ac_func ();
18177 return 0;
18179 _ACEOF
18180 rm -f conftest.$ac_objext conftest$ac_exeext
18181 if { (ac_try="$ac_link"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18185 esac
18186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18187 $as_echo "$ac_try_echo") >&5
18188 (eval "$ac_link") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_cxx_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest$ac_exeext && {
18198 test "$cross_compiling" = yes ||
18199 $as_test_x conftest$ac_exeext
18200 }; then
18201 eval "$as_ac_var=yes"
18202 else
18203 $as_echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18206 eval "$as_ac_var=no"
18209 rm -rf conftest.dSYM
18210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18211 conftest$ac_exeext conftest.$ac_ext
18213 ac_res=`eval 'as_val=${'$as_ac_var'}
18214 $as_echo "$as_val"'`
18215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18216 $as_echo "$ac_res" >&6; }
18217 if test `eval 'as_val=${'$as_ac_var'}
18218 $as_echo "$as_val"'` = yes; then
18219 cat >>confdefs.h <<_ACEOF
18220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18221 _ACEOF
18224 done
18228 for ac_func in shl_load
18230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18231 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18232 $as_echo_n "checking for $ac_func... " >&6; }
18233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18234 $as_echo_n "(cached) " >&6
18235 else
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18244 #define $ac_func innocuous_$ac_func
18246 /* System header to define __stub macros and hopefully few prototypes,
18247 which can conflict with char $ac_func (); below.
18248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18249 <limits.h> exists even on freestanding compilers. */
18251 #ifdef __STDC__
18252 # include <limits.h>
18253 #else
18254 # include <assert.h>
18255 #endif
18257 #undef $ac_func
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char $ac_func ();
18266 /* The GNU C library defines this for functions which it implements
18267 to always fail with ENOSYS. Some functions are actually named
18268 something starting with __ and the normal name is an alias. */
18269 #if defined __stub_$ac_func || defined __stub___$ac_func
18270 choke me
18271 #endif
18274 main ()
18276 return $ac_func ();
18278 return 0;
18280 _ACEOF
18281 rm -f conftest.$ac_objext conftest$ac_exeext
18282 if { (ac_try="$ac_link"
18283 case "(($ac_try" in
18284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18285 *) ac_try_echo=$ac_try;;
18286 esac
18287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18288 $as_echo "$ac_try_echo") >&5
18289 (eval "$ac_link") 2>conftest.er1
18290 ac_status=$?
18291 grep -v '^ *+' conftest.er1 >conftest.err
18292 rm -f conftest.er1
18293 cat conftest.err >&5
18294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_cxx_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest$ac_exeext && {
18299 test "$cross_compiling" = yes ||
18300 $as_test_x conftest$ac_exeext
18301 }; then
18302 eval "$as_ac_var=yes"
18303 else
18304 $as_echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 eval "$as_ac_var=no"
18310 rm -rf conftest.dSYM
18311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18312 conftest$ac_exeext conftest.$ac_ext
18314 ac_res=`eval 'as_val=${'$as_ac_var'}
18315 $as_echo "$as_val"'`
18316 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18317 $as_echo "$ac_res" >&6; }
18318 if test `eval 'as_val=${'$as_ac_var'}
18319 $as_echo "$as_val"'` = yes; then
18320 cat >>confdefs.h <<_ACEOF
18321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18322 _ACEOF
18325 done
18327 #AC_CHECK_FUNCS(LoadLibrary)
18329 for ac_func in DosLoadModule
18331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18332 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18333 $as_echo_n "checking for $ac_func... " >&6; }
18334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18335 $as_echo_n "(cached) " >&6
18336 else
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18345 #define $ac_func innocuous_$ac_func
18347 /* System header to define __stub macros and hopefully few prototypes,
18348 which can conflict with char $ac_func (); below.
18349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18350 <limits.h> exists even on freestanding compilers. */
18352 #ifdef __STDC__
18353 # include <limits.h>
18354 #else
18355 # include <assert.h>
18356 #endif
18358 #undef $ac_func
18360 /* Override any GCC internal prototype to avoid an error.
18361 Use char because int might match the return type of a GCC
18362 builtin and then its argument prototype would still apply. */
18363 #ifdef __cplusplus
18364 extern "C"
18365 #endif
18366 char $ac_func ();
18367 /* The GNU C library defines this for functions which it implements
18368 to always fail with ENOSYS. Some functions are actually named
18369 something starting with __ and the normal name is an alias. */
18370 #if defined __stub_$ac_func || defined __stub___$ac_func
18371 choke me
18372 #endif
18375 main ()
18377 return $ac_func ();
18379 return 0;
18381 _ACEOF
18382 rm -f conftest.$ac_objext conftest$ac_exeext
18383 if { (ac_try="$ac_link"
18384 case "(($ac_try" in
18385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18386 *) ac_try_echo=$ac_try;;
18387 esac
18388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18389 $as_echo "$ac_try_echo") >&5
18390 (eval "$ac_link") 2>conftest.er1
18391 ac_status=$?
18392 grep -v '^ *+' conftest.er1 >conftest.err
18393 rm -f conftest.er1
18394 cat conftest.err >&5
18395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } && {
18397 test -z "$ac_cxx_werror_flag" ||
18398 test ! -s conftest.err
18399 } && test -s conftest$ac_exeext && {
18400 test "$cross_compiling" = yes ||
18401 $as_test_x conftest$ac_exeext
18402 }; then
18403 eval "$as_ac_var=yes"
18404 else
18405 $as_echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18408 eval "$as_ac_var=no"
18411 rm -rf conftest.dSYM
18412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18413 conftest$ac_exeext conftest.$ac_ext
18415 ac_res=`eval 'as_val=${'$as_ac_var'}
18416 $as_echo "$as_val"'`
18417 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18418 $as_echo "$ac_res" >&6; }
18419 if test `eval 'as_val=${'$as_ac_var'}
18420 $as_echo "$as_val"'` = yes; then
18421 cat >>confdefs.h <<_ACEOF
18422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18423 _ACEOF
18426 done
18429 for ac_func in dxe_load
18431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18432 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18433 $as_echo_n "checking for $ac_func... " >&6; }
18434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18435 $as_echo_n "(cached) " >&6
18436 else
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18445 #define $ac_func innocuous_$ac_func
18447 /* System header to define __stub macros and hopefully few prototypes,
18448 which can conflict with char $ac_func (); below.
18449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18450 <limits.h> exists even on freestanding compilers. */
18452 #ifdef __STDC__
18453 # include <limits.h>
18454 #else
18455 # include <assert.h>
18456 #endif
18458 #undef $ac_func
18460 /* Override any GCC internal prototype to avoid an error.
18461 Use char because int might match the return type of a GCC
18462 builtin and then its argument prototype would still apply. */
18463 #ifdef __cplusplus
18464 extern "C"
18465 #endif
18466 char $ac_func ();
18467 /* The GNU C library defines this for functions which it implements
18468 to always fail with ENOSYS. Some functions are actually named
18469 something starting with __ and the normal name is an alias. */
18470 #if defined __stub_$ac_func || defined __stub___$ac_func
18471 choke me
18472 #endif
18475 main ()
18477 return $ac_func ();
18479 return 0;
18481 _ACEOF
18482 rm -f conftest.$ac_objext conftest$ac_exeext
18483 if { (ac_try="$ac_link"
18484 case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18487 esac
18488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18489 $as_echo "$ac_try_echo") >&5
18490 (eval "$ac_link") 2>conftest.er1
18491 ac_status=$?
18492 grep -v '^ *+' conftest.er1 >conftest.err
18493 rm -f conftest.er1
18494 cat conftest.err >&5
18495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } && {
18497 test -z "$ac_cxx_werror_flag" ||
18498 test ! -s conftest.err
18499 } && test -s conftest$ac_exeext && {
18500 test "$cross_compiling" = yes ||
18501 $as_test_x conftest$ac_exeext
18502 }; then
18503 eval "$as_ac_var=yes"
18504 else
18505 $as_echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 eval "$as_ac_var=no"
18511 rm -rf conftest.dSYM
18512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18513 conftest$ac_exeext conftest.$ac_ext
18515 ac_res=`eval 'as_val=${'$as_ac_var'}
18516 $as_echo "$as_val"'`
18517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18518 $as_echo "$ac_res" >&6; }
18519 if test `eval 'as_val=${'$as_ac_var'}
18520 $as_echo "$as_val"'` = yes; then
18521 cat >>confdefs.h <<_ACEOF
18522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18523 _ACEOF
18526 done
18529 for ac_func in GetDiskFragment
18531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18532 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18533 $as_echo_n "checking for $ac_func... " >&6; }
18534 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18535 $as_echo_n "(cached) " >&6
18536 else
18537 cat >conftest.$ac_ext <<_ACEOF
18538 /* confdefs.h. */
18539 _ACEOF
18540 cat confdefs.h >>conftest.$ac_ext
18541 cat >>conftest.$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18545 #define $ac_func innocuous_$ac_func
18547 /* System header to define __stub macros and hopefully few prototypes,
18548 which can conflict with char $ac_func (); below.
18549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18550 <limits.h> exists even on freestanding compilers. */
18552 #ifdef __STDC__
18553 # include <limits.h>
18554 #else
18555 # include <assert.h>
18556 #endif
18558 #undef $ac_func
18560 /* Override any GCC internal prototype to avoid an error.
18561 Use char because int might match the return type of a GCC
18562 builtin and then its argument prototype would still apply. */
18563 #ifdef __cplusplus
18564 extern "C"
18565 #endif
18566 char $ac_func ();
18567 /* The GNU C library defines this for functions which it implements
18568 to always fail with ENOSYS. Some functions are actually named
18569 something starting with __ and the normal name is an alias. */
18570 #if defined __stub_$ac_func || defined __stub___$ac_func
18571 choke me
18572 #endif
18575 main ()
18577 return $ac_func ();
18579 return 0;
18581 _ACEOF
18582 rm -f conftest.$ac_objext conftest$ac_exeext
18583 if { (ac_try="$ac_link"
18584 case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18587 esac
18588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18589 $as_echo "$ac_try_echo") >&5
18590 (eval "$ac_link") 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } && {
18597 test -z "$ac_cxx_werror_flag" ||
18598 test ! -s conftest.err
18599 } && test -s conftest$ac_exeext && {
18600 test "$cross_compiling" = yes ||
18601 $as_test_x conftest$ac_exeext
18602 }; then
18603 eval "$as_ac_var=yes"
18604 else
18605 $as_echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18608 eval "$as_ac_var=no"
18611 rm -rf conftest.dSYM
18612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18613 conftest$ac_exeext conftest.$ac_ext
18615 ac_res=`eval 'as_val=${'$as_ac_var'}
18616 $as_echo "$as_val"'`
18617 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18618 $as_echo "$ac_res" >&6; }
18619 if test `eval 'as_val=${'$as_ac_var'}
18620 $as_echo "$as_val"'` = yes; then
18621 cat >>confdefs.h <<_ACEOF
18622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18623 _ACEOF
18626 done
18629 for ac_func in dlopen
18631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18632 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18633 $as_echo_n "checking for $ac_func... " >&6; }
18634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat >conftest.$ac_ext <<_ACEOF
18638 /* confdefs.h. */
18639 _ACEOF
18640 cat confdefs.h >>conftest.$ac_ext
18641 cat >>conftest.$ac_ext <<_ACEOF
18642 /* end confdefs.h. */
18643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18645 #define $ac_func innocuous_$ac_func
18647 /* System header to define __stub macros and hopefully few prototypes,
18648 which can conflict with char $ac_func (); below.
18649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18650 <limits.h> exists even on freestanding compilers. */
18652 #ifdef __STDC__
18653 # include <limits.h>
18654 #else
18655 # include <assert.h>
18656 #endif
18658 #undef $ac_func
18660 /* Override any GCC internal prototype to avoid an error.
18661 Use char because int might match the return type of a GCC
18662 builtin and then its argument prototype would still apply. */
18663 #ifdef __cplusplus
18664 extern "C"
18665 #endif
18666 char $ac_func ();
18667 /* The GNU C library defines this for functions which it implements
18668 to always fail with ENOSYS. Some functions are actually named
18669 something starting with __ and the normal name is an alias. */
18670 #if defined __stub_$ac_func || defined __stub___$ac_func
18671 choke me
18672 #endif
18675 main ()
18677 return $ac_func ();
18679 return 0;
18681 _ACEOF
18682 rm -f conftest.$ac_objext conftest$ac_exeext
18683 if { (ac_try="$ac_link"
18684 case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18687 esac
18688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18689 $as_echo "$ac_try_echo") >&5
18690 (eval "$ac_link") 2>conftest.er1
18691 ac_status=$?
18692 grep -v '^ *+' conftest.er1 >conftest.err
18693 rm -f conftest.er1
18694 cat conftest.err >&5
18695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } && {
18697 test -z "$ac_cxx_werror_flag" ||
18698 test ! -s conftest.err
18699 } && test -s conftest$ac_exeext && {
18700 test "$cross_compiling" = yes ||
18701 $as_test_x conftest$ac_exeext
18702 }; then
18703 eval "$as_ac_var=yes"
18704 else
18705 $as_echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18708 eval "$as_ac_var=no"
18711 rm -rf conftest.dSYM
18712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18713 conftest$ac_exeext conftest.$ac_ext
18715 ac_res=`eval 'as_val=${'$as_ac_var'}
18716 $as_echo "$as_val"'`
18717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18718 $as_echo "$ac_res" >&6; }
18719 if test `eval 'as_val=${'$as_ac_var'}
18720 $as_echo "$as_val"'` = yes; then
18721 cat >>confdefs.h <<_ACEOF
18722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18723 _ACEOF
18726 done
18729 for ac_func in NSLinkModule
18731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18732 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18733 $as_echo_n "checking for $ac_func... " >&6; }
18734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18735 $as_echo_n "(cached) " >&6
18736 else
18737 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18745 #define $ac_func innocuous_$ac_func
18747 /* System header to define __stub macros and hopefully few prototypes,
18748 which can conflict with char $ac_func (); below.
18749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18750 <limits.h> exists even on freestanding compilers. */
18752 #ifdef __STDC__
18753 # include <limits.h>
18754 #else
18755 # include <assert.h>
18756 #endif
18758 #undef $ac_func
18760 /* Override any GCC internal prototype to avoid an error.
18761 Use char because int might match the return type of a GCC
18762 builtin and then its argument prototype would still apply. */
18763 #ifdef __cplusplus
18764 extern "C"
18765 #endif
18766 char $ac_func ();
18767 /* The GNU C library defines this for functions which it implements
18768 to always fail with ENOSYS. Some functions are actually named
18769 something starting with __ and the normal name is an alias. */
18770 #if defined __stub_$ac_func || defined __stub___$ac_func
18771 choke me
18772 #endif
18775 main ()
18777 return $ac_func ();
18779 return 0;
18781 _ACEOF
18782 rm -f conftest.$ac_objext conftest$ac_exeext
18783 if { (ac_try="$ac_link"
18784 case "(($ac_try" in
18785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18787 esac
18788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18789 $as_echo "$ac_try_echo") >&5
18790 (eval "$ac_link") 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_cxx_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest$ac_exeext && {
18800 test "$cross_compiling" = yes ||
18801 $as_test_x conftest$ac_exeext
18802 }; then
18803 eval "$as_ac_var=yes"
18804 else
18805 $as_echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 eval "$as_ac_var=no"
18811 rm -rf conftest.dSYM
18812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18813 conftest$ac_exeext conftest.$ac_ext
18815 ac_res=`eval 'as_val=${'$as_ac_var'}
18816 $as_echo "$as_val"'`
18817 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18818 $as_echo "$ac_res" >&6; }
18819 if test `eval 'as_val=${'$as_ac_var'}
18820 $as_echo "$as_val"'` = yes; then
18821 cat >>confdefs.h <<_ACEOF
18822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18823 _ACEOF
18826 done
18827 # has been deprecated by Apple
18830 for ac_func in gethostname
18832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18833 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18834 $as_echo_n "checking for $ac_func... " >&6; }
18835 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18836 $as_echo_n "(cached) " >&6
18837 else
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18846 #define $ac_func innocuous_$ac_func
18848 /* System header to define __stub macros and hopefully few prototypes,
18849 which can conflict with char $ac_func (); below.
18850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18851 <limits.h> exists even on freestanding compilers. */
18853 #ifdef __STDC__
18854 # include <limits.h>
18855 #else
18856 # include <assert.h>
18857 #endif
18859 #undef $ac_func
18861 /* Override any GCC internal prototype to avoid an error.
18862 Use char because int might match the return type of a GCC
18863 builtin and then its argument prototype would still apply. */
18864 #ifdef __cplusplus
18865 extern "C"
18866 #endif
18867 char $ac_func ();
18868 /* The GNU C library defines this for functions which it implements
18869 to always fail with ENOSYS. Some functions are actually named
18870 something starting with __ and the normal name is an alias. */
18871 #if defined __stub_$ac_func || defined __stub___$ac_func
18872 choke me
18873 #endif
18876 main ()
18878 return $ac_func ();
18880 return 0;
18882 _ACEOF
18883 rm -f conftest.$ac_objext conftest$ac_exeext
18884 if { (ac_try="$ac_link"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18890 $as_echo "$ac_try_echo") >&5
18891 (eval "$ac_link") 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_cxx_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest$ac_exeext && {
18901 test "$cross_compiling" = yes ||
18902 $as_test_x conftest$ac_exeext
18903 }; then
18904 eval "$as_ac_var=yes"
18905 else
18906 $as_echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 eval "$as_ac_var=no"
18912 rm -rf conftest.dSYM
18913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18914 conftest$ac_exeext conftest.$ac_ext
18916 ac_res=`eval 'as_val=${'$as_ac_var'}
18917 $as_echo "$as_val"'`
18918 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18919 $as_echo "$ac_res" >&6; }
18920 if test `eval 'as_val=${'$as_ac_var'}
18921 $as_echo "$as_val"'` = yes; then
18922 cat >>confdefs.h <<_ACEOF
18923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18924 _ACEOF
18927 done
18930 for ac_func in inet_pton
18932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18933 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18934 $as_echo_n "checking for $ac_func... " >&6; }
18935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18936 $as_echo_n "(cached) " >&6
18937 else
18938 cat >conftest.$ac_ext <<_ACEOF
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18946 #define $ac_func innocuous_$ac_func
18948 /* System header to define __stub macros and hopefully few prototypes,
18949 which can conflict with char $ac_func (); below.
18950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18951 <limits.h> exists even on freestanding compilers. */
18953 #ifdef __STDC__
18954 # include <limits.h>
18955 #else
18956 # include <assert.h>
18957 #endif
18959 #undef $ac_func
18961 /* Override any GCC internal prototype to avoid an error.
18962 Use char because int might match the return type of a GCC
18963 builtin and then its argument prototype would still apply. */
18964 #ifdef __cplusplus
18965 extern "C"
18966 #endif
18967 char $ac_func ();
18968 /* The GNU C library defines this for functions which it implements
18969 to always fail with ENOSYS. Some functions are actually named
18970 something starting with __ and the normal name is an alias. */
18971 #if defined __stub_$ac_func || defined __stub___$ac_func
18972 choke me
18973 #endif
18976 main ()
18978 return $ac_func ();
18980 return 0;
18982 _ACEOF
18983 rm -f conftest.$ac_objext conftest$ac_exeext
18984 if { (ac_try="$ac_link"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18990 $as_echo "$ac_try_echo") >&5
18991 (eval "$ac_link") 2>conftest.er1
18992 ac_status=$?
18993 grep -v '^ *+' conftest.er1 >conftest.err
18994 rm -f conftest.er1
18995 cat conftest.err >&5
18996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } && {
18998 test -z "$ac_cxx_werror_flag" ||
18999 test ! -s conftest.err
19000 } && test -s conftest$ac_exeext && {
19001 test "$cross_compiling" = yes ||
19002 $as_test_x conftest$ac_exeext
19003 }; then
19004 eval "$as_ac_var=yes"
19005 else
19006 $as_echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5
19009 eval "$as_ac_var=no"
19012 rm -rf conftest.dSYM
19013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19014 conftest$ac_exeext conftest.$ac_ext
19016 ac_res=`eval 'as_val=${'$as_ac_var'}
19017 $as_echo "$as_val"'`
19018 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19019 $as_echo "$ac_res" >&6; }
19020 if test `eval 'as_val=${'$as_ac_var'}
19021 $as_echo "$as_val"'` = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19024 _ACEOF
19027 done
19030 for ac_func in gethostbyname
19032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19033 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19034 $as_echo_n "checking for $ac_func... " >&6; }
19035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19036 $as_echo_n "(cached) " >&6
19037 else
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19046 #define $ac_func innocuous_$ac_func
19048 /* System header to define __stub macros and hopefully few prototypes,
19049 which can conflict with char $ac_func (); below.
19050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19051 <limits.h> exists even on freestanding compilers. */
19053 #ifdef __STDC__
19054 # include <limits.h>
19055 #else
19056 # include <assert.h>
19057 #endif
19059 #undef $ac_func
19061 /* Override any GCC internal prototype to avoid an error.
19062 Use char because int might match the return type of a GCC
19063 builtin and then its argument prototype would still apply. */
19064 #ifdef __cplusplus
19065 extern "C"
19066 #endif
19067 char $ac_func ();
19068 /* The GNU C library defines this for functions which it implements
19069 to always fail with ENOSYS. Some functions are actually named
19070 something starting with __ and the normal name is an alias. */
19071 #if defined __stub_$ac_func || defined __stub___$ac_func
19072 choke me
19073 #endif
19076 main ()
19078 return $ac_func ();
19080 return 0;
19082 _ACEOF
19083 rm -f conftest.$ac_objext conftest$ac_exeext
19084 if { (ac_try="$ac_link"
19085 case "(($ac_try" in
19086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19088 esac
19089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19090 $as_echo "$ac_try_echo") >&5
19091 (eval "$ac_link") 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && {
19098 test -z "$ac_cxx_werror_flag" ||
19099 test ! -s conftest.err
19100 } && test -s conftest$ac_exeext && {
19101 test "$cross_compiling" = yes ||
19102 $as_test_x conftest$ac_exeext
19103 }; then
19104 eval "$as_ac_var=yes"
19105 else
19106 $as_echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19109 eval "$as_ac_var=no"
19112 rm -rf conftest.dSYM
19113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19114 conftest$ac_exeext conftest.$ac_ext
19116 ac_res=`eval 'as_val=${'$as_ac_var'}
19117 $as_echo "$as_val"'`
19118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19119 $as_echo "$ac_res" >&6; }
19120 if test `eval 'as_val=${'$as_ac_var'}
19121 $as_echo "$as_val"'` = yes; then
19122 cat >>confdefs.h <<_ACEOF
19123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19124 _ACEOF
19127 done
19130 for ac_func in gethostbyaddr
19132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19133 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19134 $as_echo_n "checking for $ac_func... " >&6; }
19135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19136 $as_echo_n "(cached) " >&6
19137 else
19138 cat >conftest.$ac_ext <<_ACEOF
19139 /* confdefs.h. */
19140 _ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19146 #define $ac_func innocuous_$ac_func
19148 /* System header to define __stub macros and hopefully few prototypes,
19149 which can conflict with char $ac_func (); below.
19150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19151 <limits.h> exists even on freestanding compilers. */
19153 #ifdef __STDC__
19154 # include <limits.h>
19155 #else
19156 # include <assert.h>
19157 #endif
19159 #undef $ac_func
19161 /* Override any GCC internal prototype to avoid an error.
19162 Use char because int might match the return type of a GCC
19163 builtin and then its argument prototype would still apply. */
19164 #ifdef __cplusplus
19165 extern "C"
19166 #endif
19167 char $ac_func ();
19168 /* The GNU C library defines this for functions which it implements
19169 to always fail with ENOSYS. Some functions are actually named
19170 something starting with __ and the normal name is an alias. */
19171 #if defined __stub_$ac_func || defined __stub___$ac_func
19172 choke me
19173 #endif
19176 main ()
19178 return $ac_func ();
19180 return 0;
19182 _ACEOF
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (ac_try="$ac_link"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19190 $as_echo "$ac_try_echo") >&5
19191 (eval "$ac_link") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_cxx_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest$ac_exeext && {
19201 test "$cross_compiling" = yes ||
19202 $as_test_x conftest$ac_exeext
19203 }; then
19204 eval "$as_ac_var=yes"
19205 else
19206 $as_echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19209 eval "$as_ac_var=no"
19212 rm -rf conftest.dSYM
19213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19214 conftest$ac_exeext conftest.$ac_ext
19216 ac_res=`eval 'as_val=${'$as_ac_var'}
19217 $as_echo "$as_val"'`
19218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19219 $as_echo "$ac_res" >&6; }
19220 if test `eval 'as_val=${'$as_ac_var'}
19221 $as_echo "$as_val"'` = yes; then
19222 cat >>confdefs.h <<_ACEOF
19223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19224 _ACEOF
19227 done
19230 for ac_func in getservbyname
19232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19233 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19234 $as_echo_n "checking for $ac_func... " >&6; }
19235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19236 $as_echo_n "(cached) " >&6
19237 else
19238 cat >conftest.$ac_ext <<_ACEOF
19239 /* confdefs.h. */
19240 _ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19246 #define $ac_func innocuous_$ac_func
19248 /* System header to define __stub macros and hopefully few prototypes,
19249 which can conflict with char $ac_func (); below.
19250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19251 <limits.h> exists even on freestanding compilers. */
19253 #ifdef __STDC__
19254 # include <limits.h>
19255 #else
19256 # include <assert.h>
19257 #endif
19259 #undef $ac_func
19261 /* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19264 #ifdef __cplusplus
19265 extern "C"
19266 #endif
19267 char $ac_func ();
19268 /* The GNU C library defines this for functions which it implements
19269 to always fail with ENOSYS. Some functions are actually named
19270 something starting with __ and the normal name is an alias. */
19271 #if defined __stub_$ac_func || defined __stub___$ac_func
19272 choke me
19273 #endif
19276 main ()
19278 return $ac_func ();
19280 return 0;
19282 _ACEOF
19283 rm -f conftest.$ac_objext conftest$ac_exeext
19284 if { (ac_try="$ac_link"
19285 case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288 esac
19289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19290 $as_echo "$ac_try_echo") >&5
19291 (eval "$ac_link") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_cxx_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest$ac_exeext && {
19301 test "$cross_compiling" = yes ||
19302 $as_test_x conftest$ac_exeext
19303 }; then
19304 eval "$as_ac_var=yes"
19305 else
19306 $as_echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_var=no"
19312 rm -rf conftest.dSYM
19313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19314 conftest$ac_exeext conftest.$ac_ext
19316 ac_res=`eval 'as_val=${'$as_ac_var'}
19317 $as_echo "$as_val"'`
19318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19319 $as_echo "$ac_res" >&6; }
19320 if test `eval 'as_val=${'$as_ac_var'}
19321 $as_echo "$as_val"'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19324 _ACEOF
19327 done
19330 for ac_func in getservbyport
19332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19333 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19334 $as_echo_n "checking for $ac_func... " >&6; }
19335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19336 $as_echo_n "(cached) " >&6
19337 else
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19346 #define $ac_func innocuous_$ac_func
19348 /* System header to define __stub macros and hopefully few prototypes,
19349 which can conflict with char $ac_func (); below.
19350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19351 <limits.h> exists even on freestanding compilers. */
19353 #ifdef __STDC__
19354 # include <limits.h>
19355 #else
19356 # include <assert.h>
19357 #endif
19359 #undef $ac_func
19361 /* Override any GCC internal prototype to avoid an error.
19362 Use char because int might match the return type of a GCC
19363 builtin and then its argument prototype would still apply. */
19364 #ifdef __cplusplus
19365 extern "C"
19366 #endif
19367 char $ac_func ();
19368 /* The GNU C library defines this for functions which it implements
19369 to always fail with ENOSYS. Some functions are actually named
19370 something starting with __ and the normal name is an alias. */
19371 #if defined __stub_$ac_func || defined __stub___$ac_func
19372 choke me
19373 #endif
19376 main ()
19378 return $ac_func ();
19380 return 0;
19382 _ACEOF
19383 rm -f conftest.$ac_objext conftest$ac_exeext
19384 if { (ac_try="$ac_link"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19388 esac
19389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19390 $as_echo "$ac_try_echo") >&5
19391 (eval "$ac_link") 2>conftest.er1
19392 ac_status=$?
19393 grep -v '^ *+' conftest.er1 >conftest.err
19394 rm -f conftest.er1
19395 cat conftest.err >&5
19396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_cxx_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest$ac_exeext && {
19401 test "$cross_compiling" = yes ||
19402 $as_test_x conftest$ac_exeext
19403 }; then
19404 eval "$as_ac_var=yes"
19405 else
19406 $as_echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 eval "$as_ac_var=no"
19412 rm -rf conftest.dSYM
19413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19414 conftest$ac_exeext conftest.$ac_ext
19416 ac_res=`eval 'as_val=${'$as_ac_var'}
19417 $as_echo "$as_val"'`
19418 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19419 $as_echo "$ac_res" >&6; }
19420 if test `eval 'as_val=${'$as_ac_var'}
19421 $as_echo "$as_val"'` = yes; then
19422 cat >>confdefs.h <<_ACEOF
19423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19424 _ACEOF
19427 done
19430 for ac_func in getprotobyname
19432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19433 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19434 $as_echo_n "checking for $ac_func... " >&6; }
19435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19436 $as_echo_n "(cached) " >&6
19437 else
19438 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19446 #define $ac_func innocuous_$ac_func
19448 /* System header to define __stub macros and hopefully few prototypes,
19449 which can conflict with char $ac_func (); below.
19450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19451 <limits.h> exists even on freestanding compilers. */
19453 #ifdef __STDC__
19454 # include <limits.h>
19455 #else
19456 # include <assert.h>
19457 #endif
19459 #undef $ac_func
19461 /* Override any GCC internal prototype to avoid an error.
19462 Use char because int might match the return type of a GCC
19463 builtin and then its argument prototype would still apply. */
19464 #ifdef __cplusplus
19465 extern "C"
19466 #endif
19467 char $ac_func ();
19468 /* The GNU C library defines this for functions which it implements
19469 to always fail with ENOSYS. Some functions are actually named
19470 something starting with __ and the normal name is an alias. */
19471 #if defined __stub_$ac_func || defined __stub___$ac_func
19472 choke me
19473 #endif
19476 main ()
19478 return $ac_func ();
19480 return 0;
19482 _ACEOF
19483 rm -f conftest.$ac_objext conftest$ac_exeext
19484 if { (ac_try="$ac_link"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19490 $as_echo "$ac_try_echo") >&5
19491 (eval "$ac_link") 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_cxx_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest$ac_exeext && {
19501 test "$cross_compiling" = yes ||
19502 $as_test_x conftest$ac_exeext
19503 }; then
19504 eval "$as_ac_var=yes"
19505 else
19506 $as_echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 eval "$as_ac_var=no"
19512 rm -rf conftest.dSYM
19513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19514 conftest$ac_exeext conftest.$ac_ext
19516 ac_res=`eval 'as_val=${'$as_ac_var'}
19517 $as_echo "$as_val"'`
19518 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19519 $as_echo "$ac_res" >&6; }
19520 if test `eval 'as_val=${'$as_ac_var'}
19521 $as_echo "$as_val"'` = yes; then
19522 cat >>confdefs.h <<_ACEOF
19523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19524 _ACEOF
19527 done
19530 for ac_func in getprotobynumber
19532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19533 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19534 $as_echo_n "checking for $ac_func... " >&6; }
19535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19536 $as_echo_n "(cached) " >&6
19537 else
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19546 #define $ac_func innocuous_$ac_func
19548 /* System header to define __stub macros and hopefully few prototypes,
19549 which can conflict with char $ac_func (); below.
19550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19551 <limits.h> exists even on freestanding compilers. */
19553 #ifdef __STDC__
19554 # include <limits.h>
19555 #else
19556 # include <assert.h>
19557 #endif
19559 #undef $ac_func
19561 /* Override any GCC internal prototype to avoid an error.
19562 Use char because int might match the return type of a GCC
19563 builtin and then its argument prototype would still apply. */
19564 #ifdef __cplusplus
19565 extern "C"
19566 #endif
19567 char $ac_func ();
19568 /* The GNU C library defines this for functions which it implements
19569 to always fail with ENOSYS. Some functions are actually named
19570 something starting with __ and the normal name is an alias. */
19571 #if defined __stub_$ac_func || defined __stub___$ac_func
19572 choke me
19573 #endif
19576 main ()
19578 return $ac_func ();
19580 return 0;
19582 _ACEOF
19583 rm -f conftest.$ac_objext conftest$ac_exeext
19584 if { (ac_try="$ac_link"
19585 case "(($ac_try" in
19586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19587 *) ac_try_echo=$ac_try;;
19588 esac
19589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19590 $as_echo "$ac_try_echo") >&5
19591 (eval "$ac_link") 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } && {
19598 test -z "$ac_cxx_werror_flag" ||
19599 test ! -s conftest.err
19600 } && test -s conftest$ac_exeext && {
19601 test "$cross_compiling" = yes ||
19602 $as_test_x conftest$ac_exeext
19603 }; then
19604 eval "$as_ac_var=yes"
19605 else
19606 $as_echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19609 eval "$as_ac_var=no"
19612 rm -rf conftest.dSYM
19613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19614 conftest$ac_exeext conftest.$ac_ext
19616 ac_res=`eval 'as_val=${'$as_ac_var'}
19617 $as_echo "$as_val"'`
19618 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19619 $as_echo "$ac_res" >&6; }
19620 if test `eval 'as_val=${'$as_ac_var'}
19621 $as_echo "$as_val"'` = yes; then
19622 cat >>confdefs.h <<_ACEOF
19623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19624 _ACEOF
19627 done
19630 for ac_func in getnetbyname
19632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19633 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19634 $as_echo_n "checking for $ac_func... " >&6; }
19635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19636 $as_echo_n "(cached) " >&6
19637 else
19638 cat >conftest.$ac_ext <<_ACEOF
19639 /* confdefs.h. */
19640 _ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19646 #define $ac_func innocuous_$ac_func
19648 /* System header to define __stub macros and hopefully few prototypes,
19649 which can conflict with char $ac_func (); below.
19650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19651 <limits.h> exists even on freestanding compilers. */
19653 #ifdef __STDC__
19654 # include <limits.h>
19655 #else
19656 # include <assert.h>
19657 #endif
19659 #undef $ac_func
19661 /* Override any GCC internal prototype to avoid an error.
19662 Use char because int might match the return type of a GCC
19663 builtin and then its argument prototype would still apply. */
19664 #ifdef __cplusplus
19665 extern "C"
19666 #endif
19667 char $ac_func ();
19668 /* The GNU C library defines this for functions which it implements
19669 to always fail with ENOSYS. Some functions are actually named
19670 something starting with __ and the normal name is an alias. */
19671 #if defined __stub_$ac_func || defined __stub___$ac_func
19672 choke me
19673 #endif
19676 main ()
19678 return $ac_func ();
19680 return 0;
19682 _ACEOF
19683 rm -f conftest.$ac_objext conftest$ac_exeext
19684 if { (ac_try="$ac_link"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19688 esac
19689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19690 $as_echo "$ac_try_echo") >&5
19691 (eval "$ac_link") 2>conftest.er1
19692 ac_status=$?
19693 grep -v '^ *+' conftest.er1 >conftest.err
19694 rm -f conftest.er1
19695 cat conftest.err >&5
19696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && {
19698 test -z "$ac_cxx_werror_flag" ||
19699 test ! -s conftest.err
19700 } && test -s conftest$ac_exeext && {
19701 test "$cross_compiling" = yes ||
19702 $as_test_x conftest$ac_exeext
19703 }; then
19704 eval "$as_ac_var=yes"
19705 else
19706 $as_echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19709 eval "$as_ac_var=no"
19712 rm -rf conftest.dSYM
19713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19714 conftest$ac_exeext conftest.$ac_ext
19716 ac_res=`eval 'as_val=${'$as_ac_var'}
19717 $as_echo "$as_val"'`
19718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19719 $as_echo "$ac_res" >&6; }
19720 if test `eval 'as_val=${'$as_ac_var'}
19721 $as_echo "$as_val"'` = yes; then
19722 cat >>confdefs.h <<_ACEOF
19723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19724 _ACEOF
19727 done
19731 for ac_func in select
19733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19734 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19735 $as_echo_n "checking for $ac_func... " >&6; }
19736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19737 $as_echo_n "(cached) " >&6
19738 else
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19747 #define $ac_func innocuous_$ac_func
19749 /* System header to define __stub macros and hopefully few prototypes,
19750 which can conflict with char $ac_func (); below.
19751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19752 <limits.h> exists even on freestanding compilers. */
19754 #ifdef __STDC__
19755 # include <limits.h>
19756 #else
19757 # include <assert.h>
19758 #endif
19760 #undef $ac_func
19762 /* Override any GCC internal prototype to avoid an error.
19763 Use char because int might match the return type of a GCC
19764 builtin and then its argument prototype would still apply. */
19765 #ifdef __cplusplus
19766 extern "C"
19767 #endif
19768 char $ac_func ();
19769 /* The GNU C library defines this for functions which it implements
19770 to always fail with ENOSYS. Some functions are actually named
19771 something starting with __ and the normal name is an alias. */
19772 #if defined __stub_$ac_func || defined __stub___$ac_func
19773 choke me
19774 #endif
19777 main ()
19779 return $ac_func ();
19781 return 0;
19783 _ACEOF
19784 rm -f conftest.$ac_objext conftest$ac_exeext
19785 if { (ac_try="$ac_link"
19786 case "(($ac_try" in
19787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19788 *) ac_try_echo=$ac_try;;
19789 esac
19790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19791 $as_echo "$ac_try_echo") >&5
19792 (eval "$ac_link") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest$ac_exeext && {
19802 test "$cross_compiling" = yes ||
19803 $as_test_x conftest$ac_exeext
19804 }; then
19805 eval "$as_ac_var=yes"
19806 else
19807 $as_echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19810 eval "$as_ac_var=no"
19813 rm -rf conftest.dSYM
19814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19815 conftest$ac_exeext conftest.$ac_ext
19817 ac_res=`eval 'as_val=${'$as_ac_var'}
19818 $as_echo "$as_val"'`
19819 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19820 $as_echo "$ac_res" >&6; }
19821 if test `eval 'as_val=${'$as_ac_var'}
19822 $as_echo "$as_val"'` = yes; then
19823 cat >>confdefs.h <<_ACEOF
19824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19825 _ACEOF
19828 done
19830 #AC_CHECK_FUNCS(MsgWaitForMultipleObjects)
19832 #AC_CHECK_FUNCS(tgetstr)
19833 #AC_CHECK_FUNCS(tigetstr)
19836 for ac_func in openpty
19838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19839 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19840 $as_echo_n "checking for $ac_func... " >&6; }
19841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19842 $as_echo_n "(cached) " >&6
19843 else
19844 cat >conftest.$ac_ext <<_ACEOF
19845 /* confdefs.h. */
19846 _ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19852 #define $ac_func innocuous_$ac_func
19854 /* System header to define __stub macros and hopefully few prototypes,
19855 which can conflict with char $ac_func (); below.
19856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19857 <limits.h> exists even on freestanding compilers. */
19859 #ifdef __STDC__
19860 # include <limits.h>
19861 #else
19862 # include <assert.h>
19863 #endif
19865 #undef $ac_func
19867 /* Override any GCC internal prototype to avoid an error.
19868 Use char because int might match the return type of a GCC
19869 builtin and then its argument prototype would still apply. */
19870 #ifdef __cplusplus
19871 extern "C"
19872 #endif
19873 char $ac_func ();
19874 /* The GNU C library defines this for functions which it implements
19875 to always fail with ENOSYS. Some functions are actually named
19876 something starting with __ and the normal name is an alias. */
19877 #if defined __stub_$ac_func || defined __stub___$ac_func
19878 choke me
19879 #endif
19882 main ()
19884 return $ac_func ();
19886 return 0;
19888 _ACEOF
19889 rm -f conftest.$ac_objext conftest$ac_exeext
19890 if { (ac_try="$ac_link"
19891 case "(($ac_try" in
19892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19894 esac
19895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19896 $as_echo "$ac_try_echo") >&5
19897 (eval "$ac_link") 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_cxx_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest$ac_exeext && {
19907 test "$cross_compiling" = yes ||
19908 $as_test_x conftest$ac_exeext
19909 }; then
19910 eval "$as_ac_var=yes"
19911 else
19912 $as_echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.$ac_ext >&5
19915 eval "$as_ac_var=no"
19918 rm -rf conftest.dSYM
19919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19920 conftest$ac_exeext conftest.$ac_ext
19922 ac_res=`eval 'as_val=${'$as_ac_var'}
19923 $as_echo "$as_val"'`
19924 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19925 $as_echo "$ac_res" >&6; }
19926 if test `eval 'as_val=${'$as_ac_var'}
19927 $as_echo "$as_val"'` = yes; then
19928 cat >>confdefs.h <<_ACEOF
19929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19930 _ACEOF
19933 done
19936 for ac_func in getpt
19938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19939 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19940 $as_echo_n "checking for $ac_func... " >&6; }
19941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19942 $as_echo_n "(cached) " >&6
19943 else
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19952 #define $ac_func innocuous_$ac_func
19954 /* System header to define __stub macros and hopefully few prototypes,
19955 which can conflict with char $ac_func (); below.
19956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19957 <limits.h> exists even on freestanding compilers. */
19959 #ifdef __STDC__
19960 # include <limits.h>
19961 #else
19962 # include <assert.h>
19963 #endif
19965 #undef $ac_func
19967 /* Override any GCC internal prototype to avoid an error.
19968 Use char because int might match the return type of a GCC
19969 builtin and then its argument prototype would still apply. */
19970 #ifdef __cplusplus
19971 extern "C"
19972 #endif
19973 char $ac_func ();
19974 /* The GNU C library defines this for functions which it implements
19975 to always fail with ENOSYS. Some functions are actually named
19976 something starting with __ and the normal name is an alias. */
19977 #if defined __stub_$ac_func || defined __stub___$ac_func
19978 choke me
19979 #endif
19982 main ()
19984 return $ac_func ();
19986 return 0;
19988 _ACEOF
19989 rm -f conftest.$ac_objext conftest$ac_exeext
19990 if { (ac_try="$ac_link"
19991 case "(($ac_try" in
19992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19994 esac
19995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19996 $as_echo "$ac_try_echo") >&5
19997 (eval "$ac_link") 2>conftest.er1
19998 ac_status=$?
19999 grep -v '^ *+' conftest.er1 >conftest.err
20000 rm -f conftest.er1
20001 cat conftest.err >&5
20002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } && {
20004 test -z "$ac_cxx_werror_flag" ||
20005 test ! -s conftest.err
20006 } && test -s conftest$ac_exeext && {
20007 test "$cross_compiling" = yes ||
20008 $as_test_x conftest$ac_exeext
20009 }; then
20010 eval "$as_ac_var=yes"
20011 else
20012 $as_echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 eval "$as_ac_var=no"
20018 rm -rf conftest.dSYM
20019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20020 conftest$ac_exeext conftest.$ac_ext
20022 ac_res=`eval 'as_val=${'$as_ac_var'}
20023 $as_echo "$as_val"'`
20024 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20025 $as_echo "$ac_res" >&6; }
20026 if test `eval 'as_val=${'$as_ac_var'}
20027 $as_echo "$as_val"'` = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20030 _ACEOF
20033 done
20036 for ac_func in ptsname
20038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20039 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20040 $as_echo_n "checking for $ac_func... " >&6; }
20041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20042 $as_echo_n "(cached) " >&6
20043 else
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h. */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20052 #define $ac_func innocuous_$ac_func
20054 /* System header to define __stub macros and hopefully few prototypes,
20055 which can conflict with char $ac_func (); below.
20056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20057 <limits.h> exists even on freestanding compilers. */
20059 #ifdef __STDC__
20060 # include <limits.h>
20061 #else
20062 # include <assert.h>
20063 #endif
20065 #undef $ac_func
20067 /* Override any GCC internal prototype to avoid an error.
20068 Use char because int might match the return type of a GCC
20069 builtin and then its argument prototype would still apply. */
20070 #ifdef __cplusplus
20071 extern "C"
20072 #endif
20073 char $ac_func ();
20074 /* The GNU C library defines this for functions which it implements
20075 to always fail with ENOSYS. Some functions are actually named
20076 something starting with __ and the normal name is an alias. */
20077 #if defined __stub_$ac_func || defined __stub___$ac_func
20078 choke me
20079 #endif
20082 main ()
20084 return $ac_func ();
20086 return 0;
20088 _ACEOF
20089 rm -f conftest.$ac_objext conftest$ac_exeext
20090 if { (ac_try="$ac_link"
20091 case "(($ac_try" in
20092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20093 *) ac_try_echo=$ac_try;;
20094 esac
20095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20096 $as_echo "$ac_try_echo") >&5
20097 (eval "$ac_link") 2>conftest.er1
20098 ac_status=$?
20099 grep -v '^ *+' conftest.er1 >conftest.err
20100 rm -f conftest.er1
20101 cat conftest.err >&5
20102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_cxx_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest$ac_exeext && {
20107 test "$cross_compiling" = yes ||
20108 $as_test_x conftest$ac_exeext
20109 }; then
20110 eval "$as_ac_var=yes"
20111 else
20112 $as_echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20115 eval "$as_ac_var=no"
20118 rm -rf conftest.dSYM
20119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20120 conftest$ac_exeext conftest.$ac_ext
20122 ac_res=`eval 'as_val=${'$as_ac_var'}
20123 $as_echo "$as_val"'`
20124 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20125 $as_echo "$ac_res" >&6; }
20126 if test `eval 'as_val=${'$as_ac_var'}
20127 $as_echo "$as_val"'` = yes; then
20128 cat >>confdefs.h <<_ACEOF
20129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20130 _ACEOF
20133 done
20137 for ac_func in hstrerror
20139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20140 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20141 $as_echo_n "checking for $ac_func... " >&6; }
20142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20143 $as_echo_n "(cached) " >&6
20144 else
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20153 #define $ac_func innocuous_$ac_func
20155 /* System header to define __stub macros and hopefully few prototypes,
20156 which can conflict with char $ac_func (); below.
20157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20158 <limits.h> exists even on freestanding compilers. */
20160 #ifdef __STDC__
20161 # include <limits.h>
20162 #else
20163 # include <assert.h>
20164 #endif
20166 #undef $ac_func
20168 /* Override any GCC internal prototype to avoid an error.
20169 Use char because int might match the return type of a GCC
20170 builtin and then its argument prototype would still apply. */
20171 #ifdef __cplusplus
20172 extern "C"
20173 #endif
20174 char $ac_func ();
20175 /* The GNU C library defines this for functions which it implements
20176 to always fail with ENOSYS. Some functions are actually named
20177 something starting with __ and the normal name is an alias. */
20178 #if defined __stub_$ac_func || defined __stub___$ac_func
20179 choke me
20180 #endif
20183 main ()
20185 return $ac_func ();
20187 return 0;
20189 _ACEOF
20190 rm -f conftest.$ac_objext conftest$ac_exeext
20191 if { (ac_try="$ac_link"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20197 $as_echo "$ac_try_echo") >&5
20198 (eval "$ac_link") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_cxx_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest$ac_exeext && {
20208 test "$cross_compiling" = yes ||
20209 $as_test_x conftest$ac_exeext
20210 }; then
20211 eval "$as_ac_var=yes"
20212 else
20213 $as_echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20216 eval "$as_ac_var=no"
20219 rm -rf conftest.dSYM
20220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20221 conftest$ac_exeext conftest.$ac_ext
20223 ac_res=`eval 'as_val=${'$as_ac_var'}
20224 $as_echo "$as_val"'`
20225 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20226 $as_echo "$ac_res" >&6; }
20227 if test `eval 'as_val=${'$as_ac_var'}
20228 $as_echo "$as_val"'` = yes; then
20229 cat >>confdefs.h <<_ACEOF
20230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20231 _ACEOF
20234 done
20238 for ac_func in get_fpc_csr
20240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20241 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20242 $as_echo_n "checking for $ac_func... " >&6; }
20243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20244 $as_echo_n "(cached) " >&6
20245 else
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20254 #define $ac_func innocuous_$ac_func
20256 /* System header to define __stub macros and hopefully few prototypes,
20257 which can conflict with char $ac_func (); below.
20258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20259 <limits.h> exists even on freestanding compilers. */
20261 #ifdef __STDC__
20262 # include <limits.h>
20263 #else
20264 # include <assert.h>
20265 #endif
20267 #undef $ac_func
20269 /* Override any GCC internal prototype to avoid an error.
20270 Use char because int might match the return type of a GCC
20271 builtin and then its argument prototype would still apply. */
20272 #ifdef __cplusplus
20273 extern "C"
20274 #endif
20275 char $ac_func ();
20276 /* The GNU C library defines this for functions which it implements
20277 to always fail with ENOSYS. Some functions are actually named
20278 something starting with __ and the normal name is an alias. */
20279 #if defined __stub_$ac_func || defined __stub___$ac_func
20280 choke me
20281 #endif
20284 main ()
20286 return $ac_func ();
20288 return 0;
20290 _ACEOF
20291 rm -f conftest.$ac_objext conftest$ac_exeext
20292 if { (ac_try="$ac_link"
20293 case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20296 esac
20297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20298 $as_echo "$ac_try_echo") >&5
20299 (eval "$ac_link") 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } && {
20306 test -z "$ac_cxx_werror_flag" ||
20307 test ! -s conftest.err
20308 } && test -s conftest$ac_exeext && {
20309 test "$cross_compiling" = yes ||
20310 $as_test_x conftest$ac_exeext
20311 }; then
20312 eval "$as_ac_var=yes"
20313 else
20314 $as_echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 eval "$as_ac_var=no"
20320 rm -rf conftest.dSYM
20321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20322 conftest$ac_exeext conftest.$ac_ext
20324 ac_res=`eval 'as_val=${'$as_ac_var'}
20325 $as_echo "$as_val"'`
20326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20327 $as_echo "$ac_res" >&6; }
20328 if test `eval 'as_val=${'$as_ac_var'}
20329 $as_echo "$as_val"'` = yes; then
20330 cat >>confdefs.h <<_ACEOF
20331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20332 _ACEOF
20335 done
20340 ###############################################################################
20342 # Check which command line options are supported by $C_COMPILER.
20344 if test "$C_COMP_GNUC" = yes; then
20346 ########## Using gcc...
20348 # Determine which gcc version is being used.
20350 { $as_echo "$as_me:$LINENO: checking how $C_COMPILER's preprocessor evaluates (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403" >&5
20351 $as_echo_n "checking how $C_COMPILER's preprocessor evaluates (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403... " >&6; }
20352 if test "${GCC_42_OR_43+set}" = set; then
20353 $as_echo_n "(cached) " >&6
20354 else
20356 rm -f conftest.$ac_ext
20357 cat >conftest.$ac_ext <<_ACEOF
20358 #line $LINENO "configure"
20360 main ()
20362 #if (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403
20363 #else
20364 choke me
20365 #endif
20368 return 0;
20370 _ACEOF
20371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; then
20376 GCC_42_OR_43="yes"
20377 else
20378 GCC_42_OR_43=""
20382 { $as_echo "$as_me:$LINENO: result: $GCC_42_OR_43" >&5
20383 $as_echo "$GCC_42_OR_43" >&6; }
20385 # preprocessor options:
20386 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -no-cpp-precomp" >&5
20387 $as_echo_n "checking whether $C_COMPILER accepts -no-cpp-precomp... " >&6; }
20388 if test "${DASH_no_cpp_precomp+set}" = set; then
20389 $as_echo_n "(cached) " >&6
20390 else
20392 rm -f conftest.$ac_ext
20393 cat >conftest.$ac_ext <<_ACEOF
20394 #line $LINENO "configure"
20396 main ()
20398 return 0;
20400 _ACEOF
20401 ac_test_CFLAGS=${CFLAGS+set}
20402 ac_test_CXXFLAGS=${CXXFLAGS+set}
20403 ac_save_CFLAGS=$CFLAGS
20404 ac_save_CXXFLAGS=$CXXFLAGS
20405 CFLAGS="-no-cpp-precomp"
20406 CXXFLAGS="-no-cpp-precomp"
20407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20408 (eval $ac_link) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; then
20412 DASH_no_cpp_precomp=" -no-cpp-precomp"
20413 else
20414 DASH_no_cpp_precomp=""
20416 if test "$ac_test_CFLAGS" = set; then
20417 CFLAGS=$ac_save_CFLAGS
20419 if test "$ac_test_CXXFLAGS" = set; then
20420 CXXFLAGS=$ac_save_CXXFLAGS
20424 { $as_echo "$as_me:$LINENO: result: $DASH_no_cpp_precomp" >&5
20425 $as_echo "$DASH_no_cpp_precomp" >&6; }
20427 # debugging options:
20428 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -Wall" >&5
20429 $as_echo_n "checking whether $C_COMPILER accepts -Wall... " >&6; }
20430 if test "${DASH_Wall+set}" = set; then
20431 $as_echo_n "(cached) " >&6
20432 else
20434 rm -f conftest.$ac_ext
20435 cat >conftest.$ac_ext <<_ACEOF
20436 #line $LINENO "configure"
20438 main ()
20440 return 0;
20442 _ACEOF
20443 ac_test_CFLAGS=${CFLAGS+set}
20444 ac_test_CXXFLAGS=${CXXFLAGS+set}
20445 ac_save_CFLAGS=$CFLAGS
20446 ac_save_CXXFLAGS=$CXXFLAGS
20447 CFLAGS="-Wall"
20448 CXXFLAGS="-Wall"
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>&5
20451 ac_status=$?
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; then
20454 DASH_Wall=" -Wall"
20455 else
20456 DASH_Wall=""
20458 if test "$ac_test_CFLAGS" = set; then
20459 CFLAGS=$ac_save_CFLAGS
20461 if test "$ac_test_CXXFLAGS" = set; then
20462 CXXFLAGS=$ac_save_CXXFLAGS
20466 { $as_echo "$as_me:$LINENO: result: $DASH_Wall" >&5
20467 $as_echo "$DASH_Wall" >&6; }
20468 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -W" >&5
20469 $as_echo_n "checking whether $C_COMPILER accepts -W... " >&6; }
20470 if test "${DASH_W+set}" = set; then
20471 $as_echo_n "(cached) " >&6
20472 else
20474 rm -f conftest.$ac_ext
20475 cat >conftest.$ac_ext <<_ACEOF
20476 #line $LINENO "configure"
20478 main ()
20480 return 0;
20482 _ACEOF
20483 ac_test_CFLAGS=${CFLAGS+set}
20484 ac_test_CXXFLAGS=${CXXFLAGS+set}
20485 ac_save_CFLAGS=$CFLAGS
20486 ac_save_CXXFLAGS=$CXXFLAGS
20487 CFLAGS="-W"
20488 CXXFLAGS="-W"
20489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20490 (eval $ac_link) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; then
20494 DASH_W=" -W"
20495 else
20496 DASH_W=""
20498 if test "$ac_test_CFLAGS" = set; then
20499 CFLAGS=$ac_save_CFLAGS
20501 if test "$ac_test_CXXFLAGS" = set; then
20502 CXXFLAGS=$ac_save_CXXFLAGS
20506 { $as_echo "$as_me:$LINENO: result: $DASH_W" >&5
20507 $as_echo "$DASH_W" >&6; }
20508 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -Wno-unused" >&5
20509 $as_echo_n "checking whether $C_COMPILER accepts -Wno-unused... " >&6; }
20510 if test "${DASH_Wno_unused+set}" = set; then
20511 $as_echo_n "(cached) " >&6
20512 else
20514 rm -f conftest.$ac_ext
20515 cat >conftest.$ac_ext <<_ACEOF
20516 #line $LINENO "configure"
20518 main ()
20520 return 0;
20522 _ACEOF
20523 ac_test_CFLAGS=${CFLAGS+set}
20524 ac_test_CXXFLAGS=${CXXFLAGS+set}
20525 ac_save_CFLAGS=$CFLAGS
20526 ac_save_CXXFLAGS=$CXXFLAGS
20527 CFLAGS="-Wno-unused"
20528 CXXFLAGS="-Wno-unused"
20529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20530 (eval $ac_link) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; then
20534 DASH_Wno_unused=" -Wno-unused"
20535 else
20536 DASH_Wno_unused=""
20538 if test "$ac_test_CFLAGS" = set; then
20539 CFLAGS=$ac_save_CFLAGS
20541 if test "$ac_test_CXXFLAGS" = set; then
20542 CXXFLAGS=$ac_save_CXXFLAGS
20546 { $as_echo "$as_me:$LINENO: result: $DASH_Wno_unused" >&5
20547 $as_echo "$DASH_Wno_unused" >&6; }
20548 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
20549 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
20550 if test "${DASH_g+set}" = set; then
20551 $as_echo_n "(cached) " >&6
20552 else
20554 rm -f conftest.$ac_ext
20555 cat >conftest.$ac_ext <<_ACEOF
20556 #line $LINENO "configure"
20558 main ()
20560 return 0;
20562 _ACEOF
20563 ac_test_CFLAGS=${CFLAGS+set}
20564 ac_test_CXXFLAGS=${CXXFLAGS+set}
20565 ac_save_CFLAGS=$CFLAGS
20566 ac_save_CXXFLAGS=$CXXFLAGS
20567 CFLAGS="-g"
20568 CXXFLAGS="-g"
20569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20570 (eval $ac_link) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; then
20574 DASH_g=" -g"
20575 else
20576 DASH_g=""
20578 if test "$ac_test_CFLAGS" = set; then
20579 CFLAGS=$ac_save_CFLAGS
20581 if test "$ac_test_CXXFLAGS" = set; then
20582 CXXFLAGS=$ac_save_CXXFLAGS
20586 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
20587 $as_echo "$DASH_g" >&6; }
20589 # profiling options:
20590 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
20591 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
20592 if test "${DASH_p+set}" = set; then
20593 $as_echo_n "(cached) " >&6
20594 else
20596 rm -f conftest.$ac_ext
20597 cat >conftest.$ac_ext <<_ACEOF
20598 #line $LINENO "configure"
20600 main ()
20602 return 0;
20604 _ACEOF
20605 ac_test_CFLAGS=${CFLAGS+set}
20606 ac_test_CXXFLAGS=${CXXFLAGS+set}
20607 ac_save_CFLAGS=$CFLAGS
20608 ac_save_CXXFLAGS=$CXXFLAGS
20609 CFLAGS="-p"
20610 CXXFLAGS="-p"
20611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20612 (eval $ac_link) 2>&5
20613 ac_status=$?
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; then
20616 DASH_p=" -p"
20617 else
20618 DASH_p=""
20620 if test "$ac_test_CFLAGS" = set; then
20621 CFLAGS=$ac_save_CFLAGS
20623 if test "$ac_test_CXXFLAGS" = set; then
20624 CXXFLAGS=$ac_save_CXXFLAGS
20628 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
20629 $as_echo "$DASH_p" >&6; }
20630 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -pg" >&5
20631 $as_echo_n "checking whether $C_COMPILER accepts -pg... " >&6; }
20632 if test "${DASH_pg+set}" = set; then
20633 $as_echo_n "(cached) " >&6
20634 else
20636 rm -f conftest.$ac_ext
20637 cat >conftest.$ac_ext <<_ACEOF
20638 #line $LINENO "configure"
20640 main ()
20642 return 0;
20644 _ACEOF
20645 ac_test_CFLAGS=${CFLAGS+set}
20646 ac_test_CXXFLAGS=${CXXFLAGS+set}
20647 ac_save_CFLAGS=$CFLAGS
20648 ac_save_CXXFLAGS=$CXXFLAGS
20649 CFLAGS="-pg"
20650 CXXFLAGS="-pg"
20651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20652 (eval $ac_link) 2>&5
20653 ac_status=$?
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); }; then
20656 DASH_pg=" -pg"
20657 else
20658 DASH_pg=""
20660 if test "$ac_test_CFLAGS" = set; then
20661 CFLAGS=$ac_save_CFLAGS
20663 if test "$ac_test_CXXFLAGS" = set; then
20664 CXXFLAGS=$ac_save_CXXFLAGS
20668 { $as_echo "$as_me:$LINENO: result: $DASH_pg" >&5
20669 $as_echo "$DASH_pg" >&6; }
20670 #AC_CHECK_C_COMPILER_OPT(-ftest-coverage,DASH_ftest_coverage)
20671 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fprofile-arcs" >&5
20672 $as_echo_n "checking whether $C_COMPILER accepts -fprofile-arcs... " >&6; }
20673 if test "${DASH_fprofile_arcs+set}" = set; then
20674 $as_echo_n "(cached) " >&6
20675 else
20677 rm -f conftest.$ac_ext
20678 cat >conftest.$ac_ext <<_ACEOF
20679 #line $LINENO "configure"
20681 main ()
20683 return 0;
20685 _ACEOF
20686 ac_test_CFLAGS=${CFLAGS+set}
20687 ac_test_CXXFLAGS=${CXXFLAGS+set}
20688 ac_save_CFLAGS=$CFLAGS
20689 ac_save_CXXFLAGS=$CXXFLAGS
20690 CFLAGS="-fprofile-arcs"
20691 CXXFLAGS="-fprofile-arcs"
20692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20693 (eval $ac_link) 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; then
20697 DASH_fprofile_arcs=" -fprofile-arcs"
20698 else
20699 DASH_fprofile_arcs=""
20701 if test "$ac_test_CFLAGS" = set; then
20702 CFLAGS=$ac_save_CFLAGS
20704 if test "$ac_test_CXXFLAGS" = set; then
20705 CXXFLAGS=$ac_save_CXXFLAGS
20709 { $as_echo "$as_me:$LINENO: result: $DASH_fprofile_arcs" >&5
20710 $as_echo "$DASH_fprofile_arcs" >&6; }
20712 # optimization options:
20713 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
20714 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
20715 if test "${DASH_O1+set}" = set; then
20716 $as_echo_n "(cached) " >&6
20717 else
20719 rm -f conftest.$ac_ext
20720 cat >conftest.$ac_ext <<_ACEOF
20721 #line $LINENO "configure"
20723 main ()
20725 return 0;
20727 _ACEOF
20728 ac_test_CFLAGS=${CFLAGS+set}
20729 ac_test_CXXFLAGS=${CXXFLAGS+set}
20730 ac_save_CFLAGS=$CFLAGS
20731 ac_save_CXXFLAGS=$CXXFLAGS
20732 CFLAGS="-O1"
20733 CXXFLAGS="-O1"
20734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20735 (eval $ac_link) 2>&5
20736 ac_status=$?
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; then
20739 DASH_O1=" -O1"
20740 else
20741 DASH_O1=""
20743 if test "$ac_test_CFLAGS" = set; then
20744 CFLAGS=$ac_save_CFLAGS
20746 if test "$ac_test_CXXFLAGS" = set; then
20747 CXXFLAGS=$ac_save_CXXFLAGS
20751 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
20752 $as_echo "$DASH_O1" >&6; }
20753 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-math-errno" >&5
20754 $as_echo_n "checking whether $C_COMPILER accepts -fno-math-errno... " >&6; }
20755 if test "${DASH_fno_math_errno+set}" = set; then
20756 $as_echo_n "(cached) " >&6
20757 else
20759 rm -f conftest.$ac_ext
20760 cat >conftest.$ac_ext <<_ACEOF
20761 #line $LINENO "configure"
20763 main ()
20765 return 0;
20767 _ACEOF
20768 ac_test_CFLAGS=${CFLAGS+set}
20769 ac_test_CXXFLAGS=${CXXFLAGS+set}
20770 ac_save_CFLAGS=$CFLAGS
20771 ac_save_CXXFLAGS=$CXXFLAGS
20772 CFLAGS="-fno-math-errno"
20773 CXXFLAGS="-fno-math-errno"
20774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20775 (eval $ac_link) 2>&5
20776 ac_status=$?
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; then
20779 DASH_fno_math_errno=" -fno-math-errno"
20780 else
20781 DASH_fno_math_errno=""
20783 if test "$ac_test_CFLAGS" = set; then
20784 CFLAGS=$ac_save_CFLAGS
20786 if test "$ac_test_CXXFLAGS" = set; then
20787 CXXFLAGS=$ac_save_CXXFLAGS
20791 { $as_echo "$as_me:$LINENO: result: $DASH_fno_math_errno" >&5
20792 $as_echo "$DASH_fno_math_errno" >&6; }
20793 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fschedule-insns2" >&5
20794 $as_echo_n "checking whether $C_COMPILER accepts -fschedule-insns2... " >&6; }
20795 if test "${DASH_fschedule_insns2+set}" = set; then
20796 $as_echo_n "(cached) " >&6
20797 else
20799 rm -f conftest.$ac_ext
20800 cat >conftest.$ac_ext <<_ACEOF
20801 #line $LINENO "configure"
20803 main ()
20805 return 0;
20807 _ACEOF
20808 ac_test_CFLAGS=${CFLAGS+set}
20809 ac_test_CXXFLAGS=${CXXFLAGS+set}
20810 ac_save_CFLAGS=$CFLAGS
20811 ac_save_CXXFLAGS=$CXXFLAGS
20812 CFLAGS="-fschedule-insns2"
20813 CXXFLAGS="-fschedule-insns2"
20814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20815 (eval $ac_link) 2>&5
20816 ac_status=$?
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; then
20819 DASH_fschedule_insns2=" -fschedule-insns2"
20820 else
20821 DASH_fschedule_insns2=""
20823 if test "$ac_test_CFLAGS" = set; then
20824 CFLAGS=$ac_save_CFLAGS
20826 if test "$ac_test_CXXFLAGS" = set; then
20827 CXXFLAGS=$ac_save_CXXFLAGS
20831 { $as_echo "$as_me:$LINENO: result: $DASH_fschedule_insns2" >&5
20832 $as_echo "$DASH_fschedule_insns2" >&6; }
20833 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-trapping-math" >&5
20834 $as_echo_n "checking whether $C_COMPILER accepts -fno-trapping-math... " >&6; }
20835 if test "${DASH_fno_trapping_math+set}" = set; then
20836 $as_echo_n "(cached) " >&6
20837 else
20839 rm -f conftest.$ac_ext
20840 cat >conftest.$ac_ext <<_ACEOF
20841 #line $LINENO "configure"
20843 main ()
20845 return 0;
20847 _ACEOF
20848 ac_test_CFLAGS=${CFLAGS+set}
20849 ac_test_CXXFLAGS=${CXXFLAGS+set}
20850 ac_save_CFLAGS=$CFLAGS
20851 ac_save_CXXFLAGS=$CXXFLAGS
20852 CFLAGS="-fno-trapping-math"
20853 CXXFLAGS="-fno-trapping-math"
20854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20855 (eval $ac_link) 2>&5
20856 ac_status=$?
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; then
20859 DASH_fno_trapping_math=" -fno-trapping-math"
20860 else
20861 DASH_fno_trapping_math=""
20863 if test "$ac_test_CFLAGS" = set; then
20864 CFLAGS=$ac_save_CFLAGS
20866 if test "$ac_test_CXXFLAGS" = set; then
20867 CXXFLAGS=$ac_save_CXXFLAGS
20871 { $as_echo "$as_me:$LINENO: result: $DASH_fno_trapping_math" >&5
20872 $as_echo "$DASH_fno_trapping_math" >&6; }
20873 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-strict-aliasing" >&5
20874 $as_echo_n "checking whether $C_COMPILER accepts -fno-strict-aliasing... " >&6; }
20875 if test "${DASH_fno_strict_aliasing+set}" = set; then
20876 $as_echo_n "(cached) " >&6
20877 else
20879 rm -f conftest.$ac_ext
20880 cat >conftest.$ac_ext <<_ACEOF
20881 #line $LINENO "configure"
20883 main ()
20885 return 0;
20887 _ACEOF
20888 ac_test_CFLAGS=${CFLAGS+set}
20889 ac_test_CXXFLAGS=${CXXFLAGS+set}
20890 ac_save_CFLAGS=$CFLAGS
20891 ac_save_CXXFLAGS=$CXXFLAGS
20892 CFLAGS="-fno-strict-aliasing"
20893 CXXFLAGS="-fno-strict-aliasing"
20894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; then
20899 DASH_fno_strict_aliasing=" -fno-strict-aliasing"
20900 else
20901 DASH_fno_strict_aliasing=""
20903 if test "$ac_test_CFLAGS" = set; then
20904 CFLAGS=$ac_save_CFLAGS
20906 if test "$ac_test_CXXFLAGS" = set; then
20907 CXXFLAGS=$ac_save_CXXFLAGS
20911 { $as_echo "$as_me:$LINENO: result: $DASH_fno_strict_aliasing" >&5
20912 $as_echo "$DASH_fno_strict_aliasing" >&6; }
20913 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fwrapv" >&5
20914 $as_echo_n "checking whether $C_COMPILER accepts -fwrapv... " >&6; }
20915 if test "${DASH_fwrapv+set}" = set; then
20916 $as_echo_n "(cached) " >&6
20917 else
20919 rm -f conftest.$ac_ext
20920 cat >conftest.$ac_ext <<_ACEOF
20921 #line $LINENO "configure"
20923 main ()
20925 return 0;
20927 _ACEOF
20928 ac_test_CFLAGS=${CFLAGS+set}
20929 ac_test_CXXFLAGS=${CXXFLAGS+set}
20930 ac_save_CFLAGS=$CFLAGS
20931 ac_save_CXXFLAGS=$CXXFLAGS
20932 CFLAGS="-fwrapv"
20933 CXXFLAGS="-fwrapv"
20934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20935 (eval $ac_link) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; then
20939 DASH_fwrapv=" -fwrapv"
20940 else
20941 DASH_fwrapv=""
20943 if test "$ac_test_CFLAGS" = set; then
20944 CFLAGS=$ac_save_CFLAGS
20946 if test "$ac_test_CXXFLAGS" = set; then
20947 CXXFLAGS=$ac_save_CXXFLAGS
20951 { $as_echo "$as_me:$LINENO: result: $DASH_fwrapv" >&5
20952 $as_echo "$DASH_fwrapv" >&6; }
20953 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fomit-frame-pointer" >&5
20954 $as_echo_n "checking whether $C_COMPILER accepts -fomit-frame-pointer... " >&6; }
20955 if test "${DASH_fomit_frame_pointer+set}" = set; then
20956 $as_echo_n "(cached) " >&6
20957 else
20959 rm -f conftest.$ac_ext
20960 cat >conftest.$ac_ext <<_ACEOF
20961 #line $LINENO "configure"
20963 main ()
20965 return 0;
20967 _ACEOF
20968 ac_test_CFLAGS=${CFLAGS+set}
20969 ac_test_CXXFLAGS=${CXXFLAGS+set}
20970 ac_save_CFLAGS=$CFLAGS
20971 ac_save_CXXFLAGS=$CXXFLAGS
20972 CFLAGS="-fomit-frame-pointer"
20973 CXXFLAGS="-fomit-frame-pointer"
20974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20975 (eval $ac_link) 2>&5
20976 ac_status=$?
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; then
20979 DASH_fomit_frame_pointer=" -fomit-frame-pointer"
20980 else
20981 DASH_fomit_frame_pointer=""
20983 if test "$ac_test_CFLAGS" = set; then
20984 CFLAGS=$ac_save_CFLAGS
20986 if test "$ac_test_CXXFLAGS" = set; then
20987 CXXFLAGS=$ac_save_CXXFLAGS
20991 { $as_echo "$as_me:$LINENO: result: $DASH_fomit_frame_pointer" >&5
20992 $as_echo "$DASH_fomit_frame_pointer" >&6; }
20993 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-move-loop-invariants" >&5
20994 $as_echo_n "checking whether $C_COMPILER accepts -fno-move-loop-invariants... " >&6; }
20995 if test "${DASH_fno_move_loop_invariants+set}" = set; then
20996 $as_echo_n "(cached) " >&6
20997 else
20999 rm -f conftest.$ac_ext
21000 cat >conftest.$ac_ext <<_ACEOF
21001 #line $LINENO "configure"
21003 main ()
21005 return 0;
21007 _ACEOF
21008 ac_test_CFLAGS=${CFLAGS+set}
21009 ac_test_CXXFLAGS=${CXXFLAGS+set}
21010 ac_save_CFLAGS=$CFLAGS
21011 ac_save_CXXFLAGS=$CXXFLAGS
21012 CFLAGS="-fno-move-loop-invariants"
21013 CXXFLAGS="-fno-move-loop-invariants"
21014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21015 (eval $ac_link) 2>&5
21016 ac_status=$?
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; then
21019 DASH_fno_move_loop_invariants=" -fno-move-loop-invariants"
21020 else
21021 DASH_fno_move_loop_invariants=""
21023 if test "$ac_test_CFLAGS" = set; then
21024 CFLAGS=$ac_save_CFLAGS
21026 if test "$ac_test_CXXFLAGS" = set; then
21027 CXXFLAGS=$ac_save_CXXFLAGS
21031 { $as_echo "$as_me:$LINENO: result: $DASH_fno_move_loop_invariants" >&5
21032 $as_echo "$DASH_fno_move_loop_invariants" >&6; }
21034 # It isn't clear these are useful:
21035 # AC_CHECK_C_COMPILER_OPT(-fexpensive-optimizations,DASH_fexpensive_optimizations)
21036 # AC_CHECK_C_COMPILER_OPT(-fbranch-probabilities,DASH_fbranch_probabilities)
21037 # AC_CHECK_C_COMPILER_OPT(-fforce-addr,DASH_fforce_addr)
21038 # AC_CHECK_C_COMPILER_OPT(-fpeephole2,DASH_fpeephole2)
21039 # AC_CHECK_C_COMPILER_OPT(-falign-jumps,DASH_falign_jumps)
21040 # AC_CHECK_C_COMPILER_OPT(-falign-functions,DASH_falign_functions)
21041 # AC_CHECK_C_COMPILER_OPT(-fno-function-cse,DASH_fno_function_cse)
21042 # AC_CHECK_C_COMPILER_OPT(-ftree-copyrename,DASH_ftree_copyrename)
21043 # AC_CHECK_C_COMPILER_OPT(-ftree-fre,DASH_ftree_fre)
21044 # AC_CHECK_C_COMPILER_OPT(-ftree-dce,DASH_ftree_dce)
21045 # AC_CHECK_C_COMPILER_OPT(-fschedule-interblock,DASH_fschedule_interblock)
21046 # AC_CHECK_C_COMPILER_OPT(-fregmove,DASH_fregmove)
21047 # AC_CHECK_C_COMPILER_OPT(-fgcse-las,DASH_fgcse_las)
21048 # AC_CHECK_C_COMPILER_OPT(-freorder-functions,DASH_freorder_functions)
21049 # AC_CHECK_C_COMPILER_OPT(-fcaller-saves,DASH_fcaller_saves)
21050 # AC_CHECK_C_COMPILER_OPT(-fno-if-conversion2,DASH_fno_if_conversion2)
21051 # AC_CHECK_C_COMPILER_OPT(-foptimize-sibling-calls,DASH_foptimize_sibling_calls)
21052 # AC_CHECK_C_COMPILER_OPT(-fcse-skip-blocks,DASH_fcse_skip_blocks)
21053 # AC_CHECK_C_COMPILER_OPT(-funit-at-a-time,DASH_funit_at_a_time)
21054 # AC_CHECK_C_COMPILER_OPT(-finline-functions,DASH_finline_functions)
21056 if test "$ENABLE_GCC_OPTS" = yes; then
21057 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fmodulo-sched" >&5
21058 $as_echo_n "checking whether $C_COMPILER accepts -fmodulo-sched... " >&6; }
21059 if test "${DASH_fmodulo_sched+set}" = set; then
21060 $as_echo_n "(cached) " >&6
21061 else
21063 rm -f conftest.$ac_ext
21064 cat >conftest.$ac_ext <<_ACEOF
21065 #line $LINENO "configure"
21067 main ()
21069 return 0;
21071 _ACEOF
21072 ac_test_CFLAGS=${CFLAGS+set}
21073 ac_test_CXXFLAGS=${CXXFLAGS+set}
21074 ac_save_CFLAGS=$CFLAGS
21075 ac_save_CXXFLAGS=$CXXFLAGS
21076 CFLAGS="-fmodulo-sched"
21077 CXXFLAGS="-fmodulo-sched"
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; then
21083 DASH_fmodulo_sched=" -fmodulo-sched"
21084 else
21085 DASH_fmodulo_sched=""
21087 if test "$ac_test_CFLAGS" = set; then
21088 CFLAGS=$ac_save_CFLAGS
21090 if test "$ac_test_CXXFLAGS" = set; then
21091 CXXFLAGS=$ac_save_CXXFLAGS
21095 { $as_echo "$as_me:$LINENO: result: $DASH_fmodulo_sched" >&5
21096 $as_echo "$DASH_fmodulo_sched" >&6; }
21097 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -freschedule-modulo-scheduled-loops" >&5
21098 $as_echo_n "checking whether $C_COMPILER accepts -freschedule-modulo-scheduled-loops... " >&6; }
21099 if test "${DASH_freschedule_modulo_scheduled_loops+set}" = set; then
21100 $as_echo_n "(cached) " >&6
21101 else
21103 rm -f conftest.$ac_ext
21104 cat >conftest.$ac_ext <<_ACEOF
21105 #line $LINENO "configure"
21107 main ()
21109 return 0;
21111 _ACEOF
21112 ac_test_CFLAGS=${CFLAGS+set}
21113 ac_test_CXXFLAGS=${CXXFLAGS+set}
21114 ac_save_CFLAGS=$CFLAGS
21115 ac_save_CXXFLAGS=$CXXFLAGS
21116 CFLAGS="-freschedule-modulo-scheduled-loops"
21117 CXXFLAGS="-freschedule-modulo-scheduled-loops"
21118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21119 (eval $ac_link) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; then
21123 DASH_freschedule_modulo_scheduled_loops=" -freschedule-modulo-scheduled-loops"
21124 else
21125 DASH_freschedule_modulo_scheduled_loops=""
21127 if test "$ac_test_CFLAGS" = set; then
21128 CFLAGS=$ac_save_CFLAGS
21130 if test "$ac_test_CXXFLAGS" = set; then
21131 CXXFLAGS=$ac_save_CXXFLAGS
21135 { $as_echo "$as_me:$LINENO: result: $DASH_freschedule_modulo_scheduled_loops" >&5
21136 $as_echo "$DASH_freschedule_modulo_scheduled_loops" >&6; }
21140 # code generation options:
21141 case "$target_os" in
21143 mingw*) # no special code generation options needed by MinGW
21146 cygwin*) # no special code generation options needed by cygwin
21149 *) # check for code generation options for other systems
21150 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fPIC" >&5
21151 $as_echo_n "checking whether $C_COMPILER accepts -fPIC... " >&6; }
21152 if test "${DASH_fPIC+set}" = set; then
21153 $as_echo_n "(cached) " >&6
21154 else
21156 rm -f conftest.$ac_ext
21157 cat >conftest.$ac_ext <<_ACEOF
21158 #line $LINENO "configure"
21160 main ()
21162 return 0;
21164 _ACEOF
21165 ac_test_CFLAGS=${CFLAGS+set}
21166 ac_test_CXXFLAGS=${CXXFLAGS+set}
21167 ac_save_CFLAGS=$CFLAGS
21168 ac_save_CXXFLAGS=$CXXFLAGS
21169 CFLAGS="-fPIC"
21170 CXXFLAGS="-fPIC"
21171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21172 (eval $ac_link) 2>&5
21173 ac_status=$?
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; then
21176 DASH_fPIC=" -fPIC"
21177 else
21178 DASH_fPIC=""
21180 if test "$ac_test_CFLAGS" = set; then
21181 CFLAGS=$ac_save_CFLAGS
21183 if test "$ac_test_CXXFLAGS" = set; then
21184 CXXFLAGS=$ac_save_CXXFLAGS
21188 { $as_echo "$as_me:$LINENO: result: $DASH_fPIC" >&5
21189 $as_echo "$DASH_fPIC" >&6; }
21190 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fpic" >&5
21191 $as_echo_n "checking whether $C_COMPILER accepts -fpic... " >&6; }
21192 if test "${DASH_fpic+set}" = set; then
21193 $as_echo_n "(cached) " >&6
21194 else
21196 rm -f conftest.$ac_ext
21197 cat >conftest.$ac_ext <<_ACEOF
21198 #line $LINENO "configure"
21200 main ()
21202 return 0;
21204 _ACEOF
21205 ac_test_CFLAGS=${CFLAGS+set}
21206 ac_test_CXXFLAGS=${CXXFLAGS+set}
21207 ac_save_CFLAGS=$CFLAGS
21208 ac_save_CXXFLAGS=$CXXFLAGS
21209 CFLAGS="-fpic"
21210 CXXFLAGS="-fpic"
21211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21212 (eval $ac_link) 2>&5
21213 ac_status=$?
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; then
21216 DASH_fpic=" -fpic"
21217 else
21218 DASH_fpic=""
21220 if test "$ac_test_CFLAGS" = set; then
21221 CFLAGS=$ac_save_CFLAGS
21223 if test "$ac_test_CXXFLAGS" = set; then
21224 CXXFLAGS=$ac_save_CXXFLAGS
21228 { $as_echo "$as_me:$LINENO: result: $DASH_fpic" >&5
21229 $as_echo "$DASH_fpic" >&6; }
21231 esac
21232 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-common" >&5
21233 $as_echo_n "checking whether $C_COMPILER accepts -fno-common... " >&6; }
21234 if test "${DASH_fno_common+set}" = set; then
21235 $as_echo_n "(cached) " >&6
21236 else
21238 rm -f conftest.$ac_ext
21239 cat >conftest.$ac_ext <<_ACEOF
21240 #line $LINENO "configure"
21242 main ()
21244 return 0;
21246 _ACEOF
21247 ac_test_CFLAGS=${CFLAGS+set}
21248 ac_test_CXXFLAGS=${CXXFLAGS+set}
21249 ac_save_CFLAGS=$CFLAGS
21250 ac_save_CXXFLAGS=$CXXFLAGS
21251 CFLAGS="-fno-common"
21252 CXXFLAGS="-fno-common"
21253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21254 (eval $ac_link) 2>&5
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; then
21258 DASH_fno_common=" -fno-common"
21259 else
21260 DASH_fno_common=""
21262 if test "$ac_test_CFLAGS" = set; then
21263 CFLAGS=$ac_save_CFLAGS
21265 if test "$ac_test_CXXFLAGS" = set; then
21266 CXXFLAGS=$ac_save_CXXFLAGS
21270 { $as_echo "$as_me:$LINENO: result: $DASH_fno_common" >&5
21271 $as_echo "$DASH_fno_common" >&6; }
21273 # machine specific options:
21274 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee" >&5
21275 $as_echo_n "checking whether $C_COMPILER accepts -mieee... " >&6; }
21276 if test "${DASH_mieee+set}" = set; then
21277 $as_echo_n "(cached) " >&6
21278 else
21280 rm -f conftest.$ac_ext
21281 cat >conftest.$ac_ext <<_ACEOF
21282 #line $LINENO "configure"
21284 main ()
21286 return 0;
21288 _ACEOF
21289 ac_test_CFLAGS=${CFLAGS+set}
21290 ac_test_CXXFLAGS=${CXXFLAGS+set}
21291 ac_save_CFLAGS=$CFLAGS
21292 ac_save_CXXFLAGS=$CXXFLAGS
21293 CFLAGS="-mieee"
21294 CXXFLAGS="-mieee"
21295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21296 (eval $ac_link) 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; then
21300 DASH_mieee=" -mieee"
21301 else
21302 DASH_mieee=""
21304 if test "$ac_test_CFLAGS" = set; then
21305 CFLAGS=$ac_save_CFLAGS
21307 if test "$ac_test_CXXFLAGS" = set; then
21308 CXXFLAGS=$ac_save_CXXFLAGS
21312 { $as_echo "$as_me:$LINENO: result: $DASH_mieee" >&5
21313 $as_echo "$DASH_mieee" >&6; }
21314 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee-with-inexact" >&5
21315 $as_echo_n "checking whether $C_COMPILER accepts -mieee-with-inexact... " >&6; }
21316 if test "${DASH_mieee_with_inexact+set}" = set; then
21317 $as_echo_n "(cached) " >&6
21318 else
21320 rm -f conftest.$ac_ext
21321 cat >conftest.$ac_ext <<_ACEOF
21322 #line $LINENO "configure"
21324 main ()
21326 return 0;
21328 _ACEOF
21329 ac_test_CFLAGS=${CFLAGS+set}
21330 ac_test_CXXFLAGS=${CXXFLAGS+set}
21331 ac_save_CFLAGS=$CFLAGS
21332 ac_save_CXXFLAGS=$CXXFLAGS
21333 CFLAGS="-mieee-with-inexact"
21334 CXXFLAGS="-mieee-with-inexact"
21335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21336 (eval $ac_link) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; then
21340 DASH_mieee_with_inexact=" -mieee-with-inexact"
21341 else
21342 DASH_mieee_with_inexact=""
21344 if test "$ac_test_CFLAGS" = set; then
21345 CFLAGS=$ac_save_CFLAGS
21347 if test "$ac_test_CXXFLAGS" = set; then
21348 CXXFLAGS=$ac_save_CXXFLAGS
21352 { $as_echo "$as_me:$LINENO: result: $DASH_mieee_with_inexact" >&5
21353 $as_echo "$DASH_mieee_with_inexact" >&6; }
21354 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee-fp" >&5
21355 $as_echo_n "checking whether $C_COMPILER accepts -mieee-fp... " >&6; }
21356 if test "${DASH_mieee_fp+set}" = set; then
21357 $as_echo_n "(cached) " >&6
21358 else
21360 rm -f conftest.$ac_ext
21361 cat >conftest.$ac_ext <<_ACEOF
21362 #line $LINENO "configure"
21364 main ()
21366 return 0;
21368 _ACEOF
21369 ac_test_CFLAGS=${CFLAGS+set}
21370 ac_test_CXXFLAGS=${CXXFLAGS+set}
21371 ac_save_CFLAGS=$CFLAGS
21372 ac_save_CXXFLAGS=$CXXFLAGS
21373 CFLAGS="-mieee-fp"
21374 CXXFLAGS="-mieee-fp"
21375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21376 (eval $ac_link) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; then
21380 DASH_mieee_fp=" -mieee-fp"
21381 else
21382 DASH_mieee_fp=""
21384 if test "$ac_test_CFLAGS" = set; then
21385 CFLAGS=$ac_save_CFLAGS
21387 if test "$ac_test_CXXFLAGS" = set; then
21388 CXXFLAGS=$ac_save_CXXFLAGS
21392 { $as_echo "$as_me:$LINENO: result: $DASH_mieee_fp" >&5
21393 $as_echo "$DASH_mieee_fp" >&6; }
21395 # linking options:
21396 case "$target_os" in
21398 mingw*) # no special options needed by MinGW
21399 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21400 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21401 if test "${DASH_shared+set}" = set; then
21402 $as_echo_n "(cached) " >&6
21403 else
21405 rm -f conftest.$ac_ext
21406 cat >conftest.$ac_ext <<_ACEOF
21407 #line $LINENO "configure"
21409 main ()
21411 return 0;
21413 _ACEOF
21414 ac_test_CFLAGS=${CFLAGS+set}
21415 ac_test_CXXFLAGS=${CXXFLAGS+set}
21416 ac_save_CFLAGS=$CFLAGS
21417 ac_save_CXXFLAGS=$CXXFLAGS
21418 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21419 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21421 (eval $ac_link) 2>&5
21422 ac_status=$?
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; then
21425 DASH_shared=" -shared"
21426 else
21427 DASH_shared=""
21429 if test "$ac_test_CFLAGS" = set; then
21430 CFLAGS=$ac_save_CFLAGS
21432 if test "$ac_test_CXXFLAGS" = set; then
21433 CXXFLAGS=$ac_save_CXXFLAGS
21437 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21438 $as_echo "$DASH_shared" >&6; }
21441 cygwin*) # no special options needed by cygwin
21442 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21443 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21444 if test "${DASH_shared+set}" = set; then
21445 $as_echo_n "(cached) " >&6
21446 else
21448 rm -f conftest.$ac_ext
21449 cat >conftest.$ac_ext <<_ACEOF
21450 #line $LINENO "configure"
21452 main ()
21454 return 0;
21456 _ACEOF
21457 ac_test_CFLAGS=${CFLAGS+set}
21458 ac_test_CXXFLAGS=${CXXFLAGS+set}
21459 ac_save_CFLAGS=$CFLAGS
21460 ac_save_CXXFLAGS=$CXXFLAGS
21461 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21462 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464 (eval $ac_link) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; then
21468 DASH_shared=" -shared"
21469 else
21470 DASH_shared=""
21472 if test "$ac_test_CFLAGS" = set; then
21473 CFLAGS=$ac_save_CFLAGS
21475 if test "$ac_test_CXXFLAGS" = set; then
21476 CXXFLAGS=$ac_save_CXXFLAGS
21480 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21481 $as_echo "$DASH_shared" >&6; }
21484 solaris*) # check for options needed by Solaris
21485 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21486 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21487 if test "${DASH_shared+set}" = set; then
21488 $as_echo_n "(cached) " >&6
21489 else
21491 rm -f conftest.$ac_ext
21492 cat >conftest.$ac_ext <<_ACEOF
21493 #line $LINENO "configure"
21495 main ()
21497 return 0;
21499 _ACEOF
21500 ac_test_CFLAGS=${CFLAGS+set}
21501 ac_test_CXXFLAGS=${CXXFLAGS+set}
21502 ac_save_CFLAGS=$CFLAGS
21503 ac_save_CXXFLAGS=$CXXFLAGS
21504 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21505 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21507 (eval $ac_link) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; then
21511 DASH_shared=" -shared"
21512 else
21513 DASH_shared=""
21515 if test "$ac_test_CFLAGS" = set; then
21516 CFLAGS=$ac_save_CFLAGS
21518 if test "$ac_test_CXXFLAGS" = set; then
21519 CXXFLAGS=$ac_save_CXXFLAGS
21523 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21524 $as_echo "$DASH_shared" >&6; }
21527 hpux*) # check for options needed by HP-UX
21528 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21529 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21530 if test "${DASH_shared+set}" = set; then
21531 $as_echo_n "(cached) " >&6
21532 else
21534 rm -f conftest.$ac_ext
21535 cat >conftest.$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21538 main ()
21540 return 0;
21542 _ACEOF
21543 ac_test_CFLAGS=${CFLAGS+set}
21544 ac_test_CXXFLAGS=${CXXFLAGS+set}
21545 ac_save_CFLAGS=$CFLAGS
21546 ac_save_CXXFLAGS=$CXXFLAGS
21547 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21548 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21550 (eval $ac_link) 2>&5
21551 ac_status=$?
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; then
21554 DASH_shared=" -shared"
21555 else
21556 DASH_shared=""
21558 if test "$ac_test_CFLAGS" = set; then
21559 CFLAGS=$ac_save_CFLAGS
21561 if test "$ac_test_CXXFLAGS" = set; then
21562 CXXFLAGS=$ac_save_CXXFLAGS
21566 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21567 $as_echo "$DASH_shared" >&6; }
21570 darwin*) # check for special options added by Apple
21571 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -dynamiclib" >&5
21572 $as_echo_n "checking whether $C_COMPILER accepts -dynamiclib... " >&6; }
21573 if test "${DASH_dynamiclib+set}" = set; then
21574 $as_echo_n "(cached) " >&6
21575 else
21577 rm -f conftest.$ac_ext
21578 cat >conftest.$ac_ext <<_ACEOF
21579 #line $LINENO "configure"
21581 main ()
21583 return 0;
21585 _ACEOF
21586 ac_test_CFLAGS=${CFLAGS+set}
21587 ac_test_CXXFLAGS=${CXXFLAGS+set}
21588 ac_save_CFLAGS=$CFLAGS
21589 ac_save_CXXFLAGS=$CXXFLAGS
21590 CFLAGS="-dynamiclib"
21591 CXXFLAGS="-dynamiclib"
21592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; then
21597 DASH_dynamiclib=" -dynamiclib"
21598 else
21599 DASH_dynamiclib=""
21601 if test "$ac_test_CFLAGS" = set; then
21602 CFLAGS=$ac_save_CFLAGS
21604 if test "$ac_test_CXXFLAGS" = set; then
21605 CXXFLAGS=$ac_save_CXXFLAGS
21609 { $as_echo "$as_me:$LINENO: result: $DASH_dynamiclib" >&5
21610 $as_echo "$DASH_dynamiclib" >&6; }
21611 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -bundle" >&5
21612 $as_echo_n "checking whether $C_COMPILER accepts -bundle... " >&6; }
21613 if test "${DASH_bundle+set}" = set; then
21614 $as_echo_n "(cached) " >&6
21615 else
21617 rm -f conftest.$ac_ext
21618 cat >conftest.$ac_ext <<_ACEOF
21619 #line $LINENO "configure"
21621 main ()
21623 return 0;
21625 _ACEOF
21626 ac_test_CFLAGS=${CFLAGS+set}
21627 ac_test_CXXFLAGS=${CXXFLAGS+set}
21628 ac_save_CFLAGS=$CFLAGS
21629 ac_save_CXXFLAGS=$CXXFLAGS
21630 CFLAGS="-bundle"
21631 CXXFLAGS="-bundle"
21632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21633 (eval $ac_link) 2>&5
21634 ac_status=$?
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; then
21637 DASH_bundle=" -bundle"
21638 else
21639 DASH_bundle=""
21641 if test "$ac_test_CFLAGS" = set; then
21642 CFLAGS=$ac_save_CFLAGS
21644 if test "$ac_test_CXXFLAGS" = set; then
21645 CXXFLAGS=$ac_save_CXXFLAGS
21649 { $as_echo "$as_me:$LINENO: result: $DASH_bundle" >&5
21650 $as_echo "$DASH_bundle" >&6; }
21651 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -flat_namespace -undefined suppress" >&5
21652 $as_echo_n "checking whether $C_COMPILER accepts -flat_namespace -undefined suppress... " >&6; }
21653 if test "${DASH_flat_namespace_undefined_suppress+set}" = set; then
21654 $as_echo_n "(cached) " >&6
21655 else
21657 rm -f conftest.$ac_ext
21658 cat >conftest.$ac_ext <<_ACEOF
21659 #line $LINENO "configure"
21661 main ()
21663 return 0;
21665 _ACEOF
21666 ac_test_CFLAGS=${CFLAGS+set}
21667 ac_test_CXXFLAGS=${CXXFLAGS+set}
21668 ac_save_CFLAGS=$CFLAGS
21669 ac_save_CXXFLAGS=$CXXFLAGS
21670 CFLAGS="-flat_namespace -undefined suppress"
21671 CXXFLAGS="-flat_namespace -undefined suppress"
21672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21673 (eval $ac_link) 2>&5
21674 ac_status=$?
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; then
21677 DASH_flat_namespace_undefined_suppress=" -flat_namespace -undefined suppress"
21678 else
21679 DASH_flat_namespace_undefined_suppress=""
21681 if test "$ac_test_CFLAGS" = set; then
21682 CFLAGS=$ac_save_CFLAGS
21684 if test "$ac_test_CXXFLAGS" = set; then
21685 CXXFLAGS=$ac_save_CXXFLAGS
21689 { $as_echo "$as_me:$LINENO: result: $DASH_flat_namespace_undefined_suppress" >&5
21690 $as_echo "$DASH_flat_namespace_undefined_suppress" >&6; }
21693 *) # for other systems
21694 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -rdynamic" >&5
21695 $as_echo_n "checking whether $C_COMPILER accepts -rdynamic... " >&6; }
21696 if test "${DASH_rdynamic+set}" = set; then
21697 $as_echo_n "(cached) " >&6
21698 else
21700 rm -f conftest.$ac_ext
21701 cat >conftest.$ac_ext <<_ACEOF
21702 #line $LINENO "configure"
21704 main ()
21706 return 0;
21708 _ACEOF
21709 ac_test_CFLAGS=${CFLAGS+set}
21710 ac_test_CXXFLAGS=${CXXFLAGS+set}
21711 ac_save_CFLAGS=$CFLAGS
21712 ac_save_CXXFLAGS=$CXXFLAGS
21713 CFLAGS="-rdynamic"
21714 CXXFLAGS="-rdynamic"
21715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21716 (eval $ac_link) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; then
21720 DASH_rdynamic=" -rdynamic"
21721 else
21722 DASH_rdynamic=""
21724 if test "$ac_test_CFLAGS" = set; then
21725 CFLAGS=$ac_save_CFLAGS
21727 if test "$ac_test_CXXFLAGS" = set; then
21728 CXXFLAGS=$ac_save_CXXFLAGS
21732 { $as_echo "$as_me:$LINENO: result: $DASH_rdynamic" >&5
21733 $as_echo "$DASH_rdynamic" >&6; }
21734 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21735 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21736 if test "${DASH_shared+set}" = set; then
21737 $as_echo_n "(cached) " >&6
21738 else
21740 rm -f conftest.$ac_ext
21741 cat >conftest.$ac_ext <<_ACEOF
21742 #line $LINENO "configure"
21744 main ()
21746 return 0;
21748 _ACEOF
21749 ac_test_CFLAGS=${CFLAGS+set}
21750 ac_test_CXXFLAGS=${CXXFLAGS+set}
21751 ac_save_CFLAGS=$CFLAGS
21752 ac_save_CXXFLAGS=$CXXFLAGS
21753 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21754 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21756 (eval $ac_link) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; then
21760 DASH_shared=" -shared"
21761 else
21762 DASH_shared=""
21764 if test "$ac_test_CFLAGS" = set; then
21765 CFLAGS=$ac_save_CFLAGS
21767 if test "$ac_test_CXXFLAGS" = set; then
21768 CXXFLAGS=$ac_save_CXXFLAGS
21772 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21773 $as_echo "$DASH_shared" >&6; }
21775 esac
21777 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
21779 case "$target_os" in
21780 darwin*) # avoid the default C preprocessor which is setup for Objective-C
21781 FLAGS_OBJ="$FLAGS_OBJ$DASH_no_cpp_precomp"
21782 FLAGS_DYN="$FLAGS_DYN$DASH_no_cpp_precomp"
21784 esac
21786 FLAGS_OBJ="$FLAGS_OBJ$DASH_Wall$DASH_W$DASH_Wno_unused"
21787 FLAGS_DYN="$FLAGS_DYN$DASH_Wall$DASH_W$DASH_Wno_unused"
21789 if test "$ENABLE_DEBUG" = yes; then
21790 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
21791 FLAGS_DYN="$FLAGS_DYN$DASH_g"
21794 if test "$ENABLE_PROFILE" = yes; then
21795 if test "x$DASH_pg" != x; then
21796 FLAGS_OBJ="$FLAGS_OBJ$DASH_pg"
21797 FLAGS_DYN="$FLAGS_DYN$DASH_pg"
21798 FLAGS_LIB="$FLAGS_LIB$DASH_pg"
21799 FLAGS_EXE="$FLAGS_EXE$DASH_pg"
21800 else
21801 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
21802 FLAGS_DYN="$FLAGS_DYN$DASH_p"
21803 FLAGS_LIB="$FLAGS_LIB$DASH_p"
21804 FLAGS_EXE="$FLAGS_EXE$DASH_p"
21808 if test "$ENABLE_DEBUG" != yes; then
21809 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1$DASH_fno_math_errno$DASH_fschedule_insns2"
21810 FLAGS_DYN="$FLAGS_DYN$DASH_O1$DASH_fno_math_errno$DASH_fschedule_insns2"
21813 if test "$ENABLE_DEBUG" != yes; then
21814 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1$DASH_fno_math_errno$DASH_fschedule_insns2"
21815 FLAGS_DYN="$FLAGS_DYN$DASH_O1$DASH_fno_math_errno$DASH_fschedule_insns2"
21818 FLAGS_OBJ="$FLAGS_OBJ$DASH_fno_trapping_math$DASH_fno_strict_aliasing$DASH_fwrapv"
21819 FLAGS_DYN="$FLAGS_DYN$DASH_fno_trapping_math$DASH_fno_strict_aliasing$DASH_fwrapv"
21821 # It isn't clear these are useful:
21822 # FLAGS_OBJ="$FLAGS_OBJ$DASH_fno_trapping_math$DASH_fno_strict_aliasing$DASH_fwrapv$DASH_fexpensive_optimizations$DASH_fforce_addr$DASH_fpeephole2$DASH_falign_jumps$DASH_falign_functions$DASH_fno_function_cse$DASH_ftree_copyrename$DASH_ftree_fre$DASH_ftree_dce$DASH_fschedule_interblock$DASH_fregmove$DASH_fgcse_las$DASH_freorder_functions$DASH_fcaller_saves$DASH_fno_if_conversion2$DASH_foptimize_sibling_calls$DASH_fcse_skip_blocks$DASH_funit_at_a_time$DASH_finline_functions"
21823 # FLAGS_DYN="$FLAGS_DYN$DASH_fno_trapping_math$DASH_fno_strict_aliasing$DASH_fwrapv$DASH_fexpensive_optimizations$DASH_fforce_addr$DASH_fpeephole2$DASH_falign_jumps$DASH_falign_functions$DASH_fno_function_cse$DASH_ftree_copyrename$DASH_ftree_fre$DASH_ftree_dce$DASH_fschedule_interblock$DASH_fregmove$DASH_fgcse_las$DASH_freorder_functions$DASH_fcaller_saves$DASH_fno_if_conversion2$DASH_foptimize_sibling_calls$DASH_fcse_skip_blocks$DASH_funit_at_a_time$DASH_finline_functions"
21825 if test "$ENABLE_GCC_OPTS" = yes; then
21826 FLAGS_OBJ="$FLAGS_OBJ$DASH_fmodulo_sched$DASH_freschedule_modulo_scheduled_loops"
21827 FLAGS_DYN="$FLAGS_DYN$DASH_fmodulo_sched$DASH_freschedule_modulo_scheduled_loops"
21830 case "$target_os" in
21832 mingw*) # MinGW's setjmp seems to need the frame pointer
21835 *) # other systems are fine as far as I can tell
21836 if test "$ENABLE_DEBUG" != yes -o "$ENABLE_PROFILE" != yes; then
21837 FLAGS_OBJ="$FLAGS_OBJ$DASH_fomit_frame_pointer"
21838 FLAGS_DYN="$FLAGS_DYN$DASH_fomit_frame_pointer"
21841 esac
21843 ENABLE_GCC_MOVE_LOOP_INVARIANTS=yes
21844 if test "$ENABLE_SINGLE_HOST" = yes; then
21845 if test "$GCC_42_OR_43" = yes; then
21846 ENABLE_GCC_MOVE_LOOP_INVARIANTS=no
21850 if test "$ENABLE_GCC_MOVE_LOOP_INVARIANTS" != yes; then
21851 FLAGS_OBJ="$FLAGS_OBJ$DASH_fno_move_loop_invariants"
21852 FLAGS_DYN="$FLAGS_DYN$DASH_fno_move_loop_invariants"
21855 if test "$ENABLE_FEEDBACK1" = yes; then
21856 FLAGS_OBJ="$FLAGS_OBJ$DASH_fprofile_arcs"
21857 FLAGS_DYN="$FLAGS_DYN$DASH_fprofile_arcs"
21860 if test "$ENABLE_FEEDBACK2" = yes; then
21861 FLAGS_OBJ="$FLAGS_OBJ$DASH_fbranch_probabilities"
21862 FLAGS_DYN="$FLAGS_DYN$DASH_fbranch_probabilities"
21865 if test "x$DASH_fPIC" != x; then
21866 FLAGS_OBJ="$FLAGS_OBJ$DASH_fPIC"
21867 FLAGS_DYN="$FLAGS_DYN$DASH_fPIC"
21868 else
21869 FLAGS_OBJ="$FLAGS_OBJ$DASH_fpic"
21870 FLAGS_DYN="$FLAGS_DYN$DASH_fpic"
21873 FLAGS_OBJ="$FLAGS_OBJ$DASH_fno_common"
21874 FLAGS_DYN="$FLAGS_DYN$DASH_fno_common"
21876 FLAGS_OBJ="$FLAGS_OBJ$DASH_mieee$DASH_mieee_with_inexact$DASH_mieee_fp"
21877 FLAGS_DYN="$FLAGS_DYN$DASH_mieee$DASH_mieee_with_inexact$DASH_mieee_fp"
21879 case "$target_os" in
21881 darwin*) # check for special options added by Apple
21882 FLAGS_DYN="$FLAGS_DYN$DASH_bundle$DASH_flat_namespace_undefined_suppress"
21883 FLAGS_LIB="$FLAGS_LIB$DASH_dynamiclib$DASH_flat_namespace_undefined_suppress"
21886 *) # for other systems
21887 FLAGS_DYN="$FLAGS_DYN$DASH_rdynamic$DASH_shared"
21888 FLAGS_LIB="$FLAGS_LIB$DASH_rdynamic$DASH_shared"
21889 FLAGS_EXE="$FLAGS_EXE$DASH_rdynamic"
21891 esac
21893 else if test "$C_COMP_VISUALC" = yes; then
21895 ########## Microsoft Visual C++ compiler
21897 FLAGS_OBJ="$FLAGS_OBJ -nologo -Oityb1 -MT -D_CRT_SECURE_NO_DEPRECATE"
21898 FLAGS_DYN="$FLAGS_DYN -nologo -Oityb1 -MT -D_CRT_SECURE_NO_DEPRECATE -LD"
21899 FLAGS_LIB="$FLAGS_LIB -nologo -Oityb1 -MT -D_CRT_SECURE_NO_DEPRECATE"
21900 FLAGS_EXE="$FLAGS_EXE -nologo -Oityb1 -MT -D_CRT_SECURE_NO_DEPRECATE"
21902 #else if test "$C_COMP_WATCOMC" = yes; then
21903 #else if test "$C_COMP_BORLANDC" = yes; then
21905 else
21907 ########## Need to guess the C compiler from the OS...
21909 case "$target_os" in
21911 solaris*) ########## Probably using the Sun Workshop C/C++ compiler...
21913 # debugging options:
21914 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
21915 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
21916 if test "${DASH_g+set}" = set; then
21917 $as_echo_n "(cached) " >&6
21918 else
21920 rm -f conftest.$ac_ext
21921 cat >conftest.$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21924 main ()
21926 return 0;
21928 _ACEOF
21929 ac_test_CFLAGS=${CFLAGS+set}
21930 ac_test_CXXFLAGS=${CXXFLAGS+set}
21931 ac_save_CFLAGS=$CFLAGS
21932 ac_save_CXXFLAGS=$CXXFLAGS
21933 CFLAGS="-g"
21934 CXXFLAGS="-g"
21935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21936 (eval $ac_link) 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; then
21940 DASH_g=" -g"
21941 else
21942 DASH_g=""
21944 if test "$ac_test_CFLAGS" = set; then
21945 CFLAGS=$ac_save_CFLAGS
21947 if test "$ac_test_CXXFLAGS" = set; then
21948 CXXFLAGS=$ac_save_CXXFLAGS
21952 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
21953 $as_echo "$DASH_g" >&6; }
21955 # profiling options:
21956 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
21957 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
21958 if test "${DASH_p+set}" = set; then
21959 $as_echo_n "(cached) " >&6
21960 else
21962 rm -f conftest.$ac_ext
21963 cat >conftest.$ac_ext <<_ACEOF
21964 #line $LINENO "configure"
21966 main ()
21968 return 0;
21970 _ACEOF
21971 ac_test_CFLAGS=${CFLAGS+set}
21972 ac_test_CXXFLAGS=${CXXFLAGS+set}
21973 ac_save_CFLAGS=$CFLAGS
21974 ac_save_CXXFLAGS=$CXXFLAGS
21975 CFLAGS="-p"
21976 CXXFLAGS="-p"
21977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21978 (eval $ac_link) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; then
21982 DASH_p=" -p"
21983 else
21984 DASH_p=""
21986 if test "$ac_test_CFLAGS" = set; then
21987 CFLAGS=$ac_save_CFLAGS
21989 if test "$ac_test_CXXFLAGS" = set; then
21990 CXXFLAGS=$ac_save_CXXFLAGS
21994 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
21995 $as_echo "$DASH_p" >&6; }
21997 # optimization options:
21998 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -xO2" >&5
21999 $as_echo_n "checking whether $C_COMPILER accepts -xO2... " >&6; }
22000 if test "${DASH_xO2+set}" = set; then
22001 $as_echo_n "(cached) " >&6
22002 else
22004 rm -f conftest.$ac_ext
22005 cat >conftest.$ac_ext <<_ACEOF
22006 #line $LINENO "configure"
22008 main ()
22010 return 0;
22012 _ACEOF
22013 ac_test_CFLAGS=${CFLAGS+set}
22014 ac_test_CXXFLAGS=${CXXFLAGS+set}
22015 ac_save_CFLAGS=$CFLAGS
22016 ac_save_CXXFLAGS=$CXXFLAGS
22017 CFLAGS="-xO2"
22018 CXXFLAGS="-xO2"
22019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22020 (eval $ac_link) 2>&5
22021 ac_status=$?
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; then
22024 DASH_xO2=" -xO2"
22025 else
22026 DASH_xO2=""
22028 if test "$ac_test_CFLAGS" = set; then
22029 CFLAGS=$ac_save_CFLAGS
22031 if test "$ac_test_CXXFLAGS" = set; then
22032 CXXFLAGS=$ac_save_CXXFLAGS
22036 { $as_echo "$as_me:$LINENO: result: $DASH_xO2" >&5
22037 $as_echo "$DASH_xO2" >&6; }
22039 # code generation options:
22040 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -KPIC" >&5
22041 $as_echo_n "checking whether $C_COMPILER accepts -KPIC... " >&6; }
22042 if test "${DASH_KPIC+set}" = set; then
22043 $as_echo_n "(cached) " >&6
22044 else
22046 rm -f conftest.$ac_ext
22047 cat >conftest.$ac_ext <<_ACEOF
22048 #line $LINENO "configure"
22050 main ()
22052 return 0;
22054 _ACEOF
22055 ac_test_CFLAGS=${CFLAGS+set}
22056 ac_test_CXXFLAGS=${CXXFLAGS+set}
22057 ac_save_CFLAGS=$CFLAGS
22058 ac_save_CXXFLAGS=$CXXFLAGS
22059 CFLAGS="-KPIC"
22060 CXXFLAGS="-KPIC"
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062 (eval $ac_link) 2>&5
22063 ac_status=$?
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; then
22066 DASH_KPIC=" -KPIC"
22067 else
22068 DASH_KPIC=""
22070 if test "$ac_test_CFLAGS" = set; then
22071 CFLAGS=$ac_save_CFLAGS
22073 if test "$ac_test_CXXFLAGS" = set; then
22074 CXXFLAGS=$ac_save_CXXFLAGS
22078 { $as_echo "$as_me:$LINENO: result: $DASH_KPIC" >&5
22079 $as_echo "$DASH_KPIC" >&6; }
22081 # linking options:
22082 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -G" >&5
22083 $as_echo_n "checking whether $C_COMPILER accepts -G... " >&6; }
22084 if test "${DASH_G+set}" = set; then
22085 $as_echo_n "(cached) " >&6
22086 else
22088 rm -f conftest.$ac_ext
22089 cat >conftest.$ac_ext <<_ACEOF
22090 #line $LINENO "configure"
22092 main ()
22094 return 0;
22096 _ACEOF
22097 ac_test_CFLAGS=${CFLAGS+set}
22098 ac_test_CXXFLAGS=${CXXFLAGS+set}
22099 ac_save_CFLAGS=$CFLAGS
22100 ac_save_CXXFLAGS=$CXXFLAGS
22101 CFLAGS="-G"
22102 CXXFLAGS="-G"
22103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 (eval $ac_link) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; then
22108 DASH_G=" -G"
22109 else
22110 DASH_G=""
22112 if test "$ac_test_CFLAGS" = set; then
22113 CFLAGS=$ac_save_CFLAGS
22115 if test "$ac_test_CXXFLAGS" = set; then
22116 CXXFLAGS=$ac_save_CXXFLAGS
22120 { $as_echo "$as_me:$LINENO: result: $DASH_G" >&5
22121 $as_echo "$DASH_G" >&6; }
22123 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22125 if test "$ENABLE_DEBUG" = yes; then
22126 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
22127 FLAGS_DYN="$FLAGS_DYN$DASH_g"
22130 if test "$ENABLE_PROFILE" = yes; then
22131 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
22132 FLAGS_DYN="$FLAGS_DYN$DASH_p"
22133 FLAGS_LIB="$FLAGS_LIB$DASH_p"
22134 FLAGS_EXE="$FLAGS_EXE$DASH_p"
22137 if test "$ENABLE_DEBUG" != yes; then
22138 FLAGS_OBJ="$FLAGS_OBJ$DASH_xO2"
22139 FLAGS_DYN="$FLAGS_DYN$DASH_xO2"
22142 FLAGS_OBJ="$FLAGS_OBJ$DASH_KPIC"
22143 FLAGS_DYN="$FLAGS_DYN$DASH_KPIC"
22145 FLAGS_DYN="$FLAGS_DYN$DASH_G"
22146 FLAGS_LIB="$FLAGS_LIB$DASH_G"
22149 osf*) ########## Probably using the Compaq Tru64 UNIX C/C++ compiler...
22151 # debugging options:
22152 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22153 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22154 if test "${DASH_g+set}" = set; then
22155 $as_echo_n "(cached) " >&6
22156 else
22158 rm -f conftest.$ac_ext
22159 cat >conftest.$ac_ext <<_ACEOF
22160 #line $LINENO "configure"
22162 main ()
22164 return 0;
22166 _ACEOF
22167 ac_test_CFLAGS=${CFLAGS+set}
22168 ac_test_CXXFLAGS=${CXXFLAGS+set}
22169 ac_save_CFLAGS=$CFLAGS
22170 ac_save_CXXFLAGS=$CXXFLAGS
22171 CFLAGS="-g"
22172 CXXFLAGS="-g"
22173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22174 (eval $ac_link) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; then
22178 DASH_g=" -g"
22179 else
22180 DASH_g=""
22182 if test "$ac_test_CFLAGS" = set; then
22183 CFLAGS=$ac_save_CFLAGS
22185 if test "$ac_test_CXXFLAGS" = set; then
22186 CXXFLAGS=$ac_save_CXXFLAGS
22190 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22191 $as_echo "$DASH_g" >&6; }
22193 # profiling options:
22194 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
22195 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
22196 if test "${DASH_p+set}" = set; then
22197 $as_echo_n "(cached) " >&6
22198 else
22200 rm -f conftest.$ac_ext
22201 cat >conftest.$ac_ext <<_ACEOF
22202 #line $LINENO "configure"
22204 main ()
22206 return 0;
22208 _ACEOF
22209 ac_test_CFLAGS=${CFLAGS+set}
22210 ac_test_CXXFLAGS=${CXXFLAGS+set}
22211 ac_save_CFLAGS=$CFLAGS
22212 ac_save_CXXFLAGS=$CXXFLAGS
22213 CFLAGS="-p"
22214 CXXFLAGS="-p"
22215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22216 (eval $ac_link) 2>&5
22217 ac_status=$?
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; then
22220 DASH_p=" -p"
22221 else
22222 DASH_p=""
22224 if test "$ac_test_CFLAGS" = set; then
22225 CFLAGS=$ac_save_CFLAGS
22227 if test "$ac_test_CXXFLAGS" = set; then
22228 CXXFLAGS=$ac_save_CXXFLAGS
22232 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
22233 $as_echo "$DASH_p" >&6; }
22235 # optimization options:
22236 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O2" >&5
22237 $as_echo_n "checking whether $C_COMPILER accepts -O2... " >&6; }
22238 if test "${DASH_O2+set}" = set; then
22239 $as_echo_n "(cached) " >&6
22240 else
22242 rm -f conftest.$ac_ext
22243 cat >conftest.$ac_ext <<_ACEOF
22244 #line $LINENO "configure"
22246 main ()
22248 return 0;
22250 _ACEOF
22251 ac_test_CFLAGS=${CFLAGS+set}
22252 ac_test_CXXFLAGS=${CXXFLAGS+set}
22253 ac_save_CFLAGS=$CFLAGS
22254 ac_save_CXXFLAGS=$CXXFLAGS
22255 CFLAGS="-O2"
22256 CXXFLAGS="-O2"
22257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258 (eval $ac_link) 2>&5
22259 ac_status=$?
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; then
22262 DASH_O2=" -O2"
22263 else
22264 DASH_O2=""
22266 if test "$ac_test_CFLAGS" = set; then
22267 CFLAGS=$ac_save_CFLAGS
22269 if test "$ac_test_CXXFLAGS" = set; then
22270 CXXFLAGS=$ac_save_CXXFLAGS
22274 { $as_echo "$as_me:$LINENO: result: $DASH_O2" >&5
22275 $as_echo "$DASH_O2" >&6; }
22277 # code generation options:
22278 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -ieee" >&5
22279 $as_echo_n "checking whether $C_COMPILER accepts -ieee... " >&6; }
22280 if test "${DASH_ieee+set}" = set; then
22281 $as_echo_n "(cached) " >&6
22282 else
22284 rm -f conftest.$ac_ext
22285 cat >conftest.$ac_ext <<_ACEOF
22286 #line $LINENO "configure"
22288 main ()
22290 return 0;
22292 _ACEOF
22293 ac_test_CFLAGS=${CFLAGS+set}
22294 ac_test_CXXFLAGS=${CXXFLAGS+set}
22295 ac_save_CFLAGS=$CFLAGS
22296 ac_save_CXXFLAGS=$CXXFLAGS
22297 CFLAGS="-ieee"
22298 CXXFLAGS="-ieee"
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>&5
22301 ac_status=$?
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); }; then
22304 DASH_ieee=" -ieee"
22305 else
22306 DASH_ieee=""
22308 if test "$ac_test_CFLAGS" = set; then
22309 CFLAGS=$ac_save_CFLAGS
22311 if test "$ac_test_CXXFLAGS" = set; then
22312 CXXFLAGS=$ac_save_CXXFLAGS
22316 { $as_echo "$as_me:$LINENO: result: $DASH_ieee" >&5
22317 $as_echo "$DASH_ieee" >&6; }
22318 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -call_shared" >&5
22319 $as_echo_n "checking whether $C_COMPILER accepts -call_shared... " >&6; }
22320 if test "${DASH_call_shared+set}" = set; then
22321 $as_echo_n "(cached) " >&6
22322 else
22324 rm -f conftest.$ac_ext
22325 cat >conftest.$ac_ext <<_ACEOF
22326 #line $LINENO "configure"
22328 main ()
22330 return 0;
22332 _ACEOF
22333 ac_test_CFLAGS=${CFLAGS+set}
22334 ac_test_CXXFLAGS=${CXXFLAGS+set}
22335 ac_save_CFLAGS=$CFLAGS
22336 ac_save_CXXFLAGS=$CXXFLAGS
22337 CFLAGS="-call_shared"
22338 CXXFLAGS="-call_shared"
22339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22340 (eval $ac_link) 2>&5
22341 ac_status=$?
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); }; then
22344 DASH_call_shared=" -call_shared"
22345 else
22346 DASH_call_shared=""
22348 if test "$ac_test_CFLAGS" = set; then
22349 CFLAGS=$ac_save_CFLAGS
22351 if test "$ac_test_CXXFLAGS" = set; then
22352 CXXFLAGS=$ac_save_CXXFLAGS
22356 { $as_echo "$as_me:$LINENO: result: $DASH_call_shared" >&5
22357 $as_echo "$DASH_call_shared" >&6; }
22358 #AC_CHECK_C_COMPILER_OPT(-taso,DASH_taso)
22360 # linking options:
22361 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
22362 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
22363 if test "${DASH_shared+set}" = set; then
22364 $as_echo_n "(cached) " >&6
22365 else
22367 rm -f conftest.$ac_ext
22368 cat >conftest.$ac_ext <<_ACEOF
22369 #line $LINENO "configure"
22371 main ()
22373 return 0;
22375 _ACEOF
22376 ac_test_CFLAGS=${CFLAGS+set}
22377 ac_test_CXXFLAGS=${CXXFLAGS+set}
22378 ac_save_CFLAGS=$CFLAGS
22379 ac_save_CXXFLAGS=$CXXFLAGS
22380 CFLAGS="-shared"
22381 CXXFLAGS="-shared"
22382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22383 (eval $ac_link) 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; then
22387 DASH_shared=" -shared"
22388 else
22389 DASH_shared=""
22391 if test "$ac_test_CFLAGS" = set; then
22392 CFLAGS=$ac_save_CFLAGS
22394 if test "$ac_test_CXXFLAGS" = set; then
22395 CXXFLAGS=$ac_save_CXXFLAGS
22399 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
22400 $as_echo "$DASH_shared" >&6; }
22401 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -expect_unresolved" >&5
22402 $as_echo_n "checking whether $C_COMPILER accepts -expect_unresolved... " >&6; }
22403 if test "${DASH_expect_unresolved+set}" = set; then
22404 $as_echo_n "(cached) " >&6
22405 else
22407 rm -f conftest.$ac_ext
22408 cat >conftest.$ac_ext <<_ACEOF
22409 #line $LINENO "configure"
22411 main ()
22413 return 0;
22415 _ACEOF
22416 ac_test_CFLAGS=${CFLAGS+set}
22417 ac_test_CXXFLAGS=${CXXFLAGS+set}
22418 ac_save_CFLAGS=$CFLAGS
22419 ac_save_CXXFLAGS=$CXXFLAGS
22420 CFLAGS="-expect_unresolved"
22421 CXXFLAGS="-expect_unresolved"
22422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22423 (eval $ac_link) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; then
22427 DASH_expect_unresolved=" -expect_unresolved"
22428 else
22429 DASH_expect_unresolved=""
22431 if test "$ac_test_CFLAGS" = set; then
22432 CFLAGS=$ac_save_CFLAGS
22434 if test "$ac_test_CXXFLAGS" = set; then
22435 CXXFLAGS=$ac_save_CXXFLAGS
22439 { $as_echo "$as_me:$LINENO: result: $DASH_expect_unresolved" >&5
22440 $as_echo "$DASH_expect_unresolved" >&6; }
22442 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22444 if test "$ENABLE_DEBUG" = yes; then
22445 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
22446 FLAGS_DYN="$FLAGS_DYN$DASH_g"
22449 if test "$ENABLE_PROFILE" = yes; then
22450 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
22451 FLAGS_DYN="$FLAGS_DYN$DASH_p"
22452 FLAGS_LIB="$FLAGS_LIB$DASH_p"
22453 FLAGS_EXE="$FLAGS_EXE$DASH_p"
22456 if test "$ENABLE_DEBUG" != yes; then
22457 FLAGS_OBJ="$FLAGS_OBJ$DASH_O2"
22458 FLAGS_DYN="$FLAGS_DYN$DASH_O2"
22461 FLAGS_OBJ="$FLAGS_OBJ$DASH_ieee$DASH_call_shared"
22462 FLAGS_DYN="$FLAGS_DYN$DASH_ieee$DASH_call_shared"
22464 FLAGS_DYN="$FLAGS_DYN$DASH_shared$DASH_expect_unresolved"
22465 FLAGS_LIB="$FLAGS_LIB$DASH_shared$DASH_expect_unresolved"
22468 irix*) ########## Probably using the MIPSpro C/C++ compiler...
22470 # debugging options:
22471 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fullwarn" >&5
22472 $as_echo_n "checking whether $C_COMPILER accepts -fullwarn... " >&6; }
22473 if test "${DASH_fullwarn+set}" = set; then
22474 $as_echo_n "(cached) " >&6
22475 else
22477 rm -f conftest.$ac_ext
22478 cat >conftest.$ac_ext <<_ACEOF
22479 #line $LINENO "configure"
22481 main ()
22483 return 0;
22485 _ACEOF
22486 ac_test_CFLAGS=${CFLAGS+set}
22487 ac_test_CXXFLAGS=${CXXFLAGS+set}
22488 ac_save_CFLAGS=$CFLAGS
22489 ac_save_CXXFLAGS=$CXXFLAGS
22490 CFLAGS="-fullwarn"
22491 CXXFLAGS="-fullwarn"
22492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22493 (eval $ac_link) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; then
22497 DASH_fullwarn=" -fullwarn"
22498 else
22499 DASH_fullwarn=""
22501 if test "$ac_test_CFLAGS" = set; then
22502 CFLAGS=$ac_save_CFLAGS
22504 if test "$ac_test_CXXFLAGS" = set; then
22505 CXXFLAGS=$ac_save_CXXFLAGS
22509 { $as_echo "$as_me:$LINENO: result: $DASH_fullwarn" >&5
22510 $as_echo "$DASH_fullwarn" >&6; }
22511 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -woff 1110,1174,1209,1552,3201" >&5
22512 $as_echo_n "checking whether $C_COMPILER accepts -woff 1110,1174,1209,1552,3201... " >&6; }
22513 if test "${DASH_woff_1110_1174_1209_1552_3201+set}" = set; then
22514 $as_echo_n "(cached) " >&6
22515 else
22517 rm -f conftest.$ac_ext
22518 cat >conftest.$ac_ext <<_ACEOF
22519 #line $LINENO "configure"
22521 main ()
22523 return 0;
22525 _ACEOF
22526 ac_test_CFLAGS=${CFLAGS+set}
22527 ac_test_CXXFLAGS=${CXXFLAGS+set}
22528 ac_save_CFLAGS=$CFLAGS
22529 ac_save_CXXFLAGS=$CXXFLAGS
22530 CFLAGS="-woff 1110,1174,1209,1552,3201"
22531 CXXFLAGS="-woff 1110,1174,1209,1552,3201"
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; then
22537 DASH_woff_1110_1174_1209_1552_3201=" -woff 1110,1174,1209,1552,3201"
22538 else
22539 DASH_woff_1110_1174_1209_1552_3201=""
22541 if test "$ac_test_CFLAGS" = set; then
22542 CFLAGS=$ac_save_CFLAGS
22544 if test "$ac_test_CXXFLAGS" = set; then
22545 CXXFLAGS=$ac_save_CXXFLAGS
22549 { $as_echo "$as_me:$LINENO: result: $DASH_woff_1110_1174_1209_1552_3201" >&5
22550 $as_echo "$DASH_woff_1110_1174_1209_1552_3201" >&6; }
22551 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22552 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22553 if test "${DASH_g+set}" = set; then
22554 $as_echo_n "(cached) " >&6
22555 else
22557 rm -f conftest.$ac_ext
22558 cat >conftest.$ac_ext <<_ACEOF
22559 #line $LINENO "configure"
22561 main ()
22563 return 0;
22565 _ACEOF
22566 ac_test_CFLAGS=${CFLAGS+set}
22567 ac_test_CXXFLAGS=${CXXFLAGS+set}
22568 ac_save_CFLAGS=$CFLAGS
22569 ac_save_CXXFLAGS=$CXXFLAGS
22570 CFLAGS="-g"
22571 CXXFLAGS="-g"
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; then
22577 DASH_g=" -g"
22578 else
22579 DASH_g=""
22581 if test "$ac_test_CFLAGS" = set; then
22582 CFLAGS=$ac_save_CFLAGS
22584 if test "$ac_test_CXXFLAGS" = set; then
22585 CXXFLAGS=$ac_save_CXXFLAGS
22589 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22590 $as_echo "$DASH_g" >&6; }
22592 # optimization options:
22593 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
22594 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
22595 if test "${DASH_O1+set}" = set; then
22596 $as_echo_n "(cached) " >&6
22597 else
22599 rm -f conftest.$ac_ext
22600 cat >conftest.$ac_ext <<_ACEOF
22601 #line $LINENO "configure"
22603 main ()
22605 return 0;
22607 _ACEOF
22608 ac_test_CFLAGS=${CFLAGS+set}
22609 ac_test_CXXFLAGS=${CXXFLAGS+set}
22610 ac_save_CFLAGS=$CFLAGS
22611 ac_save_CXXFLAGS=$CXXFLAGS
22612 CFLAGS="-O1"
22613 CXXFLAGS="-O1"
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>&5
22616 ac_status=$?
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; then
22619 DASH_O1=" -O1"
22620 else
22621 DASH_O1=""
22623 if test "$ac_test_CFLAGS" = set; then
22624 CFLAGS=$ac_save_CFLAGS
22626 if test "$ac_test_CXXFLAGS" = set; then
22627 CXXFLAGS=$ac_save_CXXFLAGS
22631 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
22632 $as_echo "$DASH_O1" >&6; }
22633 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:Olimit=0" >&5
22634 $as_echo_n "checking whether $C_COMPILER accepts -OPT:Olimit=0... " >&6; }
22635 if test "${DASH_OPT_Olimit_0+set}" = set; then
22636 $as_echo_n "(cached) " >&6
22637 else
22639 rm -f conftest.$ac_ext
22640 cat >conftest.$ac_ext <<_ACEOF
22641 #line $LINENO "configure"
22643 main ()
22645 return 0;
22647 _ACEOF
22648 ac_test_CFLAGS=${CFLAGS+set}
22649 ac_test_CXXFLAGS=${CXXFLAGS+set}
22650 ac_save_CFLAGS=$CFLAGS
22651 ac_save_CXXFLAGS=$CXXFLAGS
22652 CFLAGS="-OPT:Olimit=0"
22653 CXXFLAGS="-OPT:Olimit=0"
22654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22655 (eval $ac_link) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; then
22659 DASH_OPT_Olimit_0=" -OPT:Olimit=0"
22660 else
22661 DASH_OPT_Olimit_0=""
22663 if test "$ac_test_CFLAGS" = set; then
22664 CFLAGS=$ac_save_CFLAGS
22666 if test "$ac_test_CXXFLAGS" = set; then
22667 CXXFLAGS=$ac_save_CXXFLAGS
22671 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_Olimit_0" >&5
22672 $as_echo "$DASH_OPT_Olimit_0" >&6; }
22674 # code generation options:
22675 #AC_CHECK_C_COMPILER_OPT(-KPIC,DASH_KPIC)
22676 #AC_CHECK_C_COMPILER_OPT(-non_shared,DASH_non_shared)
22677 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -TENV:large_GOT" >&5
22678 $as_echo_n "checking whether $C_COMPILER accepts -TENV:large_GOT... " >&6; }
22679 if test "${DASH_TENV_large_GOT+set}" = set; then
22680 $as_echo_n "(cached) " >&6
22681 else
22683 rm -f conftest.$ac_ext
22684 cat >conftest.$ac_ext <<_ACEOF
22685 #line $LINENO "configure"
22687 main ()
22689 return 0;
22691 _ACEOF
22692 ac_test_CFLAGS=${CFLAGS+set}
22693 ac_test_CXXFLAGS=${CXXFLAGS+set}
22694 ac_save_CFLAGS=$CFLAGS
22695 ac_save_CXXFLAGS=$CXXFLAGS
22696 CFLAGS="-TENV:large_GOT"
22697 CXXFLAGS="-TENV:large_GOT"
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; then
22703 DASH_TENV_large_GOT=" -TENV:large_GOT"
22704 else
22705 DASH_TENV_large_GOT=""
22707 if test "$ac_test_CFLAGS" = set; then
22708 CFLAGS=$ac_save_CFLAGS
22710 if test "$ac_test_CXXFLAGS" = set; then
22711 CXXFLAGS=$ac_save_CXXFLAGS
22715 { $as_echo "$as_me:$LINENO: result: $DASH_TENV_large_GOT" >&5
22716 $as_echo "$DASH_TENV_large_GOT" >&6; }
22717 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:IEEE_comparisons=ON" >&5
22718 $as_echo_n "checking whether $C_COMPILER accepts -OPT:IEEE_comparisons=ON... " >&6; }
22719 if test "${DASH_OPT_IEEE_comparisons_ON+set}" = set; then
22720 $as_echo_n "(cached) " >&6
22721 else
22723 rm -f conftest.$ac_ext
22724 cat >conftest.$ac_ext <<_ACEOF
22725 #line $LINENO "configure"
22727 main ()
22729 return 0;
22731 _ACEOF
22732 ac_test_CFLAGS=${CFLAGS+set}
22733 ac_test_CXXFLAGS=${CXXFLAGS+set}
22734 ac_save_CFLAGS=$CFLAGS
22735 ac_save_CXXFLAGS=$CXXFLAGS
22736 CFLAGS="-OPT:IEEE_comparisons=ON"
22737 CXXFLAGS="-OPT:IEEE_comparisons=ON"
22738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22739 (eval $ac_link) 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; then
22743 DASH_OPT_IEEE_comparisons_ON=" -OPT:IEEE_comparisons=ON"
22744 else
22745 DASH_OPT_IEEE_comparisons_ON=""
22747 if test "$ac_test_CFLAGS" = set; then
22748 CFLAGS=$ac_save_CFLAGS
22750 if test "$ac_test_CXXFLAGS" = set; then
22751 CXXFLAGS=$ac_save_CXXFLAGS
22755 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_IEEE_comparisons_ON" >&5
22756 $as_echo "$DASH_OPT_IEEE_comparisons_ON" >&6; }
22757 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:IEEE_NaN_inf=ON" >&5
22758 $as_echo_n "checking whether $C_COMPILER accepts -OPT:IEEE_NaN_inf=ON... " >&6; }
22759 if test "${DASH_OPT_IEEE_NaN_inf_ON+set}" = set; then
22760 $as_echo_n "(cached) " >&6
22761 else
22763 rm -f conftest.$ac_ext
22764 cat >conftest.$ac_ext <<_ACEOF
22765 #line $LINENO "configure"
22767 main ()
22769 return 0;
22771 _ACEOF
22772 ac_test_CFLAGS=${CFLAGS+set}
22773 ac_test_CXXFLAGS=${CXXFLAGS+set}
22774 ac_save_CFLAGS=$CFLAGS
22775 ac_save_CXXFLAGS=$CXXFLAGS
22776 CFLAGS="-OPT:IEEE_NaN_inf=ON"
22777 CXXFLAGS="-OPT:IEEE_NaN_inf=ON"
22778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22779 (eval $ac_link) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; then
22783 DASH_OPT_IEEE_NaN_inf_ON=" -OPT:IEEE_NaN_inf=ON"
22784 else
22785 DASH_OPT_IEEE_NaN_inf_ON=""
22787 if test "$ac_test_CFLAGS" = set; then
22788 CFLAGS=$ac_save_CFLAGS
22790 if test "$ac_test_CXXFLAGS" = set; then
22791 CXXFLAGS=$ac_save_CXXFLAGS
22795 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_IEEE_NaN_inf_ON" >&5
22796 $as_echo "$DASH_OPT_IEEE_NaN_inf_ON" >&6; }
22798 # linking options:
22799 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
22800 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
22801 if test "${DASH_shared+set}" = set; then
22802 $as_echo_n "(cached) " >&6
22803 else
22805 rm -f conftest.$ac_ext
22806 cat >conftest.$ac_ext <<_ACEOF
22807 #line $LINENO "configure"
22809 main ()
22811 return 0;
22813 _ACEOF
22814 ac_test_CFLAGS=${CFLAGS+set}
22815 ac_test_CXXFLAGS=${CXXFLAGS+set}
22816 ac_save_CFLAGS=$CFLAGS
22817 ac_save_CXXFLAGS=$CXXFLAGS
22818 CFLAGS="-shared"
22819 CXXFLAGS="-shared"
22820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22821 (eval $ac_link) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; then
22825 DASH_shared=" -shared"
22826 else
22827 DASH_shared=""
22829 if test "$ac_test_CFLAGS" = set; then
22830 CFLAGS=$ac_save_CFLAGS
22832 if test "$ac_test_CXXFLAGS" = set; then
22833 CXXFLAGS=$ac_save_CXXFLAGS
22837 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
22838 $as_echo "$DASH_shared" >&6; }
22840 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22842 FLAGS_OBJ="$FLAGS_OBJ$DASH_fullwarn$DASH_woff_1110_1174_1209_1552_3201"
22843 FLAGS_DYN="$FLAGS_DYN$DASH_fullwarn$DASH_woff_1110_1174_1209_1552_3201"
22845 if test "$ENABLE_DEBUG" = yes; then
22846 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
22847 FLAGS_DYN="$FLAGS_DYN$DASH_g"
22850 if test "$ENABLE_DEBUG" != yes; then
22851 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1$DASH_OPT_Olimit_0"
22852 FLAGS_DYN="$FLAGS_DYN$DASH_O1$DASH_OPT_Olimit_0"
22855 FLAGS_OBJ="$FLAGS_OBJ$DASH_TENV_large_GOT$DASH_OPT_IEEE_comparisons_ON$DASH_OPT_IEEE_NaN_inf_ON"
22856 FLAGS_DYN="$FLAGS_DYN$DASH_TENV_large_GOT$DASH_OPT_IEEE_comparisons_ON$DASH_OPT_IEEE_NaN_inf_ON"
22858 FLAGS_DYN="$FLAGS_DYN$DASH_shared"
22859 FLAGS_LIB="$FLAGS_LIB$DASH_shared"
22862 hpux*) ########## Probably using the HP-UX compiler...
22864 # debugging options:
22865 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22866 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22867 if test "${DASH_g+set}" = set; then
22868 $as_echo_n "(cached) " >&6
22869 else
22871 rm -f conftest.$ac_ext
22872 cat >conftest.$ac_ext <<_ACEOF
22873 #line $LINENO "configure"
22875 main ()
22877 return 0;
22879 _ACEOF
22880 ac_test_CFLAGS=${CFLAGS+set}
22881 ac_test_CXXFLAGS=${CXXFLAGS+set}
22882 ac_save_CFLAGS=$CFLAGS
22883 ac_save_CXXFLAGS=$CXXFLAGS
22884 CFLAGS="-g"
22885 CXXFLAGS="-g"
22886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22887 (eval $ac_link) 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; then
22891 DASH_g=" -g"
22892 else
22893 DASH_g=""
22895 if test "$ac_test_CFLAGS" = set; then
22896 CFLAGS=$ac_save_CFLAGS
22898 if test "$ac_test_CXXFLAGS" = set; then
22899 CXXFLAGS=$ac_save_CXXFLAGS
22903 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22904 $as_echo "$DASH_g" >&6; }
22906 # profiling options:
22907 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
22908 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
22909 if test "${DASH_p+set}" = set; then
22910 $as_echo_n "(cached) " >&6
22911 else
22913 rm -f conftest.$ac_ext
22914 cat >conftest.$ac_ext <<_ACEOF
22915 #line $LINENO "configure"
22917 main ()
22919 return 0;
22921 _ACEOF
22922 ac_test_CFLAGS=${CFLAGS+set}
22923 ac_test_CXXFLAGS=${CXXFLAGS+set}
22924 ac_save_CFLAGS=$CFLAGS
22925 ac_save_CXXFLAGS=$CXXFLAGS
22926 CFLAGS="-p"
22927 CXXFLAGS="-p"
22928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22929 (eval $ac_link) 2>&5
22930 ac_status=$?
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; then
22933 DASH_p=" -p"
22934 else
22935 DASH_p=""
22937 if test "$ac_test_CFLAGS" = set; then
22938 CFLAGS=$ac_save_CFLAGS
22940 if test "$ac_test_CXXFLAGS" = set; then
22941 CXXFLAGS=$ac_save_CXXFLAGS
22945 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
22946 $as_echo "$DASH_p" >&6; }
22948 # optimization options:
22949 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
22950 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
22951 if test "${DASH_O1+set}" = set; then
22952 $as_echo_n "(cached) " >&6
22953 else
22955 rm -f conftest.$ac_ext
22956 cat >conftest.$ac_ext <<_ACEOF
22957 #line $LINENO "configure"
22959 main ()
22961 return 0;
22963 _ACEOF
22964 ac_test_CFLAGS=${CFLAGS+set}
22965 ac_test_CXXFLAGS=${CXXFLAGS+set}
22966 ac_save_CFLAGS=$CFLAGS
22967 ac_save_CXXFLAGS=$CXXFLAGS
22968 CFLAGS="-O1"
22969 CXXFLAGS="-O1"
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); }; then
22975 DASH_O1=" -O1"
22976 else
22977 DASH_O1=""
22979 if test "$ac_test_CFLAGS" = set; then
22980 CFLAGS=$ac_save_CFLAGS
22982 if test "$ac_test_CXXFLAGS" = set; then
22983 CXXFLAGS=$ac_save_CXXFLAGS
22987 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
22988 $as_echo "$DASH_O1" >&6; }
22990 # linking options:
22991 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -b" >&5
22992 $as_echo_n "checking whether $C_COMPILER accepts -b... " >&6; }
22993 if test "${DASH_b+set}" = set; then
22994 $as_echo_n "(cached) " >&6
22995 else
22997 rm -f conftest.$ac_ext
22998 cat >conftest.$ac_ext <<_ACEOF
22999 #line $LINENO "configure"
23001 main ()
23003 return 0;
23005 _ACEOF
23006 ac_test_CFLAGS=${CFLAGS+set}
23007 ac_test_CXXFLAGS=${CXXFLAGS+set}
23008 ac_save_CFLAGS=$CFLAGS
23009 ac_save_CXXFLAGS=$CXXFLAGS
23010 CFLAGS="-b"
23011 CXXFLAGS="-b"
23012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23013 (eval $ac_link) 2>&5
23014 ac_status=$?
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; then
23017 DASH_b=" -b"
23018 else
23019 DASH_b=""
23021 if test "$ac_test_CFLAGS" = set; then
23022 CFLAGS=$ac_save_CFLAGS
23024 if test "$ac_test_CXXFLAGS" = set; then
23025 CXXFLAGS=$ac_save_CXXFLAGS
23029 { $as_echo "$as_me:$LINENO: result: $DASH_b" >&5
23030 $as_echo "$DASH_b" >&6; }
23032 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23034 if test "$ENABLE_DEBUG" = yes; then
23035 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
23036 FLAGS_DYN="$FLAGS_DYN$DASH_g"
23039 if test "$ENABLE_PROFILE" = yes; then
23040 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
23041 FLAGS_DYN="$FLAGS_DYN$DASH_p"
23042 FLAGS_LIB="$FLAGS_LIB$DASH_p"
23043 FLAGS_EXE="$FLAGS_EXE$DASH_p"
23046 if test "$ENABLE_DEBUG" != yes; then
23047 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1"
23048 FLAGS_DYN="$FLAGS_DYN$DASH_O1"
23051 FLAGS_DYN="$FLAGS_DYN$DASH_b"
23052 FLAGS_LIB="$FLAGS_LIB$DASH_b"
23055 aix*) ########## Probably using the AIX xlC compiler...
23057 # debugging options:
23058 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
23059 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
23060 if test "${DASH_g+set}" = set; then
23061 $as_echo_n "(cached) " >&6
23062 else
23064 rm -f conftest.$ac_ext
23065 cat >conftest.$ac_ext <<_ACEOF
23066 #line $LINENO "configure"
23068 main ()
23070 return 0;
23072 _ACEOF
23073 ac_test_CFLAGS=${CFLAGS+set}
23074 ac_test_CXXFLAGS=${CXXFLAGS+set}
23075 ac_save_CFLAGS=$CFLAGS
23076 ac_save_CXXFLAGS=$CXXFLAGS
23077 CFLAGS="-g"
23078 CXXFLAGS="-g"
23079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23080 (eval $ac_link) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; then
23084 DASH_g=" -g"
23085 else
23086 DASH_g=""
23088 if test "$ac_test_CFLAGS" = set; then
23089 CFLAGS=$ac_save_CFLAGS
23091 if test "$ac_test_CXXFLAGS" = set; then
23092 CXXFLAGS=$ac_save_CXXFLAGS
23096 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
23097 $as_echo "$DASH_g" >&6; }
23099 # profiling options:
23100 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
23101 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
23102 if test "${DASH_p+set}" = set; then
23103 $as_echo_n "(cached) " >&6
23104 else
23106 rm -f conftest.$ac_ext
23107 cat >conftest.$ac_ext <<_ACEOF
23108 #line $LINENO "configure"
23110 main ()
23112 return 0;
23114 _ACEOF
23115 ac_test_CFLAGS=${CFLAGS+set}
23116 ac_test_CXXFLAGS=${CXXFLAGS+set}
23117 ac_save_CFLAGS=$CFLAGS
23118 ac_save_CXXFLAGS=$CXXFLAGS
23119 CFLAGS="-p"
23120 CXXFLAGS="-p"
23121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23122 (eval $ac_link) 2>&5
23123 ac_status=$?
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); }; then
23126 DASH_p=" -p"
23127 else
23128 DASH_p=""
23130 if test "$ac_test_CFLAGS" = set; then
23131 CFLAGS=$ac_save_CFLAGS
23133 if test "$ac_test_CXXFLAGS" = set; then
23134 CXXFLAGS=$ac_save_CXXFLAGS
23138 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
23139 $as_echo "$DASH_p" >&6; }
23141 # optimization options:
23142 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
23143 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
23144 if test "${DASH_O1+set}" = set; then
23145 $as_echo_n "(cached) " >&6
23146 else
23148 rm -f conftest.$ac_ext
23149 cat >conftest.$ac_ext <<_ACEOF
23150 #line $LINENO "configure"
23152 main ()
23154 return 0;
23156 _ACEOF
23157 ac_test_CFLAGS=${CFLAGS+set}
23158 ac_test_CXXFLAGS=${CXXFLAGS+set}
23159 ac_save_CFLAGS=$CFLAGS
23160 ac_save_CXXFLAGS=$CXXFLAGS
23161 CFLAGS="-O1"
23162 CXXFLAGS="-O1"
23163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23164 (eval $ac_link) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; then
23168 DASH_O1=" -O1"
23169 else
23170 DASH_O1=""
23172 if test "$ac_test_CFLAGS" = set; then
23173 CFLAGS=$ac_save_CFLAGS
23175 if test "$ac_test_CXXFLAGS" = set; then
23176 CXXFLAGS=$ac_save_CXXFLAGS
23180 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
23181 $as_echo "$DASH_O1" >&6; }
23183 # linking options:
23184 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -G" >&5
23185 $as_echo_n "checking whether $C_COMPILER accepts -G... " >&6; }
23186 if test "${DASH_G+set}" = set; then
23187 $as_echo_n "(cached) " >&6
23188 else
23190 rm -f conftest.$ac_ext
23191 cat >conftest.$ac_ext <<_ACEOF
23192 #line $LINENO "configure"
23194 main ()
23196 return 0;
23198 _ACEOF
23199 ac_test_CFLAGS=${CFLAGS+set}
23200 ac_test_CXXFLAGS=${CXXFLAGS+set}
23201 ac_save_CFLAGS=$CFLAGS
23202 ac_save_CXXFLAGS=$CXXFLAGS
23203 CFLAGS="-G"
23204 CXXFLAGS="-G"
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; then
23210 DASH_G=" -G"
23211 else
23212 DASH_G=""
23214 if test "$ac_test_CFLAGS" = set; then
23215 CFLAGS=$ac_save_CFLAGS
23217 if test "$ac_test_CXXFLAGS" = set; then
23218 CXXFLAGS=$ac_save_CXXFLAGS
23222 { $as_echo "$as_me:$LINENO: result: $DASH_G" >&5
23223 $as_echo "$DASH_G" >&6; }
23225 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23227 if test "$ENABLE_DEBUG" = yes; then
23228 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
23229 FLAGS_DYN="$FLAGS_DYN$DASH_g"
23232 if test "$ENABLE_PROFILE" = yes; then
23233 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
23234 FLAGS_DYN="$FLAGS_DYN$DASH_p"
23235 FLAGS_LIB="$FLAGS_LIB$DASH_p"
23236 FLAGS_EXE="$FLAGS_EXE$DASH_p"
23239 if test "$ENABLE_DEBUG" != yes; then
23240 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1"
23241 FLAGS_DYN="$FLAGS_DYN$DASH_O1"
23244 FLAGS_DYN="$FLAGS_DYN$DASH_G"
23245 FLAGS_LIB="$FLAGS_LIB$DASH_G"
23248 *) ########## Unsupported operating system
23250 { $as_echo "$as_me:$LINENO:
23251 *********************************************************************
23252 *** The GCC compiler is not being used and the operating system ***
23253 *** is not one that has been tested with the Gambit-C system. ***
23254 *** The configure script will use certain compiler options that ***
23255 *** may not be correct or sufficient for compiling the system. ***
23256 *** Please report success or failure to gambit@iro.umontreal.ca. ***
23257 *** This will help us support this operating system in the ***
23258 *** future. ***
23259 *********************************************************************
23260 " >&5
23261 $as_echo "$as_me:
23262 *********************************************************************
23263 *** The GCC compiler is not being used and the operating system ***
23264 *** is not one that has been tested with the Gambit-C system. ***
23265 *** The configure script will use certain compiler options that ***
23266 *** may not be correct or sufficient for compiling the system. ***
23267 *** Please report success or failure to gambit@iro.umontreal.ca. ***
23268 *** This will help us support this operating system in the ***
23269 *** future. ***
23270 *********************************************************************
23271 " >&6;}
23273 # debugging options:
23274 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
23275 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
23276 if test "${DASH_g+set}" = set; then
23277 $as_echo_n "(cached) " >&6
23278 else
23280 rm -f conftest.$ac_ext
23281 cat >conftest.$ac_ext <<_ACEOF
23282 #line $LINENO "configure"
23284 main ()
23286 return 0;
23288 _ACEOF
23289 ac_test_CFLAGS=${CFLAGS+set}
23290 ac_test_CXXFLAGS=${CXXFLAGS+set}
23291 ac_save_CFLAGS=$CFLAGS
23292 ac_save_CXXFLAGS=$CXXFLAGS
23293 CFLAGS="-g"
23294 CXXFLAGS="-g"
23295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23296 (eval $ac_link) 2>&5
23297 ac_status=$?
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; then
23300 DASH_g=" -g"
23301 else
23302 DASH_g=""
23304 if test "$ac_test_CFLAGS" = set; then
23305 CFLAGS=$ac_save_CFLAGS
23307 if test "$ac_test_CXXFLAGS" = set; then
23308 CXXFLAGS=$ac_save_CXXFLAGS
23312 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
23313 $as_echo "$DASH_g" >&6; }
23315 # profiling options:
23316 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
23317 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
23318 if test "${DASH_p+set}" = set; then
23319 $as_echo_n "(cached) " >&6
23320 else
23322 rm -f conftest.$ac_ext
23323 cat >conftest.$ac_ext <<_ACEOF
23324 #line $LINENO "configure"
23326 main ()
23328 return 0;
23330 _ACEOF
23331 ac_test_CFLAGS=${CFLAGS+set}
23332 ac_test_CXXFLAGS=${CXXFLAGS+set}
23333 ac_save_CFLAGS=$CFLAGS
23334 ac_save_CXXFLAGS=$CXXFLAGS
23335 CFLAGS="-p"
23336 CXXFLAGS="-p"
23337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23338 (eval $ac_link) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; then
23342 DASH_p=" -p"
23343 else
23344 DASH_p=""
23346 if test "$ac_test_CFLAGS" = set; then
23347 CFLAGS=$ac_save_CFLAGS
23349 if test "$ac_test_CXXFLAGS" = set; then
23350 CXXFLAGS=$ac_save_CXXFLAGS
23354 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
23355 $as_echo "$DASH_p" >&6; }
23357 # optimization options:
23358 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
23359 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
23360 if test "${DASH_O1+set}" = set; then
23361 $as_echo_n "(cached) " >&6
23362 else
23364 rm -f conftest.$ac_ext
23365 cat >conftest.$ac_ext <<_ACEOF
23366 #line $LINENO "configure"
23368 main ()
23370 return 0;
23372 _ACEOF
23373 ac_test_CFLAGS=${CFLAGS+set}
23374 ac_test_CXXFLAGS=${CXXFLAGS+set}
23375 ac_save_CFLAGS=$CFLAGS
23376 ac_save_CXXFLAGS=$CXXFLAGS
23377 CFLAGS="-O1"
23378 CXXFLAGS="-O1"
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>&5
23381 ac_status=$?
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; then
23384 DASH_O1=" -O1"
23385 else
23386 DASH_O1=""
23388 if test "$ac_test_CFLAGS" = set; then
23389 CFLAGS=$ac_save_CFLAGS
23391 if test "$ac_test_CXXFLAGS" = set; then
23392 CXXFLAGS=$ac_save_CXXFLAGS
23396 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
23397 $as_echo "$DASH_O1" >&6; }
23399 # linking options:
23400 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
23401 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
23402 if test "${DASH_shared+set}" = set; then
23403 $as_echo_n "(cached) " >&6
23404 else
23406 rm -f conftest.$ac_ext
23407 cat >conftest.$ac_ext <<_ACEOF
23408 #line $LINENO "configure"
23410 main ()
23412 return 0;
23414 _ACEOF
23415 ac_test_CFLAGS=${CFLAGS+set}
23416 ac_test_CXXFLAGS=${CXXFLAGS+set}
23417 ac_save_CFLAGS=$CFLAGS
23418 ac_save_CXXFLAGS=$CXXFLAGS
23419 CFLAGS="-shared"
23420 CXXFLAGS="-shared"
23421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23422 (eval $ac_link) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; then
23426 DASH_shared=" -shared"
23427 else
23428 DASH_shared=""
23430 if test "$ac_test_CFLAGS" = set; then
23431 CFLAGS=$ac_save_CFLAGS
23433 if test "$ac_test_CXXFLAGS" = set; then
23434 CXXFLAGS=$ac_save_CXXFLAGS
23438 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
23439 $as_echo "$DASH_shared" >&6; }
23441 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23443 if test "$ENABLE_DEBUG" = yes; then
23444 FLAGS_OBJ="$FLAGS_OBJ$DASH_g"
23445 FLAGS_DYN="$FLAGS_DYN$DASH_g"
23448 if test "$ENABLE_PROFILE" = yes; then
23449 FLAGS_OBJ="$FLAGS_OBJ$DASH_p"
23450 FLAGS_DYN="$FLAGS_DYN$DASH_p"
23451 FLAGS_LIB="$FLAGS_LIB$DASH_p"
23452 FLAGS_EXE="$FLAGS_EXE$DASH_p"
23455 if test "$ENABLE_DEBUG" != yes; then
23456 FLAGS_OBJ="$FLAGS_OBJ$DASH_O1"
23457 FLAGS_DYN="$FLAGS_DYN$DASH_O1"
23460 FLAGS_DYN="$FLAGS_DYN$DASH_shared"
23461 FLAGS_LIB="$FLAGS_LIB$DASH_shared"
23463 esac
23468 if test "$ENABLE_CPLUSPLUS" = yes; then
23469 CORCXXFLAGS="$CXXFLAGS"
23470 else
23471 CORCXXFLAGS="$CFLAGS"
23474 FLAGS_OBJ="$CORCXXFLAGS $FLAGS_OBJ"
23475 FLAGS_EXE="$LDFLAGS $CORCXXFLAGS $FLAGS_EXE"
23476 FLAGS_LIB="$LDFLAGS $CORCXXFLAGS $FLAGS_LIB"
23477 FLAGS_DYN="$LDFLAGS $CORCXXFLAGS $FLAGS_DYN"
23484 ###############################################################################
23488 ###############################################################################
23490 { $as_echo "$as_me:$LINENO: checking for X" >&5
23491 $as_echo_n "checking for X... " >&6; }
23494 # Check whether --with-x was given.
23495 if test "${with_x+set}" = set; then
23496 withval=$with_x;
23499 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23500 if test "x$with_x" = xno; then
23501 # The user explicitly disabled X.
23502 have_x=disabled
23503 else
23504 case $x_includes,$x_libraries in #(
23505 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
23506 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
23507 { (exit 1); exit 1; }; };; #(
23508 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
23509 $as_echo_n "(cached) " >&6
23510 else
23511 # One or both of the vars are not set, and there is no cached value.
23512 ac_x_includes=no ac_x_libraries=no
23513 rm -f -r conftest.dir
23514 if mkdir conftest.dir; then
23515 cd conftest.dir
23516 cat >Imakefile <<'_ACEOF'
23517 incroot:
23518 @echo incroot='${INCROOT}'
23519 usrlibdir:
23520 @echo usrlibdir='${USRLIBDIR}'
23521 libdir:
23522 @echo libdir='${LIBDIR}'
23523 _ACEOF
23524 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23526 for ac_var in incroot usrlibdir libdir; do
23527 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23528 done
23529 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23530 for ac_extension in a so sl dylib la dll; do
23531 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23532 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23533 ac_im_usrlibdir=$ac_im_libdir; break
23535 done
23536 # Screen out bogus values from the imake configuration. They are
23537 # bogus both because they are the default anyway, and because
23538 # using them would break gcc on systems where it needs fixed includes.
23539 case $ac_im_incroot in
23540 /usr/include) ac_x_includes= ;;
23541 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23542 esac
23543 case $ac_im_usrlibdir in
23544 /usr/lib | /lib) ;;
23545 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23546 esac
23548 cd ..
23549 rm -f -r conftest.dir
23552 # Standard set of common directories for X headers.
23553 # Check X11 before X11Rn because it is often a symlink to the current release.
23554 ac_x_header_dirs='
23555 /usr/X11/include
23556 /usr/X11R6/include
23557 /usr/X11R5/include
23558 /usr/X11R4/include
23560 /usr/include/X11
23561 /usr/include/X11R6
23562 /usr/include/X11R5
23563 /usr/include/X11R4
23565 /usr/local/X11/include
23566 /usr/local/X11R6/include
23567 /usr/local/X11R5/include
23568 /usr/local/X11R4/include
23570 /usr/local/include/X11
23571 /usr/local/include/X11R6
23572 /usr/local/include/X11R5
23573 /usr/local/include/X11R4
23575 /usr/X386/include
23576 /usr/x386/include
23577 /usr/XFree86/include/X11
23579 /usr/include
23580 /usr/local/include
23581 /usr/unsupported/include
23582 /usr/athena/include
23583 /usr/local/x11r5/include
23584 /usr/lpp/Xamples/include
23586 /usr/openwin/include
23587 /usr/openwin/share/include'
23589 if test "$ac_x_includes" = no; then
23590 # Guess where to find include files, by looking for Xlib.h.
23591 # First, try using that file with no special directory specified.
23592 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */
23594 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598 #include <X11/Xlib.h>
23599 _ACEOF
23600 if { (ac_try="$ac_cpp conftest.$ac_ext"
23601 case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23604 esac
23605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23606 $as_echo "$ac_try_echo") >&5
23607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23608 ac_status=$?
23609 grep -v '^ *+' conftest.er1 >conftest.err
23610 rm -f conftest.er1
23611 cat conftest.err >&5
23612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } >/dev/null && {
23614 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23615 test ! -s conftest.err
23616 }; then
23617 # We can compile using X headers with no special include directory.
23618 ac_x_includes=
23619 else
23620 $as_echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23623 for ac_dir in $ac_x_header_dirs; do
23624 if test -r "$ac_dir/X11/Xlib.h"; then
23625 ac_x_includes=$ac_dir
23626 break
23628 done
23631 rm -f conftest.err conftest.$ac_ext
23632 fi # $ac_x_includes = no
23634 if test "$ac_x_libraries" = no; then
23635 # Check for the libraries.
23636 # See if we find them without any special options.
23637 # Don't add to $LIBS permanently.
23638 ac_save_LIBS=$LIBS
23639 LIBS="-lX11 $LIBS"
23640 cat >conftest.$ac_ext <<_ACEOF
23641 /* confdefs.h. */
23642 _ACEOF
23643 cat confdefs.h >>conftest.$ac_ext
23644 cat >>conftest.$ac_ext <<_ACEOF
23645 /* end confdefs.h. */
23646 #include <X11/Xlib.h>
23648 main ()
23650 XrmInitialize ()
23652 return 0;
23654 _ACEOF
23655 rm -f conftest.$ac_objext conftest$ac_exeext
23656 if { (ac_try="$ac_link"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23660 esac
23661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23662 $as_echo "$ac_try_echo") >&5
23663 (eval "$ac_link") 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_cxx_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest$ac_exeext && {
23673 test "$cross_compiling" = yes ||
23674 $as_test_x conftest$ac_exeext
23675 }; then
23676 LIBS=$ac_save_LIBS
23677 # We can link X programs with no special library path.
23678 ac_x_libraries=
23679 else
23680 $as_echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.$ac_ext >&5
23683 LIBS=$ac_save_LIBS
23684 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23686 # Don't even attempt the hair of trying to link an X program!
23687 for ac_extension in a so sl dylib la dll; do
23688 if test -r "$ac_dir/libX11.$ac_extension"; then
23689 ac_x_libraries=$ac_dir
23690 break 2
23692 done
23693 done
23696 rm -rf conftest.dSYM
23697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23698 conftest$ac_exeext conftest.$ac_ext
23699 fi # $ac_x_libraries = no
23701 case $ac_x_includes,$ac_x_libraries in #(
23702 no,* | *,no | *\'*)
23703 # Didn't find X, or a directory has "'" in its name.
23704 ac_cv_have_x="have_x=no";; #(
23706 # Record where we found X for the cache.
23707 ac_cv_have_x="have_x=yes\
23708 ac_x_includes='$ac_x_includes'\
23709 ac_x_libraries='$ac_x_libraries'"
23710 esac
23712 ;; #(
23713 *) have_x=yes;;
23714 esac
23715 eval "$ac_cv_have_x"
23716 fi # $with_x != no
23718 if test "$have_x" != yes; then
23719 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
23720 $as_echo "$have_x" >&6; }
23721 no_x=yes
23722 else
23723 # If each of the values was on the command line, it overrides each guess.
23724 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23725 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23726 # Update the cache value to reflect the command line values.
23727 ac_cv_have_x="have_x=yes\
23728 ac_x_includes='$x_includes'\
23729 ac_x_libraries='$x_libraries'"
23730 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23731 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23734 if test "$no_x" = yes; then
23735 # Not all programs may use this symbol, but it does not hurt to define it.
23737 cat >>confdefs.h <<\_ACEOF
23738 #define X_DISPLAY_MISSING 1
23739 _ACEOF
23741 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23742 else
23743 if test -n "$x_includes"; then
23744 X_CFLAGS="$X_CFLAGS -I$x_includes"
23747 # It would also be nice to do this for all -L options, not just this one.
23748 if test -n "$x_libraries"; then
23749 X_LIBS="$X_LIBS -L$x_libraries"
23750 # For Solaris; some versions of Sun CC require a space after -R and
23751 # others require no space. Words are not sufficient . . . .
23752 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23753 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23754 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23755 ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
23756 ac_cxx_werror_flag=yes
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23765 main ()
23769 return 0;
23771 _ACEOF
23772 rm -f conftest.$ac_objext conftest$ac_exeext
23773 if { (ac_try="$ac_link"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23777 esac
23778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23779 $as_echo "$ac_try_echo") >&5
23780 (eval "$ac_link") 2>conftest.er1
23781 ac_status=$?
23782 grep -v '^ *+' conftest.er1 >conftest.err
23783 rm -f conftest.er1
23784 cat conftest.err >&5
23785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); } && {
23787 test -z "$ac_cxx_werror_flag" ||
23788 test ! -s conftest.err
23789 } && test -s conftest$ac_exeext && {
23790 test "$cross_compiling" = yes ||
23791 $as_test_x conftest$ac_exeext
23792 }; then
23793 { $as_echo "$as_me:$LINENO: result: no" >&5
23794 $as_echo "no" >&6; }
23795 X_LIBS="$X_LIBS -R$x_libraries"
23796 else
23797 $as_echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23800 LIBS="$ac_xsave_LIBS -R $x_libraries"
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23809 main ()
23813 return 0;
23815 _ACEOF
23816 rm -f conftest.$ac_objext conftest$ac_exeext
23817 if { (ac_try="$ac_link"
23818 case "(($ac_try" in
23819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23821 esac
23822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23823 $as_echo "$ac_try_echo") >&5
23824 (eval "$ac_link") 2>conftest.er1
23825 ac_status=$?
23826 grep -v '^ *+' conftest.er1 >conftest.err
23827 rm -f conftest.er1
23828 cat conftest.err >&5
23829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } && {
23831 test -z "$ac_cxx_werror_flag" ||
23832 test ! -s conftest.err
23833 } && test -s conftest$ac_exeext && {
23834 test "$cross_compiling" = yes ||
23835 $as_test_x conftest$ac_exeext
23836 }; then
23837 { $as_echo "$as_me:$LINENO: result: yes" >&5
23838 $as_echo "yes" >&6; }
23839 X_LIBS="$X_LIBS -R $x_libraries"
23840 else
23841 $as_echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23844 { $as_echo "$as_me:$LINENO: result: neither works" >&5
23845 $as_echo "neither works" >&6; }
23848 rm -rf conftest.dSYM
23849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23850 conftest$ac_exeext conftest.$ac_ext
23853 rm -rf conftest.dSYM
23854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23855 conftest$ac_exeext conftest.$ac_ext
23856 ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
23857 LIBS=$ac_xsave_LIBS
23860 # Check for system-dependent libraries X programs must link with.
23861 # Do this before checking for the system-independent R6 libraries
23862 # (-lICE), since we may need -lsocket or whatever for X linking.
23864 if test "$ISC" = yes; then
23865 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23866 else
23867 # Martyn Johnson says this is needed for Ultrix, if the X
23868 # libraries were built with DECnet support. And Karl Berry says
23869 # the Alpha needs dnet_stub (dnet does not exist).
23870 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23871 cat >conftest.$ac_ext <<_ACEOF
23872 /* confdefs.h. */
23873 _ACEOF
23874 cat confdefs.h >>conftest.$ac_ext
23875 cat >>conftest.$ac_ext <<_ACEOF
23876 /* end confdefs.h. */
23878 /* Override any GCC internal prototype to avoid an error.
23879 Use char because int might match the return type of a GCC
23880 builtin and then its argument prototype would still apply. */
23881 #ifdef __cplusplus
23882 extern "C"
23883 #endif
23884 char XOpenDisplay ();
23886 main ()
23888 return XOpenDisplay ();
23890 return 0;
23892 _ACEOF
23893 rm -f conftest.$ac_objext conftest$ac_exeext
23894 if { (ac_try="$ac_link"
23895 case "(($ac_try" in
23896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23897 *) ac_try_echo=$ac_try;;
23898 esac
23899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23900 $as_echo "$ac_try_echo") >&5
23901 (eval "$ac_link") 2>conftest.er1
23902 ac_status=$?
23903 grep -v '^ *+' conftest.er1 >conftest.err
23904 rm -f conftest.er1
23905 cat conftest.err >&5
23906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } && {
23908 test -z "$ac_cxx_werror_flag" ||
23909 test ! -s conftest.err
23910 } && test -s conftest$ac_exeext && {
23911 test "$cross_compiling" = yes ||
23912 $as_test_x conftest$ac_exeext
23913 }; then
23915 else
23916 $as_echo "$as_me: failed program was:" >&5
23917 sed 's/^/| /' conftest.$ac_ext >&5
23919 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23920 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23921 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23922 $as_echo_n "(cached) " >&6
23923 else
23924 ac_check_lib_save_LIBS=$LIBS
23925 LIBS="-ldnet $LIBS"
23926 cat >conftest.$ac_ext <<_ACEOF
23927 /* confdefs.h. */
23928 _ACEOF
23929 cat confdefs.h >>conftest.$ac_ext
23930 cat >>conftest.$ac_ext <<_ACEOF
23931 /* end confdefs.h. */
23933 /* Override any GCC internal prototype to avoid an error.
23934 Use char because int might match the return type of a GCC
23935 builtin and then its argument prototype would still apply. */
23936 #ifdef __cplusplus
23937 extern "C"
23938 #endif
23939 char dnet_ntoa ();
23941 main ()
23943 return dnet_ntoa ();
23945 return 0;
23947 _ACEOF
23948 rm -f conftest.$ac_objext conftest$ac_exeext
23949 if { (ac_try="$ac_link"
23950 case "(($ac_try" in
23951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23952 *) ac_try_echo=$ac_try;;
23953 esac
23954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23955 $as_echo "$ac_try_echo") >&5
23956 (eval "$ac_link") 2>conftest.er1
23957 ac_status=$?
23958 grep -v '^ *+' conftest.er1 >conftest.err
23959 rm -f conftest.er1
23960 cat conftest.err >&5
23961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && {
23963 test -z "$ac_cxx_werror_flag" ||
23964 test ! -s conftest.err
23965 } && test -s conftest$ac_exeext && {
23966 test "$cross_compiling" = yes ||
23967 $as_test_x conftest$ac_exeext
23968 }; then
23969 ac_cv_lib_dnet_dnet_ntoa=yes
23970 else
23971 $as_echo "$as_me: failed program was:" >&5
23972 sed 's/^/| /' conftest.$ac_ext >&5
23974 ac_cv_lib_dnet_dnet_ntoa=no
23977 rm -rf conftest.dSYM
23978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23979 conftest$ac_exeext conftest.$ac_ext
23980 LIBS=$ac_check_lib_save_LIBS
23982 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23983 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23984 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23985 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23988 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23989 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23990 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23991 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23992 $as_echo_n "(cached) " >&6
23993 else
23994 ac_check_lib_save_LIBS=$LIBS
23995 LIBS="-ldnet_stub $LIBS"
23996 cat >conftest.$ac_ext <<_ACEOF
23997 /* confdefs.h. */
23998 _ACEOF
23999 cat confdefs.h >>conftest.$ac_ext
24000 cat >>conftest.$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24003 /* Override any GCC internal prototype to avoid an error.
24004 Use char because int might match the return type of a GCC
24005 builtin and then its argument prototype would still apply. */
24006 #ifdef __cplusplus
24007 extern "C"
24008 #endif
24009 char dnet_ntoa ();
24011 main ()
24013 return dnet_ntoa ();
24015 return 0;
24017 _ACEOF
24018 rm -f conftest.$ac_objext conftest$ac_exeext
24019 if { (ac_try="$ac_link"
24020 case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24023 esac
24024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24025 $as_echo "$ac_try_echo") >&5
24026 (eval "$ac_link") 2>conftest.er1
24027 ac_status=$?
24028 grep -v '^ *+' conftest.er1 >conftest.err
24029 rm -f conftest.er1
24030 cat conftest.err >&5
24031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); } && {
24033 test -z "$ac_cxx_werror_flag" ||
24034 test ! -s conftest.err
24035 } && test -s conftest$ac_exeext && {
24036 test "$cross_compiling" = yes ||
24037 $as_test_x conftest$ac_exeext
24038 }; then
24039 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24040 else
24041 $as_echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24044 ac_cv_lib_dnet_stub_dnet_ntoa=no
24047 rm -rf conftest.dSYM
24048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24049 conftest$ac_exeext conftest.$ac_ext
24050 LIBS=$ac_check_lib_save_LIBS
24052 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24053 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24054 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24055 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24061 rm -rf conftest.dSYM
24062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24063 conftest$ac_exeext conftest.$ac_ext
24064 LIBS="$ac_xsave_LIBS"
24066 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24067 # to get the SysV transport functions.
24068 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24069 # needs -lnsl.
24070 # The nsl library prevents programs from opening the X display
24071 # on Irix 5.2, according to T.E. Dickey.
24072 # The functions gethostbyname, getservbyname, and inet_addr are
24073 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24074 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
24075 $as_echo_n "checking for gethostbyname... " >&6; }
24076 if test "${ac_cv_func_gethostbyname+set}" = set; then
24077 $as_echo_n "(cached) " >&6
24078 else
24079 cat >conftest.$ac_ext <<_ACEOF
24080 /* confdefs.h. */
24081 _ACEOF
24082 cat confdefs.h >>conftest.$ac_ext
24083 cat >>conftest.$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24087 #define gethostbyname innocuous_gethostbyname
24089 /* System header to define __stub macros and hopefully few prototypes,
24090 which can conflict with char gethostbyname (); below.
24091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24092 <limits.h> exists even on freestanding compilers. */
24094 #ifdef __STDC__
24095 # include <limits.h>
24096 #else
24097 # include <assert.h>
24098 #endif
24100 #undef gethostbyname
24102 /* Override any GCC internal prototype to avoid an error.
24103 Use char because int might match the return type of a GCC
24104 builtin and then its argument prototype would still apply. */
24105 #ifdef __cplusplus
24106 extern "C"
24107 #endif
24108 char gethostbyname ();
24109 /* The GNU C library defines this for functions which it implements
24110 to always fail with ENOSYS. Some functions are actually named
24111 something starting with __ and the normal name is an alias. */
24112 #if defined __stub_gethostbyname || defined __stub___gethostbyname
24113 choke me
24114 #endif
24117 main ()
24119 return gethostbyname ();
24121 return 0;
24123 _ACEOF
24124 rm -f conftest.$ac_objext conftest$ac_exeext
24125 if { (ac_try="$ac_link"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24129 esac
24130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24131 $as_echo "$ac_try_echo") >&5
24132 (eval "$ac_link") 2>conftest.er1
24133 ac_status=$?
24134 grep -v '^ *+' conftest.er1 >conftest.err
24135 rm -f conftest.er1
24136 cat conftest.err >&5
24137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } && {
24139 test -z "$ac_cxx_werror_flag" ||
24140 test ! -s conftest.err
24141 } && test -s conftest$ac_exeext && {
24142 test "$cross_compiling" = yes ||
24143 $as_test_x conftest$ac_exeext
24144 }; then
24145 ac_cv_func_gethostbyname=yes
24146 else
24147 $as_echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24150 ac_cv_func_gethostbyname=no
24153 rm -rf conftest.dSYM
24154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24155 conftest$ac_exeext conftest.$ac_ext
24157 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24158 $as_echo "$ac_cv_func_gethostbyname" >&6; }
24160 if test $ac_cv_func_gethostbyname = no; then
24161 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24162 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24163 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24164 $as_echo_n "(cached) " >&6
24165 else
24166 ac_check_lib_save_LIBS=$LIBS
24167 LIBS="-lnsl $LIBS"
24168 cat >conftest.$ac_ext <<_ACEOF
24169 /* confdefs.h. */
24170 _ACEOF
24171 cat confdefs.h >>conftest.$ac_ext
24172 cat >>conftest.$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24175 /* Override any GCC internal prototype to avoid an error.
24176 Use char because int might match the return type of a GCC
24177 builtin and then its argument prototype would still apply. */
24178 #ifdef __cplusplus
24179 extern "C"
24180 #endif
24181 char gethostbyname ();
24183 main ()
24185 return gethostbyname ();
24187 return 0;
24189 _ACEOF
24190 rm -f conftest.$ac_objext conftest$ac_exeext
24191 if { (ac_try="$ac_link"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 *) ac_try_echo=$ac_try;;
24195 esac
24196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24197 $as_echo "$ac_try_echo") >&5
24198 (eval "$ac_link") 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext && {
24208 test "$cross_compiling" = yes ||
24209 $as_test_x conftest$ac_exeext
24210 }; then
24211 ac_cv_lib_nsl_gethostbyname=yes
24212 else
24213 $as_echo "$as_me: failed program was:" >&5
24214 sed 's/^/| /' conftest.$ac_ext >&5
24216 ac_cv_lib_nsl_gethostbyname=no
24219 rm -rf conftest.dSYM
24220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24221 conftest$ac_exeext conftest.$ac_ext
24222 LIBS=$ac_check_lib_save_LIBS
24224 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24225 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24226 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24230 if test $ac_cv_lib_nsl_gethostbyname = no; then
24231 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24232 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24233 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24234 $as_echo_n "(cached) " >&6
24235 else
24236 ac_check_lib_save_LIBS=$LIBS
24237 LIBS="-lbsd $LIBS"
24238 cat >conftest.$ac_ext <<_ACEOF
24239 /* confdefs.h. */
24240 _ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24245 /* Override any GCC internal prototype to avoid an error.
24246 Use char because int might match the return type of a GCC
24247 builtin and then its argument prototype would still apply. */
24248 #ifdef __cplusplus
24249 extern "C"
24250 #endif
24251 char gethostbyname ();
24253 main ()
24255 return gethostbyname ();
24257 return 0;
24259 _ACEOF
24260 rm -f conftest.$ac_objext conftest$ac_exeext
24261 if { (ac_try="$ac_link"
24262 case "(($ac_try" in
24263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24264 *) ac_try_echo=$ac_try;;
24265 esac
24266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24267 $as_echo "$ac_try_echo") >&5
24268 (eval "$ac_link") 2>conftest.er1
24269 ac_status=$?
24270 grep -v '^ *+' conftest.er1 >conftest.err
24271 rm -f conftest.er1
24272 cat conftest.err >&5
24273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } && {
24275 test -z "$ac_cxx_werror_flag" ||
24276 test ! -s conftest.err
24277 } && test -s conftest$ac_exeext && {
24278 test "$cross_compiling" = yes ||
24279 $as_test_x conftest$ac_exeext
24280 }; then
24281 ac_cv_lib_bsd_gethostbyname=yes
24282 else
24283 $as_echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24286 ac_cv_lib_bsd_gethostbyname=no
24289 rm -rf conftest.dSYM
24290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24291 conftest$ac_exeext conftest.$ac_ext
24292 LIBS=$ac_check_lib_save_LIBS
24294 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24295 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24296 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24303 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24304 # socket/setsockopt and other routines are undefined under SCO ODT
24305 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24306 # on later versions), says Simon Leinen: it contains gethostby*
24307 # variants that don't use the name server (or something). -lsocket
24308 # must be given before -lnsl if both are needed. We assume that
24309 # if connect needs -lnsl, so does gethostbyname.
24310 { $as_echo "$as_me:$LINENO: checking for connect" >&5
24311 $as_echo_n "checking for connect... " >&6; }
24312 if test "${ac_cv_func_connect+set}" = set; then
24313 $as_echo_n "(cached) " >&6
24314 else
24315 cat >conftest.$ac_ext <<_ACEOF
24316 /* confdefs.h. */
24317 _ACEOF
24318 cat confdefs.h >>conftest.$ac_ext
24319 cat >>conftest.$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24321 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24323 #define connect innocuous_connect
24325 /* System header to define __stub macros and hopefully few prototypes,
24326 which can conflict with char connect (); below.
24327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24328 <limits.h> exists even on freestanding compilers. */
24330 #ifdef __STDC__
24331 # include <limits.h>
24332 #else
24333 # include <assert.h>
24334 #endif
24336 #undef connect
24338 /* Override any GCC internal prototype to avoid an error.
24339 Use char because int might match the return type of a GCC
24340 builtin and then its argument prototype would still apply. */
24341 #ifdef __cplusplus
24342 extern "C"
24343 #endif
24344 char connect ();
24345 /* The GNU C library defines this for functions which it implements
24346 to always fail with ENOSYS. Some functions are actually named
24347 something starting with __ and the normal name is an alias. */
24348 #if defined __stub_connect || defined __stub___connect
24349 choke me
24350 #endif
24353 main ()
24355 return connect ();
24357 return 0;
24359 _ACEOF
24360 rm -f conftest.$ac_objext conftest$ac_exeext
24361 if { (ac_try="$ac_link"
24362 case "(($ac_try" in
24363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364 *) ac_try_echo=$ac_try;;
24365 esac
24366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24367 $as_echo "$ac_try_echo") >&5
24368 (eval "$ac_link") 2>conftest.er1
24369 ac_status=$?
24370 grep -v '^ *+' conftest.er1 >conftest.err
24371 rm -f conftest.er1
24372 cat conftest.err >&5
24373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } && {
24375 test -z "$ac_cxx_werror_flag" ||
24376 test ! -s conftest.err
24377 } && test -s conftest$ac_exeext && {
24378 test "$cross_compiling" = yes ||
24379 $as_test_x conftest$ac_exeext
24380 }; then
24381 ac_cv_func_connect=yes
24382 else
24383 $as_echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.$ac_ext >&5
24386 ac_cv_func_connect=no
24389 rm -rf conftest.dSYM
24390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24391 conftest$ac_exeext conftest.$ac_ext
24393 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24394 $as_echo "$ac_cv_func_connect" >&6; }
24396 if test $ac_cv_func_connect = no; then
24397 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24398 $as_echo_n "checking for connect in -lsocket... " >&6; }
24399 if test "${ac_cv_lib_socket_connect+set}" = set; then
24400 $as_echo_n "(cached) " >&6
24401 else
24402 ac_check_lib_save_LIBS=$LIBS
24403 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24404 cat >conftest.$ac_ext <<_ACEOF
24405 /* confdefs.h. */
24406 _ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24411 /* Override any GCC internal prototype to avoid an error.
24412 Use char because int might match the return type of a GCC
24413 builtin and then its argument prototype would still apply. */
24414 #ifdef __cplusplus
24415 extern "C"
24416 #endif
24417 char connect ();
24419 main ()
24421 return connect ();
24423 return 0;
24425 _ACEOF
24426 rm -f conftest.$ac_objext conftest$ac_exeext
24427 if { (ac_try="$ac_link"
24428 case "(($ac_try" in
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24431 esac
24432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24433 $as_echo "$ac_try_echo") >&5
24434 (eval "$ac_link") 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_cxx_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest$ac_exeext && {
24444 test "$cross_compiling" = yes ||
24445 $as_test_x conftest$ac_exeext
24446 }; then
24447 ac_cv_lib_socket_connect=yes
24448 else
24449 $as_echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24452 ac_cv_lib_socket_connect=no
24455 rm -rf conftest.dSYM
24456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24457 conftest$ac_exeext conftest.$ac_ext
24458 LIBS=$ac_check_lib_save_LIBS
24460 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24461 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24462 if test $ac_cv_lib_socket_connect = yes; then
24463 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24468 # Guillermo Gomez says -lposix is necessary on A/UX.
24469 { $as_echo "$as_me:$LINENO: checking for remove" >&5
24470 $as_echo_n "checking for remove... " >&6; }
24471 if test "${ac_cv_func_remove+set}" = set; then
24472 $as_echo_n "(cached) " >&6
24473 else
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24482 #define remove innocuous_remove
24484 /* System header to define __stub macros and hopefully few prototypes,
24485 which can conflict with char remove (); below.
24486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24487 <limits.h> exists even on freestanding compilers. */
24489 #ifdef __STDC__
24490 # include <limits.h>
24491 #else
24492 # include <assert.h>
24493 #endif
24495 #undef remove
24497 /* Override any GCC internal prototype to avoid an error.
24498 Use char because int might match the return type of a GCC
24499 builtin and then its argument prototype would still apply. */
24500 #ifdef __cplusplus
24501 extern "C"
24502 #endif
24503 char remove ();
24504 /* The GNU C library defines this for functions which it implements
24505 to always fail with ENOSYS. Some functions are actually named
24506 something starting with __ and the normal name is an alias. */
24507 #if defined __stub_remove || defined __stub___remove
24508 choke me
24509 #endif
24512 main ()
24514 return remove ();
24516 return 0;
24518 _ACEOF
24519 rm -f conftest.$ac_objext conftest$ac_exeext
24520 if { (ac_try="$ac_link"
24521 case "(($ac_try" in
24522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24523 *) ac_try_echo=$ac_try;;
24524 esac
24525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24526 $as_echo "$ac_try_echo") >&5
24527 (eval "$ac_link") 2>conftest.er1
24528 ac_status=$?
24529 grep -v '^ *+' conftest.er1 >conftest.err
24530 rm -f conftest.er1
24531 cat conftest.err >&5
24532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } && {
24534 test -z "$ac_cxx_werror_flag" ||
24535 test ! -s conftest.err
24536 } && test -s conftest$ac_exeext && {
24537 test "$cross_compiling" = yes ||
24538 $as_test_x conftest$ac_exeext
24539 }; then
24540 ac_cv_func_remove=yes
24541 else
24542 $as_echo "$as_me: failed program was:" >&5
24543 sed 's/^/| /' conftest.$ac_ext >&5
24545 ac_cv_func_remove=no
24548 rm -rf conftest.dSYM
24549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24550 conftest$ac_exeext conftest.$ac_ext
24552 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24553 $as_echo "$ac_cv_func_remove" >&6; }
24555 if test $ac_cv_func_remove = no; then
24556 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24557 $as_echo_n "checking for remove in -lposix... " >&6; }
24558 if test "${ac_cv_lib_posix_remove+set}" = set; then
24559 $as_echo_n "(cached) " >&6
24560 else
24561 ac_check_lib_save_LIBS=$LIBS
24562 LIBS="-lposix $LIBS"
24563 cat >conftest.$ac_ext <<_ACEOF
24564 /* confdefs.h. */
24565 _ACEOF
24566 cat confdefs.h >>conftest.$ac_ext
24567 cat >>conftest.$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24570 /* Override any GCC internal prototype to avoid an error.
24571 Use char because int might match the return type of a GCC
24572 builtin and then its argument prototype would still apply. */
24573 #ifdef __cplusplus
24574 extern "C"
24575 #endif
24576 char remove ();
24578 main ()
24580 return remove ();
24582 return 0;
24584 _ACEOF
24585 rm -f conftest.$ac_objext conftest$ac_exeext
24586 if { (ac_try="$ac_link"
24587 case "(($ac_try" in
24588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24589 *) ac_try_echo=$ac_try;;
24590 esac
24591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24592 $as_echo "$ac_try_echo") >&5
24593 (eval "$ac_link") 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } && {
24600 test -z "$ac_cxx_werror_flag" ||
24601 test ! -s conftest.err
24602 } && test -s conftest$ac_exeext && {
24603 test "$cross_compiling" = yes ||
24604 $as_test_x conftest$ac_exeext
24605 }; then
24606 ac_cv_lib_posix_remove=yes
24607 else
24608 $as_echo "$as_me: failed program was:" >&5
24609 sed 's/^/| /' conftest.$ac_ext >&5
24611 ac_cv_lib_posix_remove=no
24614 rm -rf conftest.dSYM
24615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24616 conftest$ac_exeext conftest.$ac_ext
24617 LIBS=$ac_check_lib_save_LIBS
24619 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24620 $as_echo "$ac_cv_lib_posix_remove" >&6; }
24621 if test $ac_cv_lib_posix_remove = yes; then
24622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24627 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24628 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
24629 $as_echo_n "checking for shmat... " >&6; }
24630 if test "${ac_cv_func_shmat+set}" = set; then
24631 $as_echo_n "(cached) " >&6
24632 else
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24641 #define shmat innocuous_shmat
24643 /* System header to define __stub macros and hopefully few prototypes,
24644 which can conflict with char shmat (); below.
24645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24646 <limits.h> exists even on freestanding compilers. */
24648 #ifdef __STDC__
24649 # include <limits.h>
24650 #else
24651 # include <assert.h>
24652 #endif
24654 #undef shmat
24656 /* Override any GCC internal prototype to avoid an error.
24657 Use char because int might match the return type of a GCC
24658 builtin and then its argument prototype would still apply. */
24659 #ifdef __cplusplus
24660 extern "C"
24661 #endif
24662 char shmat ();
24663 /* The GNU C library defines this for functions which it implements
24664 to always fail with ENOSYS. Some functions are actually named
24665 something starting with __ and the normal name is an alias. */
24666 #if defined __stub_shmat || defined __stub___shmat
24667 choke me
24668 #endif
24671 main ()
24673 return shmat ();
24675 return 0;
24677 _ACEOF
24678 rm -f conftest.$ac_objext conftest$ac_exeext
24679 if { (ac_try="$ac_link"
24680 case "(($ac_try" in
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24682 *) ac_try_echo=$ac_try;;
24683 esac
24684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24685 $as_echo "$ac_try_echo") >&5
24686 (eval "$ac_link") 2>conftest.er1
24687 ac_status=$?
24688 grep -v '^ *+' conftest.er1 >conftest.err
24689 rm -f conftest.er1
24690 cat conftest.err >&5
24691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest$ac_exeext && {
24696 test "$cross_compiling" = yes ||
24697 $as_test_x conftest$ac_exeext
24698 }; then
24699 ac_cv_func_shmat=yes
24700 else
24701 $as_echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24704 ac_cv_func_shmat=no
24707 rm -rf conftest.dSYM
24708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24709 conftest$ac_exeext conftest.$ac_ext
24711 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24712 $as_echo "$ac_cv_func_shmat" >&6; }
24714 if test $ac_cv_func_shmat = no; then
24715 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24716 $as_echo_n "checking for shmat in -lipc... " >&6; }
24717 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24718 $as_echo_n "(cached) " >&6
24719 else
24720 ac_check_lib_save_LIBS=$LIBS
24721 LIBS="-lipc $LIBS"
24722 cat >conftest.$ac_ext <<_ACEOF
24723 /* confdefs.h. */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24729 /* Override any GCC internal prototype to avoid an error.
24730 Use char because int might match the return type of a GCC
24731 builtin and then its argument prototype would still apply. */
24732 #ifdef __cplusplus
24733 extern "C"
24734 #endif
24735 char shmat ();
24737 main ()
24739 return shmat ();
24741 return 0;
24743 _ACEOF
24744 rm -f conftest.$ac_objext conftest$ac_exeext
24745 if { (ac_try="$ac_link"
24746 case "(($ac_try" in
24747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24748 *) ac_try_echo=$ac_try;;
24749 esac
24750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24751 $as_echo "$ac_try_echo") >&5
24752 (eval "$ac_link") 2>conftest.er1
24753 ac_status=$?
24754 grep -v '^ *+' conftest.er1 >conftest.err
24755 rm -f conftest.er1
24756 cat conftest.err >&5
24757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); } && {
24759 test -z "$ac_cxx_werror_flag" ||
24760 test ! -s conftest.err
24761 } && test -s conftest$ac_exeext && {
24762 test "$cross_compiling" = yes ||
24763 $as_test_x conftest$ac_exeext
24764 }; then
24765 ac_cv_lib_ipc_shmat=yes
24766 else
24767 $as_echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24770 ac_cv_lib_ipc_shmat=no
24773 rm -rf conftest.dSYM
24774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24775 conftest$ac_exeext conftest.$ac_ext
24776 LIBS=$ac_check_lib_save_LIBS
24778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24779 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
24780 if test $ac_cv_lib_ipc_shmat = yes; then
24781 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24787 # Check for libraries that X11R6 Xt/Xaw programs need.
24788 ac_save_LDFLAGS=$LDFLAGS
24789 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24790 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24791 # check for ICE first), but we must link in the order -lSM -lICE or
24792 # we get undefined symbols. So assume we have SM if we have ICE.
24793 # These have to be linked with before -lX11, unlike the other
24794 # libraries we check for below, so use a different variable.
24795 # John Interrante, Karl Berry
24796 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24797 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
24798 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24799 $as_echo_n "(cached) " >&6
24800 else
24801 ac_check_lib_save_LIBS=$LIBS
24802 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24810 /* Override any GCC internal prototype to avoid an error.
24811 Use char because int might match the return type of a GCC
24812 builtin and then its argument prototype would still apply. */
24813 #ifdef __cplusplus
24814 extern "C"
24815 #endif
24816 char IceConnectionNumber ();
24818 main ()
24820 return IceConnectionNumber ();
24822 return 0;
24824 _ACEOF
24825 rm -f conftest.$ac_objext conftest$ac_exeext
24826 if { (ac_try="$ac_link"
24827 case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24830 esac
24831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24832 $as_echo "$ac_try_echo") >&5
24833 (eval "$ac_link") 2>conftest.er1
24834 ac_status=$?
24835 grep -v '^ *+' conftest.er1 >conftest.err
24836 rm -f conftest.er1
24837 cat conftest.err >&5
24838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); } && {
24840 test -z "$ac_cxx_werror_flag" ||
24841 test ! -s conftest.err
24842 } && test -s conftest$ac_exeext && {
24843 test "$cross_compiling" = yes ||
24844 $as_test_x conftest$ac_exeext
24845 }; then
24846 ac_cv_lib_ICE_IceConnectionNumber=yes
24847 else
24848 $as_echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24851 ac_cv_lib_ICE_IceConnectionNumber=no
24854 rm -rf conftest.dSYM
24855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24856 conftest$ac_exeext conftest.$ac_ext
24857 LIBS=$ac_check_lib_save_LIBS
24859 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24860 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
24861 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24862 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24865 LDFLAGS=$ac_save_LDFLAGS
24871 #AC_SYS_INTERPRETER
24872 #AC_SYS_LARGEFILE
24873 #AC_SYS_POSIX_TERMIOS
24875 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
24876 $as_echo_n "checking whether ln -s works... " >&6; }
24877 LN_S=$as_ln_s
24878 if test "$LN_S" = "ln -s"; then
24879 { $as_echo "$as_me:$LINENO: result: yes" >&5
24880 $as_echo "yes" >&6; }
24881 else
24882 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
24883 $as_echo "no, using $LN_S" >&6; }
24886 if test -n "$ac_tool_prefix"; then
24887 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
24888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
24889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24890 $as_echo_n "checking for $ac_word... " >&6; }
24891 if test "${ac_cv_prog_RANLIB+set}" = set; then
24892 $as_echo_n "(cached) " >&6
24893 else
24894 if test -n "$RANLIB"; then
24895 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
24896 else
24897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24898 for as_dir in $PATH
24900 IFS=$as_save_IFS
24901 test -z "$as_dir" && as_dir=.
24902 for ac_exec_ext in '' $ac_executable_extensions; do
24903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24904 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
24905 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24906 break 2
24908 done
24909 done
24910 IFS=$as_save_IFS
24914 RANLIB=$ac_cv_prog_RANLIB
24915 if test -n "$RANLIB"; then
24916 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
24917 $as_echo "$RANLIB" >&6; }
24918 else
24919 { $as_echo "$as_me:$LINENO: result: no" >&5
24920 $as_echo "no" >&6; }
24925 if test -z "$ac_cv_prog_RANLIB"; then
24926 ac_ct_RANLIB=$RANLIB
24927 # Extract the first word of "ranlib", so it can be a program name with args.
24928 set dummy ranlib; ac_word=$2
24929 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24930 $as_echo_n "checking for $ac_word... " >&6; }
24931 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
24932 $as_echo_n "(cached) " >&6
24933 else
24934 if test -n "$ac_ct_RANLIB"; then
24935 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
24936 else
24937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24938 for as_dir in $PATH
24940 IFS=$as_save_IFS
24941 test -z "$as_dir" && as_dir=.
24942 for ac_exec_ext in '' $ac_executable_extensions; do
24943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24944 ac_cv_prog_ac_ct_RANLIB="ranlib"
24945 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24946 break 2
24948 done
24949 done
24950 IFS=$as_save_IFS
24954 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
24955 if test -n "$ac_ct_RANLIB"; then
24956 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
24957 $as_echo "$ac_ct_RANLIB" >&6; }
24958 else
24959 { $as_echo "$as_me:$LINENO: result: no" >&5
24960 $as_echo "no" >&6; }
24963 if test "x$ac_ct_RANLIB" = x; then
24964 RANLIB=":"
24965 else
24966 case $cross_compiling:$ac_tool_warned in
24967 yes:)
24968 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24969 whose name does not start with the host triplet. If you think this
24970 configuration is useful to you, please write to autoconf@gnu.org." >&5
24971 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24972 whose name does not start with the host triplet. If you think this
24973 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24974 ac_tool_warned=yes ;;
24975 esac
24976 RANLIB=$ac_ct_RANLIB
24978 else
24979 RANLIB="$ac_cv_prog_RANLIB"
24982 RC="git"
24983 GIT="git"
24984 HG="hg"
24986 exe="$EXEEXT"
24987 obj=".$OBJEXT"
24989 case "$target_os" in
24991 mingw*) bat=".bat"
24994 *) bat=""
24996 esac
24998 if test "$ENABLE_SHARED" = yes; then
25000 case "$target_os" in
25003 mingw* | cygwin*)
25004 LIB_PREFIX="lib"
25005 LIB_EXTENSION=".dll"
25006 SETDLPATH="PATH=\"\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${PATH}\""
25009 darwin*) LIB_PREFIX="lib"
25010 LIB_EXTENSION=".dylib"
25011 SETDLPATH="DYLD_LIBRARY_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${DYLD_LIBRARY_PATH}"
25014 hpux*) LIB_PREFIX="lib"
25015 LIB_EXTENSION=".so"
25016 SETDLPATH="SHLIB_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${SHLIB_PATH}"
25019 aix*) LIB_PREFIX="lib"
25020 LIB_EXTENSION=".so"
25021 SETDLPATH="LIBPATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${LIBPATH}"
25024 *) LIB_PREFIX="lib"
25025 LIB_EXTENSION=".so"
25026 SETDLPATH="LD_LIBRARY_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${LD_LIBRARY_PATH}"
25028 esac
25030 MAKE_LIBRARY='$(C_COMPILER) $(FLAGS_LIB) -o $(LIBRARY) $(LIBRARY_OBJECTS) $(MAKE_LIBRARY_LIBS) $(LIBS)'
25031 MAKE_LIBRARY_FOR_INSTALL='$(C_COMPILER) $(FLAGS_LIB) -o $(LIBRARY) $(LIBRARY_OBJECTS) $(MAKE_LIBRARY_FOR_INSTALL_LIBS) $(LIBS)'
25032 FIXLIB=':'
25033 LINK='$(C_COMPILER) $(FLAGS_EXE) $(EXECUTABLE_OBJECTS) $(LINK_LIBS) $(LIBS) -o $(EXECUTABLE)'
25034 LINK_FOR_INSTALL='$(C_COMPILER) $(FLAGS_EXE) $(EXECUTABLE_OBJECTS) $(LINK_FOR_INSTALL_LIBS) $(LIBS) -o $(EXECUTABLE)'
25036 else
25038 SETDLPATH=""
25040 if test "$C_COMP_VISUALC" = yes; then
25042 ########## Microsoft Visual C++ compiler
25044 LIB_PREFIX="lib"
25045 LIB_EXTENSION=".lib"
25046 MAKE_LIBRARY='lib -out:$(LIBRARY) $(LIBRARY_OBJECTS)'
25047 MAKE_LIBRARY_FOR_INSTALL=':'
25048 FIXLIB=':'
25049 LINK='$(C_COMPILER) $(FLAGS_EXE) $(EXECUTABLE_OBJECTS) $(LINK_LIBS) $(LIBS) -Fe$(EXECUTABLE)'
25050 LINK_FOR_INSTALL=':'
25052 # else if test "$C_COMP_WATCOMC" = yes; then
25053 # else if test "$C_COMP_BORLANDC" = yes; then
25055 else
25057 ########## Other C compiler
25059 LIB_PREFIX="lib"
25060 LIB_EXTENSION=".a"
25061 MAKE_LIBRARY='ar rc $(LIBRARY) $(LIBRARY_OBJECTS) && $(RANLIB) $(LIBRARY)'
25062 MAKE_LIBRARY_FOR_INSTALL=':'
25063 FIXLIB='$(RANLIB)'
25064 LINK='$(C_COMPILER) $(FLAGS_EXE) $(EXECUTABLE_OBJECTS) $(LINK_LIBS) $(LIBS) -o $(EXECUTABLE)'
25065 LINK_FOR_INSTALL=':'
25071 if test "$C_COMP_VISUALC" = yes; then
25073 ########## Microsoft Visual C++ compiler
25075 GSC_CC_O="$C_COMPILER $FLAGS_DYN -I\\\"%GSC_CC_O_GAMBCDIR_INCLUDE%\\\" $GSC_CC_O_DEFS -Fe\\\"%GSC_CC_O_OBJ_FILENAME%\\\" %GSC_CC_O_CC_OPTIONS% %GSC_CC_O_LD_OPTIONS_PRELUDE% \\\"%GSC_CC_O_C_FILENAME_BASE%\\\" %GSC_CC_O_LD_OPTIONS%"
25077 else
25079 case "$target_os" in
25081 mingw*) GSC_CC_O="$C_COMPILER $FLAGS_DYN -I\\\"%GSC_CC_O_GAMBCDIR_INCLUDE%\\\" $GSC_CC_O_DEFS -o \\\"%GSC_CC_O_OBJ_FILENAME%\\\" %GSC_CC_O_CC_OPTIONS% %GSC_CC_O_LD_OPTIONS_PRELUDE% \\\"%GSC_CC_O_C_FILENAME_BASE%\\\" %GSC_CC_O_LD_OPTIONS%"
25084 *) GSC_CC_O="$C_COMPILER $FLAGS_DYN -I\\\"\\\$\${GSC_CC_O_GAMBCDIR_INCLUDE}\\\" $GSC_CC_O_DEFS -o \\\"\\\$\${GSC_CC_O_OBJ_FILENAME}\\\" \\\$\${GSC_CC_O_CC_OPTIONS} \\\$\${GSC_CC_O_LD_OPTIONS_PRELUDE} \\\"\\\$\${GSC_CC_O_C_FILENAME_BASE}\\\" \\\$\${GSC_CC_O_LD_OPTIONS}"
25086 esac
25090 if test "$ENABLE_VERSIONNED_LIBS" = "no"; then
25092 LIB_SUFFIX=""
25094 else
25096 if test "$ENABLE_VERSIONNED_LIBS" = "yes"; then
25098 LIB_SUFFIX=`echo -$PACKAGE_VERSION | sed -e 's/\./_/g'`
25100 else
25102 LIB_SUFFIX="$ENABLE_VERSIONNED_LIBS"
25108 GAMBCLIB="gambc$LIB_SUFFIX"
25109 GAMBCGSCLIB="gambcgsc$LIB_SUFFIX"
25110 GAMBCGSILIB="gambcgsi$LIB_SUFFIX"
25112 if test "$ENABLE_ABSOLUTE_SHARED_LIBS" = "yes"; then
25114 MAKE_LIBRARY_FOR_INSTALL_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25115 LINK_FOR_INSTALL_GSI_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCGSILIB)$(LIB_EXTENSION) $$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25116 LINK_FOR_INSTALL_GSC_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCGSCLIB)$(LIB_EXTENSION) $$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25118 else
25120 MAKE_LIBRARY_FOR_INSTALL_LIBS='-L$(rootfromhere)/lib -l$(GAMBCLIB)'
25121 LINK_FOR_INSTALL_GSI_LIBS='-L. -L$(rootfromhere)/lib -l$(GAMBCGSILIB) -l$(GAMBCLIB)'
25122 LINK_FOR_INSTALL_GSC_LIBS='-L. -L$(rootfromhere)/lib -l$(GAMBCGSCLIB) -l$(GAMBCLIB)'
25126 ###############################################################################
25128 # Determine what prefix and suffix are added to function names by the
25129 # C compiler or linker.
25131 case "$target_os" in
25133 mingw*) # empty prefix and suffix
25136 cygwin*) # empty prefix and suffix
25139 *) # for other systems
25141 ac_link_obj_file='$C_COMPILER $FLAGS_DYN -Iinclude $GSC_CC_O_DEFS -o conftest.o1 conftest.$ac_ext >&5'
25143 rm -f conftest.$ac_ext conftest.o1 conftest1.sed
25145 cat >conftest.$ac_ext <<_ACEOF
25146 #line $LINENO "configure"
25147 #define ___VERSION 400000
25148 #define ___MODULE_NAME " GAMBCCHECKMODULEPREFIXSUFFIX"
25149 #define ___LINKER_ID ____20_GAMBCCHECKMODULEPREFIXSUFFIX
25150 #define ___MH_PROC ___H__20_GAMBCCHECKMODULEPREFIXSUFFIX
25151 #define ___SCRIPT_LINE 0
25152 #define ___MAX_CHR 0x10ffff
25153 #define ___VOIDSTAR_WIDTH ___LONG_WIDTH
25154 #include "gambit.h.in"
25156 ___BEGIN_MOD1
25157 ___END_MOD1
25158 ___BEGIN_MOD2
25159 ___END_MOD2
25160 _ACEOF
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link_obj_file\"") >&5
25163 (eval $ac_link_obj_file) 2>&5
25164 ac_status=$?
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; then
25168 cat >conftest1.sed <<_ACEOF
25169 /^.* \([a-zA-Z0-9_$]*\)____20_GAMBCCHECKMODULEPREFIXSUFFIX\([a-zA-Z0-9_$]*\)$/s//#define ___IMPORTED_ID_PREFIX "\1"\\
25170 #define ___IMPORTED_ID_SUFFIX "\2"/p
25171 _ACEOF
25173 # The nm program will extract the symbols in the object file
25174 # conftest.o1. The following option is used:
25175 # -g shows the external symbols only (to avoid confusion with
25176 # internal symbols generated by the compiler)
25177 nm -g conftest.o1 | sed -n -f conftest1.sed | sed -n -e "1,2p" >>confdefs.h
25181 esac
25183 ###############################################################################
25185 # Determine where the installation directories are located.
25187 if test "$prefix" = "NONE"; then
25188 prefix="/usr/local/$PACKAGE_NAME"
25191 if test "$ENABLE_MULTIPLE_VERSIONS" = yes; then
25192 prefix="$prefix/$PACKAGE_VERSION"
25195 if test "$bindir" = "\${exec_prefix}/bin"; then
25196 bindir="\${prefix}/bin"
25199 if test "$includedir" = "\${prefix}/include"; then
25200 includedir="\${prefix}/include"
25203 if test "$libdir" = "\${exec_prefix}/lib"; then
25204 libdir="\${prefix}/lib"
25207 if test "$docdir" = "\${datarootdir}/doc/\${PACKAGE_TARNAME}"; then
25208 docdir="\${prefix}/doc"
25211 if test "$infodir" = "\${datarootdir}/info"; then
25212 infodir="\${prefix}/info"
25215 if test "$datadir" = "\${datarootdir}"; then
25216 datadir="\${prefix}/share"
25219 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR=\"\\\"\${prefix}\\\"\""
25221 if test "$ENABLE_SYMLINKS" != yes; then
25223 if test "$bindir" != "\${prefix}/bin"; then
25224 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_BIN=\"\\\"\${bindir}\\\"\""
25227 if test "$includedir" != "\${prefix}/include"; then
25228 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_INCLUDE=\"\\\"\${includedir}\\\"\""
25231 if test "$libdir" != "\${prefix}/lib"; then
25232 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_LIB=\"\\\"\${libdir}\\\"\""
25235 if test "$docdir" != "\${prefix}/doc"; then
25236 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_DOC=\"\\\"\${docdir}\\\"\""
25239 if test "$infodir" != "\${prefix}/info"; then
25240 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_INFO=\"\\\"\${infodir}\\\"\""
25243 if test "$datadir" != "\${prefix}/share"; then
25244 LIBRARY_DEFS="$LIBRARY_DEFS -D___GAMBCDIR_SHARE=\"\\\"\${datadir}\\\"\""
25249 emacsdir="\${datadir}/emacs/site-lisp"
25251 LIBRARY_DEFS="$LIBRARY_DEFS -D___SYS_TYPE_CPU=\"\\\"$target_cpu\\\"\""
25252 LIBRARY_DEFS="$LIBRARY_DEFS -D___SYS_TYPE_VENDOR=\"\\\"$target_vendor\\\"\""
25253 LIBRARY_DEFS="$LIBRARY_DEFS -D___SYS_TYPE_OS=\"\\\"$target_os\\\"\""
25255 ###############################################################################
25257 if test "$srcdir" = "."; then
25258 srcdirpfx=""
25259 else
25260 srcdirpfx="\$(srcdir)/"
25263 INSTALL='$(rootfromhere)/install-sh -c'
25264 INSTALL_DATA='$(rootfromhere)/install-sh -c -m 644'
25265 INSTALL_LIB='$(rootfromhere)/install-sh -c -m 644'
25266 INSTALL_PROGRAM='$(rootfromhere)/install-sh -c -m 755'
25309 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25310 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25311 set x ${MAKE-make}
25312 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25313 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
25314 $as_echo_n "(cached) " >&6
25315 else
25316 cat >conftest.make <<\_ACEOF
25317 SHELL = /bin/sh
25318 all:
25319 @echo '@@@%%%=$(MAKE)=@@@%%%'
25320 _ACEOF
25321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25322 case `${MAKE-make} -f conftest.make 2>/dev/null` in
25323 *@@@%%%=?*=@@@%%%*)
25324 eval ac_cv_prog_make_${ac_make}_set=yes;;
25326 eval ac_cv_prog_make_${ac_make}_set=no;;
25327 esac
25328 rm -f conftest.make
25330 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25331 { $as_echo "$as_me:$LINENO: result: yes" >&5
25332 $as_echo "yes" >&6; }
25333 SET_MAKE=
25334 else
25335 { $as_echo "$as_me:$LINENO: result: no" >&5
25336 $as_echo "no" >&6; }
25337 SET_MAKE="MAKE=${MAKE-make}"
25341 ac_config_files="$ac_config_files makefile include/makefile include/gambit.h lib/makefile lib/guide/guidepro lib/guide/makefile lib/guide/images/makefile gsi/makefile gsc/makefile bin/makefile bin/gambc-doc.bat.unix bin/gambc-doc.bat.windows misc/makefile doc/makefile tests/makefile examples/makefile examples/distr-comp/makefile examples/pi/makefile examples/ring/makefile examples/web-repl/makefile examples/web-server/makefile examples/tcltk/makefile examples/Xlib-simple/makefile examples/pthread/makefile examples/misc/makefile prebuilt/makefile prebuilt/macosx/makefile prebuilt/macosx/build-phase2 prebuilt/windows/makefile prebuilt/windows/build-phase2"
25343 cat >confcache <<\_ACEOF
25344 # This file is a shell script that caches the results of configure
25345 # tests run on this system so they can be shared between configure
25346 # scripts and configure runs, see configure's option --config-cache.
25347 # It is not useful on other systems. If it contains results you don't
25348 # want to keep, you may remove or edit it.
25350 # config.status only pays attention to the cache file if you give it
25351 # the --recheck option to rerun configure.
25353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25355 # following values.
25357 _ACEOF
25359 # The following way of writing the cache mishandles newlines in values,
25360 # but we know of no workaround that is simple, portable, and efficient.
25361 # So, we kill variables containing newlines.
25362 # Ultrix sh set writes to stderr and can't be redirected directly,
25363 # and sets the high bit in the cache file unless we assign to the vars.
25365 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25366 eval ac_val=\$$ac_var
25367 case $ac_val in #(
25368 *${as_nl}*)
25369 case $ac_var in #(
25370 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25371 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25372 esac
25373 case $ac_var in #(
25374 _ | IFS | as_nl) ;; #(
25375 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25376 *) $as_unset $ac_var ;;
25377 esac ;;
25378 esac
25379 done
25381 (set) 2>&1 |
25382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25383 *${as_nl}ac_space=\ *)
25384 # `set' does not quote correctly, so add quotes (double-quote
25385 # substitution turns \\\\ into \\, and sed turns \\ into \).
25386 sed -n \
25387 "s/'/'\\\\''/g;
25388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25389 ;; #(
25391 # `set' quotes correctly as required by POSIX, so do not add quotes.
25392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25394 esac |
25395 sort
25397 sed '
25398 /^ac_cv_env_/b end
25399 t clear
25400 :clear
25401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25402 t end
25403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25404 :end' >>confcache
25405 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25406 if test -w "$cache_file"; then
25407 test "x$cache_file" != "x/dev/null" &&
25408 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
25409 $as_echo "$as_me: updating cache $cache_file" >&6;}
25410 cat confcache >$cache_file
25411 else
25412 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25413 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25416 rm -f confcache
25418 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25419 # Let make expand exec_prefix.
25420 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25422 DEFS=-DHAVE_CONFIG_H
25424 ac_libobjs=
25425 ac_ltlibobjs=
25426 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25427 # 1. Remove the extension, and $U if already installed.
25428 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25429 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25430 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25431 # will be set to the directory where LIBOBJS objects are built.
25432 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25433 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25434 done
25435 LIBOBJS=$ac_libobjs
25437 LTLIBOBJS=$ac_ltlibobjs
25441 : ${CONFIG_STATUS=./config.status}
25442 ac_write_fail=0
25443 ac_clean_files_save=$ac_clean_files
25444 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25445 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25446 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25447 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25448 #! $SHELL
25449 # Generated by $as_me.
25450 # Run this file to recreate the current configuration.
25451 # Compiler output produced by configure, useful for debugging
25452 # configure, is in config.log if it exists.
25454 debug=false
25455 ac_cs_recheck=false
25456 ac_cs_silent=false
25457 SHELL=\${CONFIG_SHELL-$SHELL}
25458 _ACEOF
25460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25461 ## --------------------- ##
25462 ## M4sh Initialization. ##
25463 ## --------------------- ##
25465 # Be more Bourne compatible
25466 DUALCASE=1; export DUALCASE # for MKS sh
25467 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25468 emulate sh
25469 NULLCMD=:
25470 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25471 # is contrary to our usage. Disable this feature.
25472 alias -g '${1+"$@"}'='"$@"'
25473 setopt NO_GLOB_SUBST
25474 else
25475 case `(set -o) 2>/dev/null` in
25476 *posix*) set -o posix ;;
25477 esac
25484 # PATH needs CR
25485 # Avoid depending upon Character Ranges.
25486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25489 as_cr_digits='0123456789'
25490 as_cr_alnum=$as_cr_Letters$as_cr_digits
25492 as_nl='
25494 export as_nl
25495 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25496 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25497 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25498 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25499 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25500 as_echo='printf %s\n'
25501 as_echo_n='printf %s'
25502 else
25503 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25504 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25505 as_echo_n='/usr/ucb/echo -n'
25506 else
25507 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25508 as_echo_n_body='eval
25509 arg=$1;
25510 case $arg in
25511 *"$as_nl"*)
25512 expr "X$arg" : "X\\(.*\\)$as_nl";
25513 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25514 esac;
25515 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25517 export as_echo_n_body
25518 as_echo_n='sh -c $as_echo_n_body as_echo'
25520 export as_echo_body
25521 as_echo='sh -c $as_echo_body as_echo'
25524 # The user is always right.
25525 if test "${PATH_SEPARATOR+set}" != set; then
25526 PATH_SEPARATOR=:
25527 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25528 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25529 PATH_SEPARATOR=';'
25533 # Support unset when possible.
25534 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25535 as_unset=unset
25536 else
25537 as_unset=false
25541 # IFS
25542 # We need space, tab and new line, in precisely that order. Quoting is
25543 # there to prevent editors from complaining about space-tab.
25544 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25545 # splitting by setting IFS to empty value.)
25546 IFS=" "" $as_nl"
25548 # Find who we are. Look in the path if we contain no directory separator.
25549 case $0 in
25550 *[\\/]* ) as_myself=$0 ;;
25551 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25552 for as_dir in $PATH
25554 IFS=$as_save_IFS
25555 test -z "$as_dir" && as_dir=.
25556 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25557 done
25558 IFS=$as_save_IFS
25561 esac
25562 # We did not find ourselves, most probably we were run as `sh COMMAND'
25563 # in which case we are not to be found in the path.
25564 if test "x$as_myself" = x; then
25565 as_myself=$0
25567 if test ! -f "$as_myself"; then
25568 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25569 { (exit 1); exit 1; }
25572 # Work around bugs in pre-3.0 UWIN ksh.
25573 for as_var in ENV MAIL MAILPATH
25574 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25575 done
25576 PS1='$ '
25577 PS2='> '
25578 PS4='+ '
25580 # NLS nuisances.
25581 LC_ALL=C
25582 export LC_ALL
25583 LANGUAGE=C
25584 export LANGUAGE
25586 # Required to use basename.
25587 if expr a : '\(a\)' >/dev/null 2>&1 &&
25588 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25589 as_expr=expr
25590 else
25591 as_expr=false
25594 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25595 as_basename=basename
25596 else
25597 as_basename=false
25601 # Name of the executable.
25602 as_me=`$as_basename -- "$0" ||
25603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25604 X"$0" : 'X\(//\)$' \| \
25605 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25606 $as_echo X/"$0" |
25607 sed '/^.*\/\([^/][^/]*\)\/*$/{
25608 s//\1/
25611 /^X\/\(\/\/\)$/{
25612 s//\1/
25615 /^X\/\(\/\).*/{
25616 s//\1/
25619 s/.*/./; q'`
25621 # CDPATH.
25622 $as_unset CDPATH
25626 as_lineno_1=$LINENO
25627 as_lineno_2=$LINENO
25628 test "x$as_lineno_1" != "x$as_lineno_2" &&
25629 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25631 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25632 # uniformly replaced by the line number. The first 'sed' inserts a
25633 # line-number line after each line using $LINENO; the second 'sed'
25634 # does the real work. The second script uses 'N' to pair each
25635 # line-number line with the line containing $LINENO, and appends
25636 # trailing '-' during substitution so that $LINENO is not a special
25637 # case at line end.
25638 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25639 # scripts with optimization help from Paolo Bonzini. Blame Lee
25640 # E. McMahon (1931-1989) for sed's syntax. :-)
25641 sed -n '
25643 /[$]LINENO/=
25644 ' <$as_myself |
25645 sed '
25646 s/[$]LINENO.*/&-/
25647 t lineno
25649 :lineno
25651 :loop
25652 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25653 t loop
25654 s/-\n.*//
25655 ' >$as_me.lineno &&
25656 chmod +x "$as_me.lineno" ||
25657 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25658 { (exit 1); exit 1; }; }
25660 # Don't try to exec as it changes $[0], causing all sort of problems
25661 # (the dirname of $[0] is not the place where we might find the
25662 # original and so on. Autoconf is especially sensitive to this).
25663 . "./$as_me.lineno"
25664 # Exit status is that of the last command.
25665 exit
25669 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25670 as_dirname=dirname
25671 else
25672 as_dirname=false
25675 ECHO_C= ECHO_N= ECHO_T=
25676 case `echo -n x` in
25677 -n*)
25678 case `echo 'x\c'` in
25679 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25680 *) ECHO_C='\c';;
25681 esac;;
25683 ECHO_N='-n';;
25684 esac
25685 if expr a : '\(a\)' >/dev/null 2>&1 &&
25686 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25687 as_expr=expr
25688 else
25689 as_expr=false
25692 rm -f conf$$ conf$$.exe conf$$.file
25693 if test -d conf$$.dir; then
25694 rm -f conf$$.dir/conf$$.file
25695 else
25696 rm -f conf$$.dir
25697 mkdir conf$$.dir 2>/dev/null
25699 if (echo >conf$$.file) 2>/dev/null; then
25700 if ln -s conf$$.file conf$$ 2>/dev/null; then
25701 as_ln_s='ln -s'
25702 # ... but there are two gotchas:
25703 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25704 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25705 # In both cases, we have to default to `cp -p'.
25706 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25707 as_ln_s='cp -p'
25708 elif ln conf$$.file conf$$ 2>/dev/null; then
25709 as_ln_s=ln
25710 else
25711 as_ln_s='cp -p'
25713 else
25714 as_ln_s='cp -p'
25716 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25717 rmdir conf$$.dir 2>/dev/null
25719 if mkdir -p . 2>/dev/null; then
25720 as_mkdir_p=:
25721 else
25722 test -d ./-p && rmdir ./-p
25723 as_mkdir_p=false
25726 if test -x / >/dev/null 2>&1; then
25727 as_test_x='test -x'
25728 else
25729 if ls -dL / >/dev/null 2>&1; then
25730 as_ls_L_option=L
25731 else
25732 as_ls_L_option=
25734 as_test_x='
25735 eval sh -c '\''
25736 if test -d "$1"; then
25737 test -d "$1/.";
25738 else
25739 case $1 in
25740 -*)set "./$1";;
25741 esac;
25742 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25743 ???[sx]*):;;*)false;;esac;fi
25744 '\'' sh
25747 as_executable_p=$as_test_x
25749 # Sed expression to map a string onto a valid CPP name.
25750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25752 # Sed expression to map a string onto a valid variable name.
25753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25756 exec 6>&1
25758 # Save the log message, to keep $[0] and so on meaningful, and to
25759 # report actual input values of CONFIG_FILES etc. instead of their
25760 # values after options handling.
25761 ac_log="
25762 This file was extended by Gambit-C $as_me v4.4.1, which was
25763 generated by GNU Autoconf 2.62. Invocation command line was
25765 CONFIG_FILES = $CONFIG_FILES
25766 CONFIG_HEADERS = $CONFIG_HEADERS
25767 CONFIG_LINKS = $CONFIG_LINKS
25768 CONFIG_COMMANDS = $CONFIG_COMMANDS
25769 $ $0 $@
25771 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25774 _ACEOF
25776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25777 # Files that config.status was made for.
25778 config_files="$ac_config_files"
25779 config_headers="$ac_config_headers"
25781 _ACEOF
25783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25784 ac_cs_usage="\
25785 \`$as_me' instantiates files from templates according to the
25786 current configuration.
25788 Usage: $0 [OPTIONS] [FILE]...
25790 -h, --help print this help, then exit
25791 -V, --version print version number and configuration settings, then exit
25792 -q, --quiet do not print progress messages
25793 -d, --debug don't remove temporary files
25794 --recheck update $as_me by reconfiguring in the same conditions
25795 --file=FILE[:TEMPLATE]
25796 instantiate the configuration file FILE
25797 --header=FILE[:TEMPLATE]
25798 instantiate the configuration header FILE
25800 Configuration files:
25801 $config_files
25803 Configuration headers:
25804 $config_headers
25806 Report bugs to <bug-autoconf@gnu.org>."
25808 _ACEOF
25809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25810 ac_cs_version="\\
25811 Gambit-C config.status v4.4.1
25812 configured by $0, generated by GNU Autoconf 2.62,
25813 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25815 Copyright (C) 2008 Free Software Foundation, Inc.
25816 This config.status script is free software; the Free Software Foundation
25817 gives unlimited permission to copy, distribute and modify it."
25819 ac_pwd='$ac_pwd'
25820 srcdir='$srcdir'
25821 test -n "\$AWK" || AWK=awk
25822 _ACEOF
25824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25825 # The default lists apply if the user does not specify any file.
25826 ac_need_defaults=:
25827 while test $# != 0
25829 case $1 in
25830 --*=*)
25831 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25832 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25833 ac_shift=:
25836 ac_option=$1
25837 ac_optarg=$2
25838 ac_shift=shift
25840 esac
25842 case $ac_option in
25843 # Handling of the options.
25844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25845 ac_cs_recheck=: ;;
25846 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25847 $as_echo "$ac_cs_version"; exit ;;
25848 --debug | --debu | --deb | --de | --d | -d )
25849 debug=: ;;
25850 --file | --fil | --fi | --f )
25851 $ac_shift
25852 case $ac_optarg in
25853 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25854 esac
25855 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25856 ac_need_defaults=false;;
25857 --header | --heade | --head | --hea )
25858 $ac_shift
25859 case $ac_optarg in
25860 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25861 esac
25862 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25863 ac_need_defaults=false;;
25864 --he | --h)
25865 # Conflict between --help and --header
25866 { $as_echo "$as_me: error: ambiguous option: $1
25867 Try \`$0 --help' for more information." >&2
25868 { (exit 1); exit 1; }; };;
25869 --help | --hel | -h )
25870 $as_echo "$ac_cs_usage"; exit ;;
25871 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25872 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25873 ac_cs_silent=: ;;
25875 # This is an error.
25876 -*) { $as_echo "$as_me: error: unrecognized option: $1
25877 Try \`$0 --help' for more information." >&2
25878 { (exit 1); exit 1; }; } ;;
25880 *) ac_config_targets="$ac_config_targets $1"
25881 ac_need_defaults=false ;;
25883 esac
25884 shift
25885 done
25887 ac_configure_extra_args=
25889 if $ac_cs_silent; then
25890 exec 6>/dev/null
25891 ac_configure_extra_args="$ac_configure_extra_args --silent"
25894 _ACEOF
25895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25896 if \$ac_cs_recheck; then
25897 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25898 shift
25899 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25900 CONFIG_SHELL='$SHELL'
25901 export CONFIG_SHELL
25902 exec "\$@"
25905 _ACEOF
25906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25907 exec 5>>config.log
25909 echo
25910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25911 ## Running $as_me. ##
25912 _ASBOX
25913 $as_echo "$ac_log"
25914 } >&5
25916 _ACEOF
25917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25918 _ACEOF
25920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25922 # Handling of arguments.
25923 for ac_config_target in $ac_config_targets
25925 case $ac_config_target in
25926 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
25927 "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
25928 "include/makefile") CONFIG_FILES="$CONFIG_FILES include/makefile" ;;
25929 "include/gambit.h") CONFIG_FILES="$CONFIG_FILES include/gambit.h" ;;
25930 "lib/makefile") CONFIG_FILES="$CONFIG_FILES lib/makefile" ;;
25931 "lib/guide/guidepro") CONFIG_FILES="$CONFIG_FILES lib/guide/guidepro" ;;
25932 "lib/guide/makefile") CONFIG_FILES="$CONFIG_FILES lib/guide/makefile" ;;
25933 "lib/guide/images/makefile") CONFIG_FILES="$CONFIG_FILES lib/guide/images/makefile" ;;
25934 "gsi/makefile") CONFIG_FILES="$CONFIG_FILES gsi/makefile" ;;
25935 "gsc/makefile") CONFIG_FILES="$CONFIG_FILES gsc/makefile" ;;
25936 "bin/makefile") CONFIG_FILES="$CONFIG_FILES bin/makefile" ;;
25937 "bin/gambc-doc.bat.unix") CONFIG_FILES="$CONFIG_FILES bin/gambc-doc.bat.unix" ;;
25938 "bin/gambc-doc.bat.windows") CONFIG_FILES="$CONFIG_FILES bin/gambc-doc.bat.windows" ;;
25939 "misc/makefile") CONFIG_FILES="$CONFIG_FILES misc/makefile" ;;
25940 "doc/makefile") CONFIG_FILES="$CONFIG_FILES doc/makefile" ;;
25941 "tests/makefile") CONFIG_FILES="$CONFIG_FILES tests/makefile" ;;
25942 "examples/makefile") CONFIG_FILES="$CONFIG_FILES examples/makefile" ;;
25943 "examples/distr-comp/makefile") CONFIG_FILES="$CONFIG_FILES examples/distr-comp/makefile" ;;
25944 "examples/pi/makefile") CONFIG_FILES="$CONFIG_FILES examples/pi/makefile" ;;
25945 "examples/ring/makefile") CONFIG_FILES="$CONFIG_FILES examples/ring/makefile" ;;
25946 "examples/web-repl/makefile") CONFIG_FILES="$CONFIG_FILES examples/web-repl/makefile" ;;
25947 "examples/web-server/makefile") CONFIG_FILES="$CONFIG_FILES examples/web-server/makefile" ;;
25948 "examples/tcltk/makefile") CONFIG_FILES="$CONFIG_FILES examples/tcltk/makefile" ;;
25949 "examples/Xlib-simple/makefile") CONFIG_FILES="$CONFIG_FILES examples/Xlib-simple/makefile" ;;
25950 "examples/pthread/makefile") CONFIG_FILES="$CONFIG_FILES examples/pthread/makefile" ;;
25951 "examples/misc/makefile") CONFIG_FILES="$CONFIG_FILES examples/misc/makefile" ;;
25952 "prebuilt/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/makefile" ;;
25953 "prebuilt/macosx/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/macosx/makefile" ;;
25954 "prebuilt/macosx/build-phase2") CONFIG_FILES="$CONFIG_FILES prebuilt/macosx/build-phase2" ;;
25955 "prebuilt/windows/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/windows/makefile" ;;
25956 "prebuilt/windows/build-phase2") CONFIG_FILES="$CONFIG_FILES prebuilt/windows/build-phase2" ;;
25958 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25959 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25960 { (exit 1); exit 1; }; };;
25961 esac
25962 done
25965 # If the user did not use the arguments to specify the items to instantiate,
25966 # then the envvar interface is used. Set only those that are not.
25967 # We use the long form for the default assignment because of an extremely
25968 # bizarre bug on SunOS 4.1.3.
25969 if $ac_need_defaults; then
25970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25971 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25974 # Have a temporary directory for convenience. Make it in the build tree
25975 # simply because there is no reason against having it here, and in addition,
25976 # creating and moving files from /tmp can sometimes cause problems.
25977 # Hook for its removal unless debugging.
25978 # Note that there is a small window in which the directory will not be cleaned:
25979 # after its creation but before its name has been assigned to `$tmp'.
25980 $debug ||
25982 tmp=
25983 trap 'exit_status=$?
25984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25986 trap '{ (exit 1); exit 1; }' 1 2 13 15
25988 # Create a (secure) tmp directory for tmp files.
25991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25992 test -n "$tmp" && test -d "$tmp"
25993 } ||
25995 tmp=./conf$$-$RANDOM
25996 (umask 077 && mkdir "$tmp")
25997 } ||
25999 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26000 { (exit 1); exit 1; }
26003 # Set up the scripts for CONFIG_FILES section.
26004 # No need to generate them if there are no CONFIG_FILES.
26005 # This happens for instance with `./config.status config.h'.
26006 if test -n "$CONFIG_FILES"; then
26009 ac_cr=' '
26010 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26012 ac_cs_awk_cr='\\r'
26013 else
26014 ac_cs_awk_cr=$ac_cr
26017 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26018 _ACEOF
26022 echo "cat >conf$$subs.awk <<_ACEOF" &&
26023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26024 echo "_ACEOF"
26025 } >conf$$subs.sh ||
26026 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26027 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26028 { (exit 1); exit 1; }; }
26029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26030 ac_delim='%!_!# '
26031 for ac_last_try in false false false false false :; do
26032 . ./conf$$subs.sh ||
26033 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26034 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26035 { (exit 1); exit 1; }; }
26037 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
26038 break
26039 elif $ac_last_try; then
26040 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26041 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26042 { (exit 1); exit 1; }; }
26043 else
26044 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26046 done
26047 rm -f conf$$subs.sh
26049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26050 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26051 _ACEOF
26052 sed -n '
26054 s/^/S["/; s/!.*/"]=/
26057 s/^[^!]*!//
26058 :repl
26059 t repl
26060 s/'"$ac_delim"'$//
26061 t delim
26064 s/\(.\{148\}\).*/\1/
26065 t more1
26066 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26069 b repl
26070 :more1
26071 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26074 s/.\{148\}//
26075 t nl
26076 :delim
26078 s/\(.\{148\}\).*/\1/
26079 t more2
26080 s/["\\]/\\&/g; s/^/"/; s/$/"/
26083 :more2
26084 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26087 s/.\{148\}//
26088 t delim
26089 ' <conf$$subs.awk | sed '
26090 /^[^""]/{
26092 s/\n//
26094 ' >>$CONFIG_STATUS || ac_write_fail=1
26095 rm -f conf$$subs.awk
26096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26097 _ACAWK
26098 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26099 for (key in S) S_is_set[key] = 1
26100 FS = "\a"
26104 line = $ 0
26105 nfields = split(line, field, "@")
26106 substed = 0
26107 len = length(field[1])
26108 for (i = 2; i < nfields; i++) {
26109 key = field[i]
26110 keylen = length(key)
26111 if (S_is_set[key]) {
26112 value = S[key]
26113 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26114 len += length(value) + length(field[++i])
26115 substed = 1
26116 } else
26117 len += 1 + keylen
26120 print line
26123 _ACAWK
26124 _ACEOF
26125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26126 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26127 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26128 else
26130 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26131 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26132 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
26133 { (exit 1); exit 1; }; }
26134 _ACEOF
26136 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26137 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26138 # trailing colons and then remove the whole line if VPATH becomes empty
26139 # (actually we leave an empty line to preserve line numbers).
26140 if test "x$srcdir" = x.; then
26141 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26142 s/:*\$(srcdir):*/:/
26143 s/:*\${srcdir}:*/:/
26144 s/:*@srcdir@:*/:/
26145 s/^\([^=]*=[ ]*\):*/\1/
26146 s/:*$//
26147 s/^[^=]*=[ ]*$//
26151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26152 fi # test -n "$CONFIG_FILES"
26154 # Set up the scripts for CONFIG_HEADERS section.
26155 # No need to generate them if there are no CONFIG_HEADERS.
26156 # This happens for instance with `./config.status Makefile'.
26157 if test -n "$CONFIG_HEADERS"; then
26158 cat >"$tmp/defines.awk" <<\_ACAWK ||
26159 BEGIN {
26160 _ACEOF
26162 # Transform confdefs.h into an awk script `defines.awk', embedded as
26163 # here-document in config.status, that substitutes the proper values into
26164 # config.h.in to produce config.h.
26166 # Create a delimiter string that does not exist in confdefs.h, to ease
26167 # handling of long lines.
26168 ac_delim='%!_!# '
26169 for ac_last_try in false false :; do
26170 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26171 if test -z "$ac_t"; then
26172 break
26173 elif $ac_last_try; then
26174 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26175 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26176 { (exit 1); exit 1; }; }
26177 else
26178 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26180 done
26182 # For the awk script, D is an array of macro values keyed by name,
26183 # likewise P contains macro parameters if any. Preserve backslash
26184 # newline sequences.
26186 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26187 sed -n '
26188 s/.\{148\}/&'"$ac_delim"'/g
26189 t rset
26190 :rset
26191 s/^[ ]*#[ ]*define[ ][ ]*/ /
26192 t def
26194 :def
26195 s/\\$//
26196 t bsnl
26197 s/["\\]/\\&/g
26198 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26199 D["\1"]=" \3"/p
26200 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26202 :bsnl
26203 s/["\\]/\\&/g
26204 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26205 D["\1"]=" \3\\\\\\n"\\/p
26206 t cont
26207 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26208 t cont
26210 :cont
26212 s/.\{148\}/&'"$ac_delim"'/g
26213 t clear
26214 :clear
26215 s/\\$//
26216 t bsnlc
26217 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26219 :bsnlc
26220 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26221 b cont
26222 ' <confdefs.h | sed '
26223 s/'"$ac_delim"'/"\\\
26224 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26227 for (key in D) D_is_set[key] = 1
26228 FS = "\a"
26230 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26231 line = \$ 0
26232 split(line, arg, " ")
26233 if (arg[1] == "#") {
26234 defundef = arg[2]
26235 mac1 = arg[3]
26236 } else {
26237 defundef = substr(arg[1], 2)
26238 mac1 = arg[2]
26240 split(mac1, mac2, "(") #)
26241 macro = mac2[1]
26242 if (D_is_set[macro]) {
26243 # Preserve the white space surrounding the "#".
26244 prefix = substr(line, 1, index(line, defundef) - 1)
26245 print prefix "define", macro P[macro] D[macro]
26246 next
26247 } else {
26248 # Replace #undef with comments. This is necessary, for example,
26249 # in the case of _POSIX_SOURCE, which is predefined and required
26250 # on some systems where configure will not decide to define it.
26251 if (defundef == "undef") {
26252 print "/*", line, "*/"
26253 next
26257 { print }
26258 _ACAWK
26259 _ACEOF
26260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26261 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26262 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26263 { (exit 1); exit 1; }; }
26264 fi # test -n "$CONFIG_HEADERS"
26267 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
26268 shift
26269 for ac_tag
26271 case $ac_tag in
26272 :[FHLC]) ac_mode=$ac_tag; continue;;
26273 esac
26274 case $ac_mode$ac_tag in
26275 :[FHL]*:*);;
26276 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26277 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26278 { (exit 1); exit 1; }; };;
26279 :[FH]-) ac_tag=-:-;;
26280 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26281 esac
26282 ac_save_IFS=$IFS
26283 IFS=:
26284 set x $ac_tag
26285 IFS=$ac_save_IFS
26286 shift
26287 ac_file=$1
26288 shift
26290 case $ac_mode in
26291 :L) ac_source=$1;;
26292 :[FH])
26293 ac_file_inputs=
26294 for ac_f
26296 case $ac_f in
26297 -) ac_f="$tmp/stdin";;
26298 *) # Look for the file first in the build tree, then in the source tree
26299 # (if the path is not absolute). The absolute path cannot be DOS-style,
26300 # because $ac_f cannot contain `:'.
26301 test -f "$ac_f" ||
26302 case $ac_f in
26303 [\\/$]*) false;;
26304 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26305 esac ||
26306 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26307 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26308 { (exit 1); exit 1; }; };;
26309 esac
26310 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26311 ac_file_inputs="$ac_file_inputs '$ac_f'"
26312 done
26314 # Let's still pretend it is `configure' which instantiates (i.e., don't
26315 # use $as_me), people would be surprised to read:
26316 # /* config.h. Generated by config.status. */
26317 configure_input='Generated from '`
26318 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26319 `' by configure.'
26320 if test x"$ac_file" != x-; then
26321 configure_input="$ac_file. $configure_input"
26322 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
26323 $as_echo "$as_me: creating $ac_file" >&6;}
26325 # Neutralize special characters interpreted by sed in replacement strings.
26326 case $configure_input in #(
26327 *\&* | *\|* | *\\* )
26328 ac_sed_conf_input=`$as_echo "$configure_input" |
26329 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26330 *) ac_sed_conf_input=$configure_input;;
26331 esac
26333 case $ac_tag in
26334 *:-:* | *:-) cat >"$tmp/stdin" \
26335 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26336 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26337 { (exit 1); exit 1; }; } ;;
26338 esac
26340 esac
26342 ac_dir=`$as_dirname -- "$ac_file" ||
26343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26344 X"$ac_file" : 'X\(//\)[^/]' \| \
26345 X"$ac_file" : 'X\(//\)$' \| \
26346 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26347 $as_echo X"$ac_file" |
26348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26349 s//\1/
26352 /^X\(\/\/\)[^/].*/{
26353 s//\1/
26356 /^X\(\/\/\)$/{
26357 s//\1/
26360 /^X\(\/\).*/{
26361 s//\1/
26364 s/.*/./; q'`
26365 { as_dir="$ac_dir"
26366 case $as_dir in #(
26367 -*) as_dir=./$as_dir;;
26368 esac
26369 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26370 as_dirs=
26371 while :; do
26372 case $as_dir in #(
26373 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26374 *) as_qdir=$as_dir;;
26375 esac
26376 as_dirs="'$as_qdir' $as_dirs"
26377 as_dir=`$as_dirname -- "$as_dir" ||
26378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26379 X"$as_dir" : 'X\(//\)[^/]' \| \
26380 X"$as_dir" : 'X\(//\)$' \| \
26381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26382 $as_echo X"$as_dir" |
26383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26384 s//\1/
26387 /^X\(\/\/\)[^/].*/{
26388 s//\1/
26391 /^X\(\/\/\)$/{
26392 s//\1/
26395 /^X\(\/\).*/{
26396 s//\1/
26399 s/.*/./; q'`
26400 test -d "$as_dir" && break
26401 done
26402 test -z "$as_dirs" || eval "mkdir $as_dirs"
26403 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26404 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26405 { (exit 1); exit 1; }; }; }
26406 ac_builddir=.
26408 case "$ac_dir" in
26409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26412 # A ".." for each directory in $ac_dir_suffix.
26413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26414 case $ac_top_builddir_sub in
26415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26417 esac ;;
26418 esac
26419 ac_abs_top_builddir=$ac_pwd
26420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26421 # for backward compatibility:
26422 ac_top_builddir=$ac_top_build_prefix
26424 case $srcdir in
26425 .) # We are building in place.
26426 ac_srcdir=.
26427 ac_top_srcdir=$ac_top_builddir_sub
26428 ac_abs_top_srcdir=$ac_pwd ;;
26429 [\\/]* | ?:[\\/]* ) # Absolute name.
26430 ac_srcdir=$srcdir$ac_dir_suffix;
26431 ac_top_srcdir=$srcdir
26432 ac_abs_top_srcdir=$srcdir ;;
26433 *) # Relative name.
26434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26435 ac_top_srcdir=$ac_top_build_prefix$srcdir
26436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26437 esac
26438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26441 case $ac_mode in
26444 # CONFIG_FILE
26447 _ACEOF
26449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26450 # If the template does not know about datarootdir, expand it.
26451 # FIXME: This hack should be removed a few years after 2.60.
26452 ac_datarootdir_hack=; ac_datarootdir_seen=
26454 ac_sed_dataroot='
26455 /datarootdir/ {
26459 /@datadir@/p
26460 /@docdir@/p
26461 /@infodir@/p
26462 /@localedir@/p
26463 /@mandir@/p
26465 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26466 *datarootdir*) ac_datarootdir_seen=yes;;
26467 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26468 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26469 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26470 _ACEOF
26471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26472 ac_datarootdir_hack='
26473 s&@datadir@&$datadir&g
26474 s&@docdir@&$docdir&g
26475 s&@infodir@&$infodir&g
26476 s&@localedir@&$localedir&g
26477 s&@mandir@&$mandir&g
26478 s&\\\${datarootdir}&$datarootdir&g' ;;
26479 esac
26480 _ACEOF
26482 # Neutralize VPATH when `$srcdir' = `.'.
26483 # Shell code in configure.ac might set extrasub.
26484 # FIXME: do we really want to maintain this feature?
26485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26486 ac_sed_extra="$ac_vpsub
26487 $extrasub
26488 _ACEOF
26489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26492 s|@configure_input@|$ac_sed_conf_input|;t t
26493 s&@top_builddir@&$ac_top_builddir_sub&;t t
26494 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26495 s&@srcdir@&$ac_srcdir&;t t
26496 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26497 s&@top_srcdir@&$ac_top_srcdir&;t t
26498 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26499 s&@builddir@&$ac_builddir&;t t
26500 s&@abs_builddir@&$ac_abs_builddir&;t t
26501 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26502 $ac_datarootdir_hack
26504 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26505 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26506 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26507 { (exit 1); exit 1; }; }
26509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26510 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26512 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26513 which seems to be undefined. Please make sure it is defined." >&5
26514 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26515 which seems to be undefined. Please make sure it is defined." >&2;}
26517 rm -f "$tmp/stdin"
26518 case $ac_file in
26519 -) cat "$tmp/out" && rm -f "$tmp/out";;
26520 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26521 esac \
26522 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26523 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26524 { (exit 1); exit 1; }; }
26528 # CONFIG_HEADER
26530 if test x"$ac_file" != x-; then
26532 $as_echo "/* $configure_input */" \
26533 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26534 } >"$tmp/config.h" \
26535 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26536 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26537 { (exit 1); exit 1; }; }
26538 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26539 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26540 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26541 else
26542 rm -f "$ac_file"
26543 mv "$tmp/config.h" "$ac_file" \
26544 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26545 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26546 { (exit 1); exit 1; }; }
26548 else
26549 $as_echo "/* $configure_input */" \
26550 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26551 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
26552 $as_echo "$as_me: error: could not create -" >&2;}
26553 { (exit 1); exit 1; }; }
26558 esac
26560 done # for ac_tag
26563 { (exit 0); exit 0; }
26564 _ACEOF
26565 chmod +x $CONFIG_STATUS
26566 ac_clean_files=$ac_clean_files_save
26568 test $ac_write_fail = 0 ||
26569 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26570 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26571 { (exit 1); exit 1; }; }
26574 # configure is writing to config.log, and then calls config.status.
26575 # config.status does its own redirection, appending to config.log.
26576 # Unfortunately, on DOS this fails, as config.log is still kept open
26577 # by configure, so config.status won't be able to write to it; its
26578 # output is simply discarded. So we exec the FD to /dev/null,
26579 # effectively closing config.log, so it can be properly (re)opened and
26580 # appended to by config.status. When coming back to configure, we
26581 # need to make the FD available again.
26582 if test "$no_create" != yes; then
26583 ac_cs_success=:
26584 ac_config_status_args=
26585 test "$silent" = yes &&
26586 ac_config_status_args="$ac_config_status_args --quiet"
26587 exec 5>/dev/null
26588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26589 exec 5>>config.log
26590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26591 # would make configure fail if this is the last instruction.
26592 $ac_cs_success || { (exit 1); exit 1; }
26594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26595 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
26596 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
26600 if test "$ENABLE_SINGLE_HOST" != yes; then
26601 { $as_echo "$as_me:$LINENO:
26602 **************************************************************************
26603 *** The option \"--enable-single-host\" was not specified to the ***
26604 *** configure script. The Gambit-C system will compile correctly but ***
26605 *** the code generated by the C compiler will be suboptimal and the ***
26606 *** executables will run considerably slower than if ***
26607 *** \"--enable-single-host\" is specified. On the other hand the build ***
26608 *** process will be faster and require less memory. If you have lots ***
26609 *** of RAM memory (>= 500 Mbytes) and you are willing to wait for the ***
26610 *** longer build try the configure option \"--enable-single-host\". ***
26611 **************************************************************************
26612 " >&5
26613 $as_echo "$as_me:
26614 **************************************************************************
26615 *** The option \"--enable-single-host\" was not specified to the ***
26616 *** configure script. The Gambit-C system will compile correctly but ***
26617 *** the code generated by the C compiler will be suboptimal and the ***
26618 *** executables will run considerably slower than if ***
26619 *** \"--enable-single-host\" is specified. On the other hand the build ***
26620 *** process will be faster and require less memory. If you have lots ***
26621 *** of RAM memory (>= 500 Mbytes) and you are willing to wait for the ***
26622 *** longer build try the configure option \"--enable-single-host\". ***
26623 **************************************************************************
26624 " >&6;}
26627 if test "$C_COMP_GNUC" = yes; then
26629 if test "$ENABLE_GCC_MOVE_LOOP_INVARIANTS" != yes; then
26630 { $as_echo "$as_me:$LINENO:
26631 **************************************************************************
26632 *** The GCC compiler that is being used has problems compiling Gambit ***
26633 *** generated code when the normal set of C compiler optimizations are ***
26634 *** enabled and the configure flag \"--enable-single-host\" is ***
26635 *** specified. It can take over 20 GBytes of virtual memory to ***
26636 *** compile some files. For this reason the GCC compiler optimization ***
26637 *** which performs loop invariant code motion has been disabled by ***
26638 *** adding the GCC command line option \"-fno-move-loop-invariants\". ***
26639 *** This greatly reduces compile time space requirements and it has a ***
26640 *** small impact on overall run time performance, but for some tight ***
26641 *** loops the effect is larger. If you want to avoid this problem ***
26642 *** then upgrade your version of GCC to 4.4 (or above hopefully) or ***
26643 *** downgrade to a version prior to 4.2 . ***
26644 **************************************************************************
26645 " >&5
26646 $as_echo "$as_me:
26647 **************************************************************************
26648 *** The GCC compiler that is being used has problems compiling Gambit ***
26649 *** generated code when the normal set of C compiler optimizations are ***
26650 *** enabled and the configure flag \"--enable-single-host\" is ***
26651 *** specified. It can take over 20 GBytes of virtual memory to ***
26652 *** compile some files. For this reason the GCC compiler optimization ***
26653 *** which performs loop invariant code motion has been disabled by ***
26654 *** adding the GCC command line option \"-fno-move-loop-invariants\". ***
26655 *** This greatly reduces compile time space requirements and it has a ***
26656 *** small impact on overall run time performance, but for some tight ***
26657 *** loops the effect is larger. If you want to avoid this problem ***
26658 *** then upgrade your version of GCC to 4.4 (or above hopefully) or ***
26659 *** downgrade to a version prior to 4.2 . ***
26660 **************************************************************************
26661 " >&6;}
26664 # if test "$ENABLE_GCC_OPTS" != yes; then
26665 # AC_MSG_NOTICE([
26666 #**************************************************************************
26667 #*** The GCC compiler is being used but the option "--enable-gcc-opts" ***
26668 #*** was not specified to the configure script. The Gambit-C system ***
26669 #*** will compile correctly but the code generated by the GCC compiler ***
26670 #*** will be suboptimal and the executables will run slightly slower ***
26671 #*** than if "--enable-gcc-opts" is specified. On the other hand the ***
26672 #*** build process will be faster and require less memory. If you have ***
26673 #*** lots of RAM memory (>= 2 Gbytes) and you are willing to wait for ***
26674 #*** the longer build try the configure option "--enable-gcc-opts". ***
26675 #**************************************************************************
26677 # fi