Allow REPL to access the lexical variables in compiled code (when compiled with ...
[gambit-c.git] / configure
blobf5e5ad6f633407cff71d827e0fa00d9da3df265b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for Gambit-C v4.5.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_5_1'
601 PACKAGE_VERSION='v4.5.1'
602 PACKAGE_STRING='Gambit-C v4.5.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 C_COMPILER_MF
708 C_PREPROC_MF
709 C_COMPILER_SH
710 C_PREPROC_SH
711 C_COMPILER_BAT
712 C_PREPROC_BAT
713 QTINCPATH
714 ENABLE_GUIDE
715 CONF_MAX_CHR
716 GREP
717 EGREP
718 CONF_VOIDSTAR_WIDTH
719 C_COMP_GNUC
720 C_COMP_VISUALC
721 GCC_42_OR_43
722 DASH_no_cpp_precomp
723 DASH_Wall
724 DASH_W
725 DASH_Wno_unused
726 DASH_g
727 DASH_p
728 DASH_pg
729 DASH_ftest_coverage
730 DASH_fprofile_arcs
731 DASH_fbranch_probabilities
732 DASH_O1
733 DASH_fno_math_errno
734 DASH_fschedule_insns2
735 DASH_fno_trapping_math
736 DASH_fno_strict_aliasing
737 DASH_fwrapv
738 DASH_fomit_frame_pointer
739 DASH_fno_move_loop_invariants
740 DASH_fmodulo_sched
741 DASH_freschedule_modulo_scheduled_loops
742 DASH_fPIC
743 DASH_fpic
744 DASH_fno_common
745 DASH_mieee
746 DASH_mieee_with_inexact
747 DASH_mieee_fp
748 DASH_shared
749 DASH_dynamiclib
750 DASH_bundle
751 DASH_flat_namespace_undefined_suppress
752 DASH_rdynamic
753 DASH_xO2
754 DASH_KPIC
755 DASH_G
756 DASH_O2
757 DASH_ieee
758 DASH_call_shared
759 DASH_expect_unresolved
760 DASH_fullwarn
761 DASH_woff_1110_1174_1209_1552_3201
762 DASH_OPT_Olimit_0
763 DASH_TENV_large_GOT
764 DASH_OPT_IEEE_comparisons_ON
765 DASH_OPT_IEEE_NaN_inf_ON
766 DASH_b
767 FLAGS_OBJ
768 FLAGS_DYN
769 FLAGS_LIB
770 FLAGS_EXE
771 FLAGS_OBJ_MF
772 FLAGS_DYN_MF
773 FLAGS_LIB_MF
774 FLAGS_EXE_MF
775 FLAGS_OBJ_SH
776 FLAGS_DYN_SH
777 FLAGS_LIB_SH
778 FLAGS_EXE_SH
779 FLAGS_OBJ_BAT
780 FLAGS_DYN_BAT
781 FLAGS_LIB_BAT
782 FLAGS_EXE_BAT
783 RTLIBSUBSYS
784 XMKMF
785 X_CFLAGS
786 X_PRE_LIBS
787 X_LIBS
788 X_EXTRA_LIBS
789 LN_S
790 RANLIB
791 srcdirpfx
795 SETDLPATH
796 BUILD_OBJ
797 BUILD_DYN
798 BUILD_LIB
799 BUILD_EXE
800 DEFS_OBJ
801 DEFS_DYN
802 DEFS_LIB
803 DEFS_EXE
804 GAMBCLIB_DEFS
805 GAMBCLIB
806 GAMBCGSCLIB
807 GAMBCGSILIB
808 LIB_PREFIX
809 LIB_EXTENSION
810 BUILD_OBJ_MF
811 BUILD_DYN_MF
812 BUILD_LIB_MF
813 BUILD_EXE_MF
814 DEFS_OBJ_MF
815 DEFS_DYN_MF
816 DEFS_LIB_MF
817 DEFS_EXE_MF
818 DEFS_MF
819 LIBS_MF
820 GAMBCLIB_DEFS_MF
821 GAMBCLIB_MF
822 GAMBCGSCLIB_MF
823 GAMBCGSILIB_MF
824 LIB_PREFIX_MF
825 LIB_EXTENSION_MF
826 BUILD_OBJ_SH
827 BUILD_DYN_SH
828 BUILD_LIB_SH
829 BUILD_EXE_SH
830 DEFS_OBJ_SH
831 DEFS_DYN_SH
832 DEFS_LIB_SH
833 DEFS_EXE_SH
834 DEFS_SH
835 LIBS_SH
836 GAMBCLIB_DEFS_SH
837 GAMBCLIB_SH
838 GAMBCGSCLIB_SH
839 GAMBCGSILIB_SH
840 LIB_PREFIX_SH
841 LIB_EXTENSION_SH
842 BUILD_OBJ_BAT
843 BUILD_DYN_BAT
844 BUILD_LIB_BAT
845 BUILD_EXE_BAT
846 DEFS_OBJ_BAT
847 DEFS_DYN_BAT
848 DEFS_LIB_BAT
849 DEFS_EXE_BAT
850 DEFS_BAT
851 LIBS_BAT
852 GAMBCLIB_DEFS_BAT
853 GAMBCLIB_BAT
854 GAMBCGSCLIB_BAT
855 GAMBCGSILIB_BAT
856 LIB_PREFIX_BAT
857 LIB_EXTENSION_BAT
858 BUILD_OBJ_ECHO
859 BUILD_DYN_ECHO
860 BUILD_LIB_ECHO
861 BUILD_EXE_ECHO
862 BUILD_OBJ_ECHO_BAT
863 BUILD_DYN_ECHO_BAT
864 BUILD_LIB_ECHO_BAT
865 BUILD_EXE_ECHO_BAT
866 MAKE_LIBRARY
867 MAKE_LIBRARY_FOR_INSTALL
868 MAKE_LIBRARY_FOR_INSTALL_LIBS
869 LINK
870 LINK_FOR_INSTALL
871 LINK_FOR_INSTALL_GSI_LIBS
872 LINK_FOR_INSTALL_GSC_LIBS
873 INSTALL
874 INSTALL_DATA
875 INSTALL_LIB
876 INSTALL_PROGRAM
880 FIXLIB
881 X_FLAGS
882 ENABLE_SYMLINKS
883 ENABLE_INTERPRETER_NAME
884 ENABLE_COMPILER_NAME
885 ENABLE_MULTIPLE_VERSIONS
886 ENABLE_SHARED
887 ENABLE_ABSOLUTE_SHARED_LIBS
888 ENABLE_VERSIONNED_LIBS
889 emacsdir
890 HELP_BROWSER
891 SET_MAKE
892 LIBOBJS
893 LTLIBOBJS'
894 ac_subst_files=''
895 ac_user_opts='
896 enable_option_checking
897 enable_cplusplus
898 enable_guide
899 enable_debug
900 enable_profile
901 enable_coverage
902 enable_feedback1
903 enable_feedback2
904 enable_single_host
905 enable_inline_jumps
906 enable_gcc_opts
907 enable_char_size
908 enable_shared
909 enable_ansi_c
910 enable_symlinks
911 enable_interpreter_name
912 enable_compiler_name
913 enable_multiple_versions
914 enable_absolute_shared_libs
915 enable_help_browser
916 with_x
918 ac_precious_vars='build_alias
919 host_alias
920 target_alias
922 CFLAGS
923 LDFLAGS
924 LIBS
925 CPPFLAGS
928 CXXFLAGS
930 CXXCPP
931 XMKMF'
934 # Initialize some variables set by options.
935 ac_init_help=
936 ac_init_version=false
937 ac_unrecognized_opts=
938 ac_unrecognized_sep=
939 # The variables have the same names as the options, with
940 # dashes changed to underlines.
941 cache_file=/dev/null
942 exec_prefix=NONE
943 no_create=
944 no_recursion=
945 prefix=NONE
946 program_prefix=NONE
947 program_suffix=NONE
948 program_transform_name=s,x,x,
949 silent=
950 site=
951 srcdir=
952 verbose=
953 x_includes=NONE
954 x_libraries=NONE
956 # Installation directory options.
957 # These are left unexpanded so users can "make install exec_prefix=/foo"
958 # and all the variables that are supposed to be based on exec_prefix
959 # by default will actually change.
960 # Use braces instead of parens because sh, perl, etc. also accept them.
961 # (The list follows the same order as the GNU Coding Standards.)
962 bindir='${exec_prefix}/bin'
963 sbindir='${exec_prefix}/sbin'
964 libexecdir='${exec_prefix}/libexec'
965 datarootdir='${prefix}/share'
966 datadir='${datarootdir}'
967 sysconfdir='${prefix}/etc'
968 sharedstatedir='${prefix}/com'
969 localstatedir='${prefix}/var'
970 includedir='${prefix}/include'
971 oldincludedir='/usr/include'
972 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
973 infodir='${datarootdir}/info'
974 htmldir='${docdir}'
975 dvidir='${docdir}'
976 pdfdir='${docdir}'
977 psdir='${docdir}'
978 libdir='${exec_prefix}/lib'
979 localedir='${datarootdir}/locale'
980 mandir='${datarootdir}/man'
982 ac_prev=
983 ac_dashdash=
984 for ac_option
986 # If the previous option needs an argument, assign it.
987 if test -n "$ac_prev"; then
988 eval $ac_prev=\$ac_option
989 ac_prev=
990 continue
993 case $ac_option in
994 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
995 *) ac_optarg=yes ;;
996 esac
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1002 ac_dashdash=yes ;;
1004 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1005 ac_prev=bindir ;;
1006 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1007 bindir=$ac_optarg ;;
1009 -build | --build | --buil | --bui | --bu)
1010 ac_prev=build_alias ;;
1011 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1012 build_alias=$ac_optarg ;;
1014 -cache-file | --cache-file | --cache-fil | --cache-fi \
1015 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1016 ac_prev=cache_file ;;
1017 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1018 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1019 cache_file=$ac_optarg ;;
1021 --config-cache | -C)
1022 cache_file=config.cache ;;
1024 -datadir | --datadir | --datadi | --datad)
1025 ac_prev=datadir ;;
1026 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1027 datadir=$ac_optarg ;;
1029 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1030 | --dataroo | --dataro | --datar)
1031 ac_prev=datarootdir ;;
1032 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1033 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1034 datarootdir=$ac_optarg ;;
1036 -disable-* | --disable-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_$ac_useropt"
1047 "*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1050 esac
1051 eval enable_$ac_useropt=no ;;
1053 -docdir | --docdir | --docdi | --doc | --do)
1054 ac_prev=docdir ;;
1055 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1056 docdir=$ac_optarg ;;
1058 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1059 ac_prev=dvidir ;;
1060 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1061 dvidir=$ac_optarg ;;
1063 -enable-* | --enable-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1068 { (exit 1); exit 1; }; }
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_$ac_useropt"
1074 "*) ;;
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1077 esac
1078 eval enable_$ac_useropt=\$ac_optarg ;;
1080 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082 | --exec | --exe | --ex)
1083 ac_prev=exec_prefix ;;
1084 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086 | --exec=* | --exe=* | --ex=*)
1087 exec_prefix=$ac_optarg ;;
1089 -gas | --gas | --ga | --g)
1090 # Obsolete; use --with-gas.
1091 with_gas=yes ;;
1093 -help | --help | --hel | --he | -h)
1094 ac_init_help=long ;;
1095 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096 ac_init_help=recursive ;;
1097 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098 ac_init_help=short ;;
1100 -host | --host | --hos | --ho)
1101 ac_prev=host_alias ;;
1102 -host=* | --host=* | --hos=* | --ho=*)
1103 host_alias=$ac_optarg ;;
1105 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1106 ac_prev=htmldir ;;
1107 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1108 | --ht=*)
1109 htmldir=$ac_optarg ;;
1111 -includedir | --includedir | --includedi | --included | --include \
1112 | --includ | --inclu | --incl | --inc)
1113 ac_prev=includedir ;;
1114 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115 | --includ=* | --inclu=* | --incl=* | --inc=*)
1116 includedir=$ac_optarg ;;
1118 -infodir | --infodir | --infodi | --infod | --info | --inf)
1119 ac_prev=infodir ;;
1120 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121 infodir=$ac_optarg ;;
1123 -libdir | --libdir | --libdi | --libd)
1124 ac_prev=libdir ;;
1125 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126 libdir=$ac_optarg ;;
1128 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129 | --libexe | --libex | --libe)
1130 ac_prev=libexecdir ;;
1131 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132 | --libexe=* | --libex=* | --libe=*)
1133 libexecdir=$ac_optarg ;;
1135 -localedir | --localedir | --localedi | --localed | --locale)
1136 ac_prev=localedir ;;
1137 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138 localedir=$ac_optarg ;;
1140 -localstatedir | --localstatedir | --localstatedi | --localstated \
1141 | --localstate | --localstat | --localsta | --localst | --locals)
1142 ac_prev=localstatedir ;;
1143 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145 localstatedir=$ac_optarg ;;
1147 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1148 ac_prev=mandir ;;
1149 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150 mandir=$ac_optarg ;;
1152 -nfp | --nfp | --nf)
1153 # Obsolete; use --without-fp.
1154 with_fp=no ;;
1156 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157 | --no-cr | --no-c | -n)
1158 no_create=yes ;;
1160 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162 no_recursion=yes ;;
1164 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166 | --oldin | --oldi | --old | --ol | --o)
1167 ac_prev=oldincludedir ;;
1168 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171 oldincludedir=$ac_optarg ;;
1173 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1174 ac_prev=prefix ;;
1175 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176 prefix=$ac_optarg ;;
1178 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179 | --program-pre | --program-pr | --program-p)
1180 ac_prev=program_prefix ;;
1181 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183 program_prefix=$ac_optarg ;;
1185 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186 | --program-suf | --program-su | --program-s)
1187 ac_prev=program_suffix ;;
1188 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190 program_suffix=$ac_optarg ;;
1192 -program-transform-name | --program-transform-name \
1193 | --program-transform-nam | --program-transform-na \
1194 | --program-transform-n | --program-transform- \
1195 | --program-transform | --program-transfor \
1196 | --program-transfo | --program-transf \
1197 | --program-trans | --program-tran \
1198 | --progr-tra | --program-tr | --program-t)
1199 ac_prev=program_transform_name ;;
1200 -program-transform-name=* | --program-transform-name=* \
1201 | --program-transform-nam=* | --program-transform-na=* \
1202 | --program-transform-n=* | --program-transform-=* \
1203 | --program-transform=* | --program-transfor=* \
1204 | --program-transfo=* | --program-transf=* \
1205 | --program-trans=* | --program-tran=* \
1206 | --progr-tra=* | --program-tr=* | --program-t=*)
1207 program_transform_name=$ac_optarg ;;
1209 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1210 ac_prev=pdfdir ;;
1211 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212 pdfdir=$ac_optarg ;;
1214 -psdir | --psdir | --psdi | --psd | --ps)
1215 ac_prev=psdir ;;
1216 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217 psdir=$ac_optarg ;;
1219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220 | -silent | --silent | --silen | --sile | --sil)
1221 silent=yes ;;
1223 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1224 ac_prev=sbindir ;;
1225 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1226 | --sbi=* | --sb=*)
1227 sbindir=$ac_optarg ;;
1229 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1230 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231 | --sharedst | --shareds | --shared | --share | --shar \
1232 | --sha | --sh)
1233 ac_prev=sharedstatedir ;;
1234 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1237 | --sha=* | --sh=*)
1238 sharedstatedir=$ac_optarg ;;
1240 -site | --site | --sit)
1241 ac_prev=site ;;
1242 -site=* | --site=* | --sit=*)
1243 site=$ac_optarg ;;
1245 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1246 ac_prev=srcdir ;;
1247 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248 srcdir=$ac_optarg ;;
1250 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251 | --syscon | --sysco | --sysc | --sys | --sy)
1252 ac_prev=sysconfdir ;;
1253 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255 sysconfdir=$ac_optarg ;;
1257 -target | --target | --targe | --targ | --tar | --ta | --t)
1258 ac_prev=target_alias ;;
1259 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260 target_alias=$ac_optarg ;;
1262 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263 verbose=yes ;;
1265 -version | --version | --versio | --versi | --vers | -V)
1266 ac_init_version=: ;;
1268 -with-* | --with-*)
1269 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1273 { (exit 1); exit 1; }; }
1274 ac_useropt_orig=$ac_useropt
1275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1278 "with_$ac_useropt"
1279 "*) ;;
1280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1281 ac_unrecognized_sep=', ';;
1282 esac
1283 eval with_$ac_useropt=\$ac_optarg ;;
1285 -without-* | --without-*)
1286 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1290 { (exit 1); exit 1; }; }
1291 ac_useropt_orig=$ac_useropt
1292 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1295 "with_$ac_useropt"
1296 "*) ;;
1297 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298 ac_unrecognized_sep=', ';;
1299 esac
1300 eval with_$ac_useropt=no ;;
1302 --x)
1303 # Obsolete; use --with-x.
1304 with_x=yes ;;
1306 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1307 | --x-incl | --x-inc | --x-in | --x-i)
1308 ac_prev=x_includes ;;
1309 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1310 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1311 x_includes=$ac_optarg ;;
1313 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1314 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1315 ac_prev=x_libraries ;;
1316 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1317 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1318 x_libraries=$ac_optarg ;;
1320 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1321 Try \`$0 --help' for more information." >&2
1322 { (exit 1); exit 1; }; }
1325 *=*)
1326 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1327 # Reject names that are not valid shell variable names.
1328 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1329 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1330 { (exit 1); exit 1; }; }
1331 eval $ac_envvar=\$ac_optarg
1332 export $ac_envvar ;;
1335 # FIXME: should be removed in autoconf 3.0.
1336 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1338 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1342 esac
1343 done
1345 if test -n "$ac_prev"; then
1346 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1347 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1348 { (exit 1); exit 1; }; }
1351 if test -n "$ac_unrecognized_opts"; then
1352 case $enable_option_checking in
1353 no) ;;
1354 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1355 { (exit 1); exit 1; }; } ;;
1356 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357 esac
1360 # Check all directory arguments for consistency.
1361 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362 datadir sysconfdir sharedstatedir localstatedir includedir \
1363 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364 libdir localedir mandir
1366 eval ac_val=\$$ac_var
1367 # Remove trailing slashes.
1368 case $ac_val in
1369 */ )
1370 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371 eval $ac_var=\$ac_val;;
1372 esac
1373 # Be sure to have absolute directory names.
1374 case $ac_val in
1375 [\\/$]* | ?:[\\/]* ) continue;;
1376 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377 esac
1378 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1379 { (exit 1); exit 1; }; }
1380 done
1382 # There might be people who depend on the old broken behavior: `$host'
1383 # used to hold the argument of --host etc.
1384 # FIXME: To remove some day.
1385 build=$build_alias
1386 host=$host_alias
1387 target=$target_alias
1389 # FIXME: To remove some day.
1390 if test "x$host_alias" != x; then
1391 if test "x$build_alias" = x; then
1392 cross_compiling=maybe
1393 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1394 If a cross compiler is detected then cross compile mode will be used." >&2
1395 elif test "x$build_alias" != "x$host_alias"; then
1396 cross_compiling=yes
1400 ac_tool_prefix=
1401 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1403 test "$silent" = yes && exec 6>/dev/null
1406 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1407 ac_ls_di=`ls -di .` &&
1408 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1409 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1410 { (exit 1); exit 1; }; }
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1413 { (exit 1); exit 1; }; }
1416 # Find the source files, if location was not specified.
1417 if test -z "$srcdir"; then
1418 ac_srcdir_defaulted=yes
1419 # Try the directory containing this script, then the parent directory.
1420 ac_confdir=`$as_dirname -- "$as_myself" ||
1421 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1422 X"$as_myself" : 'X\(//\)[^/]' \| \
1423 X"$as_myself" : 'X\(//\)$' \| \
1424 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1425 $as_echo X"$as_myself" |
1426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1427 s//\1/
1430 /^X\(\/\/\)[^/].*/{
1431 s//\1/
1434 /^X\(\/\/\)$/{
1435 s//\1/
1438 /^X\(\/\).*/{
1439 s//\1/
1442 s/.*/./; q'`
1443 srcdir=$ac_confdir
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 srcdir=..
1447 else
1448 ac_srcdir_defaulted=no
1450 if test ! -r "$srcdir/$ac_unique_file"; then
1451 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1453 { (exit 1); exit 1; }; }
1455 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1456 ac_abs_confdir=`(
1457 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1458 { (exit 1); exit 1; }; }
1459 pwd)`
1460 # When building in place, set srcdir=.
1461 if test "$ac_abs_confdir" = "$ac_pwd"; then
1462 srcdir=.
1464 # Remove unnecessary trailing slashes from srcdir.
1465 # Double slashes in file names in object file debugging info
1466 # mess up M-x gdb in Emacs.
1467 case $srcdir in
1468 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 esac
1470 for ac_var in $ac_precious_vars; do
1471 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1472 eval ac_env_${ac_var}_value=\$${ac_var}
1473 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1474 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1475 done
1478 # Report the --help message.
1480 if test "$ac_init_help" = "long"; then
1481 # Omit some internal or obsolete options to make the list less imposing.
1482 # This message is too long to be a string in the A/UX 3.1 sh.
1483 cat <<_ACEOF
1484 \`configure' configures Gambit-C v4.5.1 to adapt to many kinds of systems.
1486 Usage: $0 [OPTION]... [VAR=VALUE]...
1488 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1489 VAR=VALUE. See below for descriptions of some of the useful variables.
1491 Defaults for the options are specified in brackets.
1493 Configuration:
1494 -h, --help display this help and exit
1495 --help=short display options specific to this package
1496 --help=recursive display the short help of all the included packages
1497 -V, --version display version information and exit
1498 -q, --quiet, --silent do not print \`checking...' messages
1499 --cache-file=FILE cache test results in FILE [disabled]
1500 -C, --config-cache alias for \`--cache-file=config.cache'
1501 -n, --no-create do not create output files
1502 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1504 Installation directories:
1505 --prefix=PREFIX install architecture-independent files in PREFIX
1506 [$ac_default_prefix]
1507 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1508 [PREFIX]
1510 By default, \`make install' will install all the files in
1511 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1512 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1513 for instance \`--prefix=\$HOME'.
1515 For better control, use the options below.
1517 Fine tuning of the installation directories:
1518 --bindir=DIR user executables [EPREFIX/bin]
1519 --sbindir=DIR system admin executables [EPREFIX/sbin]
1520 --libexecdir=DIR program executables [EPREFIX/libexec]
1521 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1522 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1523 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1524 --libdir=DIR object code libraries [EPREFIX/lib]
1525 --includedir=DIR C header files [PREFIX/include]
1526 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1527 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1528 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1529 --infodir=DIR info documentation [DATAROOTDIR/info]
1530 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1531 --mandir=DIR man documentation [DATAROOTDIR/man]
1532 --docdir=DIR documentation root [DATAROOTDIR/doc/gambc-v4_5_1]
1533 --htmldir=DIR html documentation [DOCDIR]
1534 --dvidir=DIR dvi documentation [DOCDIR]
1535 --pdfdir=DIR pdf documentation [DOCDIR]
1536 --psdir=DIR ps documentation [DOCDIR]
1537 _ACEOF
1539 cat <<\_ACEOF
1541 X features:
1542 --x-includes=DIR X include files are in DIR
1543 --x-libraries=DIR X library files are in DIR
1545 System types:
1546 --build=BUILD configure for building on BUILD [guessed]
1547 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1548 --target=TARGET configure for building compilers for TARGET [HOST]
1549 _ACEOF
1552 if test -n "$ac_init_help"; then
1553 case $ac_init_help in
1554 short | recursive ) echo "Configuration of Gambit-C v4.5.1:";;
1555 esac
1556 cat <<\_ACEOF
1558 Optional Features:
1559 --disable-option-checking ignore unrecognized --enable/--with options
1560 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1561 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1562 --enable-cplusplus compile using C++ compiler (default is NO)
1563 --enable-guide include the Gambit Universal IDE (default is NO)
1564 --enable-debug build system so that it can be debugged (default is
1566 --enable-profile build system so that it can be profiled (default is
1568 --enable-coverage build system to accumulate coverage statistics
1569 (default is NO)
1570 --enable-feedback1 build system to accumulate trial run data (default
1571 is NO)
1572 --enable-feedback2 build system using trial run feedback (default is
1574 --enable-single-host compile each Scheme module as a single C function
1575 (default is NO)
1576 --enable-inline-jumps generate inline code for jumps (default is NO)
1577 --enable-gcc-opts use expensive GCC optimizations (default is NO)
1578 --enable-char-size=N Scheme character size in bytes (default is 4)
1579 --enable-shared build the Scheme runtime system as a shared library
1580 (default is NO)
1581 --enable-ansi-c link only with ANSI C libraries (default is NO)
1582 --enable-symlinks use symbolic links for installed files not in the
1583 central installation directory (default is YES)
1584 --enable-interpreter-name=INTERP
1585 Name to use for Gambit interpreter (default is gsi)
1586 --enable-compiler-name=COMP
1587 Name to use for Gambit compiler (default is gsc)
1588 --enable-multiple-versions
1589 multiple installed versions are supported (default
1590 is NO)
1591 --enable-absolute-shared-libs
1592 shared libraries should be linked to using an
1593 absolute path (default is YES)
1594 --enable-help-browser=BROWSER
1595 Browser to use for help (default is to search)
1597 Optional Packages:
1598 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1599 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1600 --with-x use the X Window System
1602 Some influential environment variables:
1603 CC C compiler command
1604 CFLAGS C compiler flags
1605 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1606 nonstandard directory <lib dir>
1607 LIBS libraries to pass to the linker, e.g. -l<library>
1608 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1609 you have headers in a nonstandard directory <include dir>
1610 CPP C preprocessor
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CXXCPP C++ preprocessor
1614 XMKMF Path to xmkmf, Makefile generator for X Window System
1616 Use these variables to override the choices made by `configure' or to help
1617 it to find libraries and programs with nonstandard names/locations.
1619 Report bugs to <gambit@iro.umontreal.ca>.
1620 _ACEOF
1621 ac_status=$?
1624 if test "$ac_init_help" = "recursive"; then
1625 # If there are subdirs, report their specific --help.
1626 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1627 test -d "$ac_dir" ||
1628 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1629 continue
1630 ac_builddir=.
1632 case "$ac_dir" in
1633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1636 # A ".." for each directory in $ac_dir_suffix.
1637 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1638 case $ac_top_builddir_sub in
1639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1641 esac ;;
1642 esac
1643 ac_abs_top_builddir=$ac_pwd
1644 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1645 # for backward compatibility:
1646 ac_top_builddir=$ac_top_build_prefix
1648 case $srcdir in
1649 .) # We are building in place.
1650 ac_srcdir=.
1651 ac_top_srcdir=$ac_top_builddir_sub
1652 ac_abs_top_srcdir=$ac_pwd ;;
1653 [\\/]* | ?:[\\/]* ) # Absolute name.
1654 ac_srcdir=$srcdir$ac_dir_suffix;
1655 ac_top_srcdir=$srcdir
1656 ac_abs_top_srcdir=$srcdir ;;
1657 *) # Relative name.
1658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1661 esac
1662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1664 cd "$ac_dir" || { ac_status=$?; continue; }
1665 # Check for guested configure.
1666 if test -f "$ac_srcdir/configure.gnu"; then
1667 echo &&
1668 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 elif test -f "$ac_srcdir/configure"; then
1670 echo &&
1671 $SHELL "$ac_srcdir/configure" --help=recursive
1672 else
1673 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1674 fi || ac_status=$?
1675 cd "$ac_pwd" || { ac_status=$?; break; }
1676 done
1679 test -n "$ac_init_help" && exit $ac_status
1680 if $ac_init_version; then
1681 cat <<\_ACEOF
1682 Gambit-C configure v4.5.1
1683 generated by GNU Autoconf 2.62
1685 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1686 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1687 This configure script is free software; the Free Software Foundation
1688 gives unlimited permission to copy, distribute and modify it.
1690 Copyright (c) 1994-2009 by Marc Feeley, All Rights Reserved.
1691 _ACEOF
1692 exit
1694 cat >config.log <<_ACEOF
1695 This file contains any messages produced by compilers while
1696 running configure, to aid debugging if configure makes a mistake.
1698 It was created by Gambit-C $as_me v4.5.1, which was
1699 generated by GNU Autoconf 2.62. Invocation command line was
1701 $ $0 $@
1703 _ACEOF
1704 exec 5>>config.log
1706 cat <<_ASUNAME
1707 ## --------- ##
1708 ## Platform. ##
1709 ## --------- ##
1711 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1712 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1713 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1714 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1715 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1717 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1718 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1720 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1721 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1722 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1723 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1724 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1725 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1726 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1728 _ASUNAME
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 for as_dir in $PATH
1733 IFS=$as_save_IFS
1734 test -z "$as_dir" && as_dir=.
1735 $as_echo "PATH: $as_dir"
1736 done
1737 IFS=$as_save_IFS
1739 } >&5
1741 cat >&5 <<_ACEOF
1744 ## ----------- ##
1745 ## Core tests. ##
1746 ## ----------- ##
1748 _ACEOF
1751 # Keep a trace of the command line.
1752 # Strip out --no-create and --no-recursion so they do not pile up.
1753 # Strip out --silent because we don't want to record it for future runs.
1754 # Also quote any args containing shell meta-characters.
1755 # Make two passes to allow for proper duplicate-argument suppression.
1756 ac_configure_args=
1757 ac_configure_args0=
1758 ac_configure_args1=
1759 ac_must_keep_next=false
1760 for ac_pass in 1 2
1762 for ac_arg
1764 case $ac_arg in
1765 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1766 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1767 | -silent | --silent | --silen | --sile | --sil)
1768 continue ;;
1769 *\'*)
1770 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1771 esac
1772 case $ac_pass in
1773 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1775 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1776 if test $ac_must_keep_next = true; then
1777 ac_must_keep_next=false # Got value, back to normal.
1778 else
1779 case $ac_arg in
1780 *=* | --config-cache | -C | -disable-* | --disable-* \
1781 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1782 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1783 | -with-* | --with-* | -without-* | --without-* | --x)
1784 case "$ac_configure_args0 " in
1785 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1786 esac
1788 -* ) ac_must_keep_next=true ;;
1789 esac
1791 ac_configure_args="$ac_configure_args '$ac_arg'"
1793 esac
1794 done
1795 done
1796 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1797 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1799 # When interrupted or exit'd, cleanup temporary files, and complete
1800 # config.log. We remove comments because anyway the quotes in there
1801 # would cause problems or look ugly.
1802 # WARNING: Use '\'' to represent an apostrophe within the trap.
1803 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1804 trap 'exit_status=$?
1805 # Save into config.log some information that might help in debugging.
1807 echo
1809 cat <<\_ASBOX
1810 ## ---------------- ##
1811 ## Cache variables. ##
1812 ## ---------------- ##
1813 _ASBOX
1814 echo
1815 # The following way of writing the cache mishandles newlines in values,
1817 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1818 eval ac_val=\$$ac_var
1819 case $ac_val in #(
1820 *${as_nl}*)
1821 case $ac_var in #(
1822 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1823 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1824 esac
1825 case $ac_var in #(
1826 _ | IFS | as_nl) ;; #(
1827 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1828 *) $as_unset $ac_var ;;
1829 esac ;;
1830 esac
1831 done
1832 (set) 2>&1 |
1833 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1834 *${as_nl}ac_space=\ *)
1835 sed -n \
1836 "s/'\''/'\''\\\\'\'''\''/g;
1837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1838 ;; #(
1840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1842 esac |
1843 sort
1845 echo
1847 cat <<\_ASBOX
1848 ## ----------------- ##
1849 ## Output variables. ##
1850 ## ----------------- ##
1851 _ASBOX
1852 echo
1853 for ac_var in $ac_subst_vars
1855 eval ac_val=\$$ac_var
1856 case $ac_val in
1857 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1858 esac
1859 $as_echo "$ac_var='\''$ac_val'\''"
1860 done | sort
1861 echo
1863 if test -n "$ac_subst_files"; then
1864 cat <<\_ASBOX
1865 ## ------------------- ##
1866 ## File substitutions. ##
1867 ## ------------------- ##
1868 _ASBOX
1869 echo
1870 for ac_var in $ac_subst_files
1872 eval ac_val=\$$ac_var
1873 case $ac_val in
1874 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1875 esac
1876 $as_echo "$ac_var='\''$ac_val'\''"
1877 done | sort
1878 echo
1881 if test -s confdefs.h; then
1882 cat <<\_ASBOX
1883 ## ----------- ##
1884 ## confdefs.h. ##
1885 ## ----------- ##
1886 _ASBOX
1887 echo
1888 cat confdefs.h
1889 echo
1891 test "$ac_signal" != 0 &&
1892 $as_echo "$as_me: caught signal $ac_signal"
1893 $as_echo "$as_me: exit $exit_status"
1894 } >&5
1895 rm -f core *.core core.conftest.* &&
1896 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1897 exit $exit_status
1899 for ac_signal in 1 2 13 15; do
1900 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1901 done
1902 ac_signal=0
1904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1905 rm -f -r conftest* confdefs.h
1907 # Predefined preprocessor variables.
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_NAME "$PACKAGE_NAME"
1911 _ACEOF
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 _ACEOF
1919 cat >>confdefs.h <<_ACEOF
1920 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1921 _ACEOF
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_STRING "$PACKAGE_STRING"
1926 _ACEOF
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1931 _ACEOF
1934 # Let the site file select an alternate cache file if it wants to.
1935 # Prefer an explicitly selected file to automatically selected ones.
1936 ac_site_file1=NONE
1937 ac_site_file2=NONE
1938 if test -n "$CONFIG_SITE"; then
1939 ac_site_file1=$CONFIG_SITE
1940 elif test "x$prefix" != xNONE; then
1941 ac_site_file1=$prefix/share/config.site
1942 ac_site_file2=$prefix/etc/config.site
1943 else
1944 ac_site_file1=$ac_default_prefix/share/config.site
1945 ac_site_file2=$ac_default_prefix/etc/config.site
1947 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1949 test "x$ac_site_file" = xNONE && continue
1950 if test -r "$ac_site_file"; then
1951 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1952 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1953 sed 's/^/| /' "$ac_site_file" >&5
1954 . "$ac_site_file"
1956 done
1958 if test -r "$cache_file"; then
1959 # Some versions of bash will fail to source /dev/null (special
1960 # files actually), so we avoid doing that.
1961 if test -f "$cache_file"; then
1962 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1963 $as_echo "$as_me: loading cache $cache_file" >&6;}
1964 case $cache_file in
1965 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1966 *) . "./$cache_file";;
1967 esac
1969 else
1970 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1971 $as_echo "$as_me: creating cache $cache_file" >&6;}
1972 >$cache_file
1975 # Check that the precious variables saved in the cache have kept the same
1976 # value.
1977 ac_cache_corrupted=false
1978 for ac_var in $ac_precious_vars; do
1979 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1980 eval ac_new_set=\$ac_env_${ac_var}_set
1981 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1982 eval ac_new_val=\$ac_env_${ac_var}_value
1983 case $ac_old_set,$ac_new_set in
1984 set,)
1985 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1986 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1987 ac_cache_corrupted=: ;;
1988 ,set)
1989 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1990 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1991 ac_cache_corrupted=: ;;
1992 ,);;
1994 if test "x$ac_old_val" != "x$ac_new_val"; then
1995 # differences in whitespace do not lead to failure.
1996 ac_old_val_w=`echo x $ac_old_val`
1997 ac_new_val_w=`echo x $ac_new_val`
1998 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1999 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2000 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2001 ac_cache_corrupted=:
2002 else
2003 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2004 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2005 eval $ac_var=\$ac_old_val
2007 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2008 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2009 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2010 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2011 fi;;
2012 esac
2013 # Pass precious variables to config.status.
2014 if test "$ac_new_set" = set; then
2015 case $ac_new_val in
2016 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2017 *) ac_arg=$ac_var=$ac_new_val ;;
2018 esac
2019 case " $ac_configure_args " in
2020 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2021 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2022 esac
2024 done
2025 if $ac_cache_corrupted; then
2026 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2027 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2028 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2029 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2030 { (exit 1); exit 1; }; }
2057 ac_ext=c
2058 ac_cpp='$CPP $CPPFLAGS'
2059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 ac_config_headers="$ac_config_headers include/config.h"
2068 CONFIGURE_COMMAND="$0 $@"
2069 PACKAGE_SHORTNAME="gambc"
2084 ac_aux_dir=
2085 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2086 if test -f "$ac_dir/install-sh"; then
2087 ac_aux_dir=$ac_dir
2088 ac_install_sh="$ac_aux_dir/install-sh -c"
2089 break
2090 elif test -f "$ac_dir/install.sh"; then
2091 ac_aux_dir=$ac_dir
2092 ac_install_sh="$ac_aux_dir/install.sh -c"
2093 break
2094 elif test -f "$ac_dir/shtool"; then
2095 ac_aux_dir=$ac_dir
2096 ac_install_sh="$ac_aux_dir/shtool install -c"
2097 break
2099 done
2100 if test -z "$ac_aux_dir"; then
2101 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2102 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2103 { (exit 1); exit 1; }; }
2106 # These three variables are undocumented and unsupported,
2107 # and are intended to be withdrawn in a future Autoconf release.
2108 # They can cause serious problems if a builder's source tree is in a directory
2109 # whose full name contains unusual characters.
2110 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2111 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2112 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2115 # Make sure we can run config.sub.
2116 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2117 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2118 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2122 $as_echo_n "checking build system type... " >&6; }
2123 if test "${ac_cv_build+set}" = set; then
2124 $as_echo_n "(cached) " >&6
2125 else
2126 ac_build_alias=$build_alias
2127 test "x$ac_build_alias" = x &&
2128 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2129 test "x$ac_build_alias" = x &&
2130 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2131 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2132 { (exit 1); exit 1; }; }
2133 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2134 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2135 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2136 { (exit 1); exit 1; }; }
2139 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2140 $as_echo "$ac_cv_build" >&6; }
2141 case $ac_cv_build in
2142 *-*-*) ;;
2143 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2144 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2145 { (exit 1); exit 1; }; };;
2146 esac
2147 build=$ac_cv_build
2148 ac_save_IFS=$IFS; IFS='-'
2149 set x $ac_cv_build
2150 shift
2151 build_cpu=$1
2152 build_vendor=$2
2153 shift; shift
2154 # Remember, the first character of IFS is used to create $*,
2155 # except with old shells:
2156 build_os=$*
2157 IFS=$ac_save_IFS
2158 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2161 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2162 $as_echo_n "checking host system type... " >&6; }
2163 if test "${ac_cv_host+set}" = set; then
2164 $as_echo_n "(cached) " >&6
2165 else
2166 if test "x$host_alias" = x; then
2167 ac_cv_host=$ac_cv_build
2168 else
2169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2170 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2171 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2172 { (exit 1); exit 1; }; }
2176 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2177 $as_echo "$ac_cv_host" >&6; }
2178 case $ac_cv_host in
2179 *-*-*) ;;
2180 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2181 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2182 { (exit 1); exit 1; }; };;
2183 esac
2184 host=$ac_cv_host
2185 ac_save_IFS=$IFS; IFS='-'
2186 set x $ac_cv_host
2187 shift
2188 host_cpu=$1
2189 host_vendor=$2
2190 shift; shift
2191 # Remember, the first character of IFS is used to create $*,
2192 # except with old shells:
2193 host_os=$*
2194 IFS=$ac_save_IFS
2195 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2198 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2199 $as_echo_n "checking target system type... " >&6; }
2200 if test "${ac_cv_target+set}" = set; then
2201 $as_echo_n "(cached) " >&6
2202 else
2203 if test "x$target_alias" = x; then
2204 ac_cv_target=$ac_cv_host
2205 else
2206 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2207 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2208 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2209 { (exit 1); exit 1; }; }
2213 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2214 $as_echo "$ac_cv_target" >&6; }
2215 case $ac_cv_target in
2216 *-*-*) ;;
2217 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2218 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2219 { (exit 1); exit 1; }; };;
2220 esac
2221 target=$ac_cv_target
2222 ac_save_IFS=$IFS; IFS='-'
2223 set x $ac_cv_target
2224 shift
2225 target_cpu=$1
2226 target_vendor=$2
2227 shift; shift
2228 # Remember, the first character of IFS is used to create $*,
2229 # except with old shells:
2230 target_os=$*
2231 IFS=$ac_save_IFS
2232 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2235 # The aliases save the names the user supplied, while $host etc.
2236 # will get canonicalized.
2237 test -n "$target_alias" &&
2238 test "$program_prefix$program_suffix$program_transform_name" = \
2239 NONENONEs,x,x, &&
2240 program_prefix=${target_alias}-
2242 ###############################################################################
2244 # Accumulate subsystems to include in runtime library.
2246 RTLIBSUBSYS=""
2248 ###############################################################################
2250 # To accumulate flags and definitions for C compilation.
2252 GAMBCLIB_DEFS=""
2254 FLAGS_OBJ=""
2255 FLAGS_DYN=""
2256 FLAGS_LIB=""
2257 FLAGS_EXE=""
2259 DEFS_OBJ=""
2260 DEFS_DYN="-D___DYNAMIC"
2261 DEFS_LIB=""
2262 DEFS_EXE=""
2264 FLAGS_OBJ_DYN=""
2265 FLAGS_OBJ_DYN_LIB_EXE=""
2266 FLAGS_DYN_LIB=""
2268 ###############################################################################
2270 # Check if the system must be compiled using the C compiler or C++ compiler.
2272 # Check whether --enable-cplusplus was given.
2273 if test "${enable_cplusplus+set}" = set; then
2274 enableval=$enable_cplusplus; ENABLE_CPLUSPLUS=$enableval
2275 else
2276 ENABLE_CPLUSPLUS=no
2280 if test "${CFLAGS+set}" != set; then
2281 CFLAGS=""
2284 if test "${CXXFLAGS+set}" != set; then
2285 CXXFLAGS=""
2288 if test "${LDFLAGS+set}" != set; then
2289 LDFLAGS=""
2292 ac_ext=c
2293 ac_cpp='$CPP $CPPFLAGS'
2294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298 ac_ext=c
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2325 done
2326 done
2327 IFS=$as_save_IFS
2331 CC=$ac_cv_prog_CC
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2335 else
2336 { $as_echo "$as_me:$LINENO: result: no" >&5
2337 $as_echo "no" >&6; }
2342 if test -z "$ac_cv_prog_CC"; then
2343 ac_ct_CC=$CC
2344 # Extract the first word of "gcc", so it can be a program name with args.
2345 set dummy gcc; ac_word=$2
2346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2349 $as_echo_n "(cached) " >&6
2350 else
2351 if test -n "$ac_ct_CC"; then
2352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353 else
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_CC="gcc"
2362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2365 done
2366 done
2367 IFS=$as_save_IFS
2371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2372 if test -n "$ac_ct_CC"; then
2373 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2374 $as_echo "$ac_ct_CC" >&6; }
2375 else
2376 { $as_echo "$as_me:$LINENO: result: no" >&5
2377 $as_echo "no" >&6; }
2380 if test "x$ac_ct_CC" = x; then
2381 CC=""
2382 else
2383 case $cross_compiling:$ac_tool_warned in
2384 yes:)
2385 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391 ac_tool_warned=yes ;;
2392 esac
2393 CC=$ac_ct_CC
2395 else
2396 CC="$ac_cv_prog_CC"
2399 if test -z "$CC"; then
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2402 set dummy ${ac_tool_prefix}cc; ac_word=$2
2403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_CC+set}" = set; then
2406 $as_echo_n "(cached) " >&6
2407 else
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC="$CC" # Let the user override the test.
2410 else
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_CC="${ac_tool_prefix}cc"
2419 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2422 done
2423 done
2424 IFS=$as_save_IFS
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2431 $as_echo "$CC" >&6; }
2432 else
2433 { $as_echo "$as_me:$LINENO: result: no" >&5
2434 $as_echo "no" >&6; }
2440 if test -z "$CC"; then
2441 # Extract the first word of "cc", so it can be a program name with args.
2442 set dummy cc; ac_word=$2
2443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 $as_echo_n "(cached) " >&6
2447 else
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 else
2451 ac_prog_rejected=no
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2460 ac_prog_rejected=yes
2461 continue
2463 ac_cv_prog_CC="cc"
2464 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 break 2
2467 done
2468 done
2469 IFS=$as_save_IFS
2471 if test $ac_prog_rejected = yes; then
2472 # We found a bogon in the path, so make sure we never use it.
2473 set dummy $ac_cv_prog_CC
2474 shift
2475 if test $# != 0; then
2476 # We chose a different compiler from the bogus one.
2477 # However, it has the same basename, so the bogon will be chosen
2478 # first if we set CC to just the basename; use the full file name.
2479 shift
2480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2485 CC=$ac_cv_prog_CC
2486 if test -n "$CC"; then
2487 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2488 $as_echo "$CC" >&6; }
2489 else
2490 { $as_echo "$as_me:$LINENO: result: no" >&5
2491 $as_echo "no" >&6; }
2496 if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
2498 for ac_prog in cl.exe
2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 $as_echo_n "checking for $ac_word... " >&6; }
2504 if test "${ac_cv_prog_CC+set}" = set; then
2505 $as_echo_n "(cached) " >&6
2506 else
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2509 else
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 break 2
2521 done
2522 done
2523 IFS=$as_save_IFS
2527 CC=$ac_cv_prog_CC
2528 if test -n "$CC"; then
2529 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2530 $as_echo "$CC" >&6; }
2531 else
2532 { $as_echo "$as_me:$LINENO: result: no" >&5
2533 $as_echo "no" >&6; }
2537 test -n "$CC" && break
2538 done
2540 if test -z "$CC"; then
2541 ac_ct_CC=$CC
2542 for ac_prog in cl.exe
2544 # Extract the first word of "$ac_prog", so it can be a program name with args.
2545 set dummy $ac_prog; ac_word=$2
2546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2553 else
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_ac_ct_CC="$ac_prog"
2562 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 break 2
2565 done
2566 done
2567 IFS=$as_save_IFS
2571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2572 if test -n "$ac_ct_CC"; then
2573 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2574 $as_echo "$ac_ct_CC" >&6; }
2575 else
2576 { $as_echo "$as_me:$LINENO: result: no" >&5
2577 $as_echo "no" >&6; }
2581 test -n "$ac_ct_CC" && break
2582 done
2584 if test "x$ac_ct_CC" = x; then
2585 CC=""
2586 else
2587 case $cross_compiling:$ac_tool_warned in
2588 yes:)
2589 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2590 whose name does not start with the host triplet. If you think this
2591 configuration is useful to you, please write to autoconf@gnu.org." >&5
2592 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2593 whose name does not start with the host triplet. If you think this
2594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2595 ac_tool_warned=yes ;;
2596 esac
2597 CC=$ac_ct_CC
2604 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2605 See \`config.log' for more details." >&5
2606 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2607 See \`config.log' for more details." >&2;}
2608 { (exit 1); exit 1; }; }
2610 # Provide some information about the compiler.
2611 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2612 set X $ac_compile
2613 ac_compiler=$2
2614 { (ac_try="$ac_compiler --version >&5"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2620 $as_echo "$ac_try_echo") >&5
2621 (eval "$ac_compiler --version >&5") 2>&5
2622 ac_status=$?
2623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }
2625 { (ac_try="$ac_compiler -v >&5"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2631 $as_echo "$ac_try_echo") >&5
2632 (eval "$ac_compiler -v >&5") 2>&5
2633 ac_status=$?
2634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }
2636 { (ac_try="$ac_compiler -V >&5"
2637 case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640 esac
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_compiler -V >&5") 2>&5
2644 ac_status=$?
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }
2648 cat >conftest.$ac_ext <<_ACEOF
2649 /* confdefs.h. */
2650 _ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2656 main ()
2660 return 0;
2662 _ACEOF
2663 ac_clean_files_save=$ac_clean_files
2664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2665 # Try to create an executable without -o first, disregard a.out.
2666 # It will help us diagnose broken compilers, and finding out an intuition
2667 # of exeext.
2668 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2669 $as_echo_n "checking for C compiler default output file name... " >&6; }
2670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2672 # The possible output files:
2673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2675 ac_rmfiles=
2676 for ac_file in $ac_files
2678 case $ac_file in
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2681 esac
2682 done
2683 rm -f $ac_rmfiles
2685 if { (ac_try="$ac_link_default"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2691 $as_echo "$ac_try_echo") >&5
2692 (eval "$ac_link_default") 2>&5
2693 ac_status=$?
2694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; then
2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2699 # so that the user can short-circuit this test for compilers unknown to
2700 # Autoconf.
2701 for ac_file in $ac_files ''
2703 test -f "$ac_file" || continue
2704 case $ac_file in
2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2707 [ab].out )
2708 # We found the default executable, but exeext='' is most
2709 # certainly right.
2710 break;;
2711 *.* )
2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2713 then :; else
2714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 # We set ac_cv_exeext here because the later test for it is not
2717 # safe: cross compilers may not add the suffix if given an `-o'
2718 # argument, so we may need to know it at that point already.
2719 # Even if this section looks crufty: it has the advantage of
2720 # actually working.
2721 break;;
2723 break;;
2724 esac
2725 done
2726 test "$ac_cv_exeext" = no && ac_cv_exeext=
2728 else
2729 ac_file=''
2732 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2733 $as_echo "$ac_file" >&6; }
2734 if test -z "$ac_file"; then
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2739 See \`config.log' for more details." >&5
2740 $as_echo "$as_me: error: C compiler cannot create executables
2741 See \`config.log' for more details." >&2;}
2742 { (exit 77); exit 77; }; }
2745 ac_exeext=$ac_cv_exeext
2747 # Check that the compiler produces executables we can run. If not, either
2748 # the compiler is broken, or we cross compile.
2749 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2750 $as_echo_n "checking whether the C compiler works... " >&6; }
2751 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2752 # If not cross compiling, check that we can run a simple program.
2753 if test "$cross_compiling" != yes; then
2754 if { ac_try='./$ac_file'
2755 { (case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2760 $as_echo "$ac_try_echo") >&5
2761 (eval "$ac_try") 2>&5
2762 ac_status=$?
2763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2765 cross_compiling=no
2766 else
2767 if test "$cross_compiling" = maybe; then
2768 cross_compiling=yes
2769 else
2770 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2771 If you meant to cross compile, use \`--host'.
2772 See \`config.log' for more details." >&5
2773 $as_echo "$as_me: error: cannot run C compiled programs.
2774 If you meant to cross compile, use \`--host'.
2775 See \`config.log' for more details." >&2;}
2776 { (exit 1); exit 1; }; }
2780 { $as_echo "$as_me:$LINENO: result: yes" >&5
2781 $as_echo "yes" >&6; }
2783 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2784 ac_clean_files=$ac_clean_files_save
2785 # Check that the compiler produces executables we can run. If not, either
2786 # the compiler is broken, or we cross compile.
2787 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2788 $as_echo_n "checking whether we are cross compiling... " >&6; }
2789 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2790 $as_echo "$cross_compiling" >&6; }
2792 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2793 $as_echo_n "checking for suffix of executables... " >&6; }
2794 if { (ac_try="$ac_link"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2800 $as_echo "$ac_try_echo") >&5
2801 (eval "$ac_link") 2>&5
2802 ac_status=$?
2803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; then
2805 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2806 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2807 # work properly (i.e., refer to `conftest.exe'), while it won't with
2808 # `rm'.
2809 for ac_file in conftest.exe conftest conftest.*; do
2810 test -f "$ac_file" || continue
2811 case $ac_file in
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2813 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814 break;;
2815 * ) break;;
2816 esac
2817 done
2818 else
2819 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2820 See \`config.log' for more details." >&5
2821 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&2;}
2823 { (exit 1); exit 1; }; }
2826 rm -f conftest$ac_cv_exeext
2827 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2828 $as_echo "$ac_cv_exeext" >&6; }
2830 rm -f conftest.$ac_ext
2831 EXEEXT=$ac_cv_exeext
2832 ac_exeext=$EXEEXT
2833 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834 $as_echo_n "checking for suffix of object files... " >&6; }
2835 if test "${ac_cv_objext+set}" = set; then
2836 $as_echo_n "(cached) " >&6
2837 else
2838 cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h. */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 main ()
2850 return 0;
2852 _ACEOF
2853 rm -f conftest.o conftest.obj
2854 if { (ac_try="$ac_compile"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2860 $as_echo "$ac_try_echo") >&5
2861 (eval "$ac_compile") 2>&5
2862 ac_status=$?
2863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; then
2865 for ac_file in conftest.o conftest.obj conftest.*; do
2866 test -f "$ac_file" || continue;
2867 case $ac_file in
2868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2869 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2870 break;;
2871 esac
2872 done
2873 else
2874 $as_echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2878 See \`config.log' for more details." >&5
2879 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2880 See \`config.log' for more details." >&2;}
2881 { (exit 1); exit 1; }; }
2884 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2886 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2887 $as_echo "$ac_cv_objext" >&6; }
2888 OBJEXT=$ac_cv_objext
2889 ac_objext=$OBJEXT
2890 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2891 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2892 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2893 $as_echo_n "(cached) " >&6
2894 else
2895 cat >conftest.$ac_ext <<_ACEOF
2896 /* confdefs.h. */
2897 _ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2903 main ()
2905 #ifndef __GNUC__
2906 choke me
2907 #endif
2910 return 0;
2912 _ACEOF
2913 rm -f conftest.$ac_objext
2914 if { (ac_try="$ac_compile"
2915 case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918 esac
2919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2920 $as_echo "$ac_try_echo") >&5
2921 (eval "$ac_compile") 2>conftest.er1
2922 ac_status=$?
2923 grep -v '^ *+' conftest.er1 >conftest.err
2924 rm -f conftest.er1
2925 cat conftest.err >&5
2926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } && {
2928 test -z "$ac_c_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest.$ac_objext; then
2931 ac_compiler_gnu=yes
2932 else
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_compiler_gnu=no
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2943 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2944 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2945 if test $ac_compiler_gnu = yes; then
2946 GCC=yes
2947 else
2948 GCC=
2950 ac_test_CFLAGS=${CFLAGS+set}
2951 ac_save_CFLAGS=$CFLAGS
2952 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2953 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2954 if test "${ac_cv_prog_cc_g+set}" = set; then
2955 $as_echo_n "(cached) " >&6
2956 else
2957 ac_save_c_werror_flag=$ac_c_werror_flag
2958 ac_c_werror_flag=yes
2959 ac_cv_prog_cc_g=no
2960 CFLAGS="-g"
2961 cat >conftest.$ac_ext <<_ACEOF
2962 /* confdefs.h. */
2963 _ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2969 main ()
2973 return 0;
2975 _ACEOF
2976 rm -f conftest.$ac_objext
2977 if { (ac_try="$ac_compile"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2983 $as_echo "$ac_try_echo") >&5
2984 (eval "$ac_compile") 2>conftest.er1
2985 ac_status=$?
2986 grep -v '^ *+' conftest.er1 >conftest.err
2987 rm -f conftest.er1
2988 cat conftest.err >&5
2989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); } && {
2991 test -z "$ac_c_werror_flag" ||
2992 test ! -s conftest.err
2993 } && test -s conftest.$ac_objext; then
2994 ac_cv_prog_cc_g=yes
2995 else
2996 $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 CFLAGS=""
3000 cat >conftest.$ac_ext <<_ACEOF
3001 /* confdefs.h. */
3002 _ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3008 main ()
3012 return 0;
3014 _ACEOF
3015 rm -f conftest.$ac_objext
3016 if { (ac_try="$ac_compile"
3017 case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3020 esac
3021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3022 $as_echo "$ac_try_echo") >&5
3023 (eval "$ac_compile") 2>conftest.er1
3024 ac_status=$?
3025 grep -v '^ *+' conftest.er1 >conftest.err
3026 rm -f conftest.er1
3027 cat conftest.err >&5
3028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } && {
3030 test -z "$ac_c_werror_flag" ||
3031 test ! -s conftest.err
3032 } && test -s conftest.$ac_objext; then
3034 else
3035 $as_echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 ac_c_werror_flag=$ac_save_c_werror_flag
3039 CFLAGS="-g"
3040 cat >conftest.$ac_ext <<_ACEOF
3041 /* confdefs.h. */
3042 _ACEOF
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3048 main ()
3052 return 0;
3054 _ACEOF
3055 rm -f conftest.$ac_objext
3056 if { (ac_try="$ac_compile"
3057 case "(($ac_try" in
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3060 esac
3061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3062 $as_echo "$ac_try_echo") >&5
3063 (eval "$ac_compile") 2>conftest.er1
3064 ac_status=$?
3065 grep -v '^ *+' conftest.er1 >conftest.err
3066 rm -f conftest.er1
3067 cat conftest.err >&5
3068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } && {
3070 test -z "$ac_c_werror_flag" ||
3071 test ! -s conftest.err
3072 } && test -s conftest.$ac_objext; then
3073 ac_cv_prog_cc_g=yes
3074 else
3075 $as_echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 ac_c_werror_flag=$ac_save_c_werror_flag
3090 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3091 $as_echo "$ac_cv_prog_cc_g" >&6; }
3092 if test "$ac_test_CFLAGS" = set; then
3093 CFLAGS=$ac_save_CFLAGS
3094 elif test $ac_cv_prog_cc_g = yes; then
3095 if test "$GCC" = yes; then
3096 CFLAGS="-g -O2"
3097 else
3098 CFLAGS="-g"
3100 else
3101 if test "$GCC" = yes; then
3102 CFLAGS="-O2"
3103 else
3104 CFLAGS=
3107 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3109 if test "${ac_cv_prog_cc_c89+set}" = set; then
3110 $as_echo_n "(cached) " >&6
3111 else
3112 ac_cv_prog_cc_c89=no
3113 ac_save_CC=$CC
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3120 #include <stdarg.h>
3121 #include <stdio.h>
3122 #include <sys/types.h>
3123 #include <sys/stat.h>
3124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3125 struct buf { int x; };
3126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3127 static char *e (p, i)
3128 char **p;
3129 int i;
3131 return p[i];
3133 static char *f (char * (*g) (char **, int), char **p, ...)
3135 char *s;
3136 va_list v;
3137 va_start (v,p);
3138 s = g (p, va_arg (v,int));
3139 va_end (v);
3140 return s;
3143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3144 function prototypes and stuff, but not '\xHH' hex character constants.
3145 These don't provoke an error unfortunately, instead are silently treated
3146 as 'x'. The following induces an error, until -std is added to get
3147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3148 array size at least. It's necessary to write '\x00'==0 to get something
3149 that's true only with -std. */
3150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3153 inside strings and character constants. */
3154 #define FOO(x) 'x'
3155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3157 int test (int i, double x);
3158 struct s1 {int (*f) (int a);};
3159 struct s2 {int (*f) (double a);};
3160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3161 int argc;
3162 char **argv;
3164 main ()
3166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3168 return 0;
3170 _ACEOF
3171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3174 CC="$ac_save_CC $ac_arg"
3175 rm -f conftest.$ac_objext
3176 if { (ac_try="$ac_compile"
3177 case "(($ac_try" in
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3180 esac
3181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3182 $as_echo "$ac_try_echo") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3184 ac_status=$?
3185 grep -v '^ *+' conftest.er1 >conftest.err
3186 rm -f conftest.er1
3187 cat conftest.err >&5
3188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } && {
3190 test -z "$ac_c_werror_flag" ||
3191 test ! -s conftest.err
3192 } && test -s conftest.$ac_objext; then
3193 ac_cv_prog_cc_c89=$ac_arg
3194 else
3195 $as_echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3201 rm -f core conftest.err conftest.$ac_objext
3202 test "x$ac_cv_prog_cc_c89" != "xno" && break
3203 done
3204 rm -f conftest.$ac_ext
3205 CC=$ac_save_CC
3208 # AC_CACHE_VAL
3209 case "x$ac_cv_prog_cc_c89" in
3211 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3212 $as_echo "none needed" >&6; } ;;
3213 xno)
3214 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3215 $as_echo "unsupported" >&6; } ;;
3217 CC="$CC $ac_cv_prog_cc_c89"
3218 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3219 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3220 esac
3223 ac_ext=c
3224 ac_cpp='$CPP $CPPFLAGS'
3225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229 ac_ext=c
3230 ac_cpp='$CPP $CPPFLAGS'
3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3234 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3235 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3236 # On Suns, sometimes $CPP names a directory.
3237 if test -n "$CPP" && test -d "$CPP"; then
3238 CPP=
3240 if test -z "$CPP"; then
3241 if test "${ac_cv_prog_CPP+set}" = set; then
3242 $as_echo_n "(cached) " >&6
3243 else
3244 # Double quotes because CPP needs to be expanded
3245 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3247 ac_preproc_ok=false
3248 for ac_c_preproc_warn_flag in '' yes
3250 # Use a header file that comes with gcc, so configuring glibc
3251 # with a fresh cross-compiler works.
3252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3253 # <limits.h> exists even on freestanding compilers.
3254 # On the NeXT, cc -E runs the code through the compiler's parser,
3255 # not just through cpp. "Syntax error" is here to catch this case.
3256 cat >conftest.$ac_ext <<_ACEOF
3257 /* confdefs.h. */
3258 _ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3262 #ifdef __STDC__
3263 # include <limits.h>
3264 #else
3265 # include <assert.h>
3266 #endif
3267 Syntax error
3268 _ACEOF
3269 if { (ac_try="$ac_cpp conftest.$ac_ext"
3270 case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3273 esac
3274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3275 $as_echo "$ac_try_echo") >&5
3276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3277 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1
3280 cat conftest.err >&5
3281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } >/dev/null && {
3283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3284 test ! -s conftest.err
3285 }; then
3287 else
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 # Broken: fails on valid input.
3292 continue
3295 rm -f conftest.err conftest.$ac_ext
3297 # OK, works on sane cases. Now check whether nonexistent headers
3298 # can be detected and how.
3299 cat >conftest.$ac_ext <<_ACEOF
3300 /* confdefs.h. */
3301 _ACEOF
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3305 #include <ac_nonexistent.h>
3306 _ACEOF
3307 if { (ac_try="$ac_cpp conftest.$ac_ext"
3308 case "(($ac_try" in
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3311 esac
3312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3313 $as_echo "$ac_try_echo") >&5
3314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3315 ac_status=$?
3316 grep -v '^ *+' conftest.er1 >conftest.err
3317 rm -f conftest.er1
3318 cat conftest.err >&5
3319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } >/dev/null && {
3321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3323 }; then
3324 # Broken: success on invalid input.
3325 continue
3326 else
3327 $as_echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 # Passes both tests.
3331 ac_preproc_ok=:
3332 break
3335 rm -f conftest.err conftest.$ac_ext
3337 done
3338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3339 rm -f conftest.err conftest.$ac_ext
3340 if $ac_preproc_ok; then
3341 break
3344 done
3345 ac_cv_prog_CPP=$CPP
3348 CPP=$ac_cv_prog_CPP
3349 else
3350 ac_cv_prog_CPP=$CPP
3352 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3353 $as_echo "$CPP" >&6; }
3354 ac_preproc_ok=false
3355 for ac_c_preproc_warn_flag in '' yes
3357 # Use a header file that comes with gcc, so configuring glibc
3358 # with a fresh cross-compiler works.
3359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3360 # <limits.h> exists even on freestanding compilers.
3361 # On the NeXT, cc -E runs the code through the compiler's parser,
3362 # not just through cpp. "Syntax error" is here to catch this case.
3363 cat >conftest.$ac_ext <<_ACEOF
3364 /* confdefs.h. */
3365 _ACEOF
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3369 #ifdef __STDC__
3370 # include <limits.h>
3371 #else
3372 # include <assert.h>
3373 #endif
3374 Syntax error
3375 _ACEOF
3376 if { (ac_try="$ac_cpp conftest.$ac_ext"
3377 case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3380 esac
3381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3382 $as_echo "$ac_try_echo") >&5
3383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 ac_status=$?
3385 grep -v '^ *+' conftest.er1 >conftest.err
3386 rm -f conftest.er1
3387 cat conftest.err >&5
3388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null && {
3390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3391 test ! -s conftest.err
3392 }; then
3394 else
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 # Broken: fails on valid input.
3399 continue
3402 rm -f conftest.err conftest.$ac_ext
3404 # OK, works on sane cases. Now check whether nonexistent headers
3405 # can be detected and how.
3406 cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h. */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3412 #include <ac_nonexistent.h>
3413 _ACEOF
3414 if { (ac_try="$ac_cpp conftest.$ac_ext"
3415 case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418 esac
3419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3420 $as_echo "$ac_try_echo") >&5
3421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3422 ac_status=$?
3423 grep -v '^ *+' conftest.er1 >conftest.err
3424 rm -f conftest.er1
3425 cat conftest.err >&5
3426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } >/dev/null && {
3428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3429 test ! -s conftest.err
3430 }; then
3431 # Broken: success on invalid input.
3432 continue
3433 else
3434 $as_echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.$ac_ext >&5
3437 # Passes both tests.
3438 ac_preproc_ok=:
3439 break
3442 rm -f conftest.err conftest.$ac_ext
3444 done
3445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3446 rm -f conftest.err conftest.$ac_ext
3447 if $ac_preproc_ok; then
3449 else
3450 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3451 See \`config.log' for more details." >&5
3452 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3453 See \`config.log' for more details." >&2;}
3454 { (exit 1); exit 1; }; }
3457 ac_ext=c
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 C_COMPILER=$CC
3464 C_PREPROC=$CPP
3466 if test "$ENABLE_CPLUSPLUS" = yes; then
3467 ac_ext=cpp
3468 ac_cpp='$CXXCPP $CPPFLAGS'
3469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3473 ac_ext=cpp
3474 ac_cpp='$CXXCPP $CPPFLAGS'
3475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3478 if test -z "$CXX"; then
3479 if test -n "$CCC"; then
3480 CXX=$CCC
3481 else
3482 if test -n "$ac_tool_prefix"; then
3483 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3486 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_CXX+set}" = set; then
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$CXX"; then
3493 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3506 done
3507 done
3508 IFS=$as_save_IFS
3512 CXX=$ac_cv_prog_CXX
3513 if test -n "$CXX"; then
3514 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3515 $as_echo "$CXX" >&6; }
3516 else
3517 { $as_echo "$as_me:$LINENO: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$CXX" && break
3523 done
3525 if test -z "$CXX"; then
3526 ac_ct_CXX=$CXX
3527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3529 # Extract the first word of "$ac_prog", so it can be a program name with args.
3530 set dummy $ac_prog; ac_word=$2
3531 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3534 $as_echo_n "(cached) " >&6
3535 else
3536 if test -n "$ac_ct_CXX"; then
3537 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3538 else
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 for as_dir in $PATH
3542 IFS=$as_save_IFS
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3546 ac_cv_prog_ac_ct_CXX="$ac_prog"
3547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 break 2
3550 done
3551 done
3552 IFS=$as_save_IFS
3556 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3557 if test -n "$ac_ct_CXX"; then
3558 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3559 $as_echo "$ac_ct_CXX" >&6; }
3560 else
3561 { $as_echo "$as_me:$LINENO: result: no" >&5
3562 $as_echo "no" >&6; }
3566 test -n "$ac_ct_CXX" && break
3567 done
3569 if test "x$ac_ct_CXX" = x; then
3570 CXX="g++"
3571 else
3572 case $cross_compiling:$ac_tool_warned in
3573 yes:)
3574 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3575 whose name does not start with the host triplet. If you think this
3576 configuration is useful to you, please write to autoconf@gnu.org." >&5
3577 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3578 whose name does not start with the host triplet. If you think this
3579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3580 ac_tool_warned=yes ;;
3581 esac
3582 CXX=$ac_ct_CXX
3588 # Provide some information about the compiler.
3589 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3590 set X $ac_compile
3591 ac_compiler=$2
3592 { (ac_try="$ac_compiler --version >&5"
3593 case "(($ac_try" in
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3596 esac
3597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3598 $as_echo "$ac_try_echo") >&5
3599 (eval "$ac_compiler --version >&5") 2>&5
3600 ac_status=$?
3601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }
3603 { (ac_try="$ac_compiler -v >&5"
3604 case "(($ac_try" in
3605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3607 esac
3608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3609 $as_echo "$ac_try_echo") >&5
3610 (eval "$ac_compiler -v >&5") 2>&5
3611 ac_status=$?
3612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }
3614 { (ac_try="$ac_compiler -V >&5"
3615 case "(($ac_try" in
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3618 esac
3619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3620 $as_echo "$ac_try_echo") >&5
3621 (eval "$ac_compiler -V >&5") 2>&5
3622 ac_status=$?
3623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }
3626 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3627 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3628 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3629 $as_echo_n "(cached) " >&6
3630 else
3631 cat >conftest.$ac_ext <<_ACEOF
3632 /* confdefs.h. */
3633 _ACEOF
3634 cat confdefs.h >>conftest.$ac_ext
3635 cat >>conftest.$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3639 main ()
3641 #ifndef __GNUC__
3642 choke me
3643 #endif
3646 return 0;
3648 _ACEOF
3649 rm -f conftest.$ac_objext
3650 if { (ac_try="$ac_compile"
3651 case "(($ac_try" in
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3654 esac
3655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656 $as_echo "$ac_try_echo") >&5
3657 (eval "$ac_compile") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } && {
3664 test -z "$ac_cxx_werror_flag" ||
3665 test ! -s conftest.err
3666 } && test -s conftest.$ac_objext; then
3667 ac_compiler_gnu=yes
3668 else
3669 $as_echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3672 ac_compiler_gnu=no
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3679 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3680 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3681 if test $ac_compiler_gnu = yes; then
3682 GXX=yes
3683 else
3684 GXX=
3686 ac_test_CXXFLAGS=${CXXFLAGS+set}
3687 ac_save_CXXFLAGS=$CXXFLAGS
3688 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3689 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3690 if test "${ac_cv_prog_cxx_g+set}" = set; then
3691 $as_echo_n "(cached) " >&6
3692 else
3693 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3694 ac_cxx_werror_flag=yes
3695 ac_cv_prog_cxx_g=no
3696 CXXFLAGS="-g"
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3705 main ()
3709 return 0;
3711 _ACEOF
3712 rm -f conftest.$ac_objext
3713 if { (ac_try="$ac_compile"
3714 case "(($ac_try" in
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3717 esac
3718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3719 $as_echo "$ac_try_echo") >&5
3720 (eval "$ac_compile") 2>conftest.er1
3721 ac_status=$?
3722 grep -v '^ *+' conftest.er1 >conftest.err
3723 rm -f conftest.er1
3724 cat conftest.err >&5
3725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } && {
3727 test -z "$ac_cxx_werror_flag" ||
3728 test ! -s conftest.err
3729 } && test -s conftest.$ac_objext; then
3730 ac_cv_prog_cxx_g=yes
3731 else
3732 $as_echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.$ac_ext >&5
3735 CXXFLAGS=""
3736 cat >conftest.$ac_ext <<_ACEOF
3737 /* confdefs.h. */
3738 _ACEOF
3739 cat confdefs.h >>conftest.$ac_ext
3740 cat >>conftest.$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3744 main ()
3748 return 0;
3750 _ACEOF
3751 rm -f conftest.$ac_objext
3752 if { (ac_try="$ac_compile"
3753 case "(($ac_try" in
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3756 esac
3757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3758 $as_echo "$ac_try_echo") >&5
3759 (eval "$ac_compile") 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } && {
3766 test -z "$ac_cxx_werror_flag" ||
3767 test ! -s conftest.err
3768 } && test -s conftest.$ac_objext; then
3770 else
3771 $as_echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3775 CXXFLAGS="-g"
3776 cat >conftest.$ac_ext <<_ACEOF
3777 /* confdefs.h. */
3778 _ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3784 main ()
3788 return 0;
3790 _ACEOF
3791 rm -f conftest.$ac_objext
3792 if { (ac_try="$ac_compile"
3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3798 $as_echo "$ac_try_echo") >&5
3799 (eval "$ac_compile") 2>conftest.er1
3800 ac_status=$?
3801 grep -v '^ *+' conftest.er1 >conftest.err
3802 rm -f conftest.er1
3803 cat conftest.err >&5
3804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } && {
3806 test -z "$ac_cxx_werror_flag" ||
3807 test ! -s conftest.err
3808 } && test -s conftest.$ac_objext; then
3809 ac_cv_prog_cxx_g=yes
3810 else
3811 $as_echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3826 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3827 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3828 if test "$ac_test_CXXFLAGS" = set; then
3829 CXXFLAGS=$ac_save_CXXFLAGS
3830 elif test $ac_cv_prog_cxx_g = yes; then
3831 if test "$GXX" = yes; then
3832 CXXFLAGS="-g -O2"
3833 else
3834 CXXFLAGS="-g"
3836 else
3837 if test "$GXX" = yes; then
3838 CXXFLAGS="-O2"
3839 else
3840 CXXFLAGS=
3843 ac_ext=cpp
3844 ac_cpp='$CXXCPP $CPPFLAGS'
3845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3849 ac_ext=cpp
3850 ac_cpp='$CXXCPP $CPPFLAGS'
3851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3854 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3855 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3856 if test -z "$CXXCPP"; then
3857 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3858 $as_echo_n "(cached) " >&6
3859 else
3860 # Double quotes because CXXCPP needs to be expanded
3861 for CXXCPP in "$CXX -E" "/lib/cpp"
3863 ac_preproc_ok=false
3864 for ac_cxx_preproc_warn_flag in '' yes
3866 # Use a header file that comes with gcc, so configuring glibc
3867 # with a fresh cross-compiler works.
3868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3869 # <limits.h> exists even on freestanding compilers.
3870 # On the NeXT, cc -E runs the code through the compiler's parser,
3871 # not just through cpp. "Syntax error" is here to catch this case.
3872 cat >conftest.$ac_ext <<_ACEOF
3873 /* confdefs.h. */
3874 _ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3878 #ifdef __STDC__
3879 # include <limits.h>
3880 #else
3881 # include <assert.h>
3882 #endif
3883 Syntax error
3884 _ACEOF
3885 if { (ac_try="$ac_cpp conftest.$ac_ext"
3886 case "(($ac_try" in
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3889 esac
3890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3891 $as_echo "$ac_try_echo") >&5
3892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3893 ac_status=$?
3894 grep -v '^ *+' conftest.er1 >conftest.err
3895 rm -f conftest.er1
3896 cat conftest.err >&5
3897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } >/dev/null && {
3899 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3900 test ! -s conftest.err
3901 }; then
3903 else
3904 $as_echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3907 # Broken: fails on valid input.
3908 continue
3911 rm -f conftest.err conftest.$ac_ext
3913 # OK, works on sane cases. Now check whether nonexistent headers
3914 # can be detected and how.
3915 cat >conftest.$ac_ext <<_ACEOF
3916 /* confdefs.h. */
3917 _ACEOF
3918 cat confdefs.h >>conftest.$ac_ext
3919 cat >>conftest.$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3921 #include <ac_nonexistent.h>
3922 _ACEOF
3923 if { (ac_try="$ac_cpp conftest.$ac_ext"
3924 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3929 $as_echo "$ac_try_echo") >&5
3930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3931 ac_status=$?
3932 grep -v '^ *+' conftest.er1 >conftest.err
3933 rm -f conftest.er1
3934 cat conftest.err >&5
3935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } >/dev/null && {
3937 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3938 test ! -s conftest.err
3939 }; then
3940 # Broken: success on invalid input.
3941 continue
3942 else
3943 $as_echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 # Passes both tests.
3947 ac_preproc_ok=:
3948 break
3951 rm -f conftest.err conftest.$ac_ext
3953 done
3954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3955 rm -f conftest.err conftest.$ac_ext
3956 if $ac_preproc_ok; then
3957 break
3960 done
3961 ac_cv_prog_CXXCPP=$CXXCPP
3964 CXXCPP=$ac_cv_prog_CXXCPP
3965 else
3966 ac_cv_prog_CXXCPP=$CXXCPP
3968 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
3969 $as_echo "$CXXCPP" >&6; }
3970 ac_preproc_ok=false
3971 for ac_cxx_preproc_warn_flag in '' yes
3973 # Use a header file that comes with gcc, so configuring glibc
3974 # with a fresh cross-compiler works.
3975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3976 # <limits.h> exists even on freestanding compilers.
3977 # On the NeXT, cc -E runs the code through the compiler's parser,
3978 # not just through cpp. "Syntax error" is here to catch this case.
3979 cat >conftest.$ac_ext <<_ACEOF
3980 /* confdefs.h. */
3981 _ACEOF
3982 cat confdefs.h >>conftest.$ac_ext
3983 cat >>conftest.$ac_ext <<_ACEOF
3984 /* end confdefs.h. */
3985 #ifdef __STDC__
3986 # include <limits.h>
3987 #else
3988 # include <assert.h>
3989 #endif
3990 Syntax error
3991 _ACEOF
3992 if { (ac_try="$ac_cpp conftest.$ac_ext"
3993 case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3998 $as_echo "$ac_try_echo") >&5
3999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4000 ac_status=$?
4001 grep -v '^ *+' conftest.er1 >conftest.err
4002 rm -f conftest.er1
4003 cat conftest.err >&5
4004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } >/dev/null && {
4006 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4007 test ! -s conftest.err
4008 }; then
4010 else
4011 $as_echo "$as_me: failed program was:" >&5
4012 sed 's/^/| /' conftest.$ac_ext >&5
4014 # Broken: fails on valid input.
4015 continue
4018 rm -f conftest.err conftest.$ac_ext
4020 # OK, works on sane cases. Now check whether nonexistent headers
4021 # can be detected and how.
4022 cat >conftest.$ac_ext <<_ACEOF
4023 /* confdefs.h. */
4024 _ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <ac_nonexistent.h>
4029 _ACEOF
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4036 $as_echo "$ac_try_echo") >&5
4037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4038 ac_status=$?
4039 grep -v '^ *+' conftest.er1 >conftest.err
4040 rm -f conftest.er1
4041 cat conftest.err >&5
4042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } >/dev/null && {
4044 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4045 test ! -s conftest.err
4046 }; then
4047 # Broken: success on invalid input.
4048 continue
4049 else
4050 $as_echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4053 # Passes both tests.
4054 ac_preproc_ok=:
4055 break
4058 rm -f conftest.err conftest.$ac_ext
4060 done
4061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4062 rm -f conftest.err conftest.$ac_ext
4063 if $ac_preproc_ok; then
4065 else
4066 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4067 See \`config.log' for more details." >&5
4068 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4069 See \`config.log' for more details." >&2;}
4070 { (exit 1); exit 1; }; }
4073 ac_ext=cpp
4074 ac_cpp='$CXXCPP $CPPFLAGS'
4075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4079 C_COMPILER=$CXX
4080 C_PREPROC=$CXXCPP
4095 ###############################################################################
4097 # Check if the system must include GUIDE (Gambit Universal IDE).
4099 # Check whether --enable-guide was given.
4100 if test "${enable_guide+set}" = set; then
4101 enableval=$enable_guide; ENABLE_GUIDE=$enableval
4102 else
4103 ENABLE_GUIDE=no
4107 if test "$ENABLE_GUIDE" = yes; then
4108 if test "$ENABLE_CPLUSPLUS" = yes; then
4110 # Determine if Qt is available, if the version is good, etc
4112 ac_qmake='qmake -o conftest.qt /dev/null >&5'
4114 rm -f conftest.qt
4116 if { (eval echo "$as_me:$LINENO: \"$ac_qmake\"") >&5
4117 (eval $ac_qmake) 2>&5
4118 ac_status=$?
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }; then
4122 ac_qt_version_check="grep -q '^# Generated by qmake ([^)]*) (Qt 3\\.3\\..*' conftest.qt"
4124 if { (eval echo "$as_me:$LINENO: \"$ac_qt_version_check\"") >&5
4125 (eval $ac_qt_version_check) 2>&5
4126 ac_status=$?
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; then
4130 QTINCPATH=`sed -n -e '/^INCPATH[ ]*=[ ]*\(.*\)/s//\1/p' conftest.qt`
4131 QTLIBS=`sed -n -e '/^LIBS[ ]*=[ ]*\\\$(SUBLIBS)[ ]*\(.*\)/s//\1/p' conftest.qt`
4133 else
4135 qt_version=`sed -n -e '/^# Generated by qmake (\([^)]*\)) (Qt \([0-9]*\.[0-9]*\).*/s//\2/p' conftest.qt`
4137 ENABLE_GUIDE=no
4138 { $as_echo "$as_me:$LINENO:
4139 ************************************************************************
4140 *** The Gambit Universal IDE requires that the system be built using ***
4141 *** the Qt GUI library version 3.3. Version $qt_version of Qt is currently ***
4142 *** installed. ***
4143 ************************************************************************
4144 " >&5
4145 $as_echo "$as_me:
4146 ************************************************************************
4147 *** The Gambit Universal IDE requires that the system be built using ***
4148 *** the Qt GUI library version 3.3. Version $qt_version of Qt is currently ***
4149 *** installed. ***
4150 ************************************************************************
4151 " >&6;}
4155 else
4157 ENABLE_GUIDE=no
4158 { $as_echo "$as_me:$LINENO:
4159 ************************************************************************
4160 *** The Gambit Universal IDE requires that the system be built using ***
4161 *** the Qt GUI library. This library could not be located. Make ***
4162 *** sure that the program qmake is in your PATH. ***
4163 ************************************************************************
4164 " >&5
4165 $as_echo "$as_me:
4166 ************************************************************************
4167 *** The Gambit Universal IDE requires that the system be built using ***
4168 *** the Qt GUI library. This library could not be located. Make ***
4169 *** sure that the program qmake is in your PATH. ***
4170 ************************************************************************
4171 " >&6;}
4175 else
4177 ENABLE_GUIDE=no
4178 { $as_echo "$as_me:$LINENO:
4179 ************************************************************************
4180 *** The Gambit Universal IDE requires that the system be built using ***
4181 *** a C++ compiler. You must specify both \"--enable-cplusplus\" and ***
4182 *** \"--enable-guide\" to include the Gambit Universal IDE. ***
4183 ************************************************************************
4184 " >&5
4185 $as_echo "$as_me:
4186 ************************************************************************
4187 *** The Gambit Universal IDE requires that the system be built using ***
4188 *** a C++ compiler. You must specify both \"--enable-cplusplus\" and ***
4189 *** \"--enable-guide\" to include the Gambit Universal IDE. ***
4190 ************************************************************************
4191 " >&6;}
4196 if test "$ENABLE_GUIDE" = yes; then
4197 cat >>confdefs.h <<\_ACEOF
4198 #define ___GUIDE 1
4199 _ACEOF
4202 RTLIBSUBSYS="$RTLIBSUBSYS guide"
4203 LIBS="$LIBS $QTLIBS"
4208 ###############################################################################
4210 # Check if the system is to be debugged.
4212 # Check whether --enable-debug was given.
4213 if test "${enable_debug+set}" = set; then
4214 enableval=$enable_debug; ENABLE_DEBUG=$enableval
4215 else
4216 ENABLE_DEBUG=no
4220 if test "$ENABLE_DEBUG" = yes; then
4221 cat >>confdefs.h <<\_ACEOF
4222 #define ___DEBUG 1
4223 _ACEOF
4225 DEFS_DYN="$DEFS_DYN -D___DEBUG"
4228 ###############################################################################
4230 # Check if the system is to be profiled.
4232 # Check whether --enable-profile was given.
4233 if test "${enable_profile+set}" = set; then
4234 enableval=$enable_profile; ENABLE_PROFILE=$enableval
4235 else
4236 ENABLE_PROFILE=no
4240 if test "$ENABLE_PROFILE" = yes; then
4241 cat >>confdefs.h <<\_ACEOF
4242 #define ___PROFILE 1
4243 _ACEOF
4245 DEFS_DYN="$DEFS_DYN -D___PROFILE"
4248 ###############################################################################
4250 # Check if the system is to be compiled to accumulate coverage statistics.
4252 # Check whether --enable-coverage was given.
4253 if test "${enable_coverage+set}" = set; then
4254 enableval=$enable_coverage; ENABLE_COVERAGE=$enableval
4255 else
4256 ENABLE_COVERAGE=no
4260 ###############################################################################
4262 # Check if the system is to be compiled with trial run feedback.
4264 # Check whether --enable-feedback1 was given.
4265 if test "${enable_feedback1+set}" = set; then
4266 enableval=$enable_feedback1; ENABLE_FEEDBACK1=$enableval
4267 else
4268 ENABLE_FEEDBACK1=no
4272 # Check whether --enable-feedback2 was given.
4273 if test "${enable_feedback2+set}" = set; then
4274 enableval=$enable_feedback2; ENABLE_FEEDBACK2=$enableval
4275 else
4276 ENABLE_FEEDBACK2=no
4280 ###############################################################################
4282 # Check if a single C function should be generated for all the Scheme
4283 # functions in a file. This makes the executable much faster but the
4284 # compilation will be much longer and take much more memory.
4286 # Check whether --enable-single-host was given.
4287 if test "${enable_single_host+set}" = set; then
4288 enableval=$enable_single_host; ENABLE_SINGLE_HOST=$enableval
4289 else
4290 ENABLE_SINGLE_HOST=no
4294 if test "$ENABLE_SINGLE_HOST" = yes; then
4295 cat >>confdefs.h <<\_ACEOF
4296 #define ___SINGLE_HOST 1
4297 _ACEOF
4299 DEFS_DYN="$DEFS_DYN -D___SINGLE_HOST"
4302 ###############################################################################
4304 # Check if inline code should be generated for jumps. It is possible
4305 # that on some platforms this will result in a faster but larger
4306 # executable program.
4308 # Check whether --enable-inline-jumps was given.
4309 if test "${enable_inline_jumps+set}" = set; then
4310 enableval=$enable_inline_jumps; ENABLE_INLINE_JUMPS=$enableval
4311 else
4312 ENABLE_INLINE_JUMPS=no
4316 if test "$ENABLE_INLINE_JUMPS" = yes; then
4317 cat >>confdefs.h <<\_ACEOF
4318 #define ___INLINE_JUMPS 1
4319 _ACEOF
4321 DEFS_DYN="$DEFS_DYN -D___INLINE_JUMPS"
4324 ###############################################################################
4326 # Check if expensive GCC optimizations should be used. This makes the
4327 # executable faster but the compilation will be much longer and take
4328 # much more memory.
4330 # Check whether --enable-gcc-opts was given.
4331 if test "${enable_gcc_opts+set}" = set; then
4332 enableval=$enable_gcc_opts; ENABLE_GCC_OPTS=$enableval
4333 else
4334 ENABLE_GCC_OPTS=no
4338 ###############################################################################
4340 # Check the width of Scheme characters.
4342 # Check whether --enable-char-size was given.
4343 if test "${enable_char_size+set}" = set; then
4344 enableval=$enable_char_size; CHAR_SIZE=$enableval
4345 else
4346 CHAR_SIZE=4
4350 if test "$CHAR_SIZE" = 1; then
4351 CONF_MAX_CHR="0xff"
4352 else
4353 if test "$CHAR_SIZE" = 2; then
4354 CONF_MAX_CHR="0xffff"
4355 else
4356 CONF_MAX_CHR="0x10ffff"
4362 ###############################################################################
4364 # Check the size of the type "void*". On many systems it is the same
4365 # size as "long". If this isn't the case then define
4366 # ___VOIDSTAR_WIDTH appropriately.
4370 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4371 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4372 if test "${ac_cv_path_GREP+set}" = set; then
4373 $as_echo_n "(cached) " >&6
4374 else
4375 if test -z "$GREP"; then
4376 ac_path_GREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381 IFS=$as_save_IFS
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in grep ggrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4386 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4387 # Check for GNU ac_path_GREP and select it if it is found.
4388 # Check for GNU $ac_path_GREP
4389 case `"$ac_path_GREP" --version 2>&1` in
4390 *GNU*)
4391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4393 ac_count=0
4394 $as_echo_n 0123456789 >"conftest.in"
4395 while :
4397 cat "conftest.in" "conftest.in" >"conftest.tmp"
4398 mv "conftest.tmp" "conftest.in"
4399 cp "conftest.in" "conftest.nl"
4400 $as_echo 'GREP' >> "conftest.nl"
4401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403 ac_count=`expr $ac_count + 1`
4404 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_GREP="$ac_path_GREP"
4407 ac_path_GREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4411 done
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413 esac
4415 $ac_path_GREP_found && break 3
4416 done
4417 done
4418 done
4419 IFS=$as_save_IFS
4420 if test -z "$ac_cv_path_GREP"; then
4421 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4422 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4423 { (exit 1); exit 1; }; }
4425 else
4426 ac_cv_path_GREP=$GREP
4430 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4431 $as_echo "$ac_cv_path_GREP" >&6; }
4432 GREP="$ac_cv_path_GREP"
4435 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4436 $as_echo_n "checking for egrep... " >&6; }
4437 if test "${ac_cv_path_EGREP+set}" = set; then
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4441 then ac_cv_path_EGREP="$GREP -E"
4442 else
4443 if test -z "$EGREP"; then
4444 ac_path_EGREP_found=false
4445 # Loop through the user's path and test for each of PROGNAME-LIST
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4449 IFS=$as_save_IFS
4450 test -z "$as_dir" && as_dir=.
4451 for ac_prog in egrep; do
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4454 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4455 # Check for GNU ac_path_EGREP and select it if it is found.
4456 # Check for GNU $ac_path_EGREP
4457 case `"$ac_path_EGREP" --version 2>&1` in
4458 *GNU*)
4459 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4461 ac_count=0
4462 $as_echo_n 0123456789 >"conftest.in"
4463 while :
4465 cat "conftest.in" "conftest.in" >"conftest.tmp"
4466 mv "conftest.tmp" "conftest.in"
4467 cp "conftest.in" "conftest.nl"
4468 $as_echo 'EGREP' >> "conftest.nl"
4469 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4471 ac_count=`expr $ac_count + 1`
4472 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4473 # Best one so far, save it but keep looking for a better one
4474 ac_cv_path_EGREP="$ac_path_EGREP"
4475 ac_path_EGREP_max=$ac_count
4477 # 10*(2^10) chars as input seems more than enough
4478 test $ac_count -gt 10 && break
4479 done
4480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4481 esac
4483 $ac_path_EGREP_found && break 3
4484 done
4485 done
4486 done
4487 IFS=$as_save_IFS
4488 if test -z "$ac_cv_path_EGREP"; then
4489 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4490 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4491 { (exit 1); exit 1; }; }
4493 else
4494 ac_cv_path_EGREP=$EGREP
4499 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4500 $as_echo "$ac_cv_path_EGREP" >&6; }
4501 EGREP="$ac_cv_path_EGREP"
4504 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4505 $as_echo_n "checking for ANSI C header files... " >&6; }
4506 if test "${ac_cv_header_stdc+set}" = set; then
4507 $as_echo_n "(cached) " >&6
4508 else
4509 cat >conftest.$ac_ext <<_ACEOF
4510 /* confdefs.h. */
4511 _ACEOF
4512 cat confdefs.h >>conftest.$ac_ext
4513 cat >>conftest.$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 #include <stdlib.h>
4516 #include <stdarg.h>
4517 #include <string.h>
4518 #include <float.h>
4521 main ()
4525 return 0;
4527 _ACEOF
4528 rm -f conftest.$ac_objext
4529 if { (ac_try="$ac_compile"
4530 case "(($ac_try" in
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4533 esac
4534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4535 $as_echo "$ac_try_echo") >&5
4536 (eval "$ac_compile") 2>conftest.er1
4537 ac_status=$?
4538 grep -v '^ *+' conftest.er1 >conftest.err
4539 rm -f conftest.er1
4540 cat conftest.err >&5
4541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_cxx_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest.$ac_objext; then
4546 ac_cv_header_stdc=yes
4547 else
4548 $as_echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4551 ac_cv_header_stdc=no
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 if test $ac_cv_header_stdc = yes; then
4557 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4564 #include <string.h>
4566 _ACEOF
4567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4568 $EGREP "memchr" >/dev/null 2>&1; then
4570 else
4571 ac_cv_header_stdc=no
4573 rm -f conftest*
4577 if test $ac_cv_header_stdc = yes; then
4578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4579 cat >conftest.$ac_ext <<_ACEOF
4580 /* confdefs.h. */
4581 _ACEOF
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 #include <stdlib.h>
4587 _ACEOF
4588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4589 $EGREP "free" >/dev/null 2>&1; then
4591 else
4592 ac_cv_header_stdc=no
4594 rm -f conftest*
4598 if test $ac_cv_header_stdc = yes; then
4599 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4600 if test "$cross_compiling" = yes; then
4602 else
4603 cat >conftest.$ac_ext <<_ACEOF
4604 /* confdefs.h. */
4605 _ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4609 #include <ctype.h>
4610 #include <stdlib.h>
4611 #if ((' ' & 0x0FF) == 0x020)
4612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4614 #else
4615 # define ISLOWER(c) \
4616 (('a' <= (c) && (c) <= 'i') \
4617 || ('j' <= (c) && (c) <= 'r') \
4618 || ('s' <= (c) && (c) <= 'z'))
4619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4620 #endif
4622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4624 main ()
4626 int i;
4627 for (i = 0; i < 256; i++)
4628 if (XOR (islower (i), ISLOWER (i))
4629 || toupper (i) != TOUPPER (i))
4630 return 2;
4631 return 0;
4633 _ACEOF
4634 rm -f conftest$ac_exeext
4635 if { (ac_try="$ac_link"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4641 $as_echo "$ac_try_echo") >&5
4642 (eval "$ac_link") 2>&5
4643 ac_status=$?
4644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4646 { (case "(($ac_try" in
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4649 esac
4650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4651 $as_echo "$ac_try_echo") >&5
4652 (eval "$ac_try") 2>&5
4653 ac_status=$?
4654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
4657 else
4658 $as_echo "$as_me: program exited with status $ac_status" >&5
4659 $as_echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4662 ( exit $ac_status )
4663 ac_cv_header_stdc=no
4665 rm -rf conftest.dSYM
4666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4673 $as_echo "$ac_cv_header_stdc" >&6; }
4674 if test $ac_cv_header_stdc = yes; then
4676 cat >>confdefs.h <<\_ACEOF
4677 #define STDC_HEADERS 1
4678 _ACEOF
4682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4692 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4693 inttypes.h stdint.h unistd.h
4695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4696 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4697 $as_echo_n "checking for $ac_header... " >&6; }
4698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4699 $as_echo_n "(cached) " >&6
4700 else
4701 cat >conftest.$ac_ext <<_ACEOF
4702 /* confdefs.h. */
4703 _ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 $ac_includes_default
4709 #include <$ac_header>
4710 _ACEOF
4711 rm -f conftest.$ac_objext
4712 if { (ac_try="$ac_compile"
4713 case "(($ac_try" in
4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4715 *) ac_try_echo=$ac_try;;
4716 esac
4717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4718 $as_echo "$ac_try_echo") >&5
4719 (eval "$ac_compile") 2>conftest.er1
4720 ac_status=$?
4721 grep -v '^ *+' conftest.er1 >conftest.err
4722 rm -f conftest.er1
4723 cat conftest.err >&5
4724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } && {
4726 test -z "$ac_cxx_werror_flag" ||
4727 test ! -s conftest.err
4728 } && test -s conftest.$ac_objext; then
4729 eval "$as_ac_Header=yes"
4730 else
4731 $as_echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.$ac_ext >&5
4734 eval "$as_ac_Header=no"
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739 ac_res=`eval 'as_val=${'$as_ac_Header'}
4740 $as_echo "$as_val"'`
4741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4742 $as_echo "$ac_res" >&6; }
4743 if test `eval 'as_val=${'$as_ac_Header'}
4744 $as_echo "$as_val"'` = yes; then
4745 cat >>confdefs.h <<_ACEOF
4746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4747 _ACEOF
4751 done
4754 # The cast to long int works around a bug in the HP C Compiler
4755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4757 # This bug is HP SR number 8606223364.
4758 { $as_echo "$as_me:$LINENO: checking size of void*" >&5
4759 $as_echo_n "checking size of void*... " >&6; }
4760 if test "${ac_cv_sizeof_voidp+set}" = set; then
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test "$cross_compiling" = yes; then
4764 # Depending upon the size, compute the lo and hi bounds.
4765 cat >conftest.$ac_ext <<_ACEOF
4766 /* confdefs.h. */
4767 _ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 $ac_includes_default
4773 main ()
4775 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
4776 test_array [0] = 0
4779 return 0;
4781 _ACEOF
4782 rm -f conftest.$ac_objext
4783 if { (ac_try="$ac_compile"
4784 case "(($ac_try" in
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4787 esac
4788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4789 $as_echo "$ac_try_echo") >&5
4790 (eval "$ac_compile") 2>conftest.er1
4791 ac_status=$?
4792 grep -v '^ *+' conftest.er1 >conftest.err
4793 rm -f conftest.er1
4794 cat conftest.err >&5
4795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } && {
4797 test -z "$ac_cxx_werror_flag" ||
4798 test ! -s conftest.err
4799 } && test -s conftest.$ac_objext; then
4800 ac_lo=0 ac_mid=0
4801 while :; do
4802 cat >conftest.$ac_ext <<_ACEOF
4803 /* confdefs.h. */
4804 _ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4808 $ac_includes_default
4810 main ()
4812 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
4813 test_array [0] = 0
4816 return 0;
4818 _ACEOF
4819 rm -f conftest.$ac_objext
4820 if { (ac_try="$ac_compile"
4821 case "(($ac_try" in
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4824 esac
4825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826 $as_echo "$ac_try_echo") >&5
4827 (eval "$ac_compile") 2>conftest.er1
4828 ac_status=$?
4829 grep -v '^ *+' conftest.er1 >conftest.err
4830 rm -f conftest.er1
4831 cat conftest.err >&5
4832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_cxx_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest.$ac_objext; then
4837 ac_hi=$ac_mid; break
4838 else
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_lo=`expr $ac_mid + 1`
4843 if test $ac_lo -le $ac_mid; then
4844 ac_lo= ac_hi=
4845 break
4847 ac_mid=`expr 2 '*' $ac_mid + 1`
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851 done
4852 else
4853 $as_echo "$as_me: failed program was:" >&5
4854 sed 's/^/| /' conftest.$ac_ext >&5
4856 cat >conftest.$ac_ext <<_ACEOF
4857 /* confdefs.h. */
4858 _ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4862 $ac_includes_default
4864 main ()
4866 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
4867 test_array [0] = 0
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.$ac_objext
4874 if { (ac_try="$ac_compile"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4880 $as_echo "$ac_try_echo") >&5
4881 (eval "$ac_compile") 2>conftest.er1
4882 ac_status=$?
4883 grep -v '^ *+' conftest.er1 >conftest.err
4884 rm -f conftest.er1
4885 cat conftest.err >&5
4886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } && {
4888 test -z "$ac_cxx_werror_flag" ||
4889 test ! -s conftest.err
4890 } && test -s conftest.$ac_objext; then
4891 ac_hi=-1 ac_mid=-1
4892 while :; do
4893 cat >conftest.$ac_ext <<_ACEOF
4894 /* confdefs.h. */
4895 _ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 $ac_includes_default
4901 main ()
4903 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
4904 test_array [0] = 0
4907 return 0;
4909 _ACEOF
4910 rm -f conftest.$ac_objext
4911 if { (ac_try="$ac_compile"
4912 case "(($ac_try" in
4913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4915 esac
4916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4917 $as_echo "$ac_try_echo") >&5
4918 (eval "$ac_compile") 2>conftest.er1
4919 ac_status=$?
4920 grep -v '^ *+' conftest.er1 >conftest.err
4921 rm -f conftest.er1
4922 cat conftest.err >&5
4923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_cxx_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest.$ac_objext; then
4928 ac_lo=$ac_mid; break
4929 else
4930 $as_echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 ac_hi=`expr '(' $ac_mid ')' - 1`
4934 if test $ac_mid -le $ac_hi; then
4935 ac_lo= ac_hi=
4936 break
4938 ac_mid=`expr 2 '*' $ac_mid`
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 done
4943 else
4944 $as_echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_lo= ac_hi=
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954 # Binary search between lo and hi bounds.
4955 while test "x$ac_lo" != "x$ac_hi"; do
4956 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4957 cat >conftest.$ac_ext <<_ACEOF
4958 /* confdefs.h. */
4959 _ACEOF
4960 cat confdefs.h >>conftest.$ac_ext
4961 cat >>conftest.$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4963 $ac_includes_default
4965 main ()
4967 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
4968 test_array [0] = 0
4971 return 0;
4973 _ACEOF
4974 rm -f conftest.$ac_objext
4975 if { (ac_try="$ac_compile"
4976 case "(($ac_try" in
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4979 esac
4980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4981 $as_echo "$ac_try_echo") >&5
4982 (eval "$ac_compile") 2>conftest.er1
4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_cxx_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest.$ac_objext; then
4992 ac_hi=$ac_mid
4993 else
4994 $as_echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997 ac_lo=`expr '(' $ac_mid ')' + 1`
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 done
5002 case $ac_lo in
5003 ?*) ac_cv_sizeof_voidp=$ac_lo;;
5004 '') if test "$ac_cv_type_voidp" = yes; then
5005 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
5006 See \`config.log' for more details." >&5
5007 $as_echo "$as_me: error: cannot compute sizeof (void*)
5008 See \`config.log' for more details." >&2;}
5009 { (exit 77); exit 77; }; }
5010 else
5011 ac_cv_sizeof_voidp=0
5012 fi ;;
5013 esac
5014 else
5015 cat >conftest.$ac_ext <<_ACEOF
5016 /* confdefs.h. */
5017 _ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 $ac_includes_default
5022 static long int longval () { return (long int) (sizeof (void*)); }
5023 static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
5024 #include <stdio.h>
5025 #include <stdlib.h>
5027 main ()
5030 FILE *f = fopen ("conftest.val", "w");
5031 if (! f)
5032 return 1;
5033 if (((long int) (sizeof (void*))) < 0)
5035 long int i = longval ();
5036 if (i != ((long int) (sizeof (void*))))
5037 return 1;
5038 fprintf (f, "%ld", i);
5040 else
5042 unsigned long int i = ulongval ();
5043 if (i != ((long int) (sizeof (void*))))
5044 return 1;
5045 fprintf (f, "%lu", i);
5047 /* Do not output a trailing newline, as this causes \r\n confusion
5048 on some platforms. */
5049 return ferror (f) || fclose (f) != 0;
5052 return 0;
5054 _ACEOF
5055 rm -f conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5057 case "(($ac_try" in
5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5060 esac
5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5062 $as_echo "$ac_try_echo") >&5
5063 (eval "$ac_link") 2>&5
5064 ac_status=$?
5065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5067 { (case "(($ac_try" in
5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5070 esac
5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5072 $as_echo "$ac_try_echo") >&5
5073 (eval "$ac_try") 2>&5
5074 ac_status=$?
5075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; }; then
5077 ac_cv_sizeof_voidp=`cat conftest.val`
5078 else
5079 $as_echo "$as_me: program exited with status $ac_status" >&5
5080 $as_echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 ( exit $ac_status )
5084 if test "$ac_cv_type_voidp" = yes; then
5085 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
5086 See \`config.log' for more details." >&5
5087 $as_echo "$as_me: error: cannot compute sizeof (void*)
5088 See \`config.log' for more details." >&2;}
5089 { (exit 77); exit 77; }; }
5090 else
5091 ac_cv_sizeof_voidp=0
5094 rm -rf conftest.dSYM
5095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5097 rm -f conftest.val
5099 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
5100 $as_echo "$ac_cv_sizeof_voidp" >&6; }
5104 cat >>confdefs.h <<_ACEOF
5105 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
5106 _ACEOF
5109 # The cast to long int works around a bug in the HP C Compiler
5110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5112 # This bug is HP SR number 8606223364.
5113 { $as_echo "$as_me:$LINENO: checking size of long" >&5
5114 $as_echo_n "checking size of long... " >&6; }
5115 if test "${ac_cv_sizeof_long+set}" = set; then
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test "$cross_compiling" = yes; then
5119 # Depending upon the size, compute the lo and hi bounds.
5120 cat >conftest.$ac_ext <<_ACEOF
5121 /* confdefs.h. */
5122 _ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 $ac_includes_default
5128 main ()
5130 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
5131 test_array [0] = 0
5134 return 0;
5136 _ACEOF
5137 rm -f conftest.$ac_objext
5138 if { (ac_try="$ac_compile"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5144 $as_echo "$ac_try_echo") >&5
5145 (eval "$ac_compile") 2>conftest.er1
5146 ac_status=$?
5147 grep -v '^ *+' conftest.er1 >conftest.err
5148 rm -f conftest.er1
5149 cat conftest.err >&5
5150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } && {
5152 test -z "$ac_cxx_werror_flag" ||
5153 test ! -s conftest.err
5154 } && test -s conftest.$ac_objext; then
5155 ac_lo=0 ac_mid=0
5156 while :; do
5157 cat >conftest.$ac_ext <<_ACEOF
5158 /* confdefs.h. */
5159 _ACEOF
5160 cat confdefs.h >>conftest.$ac_ext
5161 cat >>conftest.$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5163 $ac_includes_default
5165 main ()
5167 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5168 test_array [0] = 0
5171 return 0;
5173 _ACEOF
5174 rm -f conftest.$ac_objext
5175 if { (ac_try="$ac_compile"
5176 case "(($ac_try" in
5177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 *) ac_try_echo=$ac_try;;
5179 esac
5180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5181 $as_echo "$ac_try_echo") >&5
5182 (eval "$ac_compile") 2>conftest.er1
5183 ac_status=$?
5184 grep -v '^ *+' conftest.er1 >conftest.err
5185 rm -f conftest.er1
5186 cat conftest.err >&5
5187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } && {
5189 test -z "$ac_cxx_werror_flag" ||
5190 test ! -s conftest.err
5191 } && test -s conftest.$ac_objext; then
5192 ac_hi=$ac_mid; break
5193 else
5194 $as_echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 ac_lo=`expr $ac_mid + 1`
5198 if test $ac_lo -le $ac_mid; then
5199 ac_lo= ac_hi=
5200 break
5202 ac_mid=`expr 2 '*' $ac_mid + 1`
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 done
5207 else
5208 $as_echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 cat >conftest.$ac_ext <<_ACEOF
5212 /* confdefs.h. */
5213 _ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 $ac_includes_default
5219 main ()
5221 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
5222 test_array [0] = 0
5225 return 0;
5227 _ACEOF
5228 rm -f conftest.$ac_objext
5229 if { (ac_try="$ac_compile"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5235 $as_echo "$ac_try_echo") >&5
5236 (eval "$ac_compile") 2>conftest.er1
5237 ac_status=$?
5238 grep -v '^ *+' conftest.er1 >conftest.err
5239 rm -f conftest.er1
5240 cat conftest.err >&5
5241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } && {
5243 test -z "$ac_cxx_werror_flag" ||
5244 test ! -s conftest.err
5245 } && test -s conftest.$ac_objext; then
5246 ac_hi=-1 ac_mid=-1
5247 while :; do
5248 cat >conftest.$ac_ext <<_ACEOF
5249 /* confdefs.h. */
5250 _ACEOF
5251 cat confdefs.h >>conftest.$ac_ext
5252 cat >>conftest.$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 $ac_includes_default
5256 main ()
5258 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
5259 test_array [0] = 0
5262 return 0;
5264 _ACEOF
5265 rm -f conftest.$ac_objext
5266 if { (ac_try="$ac_compile"
5267 case "(($ac_try" in
5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5270 esac
5271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5272 $as_echo "$ac_try_echo") >&5
5273 (eval "$ac_compile") 2>conftest.er1
5274 ac_status=$?
5275 grep -v '^ *+' conftest.er1 >conftest.err
5276 rm -f conftest.er1
5277 cat conftest.err >&5
5278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } && {
5280 test -z "$ac_cxx_werror_flag" ||
5281 test ! -s conftest.err
5282 } && test -s conftest.$ac_objext; then
5283 ac_lo=$ac_mid; break
5284 else
5285 $as_echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 ac_hi=`expr '(' $ac_mid ')' - 1`
5289 if test $ac_mid -le $ac_hi; then
5290 ac_lo= ac_hi=
5291 break
5293 ac_mid=`expr 2 '*' $ac_mid`
5296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5297 done
5298 else
5299 $as_echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5302 ac_lo= ac_hi=
5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 # Binary search between lo and hi bounds.
5310 while test "x$ac_lo" != "x$ac_hi"; do
5311 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5312 cat >conftest.$ac_ext <<_ACEOF
5313 /* confdefs.h. */
5314 _ACEOF
5315 cat confdefs.h >>conftest.$ac_ext
5316 cat >>conftest.$ac_ext <<_ACEOF
5317 /* end confdefs.h. */
5318 $ac_includes_default
5320 main ()
5322 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5323 test_array [0] = 0
5326 return 0;
5328 _ACEOF
5329 rm -f conftest.$ac_objext
5330 if { (ac_try="$ac_compile"
5331 case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334 esac
5335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5336 $as_echo "$ac_try_echo") >&5
5337 (eval "$ac_compile") 2>conftest.er1
5338 ac_status=$?
5339 grep -v '^ *+' conftest.er1 >conftest.err
5340 rm -f conftest.er1
5341 cat conftest.err >&5
5342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } && {
5344 test -z "$ac_cxx_werror_flag" ||
5345 test ! -s conftest.err
5346 } && test -s conftest.$ac_objext; then
5347 ac_hi=$ac_mid
5348 else
5349 $as_echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.$ac_ext >&5
5352 ac_lo=`expr '(' $ac_mid ')' + 1`
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 done
5357 case $ac_lo in
5358 ?*) ac_cv_sizeof_long=$ac_lo;;
5359 '') if test "$ac_cv_type_long" = yes; then
5360 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5361 See \`config.log' for more details." >&5
5362 $as_echo "$as_me: error: cannot compute sizeof (long)
5363 See \`config.log' for more details." >&2;}
5364 { (exit 77); exit 77; }; }
5365 else
5366 ac_cv_sizeof_long=0
5367 fi ;;
5368 esac
5369 else
5370 cat >conftest.$ac_ext <<_ACEOF
5371 /* confdefs.h. */
5372 _ACEOF
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5376 $ac_includes_default
5377 static long int longval () { return (long int) (sizeof (long)); }
5378 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
5379 #include <stdio.h>
5380 #include <stdlib.h>
5382 main ()
5385 FILE *f = fopen ("conftest.val", "w");
5386 if (! f)
5387 return 1;
5388 if (((long int) (sizeof (long))) < 0)
5390 long int i = longval ();
5391 if (i != ((long int) (sizeof (long))))
5392 return 1;
5393 fprintf (f, "%ld", i);
5395 else
5397 unsigned long int i = ulongval ();
5398 if (i != ((long int) (sizeof (long))))
5399 return 1;
5400 fprintf (f, "%lu", i);
5402 /* Do not output a trailing newline, as this causes \r\n confusion
5403 on some platforms. */
5404 return ferror (f) || fclose (f) != 0;
5407 return 0;
5409 _ACEOF
5410 rm -f conftest$ac_exeext
5411 if { (ac_try="$ac_link"
5412 case "(($ac_try" in
5413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5414 *) ac_try_echo=$ac_try;;
5415 esac
5416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5417 $as_echo "$ac_try_echo") >&5
5418 (eval "$ac_link") 2>&5
5419 ac_status=$?
5420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5422 { (case "(($ac_try" in
5423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424 *) ac_try_echo=$ac_try;;
5425 esac
5426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5427 $as_echo "$ac_try_echo") >&5
5428 (eval "$ac_try") 2>&5
5429 ac_status=$?
5430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); }; }; then
5432 ac_cv_sizeof_long=`cat conftest.val`
5433 else
5434 $as_echo "$as_me: program exited with status $ac_status" >&5
5435 $as_echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.$ac_ext >&5
5438 ( exit $ac_status )
5439 if test "$ac_cv_type_long" = yes; then
5440 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5441 See \`config.log' for more details." >&5
5442 $as_echo "$as_me: error: cannot compute sizeof (long)
5443 See \`config.log' for more details." >&2;}
5444 { (exit 77); exit 77; }; }
5445 else
5446 ac_cv_sizeof_long=0
5449 rm -rf conftest.dSYM
5450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5452 rm -f conftest.val
5454 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5455 $as_echo "$ac_cv_sizeof_long" >&6; }
5459 cat >>confdefs.h <<_ACEOF
5460 #define SIZEOF_LONG $ac_cv_sizeof_long
5461 _ACEOF
5465 if test "$ac_cv_sizeof_voidp" != "$ac_cv_sizeof_long"; then
5466 CONF_VOIDSTAR_WIDTH="($ac_cv_sizeof_voidp * ___CHAR_WIDTH)"
5467 else
5468 CONF_VOIDSTAR_WIDTH="___LONG_WIDTH"
5473 ###############################################################################
5475 # Check if a shared library must be built.
5477 # Check whether --enable-shared was given.
5478 if test "${enable_shared+set}" = set; then
5479 enableval=$enable_shared; ENABLE_SHARED=$enableval
5480 else
5481 ENABLE_SHARED=no
5485 if test "$ENABLE_SHARED" = yes; then
5486 cat >>confdefs.h <<\_ACEOF
5487 #define ___SHARED 1
5488 _ACEOF
5490 # don't add to DEFS_DYN
5493 ###############################################################################
5495 # Check if only ANSI C headers and libraries should be used.
5497 # Check whether --enable-ansi-c was given.
5498 if test "${enable_ansi_c+set}" = set; then
5499 enableval=$enable_ansi_c; ANSI_C=$enableval
5500 else
5501 ANSI_C=no
5505 ###############################################################################
5507 # Check if symbolic links should be used for files not in the
5508 # central installation directory.
5510 # Check whether --enable-symlinks was given.
5511 if test "${enable_symlinks+set}" = set; then
5512 enableval=$enable_symlinks; ENABLE_SYMLINKS=$enableval
5513 else
5514 ENABLE_SYMLINKS=no
5518 ###############################################################################
5520 # Determine the name to use for the Gambit interpreter and compiler.
5522 # Check whether --enable-interpreter-name was given.
5523 if test "${enable_interpreter_name+set}" = set; then
5524 enableval=$enable_interpreter_name; ENABLE_INTERPRETER_NAME=$enableval
5525 else
5526 ENABLE_INTERPRETER_NAME="gsi"
5530 # Check whether --enable-compiler-name was given.
5531 if test "${enable_compiler_name+set}" = set; then
5532 enableval=$enable_compiler_name; ENABLE_COMPILER_NAME=$enableval
5533 else
5534 ENABLE_COMPILER_NAME="gsc"
5538 ###############################################################################
5540 # Check if multiple installed versions are supported.
5542 # Check whether --enable-multiple-versions was given.
5543 if test "${enable_multiple_versions+set}" = set; then
5544 enableval=$enable_multiple_versions; ENABLE_MULTIPLE_VERSIONS=$enableval
5545 else
5546 ENABLE_MULTIPLE_VERSIONS=no
5550 ###############################################################################
5552 # Check if libraries should contain a version number suffix.
5554 ENABLE_VERSIONNED_LIBS=no
5556 # This option does not currently work. Some work is needed to make it
5557 # work properly. Here is the documentation that should go in INSTALL.txt:
5559 #The option --enable-versionned-libs will add a version number suffix
5560 #to the libraries. For example the Gambit v4.3.2 runtime library which
5561 #is normally libgambc.a will be named libgambc-v4_3_2.a and it must be
5562 #linked to with the C compiler option -lgambc-v4_3_2 . If you give
5563 #this option a value, as in --enable-versionned-libs=<suffix> then
5564 #<suffix> will be appended to the name of the libraries.
5566 #AC_ARG_ENABLE(versionned-libs,
5567 # AC_HELP_STRING([--enable-versionned-libs],
5568 # [libraries should contain a version number suffix (default is NO)]),
5569 # ENABLE_VERSIONNED_LIBS=$enableval,
5570 # ENABLE_VERSIONNED_LIBS=no)
5572 ###############################################################################
5574 # Check if shared libraries should be linked to using an absolute path.
5576 # Check whether --enable-absolute-shared-libs was given.
5577 if test "${enable_absolute_shared_libs+set}" = set; then
5578 enableval=$enable_absolute_shared_libs; ENABLE_ABSOLUTE_SHARED_LIBS=$enableval
5579 else
5580 ENABLE_ABSOLUTE_SHARED_LIBS=yes
5584 if test "$ENABLE_SHARED" != yes; then
5585 ENABLE_ABSOLUTE_SHARED_LIBS=no
5588 ###############################################################################
5590 # Determine which browser to use for help.
5592 # Check whether --enable-help-browser was given.
5593 if test "${enable_help_browser+set}" = set; then
5594 enableval=$enable_help_browser; HELP_BROWSER=$enableval
5595 else
5596 HELP_BROWSER=""
5600 ###############################################################################
5602 # Check for C compiler.
5610 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER defines __GNUC__" >&5
5611 $as_echo_n "checking whether $C_COMPILER defines __GNUC__... " >&6; }
5612 if test "${C_COMP_GNUC+set}" = set; then
5613 $as_echo_n "(cached) " >&6
5614 else
5616 rm -f conftest.$ac_ext
5617 cat >conftest.$ac_ext <<_ACEOF
5618 #line $LINENO "configure"
5620 main ()
5622 #ifndef __GNUC__
5623 choke me
5624 #endif
5627 return 0;
5629 _ACEOF
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; then
5635 C_COMP_GNUC="yes"
5636 else
5637 C_COMP_GNUC=""
5641 { $as_echo "$as_me:$LINENO: result: $C_COMP_GNUC" >&5
5642 $as_echo "$C_COMP_GNUC" >&6; }
5643 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER defines _MSC_VER" >&5
5644 $as_echo_n "checking whether $C_COMPILER defines _MSC_VER... " >&6; }
5645 if test "${C_COMP_VISUALC+set}" = set; then
5646 $as_echo_n "(cached) " >&6
5647 else
5649 rm -f conftest.$ac_ext
5650 cat >conftest.$ac_ext <<_ACEOF
5651 #line $LINENO "configure"
5653 main ()
5655 #ifndef _MSC_VER
5656 choke me
5657 #endif
5660 return 0;
5662 _ACEOF
5663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5664 (eval $ac_link) 2>&5
5665 ac_status=$?
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; then
5668 C_COMP_VISUALC="yes"
5669 else
5670 C_COMP_VISUALC=""
5674 { $as_echo "$as_me:$LINENO: result: $C_COMP_VISUALC" >&5
5675 $as_echo "$C_COMP_VISUALC" >&6; }
5676 #AC_CHECK_C_COMPILER_DEF(__WATCOMC__,C_COMP_WATCOMC)
5677 #AC_CHECK_C_COMPILER_DEF(__BORLANDC__,C_COMP_BORLANDC)
5679 ###############################################################################
5681 # Check for header files.
5684 for ac_header in errno.h
5686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5688 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5689 $as_echo_n "checking for $ac_header... " >&6; }
5690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5691 $as_echo_n "(cached) " >&6
5693 ac_res=`eval 'as_val=${'$as_ac_Header'}
5694 $as_echo "$as_val"'`
5695 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5696 $as_echo "$ac_res" >&6; }
5697 else
5698 # Is the header compilable?
5699 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5700 $as_echo_n "checking $ac_header usability... " >&6; }
5701 cat >conftest.$ac_ext <<_ACEOF
5702 /* confdefs.h. */
5703 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 $ac_includes_default
5708 #include <$ac_header>
5709 _ACEOF
5710 rm -f conftest.$ac_objext
5711 if { (ac_try="$ac_compile"
5712 case "(($ac_try" in
5713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5714 *) ac_try_echo=$ac_try;;
5715 esac
5716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5717 $as_echo "$ac_try_echo") >&5
5718 (eval "$ac_compile") 2>conftest.er1
5719 ac_status=$?
5720 grep -v '^ *+' conftest.er1 >conftest.err
5721 rm -f conftest.er1
5722 cat conftest.err >&5
5723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } && {
5725 test -z "$ac_cxx_werror_flag" ||
5726 test ! -s conftest.err
5727 } && test -s conftest.$ac_objext; then
5728 ac_header_compiler=yes
5729 else
5730 $as_echo "$as_me: failed program was:" >&5
5731 sed 's/^/| /' conftest.$ac_ext >&5
5733 ac_header_compiler=no
5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5738 $as_echo "$ac_header_compiler" >&6; }
5740 # Is the header present?
5741 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5742 $as_echo_n "checking $ac_header presence... " >&6; }
5743 cat >conftest.$ac_ext <<_ACEOF
5744 /* confdefs.h. */
5745 _ACEOF
5746 cat confdefs.h >>conftest.$ac_ext
5747 cat >>conftest.$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5749 #include <$ac_header>
5750 _ACEOF
5751 if { (ac_try="$ac_cpp conftest.$ac_ext"
5752 case "(($ac_try" in
5753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5754 *) ac_try_echo=$ac_try;;
5755 esac
5756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5757 $as_echo "$ac_try_echo") >&5
5758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5759 ac_status=$?
5760 grep -v '^ *+' conftest.er1 >conftest.err
5761 rm -f conftest.er1
5762 cat conftest.err >&5
5763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } >/dev/null && {
5765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5766 test ! -s conftest.err
5767 }; then
5768 ac_header_preproc=yes
5769 else
5770 $as_echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 ac_header_preproc=no
5776 rm -f conftest.err conftest.$ac_ext
5777 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5778 $as_echo "$ac_header_preproc" >&6; }
5780 # So? What about this header?
5781 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5782 yes:no: )
5783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5784 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5786 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5787 ac_header_preproc=yes
5789 no:yes:* )
5790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5791 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5793 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5795 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5797 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5799 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5801 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5802 ( cat <<\_ASBOX
5803 ## -------------------------------------- ##
5804 ## Report this to gambit@iro.umontreal.ca ##
5805 ## -------------------------------------- ##
5806 _ASBOX
5807 ) | sed "s/^/$as_me: WARNING: /" >&2
5809 esac
5810 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5811 $as_echo_n "checking for $ac_header... " >&6; }
5812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5813 $as_echo_n "(cached) " >&6
5814 else
5815 eval "$as_ac_Header=\$ac_header_preproc"
5817 ac_res=`eval 'as_val=${'$as_ac_Header'}
5818 $as_echo "$as_val"'`
5819 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5820 $as_echo "$ac_res" >&6; }
5823 if test `eval 'as_val=${'$as_ac_Header'}
5824 $as_echo "$as_val"'` = yes; then
5825 cat >>confdefs.h <<_ACEOF
5826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5827 _ACEOF
5831 done
5834 for ac_header in float.h
5836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5838 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5839 $as_echo_n "checking for $ac_header... " >&6; }
5840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5841 $as_echo_n "(cached) " >&6
5843 ac_res=`eval 'as_val=${'$as_ac_Header'}
5844 $as_echo "$as_val"'`
5845 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5846 $as_echo "$ac_res" >&6; }
5847 else
5848 # Is the header compilable?
5849 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5850 $as_echo_n "checking $ac_header usability... " >&6; }
5851 cat >conftest.$ac_ext <<_ACEOF
5852 /* confdefs.h. */
5853 _ACEOF
5854 cat confdefs.h >>conftest.$ac_ext
5855 cat >>conftest.$ac_ext <<_ACEOF
5856 /* end confdefs.h. */
5857 $ac_includes_default
5858 #include <$ac_header>
5859 _ACEOF
5860 rm -f conftest.$ac_objext
5861 if { (ac_try="$ac_compile"
5862 case "(($ac_try" in
5863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864 *) ac_try_echo=$ac_try;;
5865 esac
5866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5867 $as_echo "$ac_try_echo") >&5
5868 (eval "$ac_compile") 2>conftest.er1
5869 ac_status=$?
5870 grep -v '^ *+' conftest.er1 >conftest.err
5871 rm -f conftest.er1
5872 cat conftest.err >&5
5873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } && {
5875 test -z "$ac_cxx_werror_flag" ||
5876 test ! -s conftest.err
5877 } && test -s conftest.$ac_objext; then
5878 ac_header_compiler=yes
5879 else
5880 $as_echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 ac_header_compiler=no
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5887 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5888 $as_echo "$ac_header_compiler" >&6; }
5890 # Is the header present?
5891 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5892 $as_echo_n "checking $ac_header presence... " >&6; }
5893 cat >conftest.$ac_ext <<_ACEOF
5894 /* confdefs.h. */
5895 _ACEOF
5896 cat confdefs.h >>conftest.$ac_ext
5897 cat >>conftest.$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5899 #include <$ac_header>
5900 _ACEOF
5901 if { (ac_try="$ac_cpp conftest.$ac_ext"
5902 case "(($ac_try" in
5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
5905 esac
5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5907 $as_echo "$ac_try_echo") >&5
5908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5909 ac_status=$?
5910 grep -v '^ *+' conftest.er1 >conftest.err
5911 rm -f conftest.er1
5912 cat conftest.err >&5
5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } >/dev/null && {
5915 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5916 test ! -s conftest.err
5917 }; then
5918 ac_header_preproc=yes
5919 else
5920 $as_echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 ac_header_preproc=no
5926 rm -f conftest.err conftest.$ac_ext
5927 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5928 $as_echo "$ac_header_preproc" >&6; }
5930 # So? What about this header?
5931 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5932 yes:no: )
5933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5934 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5936 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5937 ac_header_preproc=yes
5939 no:yes:* )
5940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5941 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5943 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5945 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5947 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5949 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5951 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5952 ( cat <<\_ASBOX
5953 ## -------------------------------------- ##
5954 ## Report this to gambit@iro.umontreal.ca ##
5955 ## -------------------------------------- ##
5956 _ASBOX
5957 ) | sed "s/^/$as_me: WARNING: /" >&2
5959 esac
5960 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5961 $as_echo_n "checking for $ac_header... " >&6; }
5962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5963 $as_echo_n "(cached) " >&6
5964 else
5965 eval "$as_ac_Header=\$ac_header_preproc"
5967 ac_res=`eval 'as_val=${'$as_ac_Header'}
5968 $as_echo "$as_val"'`
5969 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5970 $as_echo "$ac_res" >&6; }
5973 if test `eval 'as_val=${'$as_ac_Header'}
5974 $as_echo "$as_val"'` = yes; then
5975 cat >>confdefs.h <<_ACEOF
5976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5977 _ACEOF
5981 done
5984 for ac_header in signal.h
5986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5989 $as_echo_n "checking for $ac_header... " >&6; }
5990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5991 $as_echo_n "(cached) " >&6
5993 ac_res=`eval 'as_val=${'$as_ac_Header'}
5994 $as_echo "$as_val"'`
5995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5996 $as_echo "$ac_res" >&6; }
5997 else
5998 # Is the header compilable?
5999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6000 $as_echo_n "checking $ac_header usability... " >&6; }
6001 cat >conftest.$ac_ext <<_ACEOF
6002 /* confdefs.h. */
6003 _ACEOF
6004 cat confdefs.h >>conftest.$ac_ext
6005 cat >>conftest.$ac_ext <<_ACEOF
6006 /* end confdefs.h. */
6007 $ac_includes_default
6008 #include <$ac_header>
6009 _ACEOF
6010 rm -f conftest.$ac_objext
6011 if { (ac_try="$ac_compile"
6012 case "(($ac_try" in
6013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6014 *) ac_try_echo=$ac_try;;
6015 esac
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6017 $as_echo "$ac_try_echo") >&5
6018 (eval "$ac_compile") 2>conftest.er1
6019 ac_status=$?
6020 grep -v '^ *+' conftest.er1 >conftest.err
6021 rm -f conftest.er1
6022 cat conftest.err >&5
6023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && {
6025 test -z "$ac_cxx_werror_flag" ||
6026 test ! -s conftest.err
6027 } && test -s conftest.$ac_objext; then
6028 ac_header_compiler=yes
6029 else
6030 $as_echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6033 ac_header_compiler=no
6036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6038 $as_echo "$ac_header_compiler" >&6; }
6040 # Is the header present?
6041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6042 $as_echo_n "checking $ac_header presence... " >&6; }
6043 cat >conftest.$ac_ext <<_ACEOF
6044 /* confdefs.h. */
6045 _ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 #include <$ac_header>
6050 _ACEOF
6051 if { (ac_try="$ac_cpp conftest.$ac_ext"
6052 case "(($ac_try" in
6053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6054 *) ac_try_echo=$ac_try;;
6055 esac
6056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6059 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1
6062 cat conftest.err >&5
6063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } >/dev/null && {
6065 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6066 test ! -s conftest.err
6067 }; then
6068 ac_header_preproc=yes
6069 else
6070 $as_echo "$as_me: failed program was:" >&5
6071 sed 's/^/| /' conftest.$ac_ext >&5
6073 ac_header_preproc=no
6076 rm -f conftest.err conftest.$ac_ext
6077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6078 $as_echo "$ac_header_preproc" >&6; }
6080 # So? What about this header?
6081 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6082 yes:no: )
6083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6087 ac_header_preproc=yes
6089 no:yes:* )
6090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6102 ( cat <<\_ASBOX
6103 ## -------------------------------------- ##
6104 ## Report this to gambit@iro.umontreal.ca ##
6105 ## -------------------------------------- ##
6106 _ASBOX
6107 ) | sed "s/^/$as_me: WARNING: /" >&2
6109 esac
6110 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6111 $as_echo_n "checking for $ac_header... " >&6; }
6112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6113 $as_echo_n "(cached) " >&6
6114 else
6115 eval "$as_ac_Header=\$ac_header_preproc"
6117 ac_res=`eval 'as_val=${'$as_ac_Header'}
6118 $as_echo "$as_val"'`
6119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6120 $as_echo "$ac_res" >&6; }
6123 if test `eval 'as_val=${'$as_ac_Header'}
6124 $as_echo "$as_val"'` = yes; then
6125 cat >>confdefs.h <<_ACEOF
6126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6127 _ACEOF
6131 done
6134 for ac_header in stdio.h
6136 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6138 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6139 $as_echo_n "checking for $ac_header... " >&6; }
6140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6141 $as_echo_n "(cached) " >&6
6143 ac_res=`eval 'as_val=${'$as_ac_Header'}
6144 $as_echo "$as_val"'`
6145 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6146 $as_echo "$ac_res" >&6; }
6147 else
6148 # Is the header compilable?
6149 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6150 $as_echo_n "checking $ac_header usability... " >&6; }
6151 cat >conftest.$ac_ext <<_ACEOF
6152 /* confdefs.h. */
6153 _ACEOF
6154 cat confdefs.h >>conftest.$ac_ext
6155 cat >>conftest.$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 $ac_includes_default
6158 #include <$ac_header>
6159 _ACEOF
6160 rm -f conftest.$ac_objext
6161 if { (ac_try="$ac_compile"
6162 case "(($ac_try" in
6163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6164 *) ac_try_echo=$ac_try;;
6165 esac
6166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6167 $as_echo "$ac_try_echo") >&5
6168 (eval "$ac_compile") 2>conftest.er1
6169 ac_status=$?
6170 grep -v '^ *+' conftest.er1 >conftest.err
6171 rm -f conftest.er1
6172 cat conftest.err >&5
6173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); } && {
6175 test -z "$ac_cxx_werror_flag" ||
6176 test ! -s conftest.err
6177 } && test -s conftest.$ac_objext; then
6178 ac_header_compiler=yes
6179 else
6180 $as_echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.$ac_ext >&5
6183 ac_header_compiler=no
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6188 $as_echo "$ac_header_compiler" >&6; }
6190 # Is the header present?
6191 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6192 $as_echo_n "checking $ac_header presence... " >&6; }
6193 cat >conftest.$ac_ext <<_ACEOF
6194 /* confdefs.h. */
6195 _ACEOF
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6199 #include <$ac_header>
6200 _ACEOF
6201 if { (ac_try="$ac_cpp conftest.$ac_ext"
6202 case "(($ac_try" in
6203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6204 *) ac_try_echo=$ac_try;;
6205 esac
6206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6207 $as_echo "$ac_try_echo") >&5
6208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6209 ac_status=$?
6210 grep -v '^ *+' conftest.er1 >conftest.err
6211 rm -f conftest.er1
6212 cat conftest.err >&5
6213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } >/dev/null && {
6215 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6216 test ! -s conftest.err
6217 }; then
6218 ac_header_preproc=yes
6219 else
6220 $as_echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6223 ac_header_preproc=no
6226 rm -f conftest.err conftest.$ac_ext
6227 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6228 $as_echo "$ac_header_preproc" >&6; }
6230 # So? What about this header?
6231 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6232 yes:no: )
6233 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6234 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6236 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6237 ac_header_preproc=yes
6239 no:yes:* )
6240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6241 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6243 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6245 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6247 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6249 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6251 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6252 ( cat <<\_ASBOX
6253 ## -------------------------------------- ##
6254 ## Report this to gambit@iro.umontreal.ca ##
6255 ## -------------------------------------- ##
6256 _ASBOX
6257 ) | sed "s/^/$as_me: WARNING: /" >&2
6259 esac
6260 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6261 $as_echo_n "checking for $ac_header... " >&6; }
6262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6263 $as_echo_n "(cached) " >&6
6264 else
6265 eval "$as_ac_Header=\$ac_header_preproc"
6267 ac_res=`eval 'as_val=${'$as_ac_Header'}
6268 $as_echo "$as_val"'`
6269 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6270 $as_echo "$ac_res" >&6; }
6273 if test `eval 'as_val=${'$as_ac_Header'}
6274 $as_echo "$as_val"'` = yes; then
6275 cat >>confdefs.h <<_ACEOF
6276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6277 _ACEOF
6281 done
6284 for ac_header in stdlib.h
6286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6288 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6289 $as_echo_n "checking for $ac_header... " >&6; }
6290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6291 $as_echo_n "(cached) " >&6
6293 ac_res=`eval 'as_val=${'$as_ac_Header'}
6294 $as_echo "$as_val"'`
6295 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6296 $as_echo "$ac_res" >&6; }
6297 else
6298 # Is the header compilable?
6299 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6300 $as_echo_n "checking $ac_header usability... " >&6; }
6301 cat >conftest.$ac_ext <<_ACEOF
6302 /* confdefs.h. */
6303 _ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6307 $ac_includes_default
6308 #include <$ac_header>
6309 _ACEOF
6310 rm -f conftest.$ac_objext
6311 if { (ac_try="$ac_compile"
6312 case "(($ac_try" in
6313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 *) ac_try_echo=$ac_try;;
6315 esac
6316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6317 $as_echo "$ac_try_echo") >&5
6318 (eval "$ac_compile") 2>conftest.er1
6319 ac_status=$?
6320 grep -v '^ *+' conftest.er1 >conftest.err
6321 rm -f conftest.er1
6322 cat conftest.err >&5
6323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && {
6325 test -z "$ac_cxx_werror_flag" ||
6326 test ! -s conftest.err
6327 } && test -s conftest.$ac_objext; then
6328 ac_header_compiler=yes
6329 else
6330 $as_echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.$ac_ext >&5
6333 ac_header_compiler=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6338 $as_echo "$ac_header_compiler" >&6; }
6340 # Is the header present?
6341 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6342 $as_echo_n "checking $ac_header presence... " >&6; }
6343 cat >conftest.$ac_ext <<_ACEOF
6344 /* confdefs.h. */
6345 _ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6349 #include <$ac_header>
6350 _ACEOF
6351 if { (ac_try="$ac_cpp conftest.$ac_ext"
6352 case "(($ac_try" in
6353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354 *) ac_try_echo=$ac_try;;
6355 esac
6356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6357 $as_echo "$ac_try_echo") >&5
6358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6359 ac_status=$?
6360 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1
6362 cat conftest.err >&5
6363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } >/dev/null && {
6365 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6366 test ! -s conftest.err
6367 }; then
6368 ac_header_preproc=yes
6369 else
6370 $as_echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.$ac_ext >&5
6373 ac_header_preproc=no
6376 rm -f conftest.err conftest.$ac_ext
6377 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6378 $as_echo "$ac_header_preproc" >&6; }
6380 # So? What about this header?
6381 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6382 yes:no: )
6383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6384 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6386 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6387 ac_header_preproc=yes
6389 no:yes:* )
6390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6391 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6393 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6395 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6397 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6399 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6401 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6402 ( cat <<\_ASBOX
6403 ## -------------------------------------- ##
6404 ## Report this to gambit@iro.umontreal.ca ##
6405 ## -------------------------------------- ##
6406 _ASBOX
6407 ) | sed "s/^/$as_me: WARNING: /" >&2
6409 esac
6410 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6411 $as_echo_n "checking for $ac_header... " >&6; }
6412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6413 $as_echo_n "(cached) " >&6
6414 else
6415 eval "$as_ac_Header=\$ac_header_preproc"
6417 ac_res=`eval 'as_val=${'$as_ac_Header'}
6418 $as_echo "$as_val"'`
6419 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6420 $as_echo "$ac_res" >&6; }
6423 if test `eval 'as_val=${'$as_ac_Header'}
6424 $as_echo "$as_val"'` = yes; then
6425 cat >>confdefs.h <<_ACEOF
6426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6427 _ACEOF
6431 done
6434 for ac_header in string.h
6436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6438 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6439 $as_echo_n "checking for $ac_header... " >&6; }
6440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6441 $as_echo_n "(cached) " >&6
6443 ac_res=`eval 'as_val=${'$as_ac_Header'}
6444 $as_echo "$as_val"'`
6445 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6446 $as_echo "$ac_res" >&6; }
6447 else
6448 # Is the header compilable?
6449 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6450 $as_echo_n "checking $ac_header usability... " >&6; }
6451 cat >conftest.$ac_ext <<_ACEOF
6452 /* confdefs.h. */
6453 _ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6457 $ac_includes_default
6458 #include <$ac_header>
6459 _ACEOF
6460 rm -f conftest.$ac_objext
6461 if { (ac_try="$ac_compile"
6462 case "(($ac_try" in
6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464 *) ac_try_echo=$ac_try;;
6465 esac
6466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6467 $as_echo "$ac_try_echo") >&5
6468 (eval "$ac_compile") 2>conftest.er1
6469 ac_status=$?
6470 grep -v '^ *+' conftest.er1 >conftest.err
6471 rm -f conftest.er1
6472 cat conftest.err >&5
6473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } && {
6475 test -z "$ac_cxx_werror_flag" ||
6476 test ! -s conftest.err
6477 } && test -s conftest.$ac_objext; then
6478 ac_header_compiler=yes
6479 else
6480 $as_echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 ac_header_compiler=no
6486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6487 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6488 $as_echo "$ac_header_compiler" >&6; }
6490 # Is the header present?
6491 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6492 $as_echo_n "checking $ac_header presence... " >&6; }
6493 cat >conftest.$ac_ext <<_ACEOF
6494 /* confdefs.h. */
6495 _ACEOF
6496 cat confdefs.h >>conftest.$ac_ext
6497 cat >>conftest.$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6499 #include <$ac_header>
6500 _ACEOF
6501 if { (ac_try="$ac_cpp conftest.$ac_ext"
6502 case "(($ac_try" in
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6505 esac
6506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6507 $as_echo "$ac_try_echo") >&5
6508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6509 ac_status=$?
6510 grep -v '^ *+' conftest.er1 >conftest.err
6511 rm -f conftest.er1
6512 cat conftest.err >&5
6513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); } >/dev/null && {
6515 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6516 test ! -s conftest.err
6517 }; then
6518 ac_header_preproc=yes
6519 else
6520 $as_echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6523 ac_header_preproc=no
6526 rm -f conftest.err conftest.$ac_ext
6527 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6528 $as_echo "$ac_header_preproc" >&6; }
6530 # So? What about this header?
6531 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6532 yes:no: )
6533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6534 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6536 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6537 ac_header_preproc=yes
6539 no:yes:* )
6540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6541 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6543 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6545 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6547 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6549 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6551 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6552 ( cat <<\_ASBOX
6553 ## -------------------------------------- ##
6554 ## Report this to gambit@iro.umontreal.ca ##
6555 ## -------------------------------------- ##
6556 _ASBOX
6557 ) | sed "s/^/$as_me: WARNING: /" >&2
6559 esac
6560 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6561 $as_echo_n "checking for $ac_header... " >&6; }
6562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6563 $as_echo_n "(cached) " >&6
6564 else
6565 eval "$as_ac_Header=\$ac_header_preproc"
6567 ac_res=`eval 'as_val=${'$as_ac_Header'}
6568 $as_echo "$as_val"'`
6569 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6570 $as_echo "$ac_res" >&6; }
6573 if test `eval 'as_val=${'$as_ac_Header'}
6574 $as_echo "$as_val"'` = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6577 _ACEOF
6581 done
6584 for ac_header in time.h
6586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6588 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 $as_echo_n "checking for $ac_header... " >&6; }
6590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6591 $as_echo_n "(cached) " >&6
6593 ac_res=`eval 'as_val=${'$as_ac_Header'}
6594 $as_echo "$as_val"'`
6595 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6596 $as_echo "$ac_res" >&6; }
6597 else
6598 # Is the header compilable?
6599 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6600 $as_echo_n "checking $ac_header usability... " >&6; }
6601 cat >conftest.$ac_ext <<_ACEOF
6602 /* confdefs.h. */
6603 _ACEOF
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6607 $ac_includes_default
6608 #include <$ac_header>
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (ac_try="$ac_compile"
6612 case "(($ac_try" in
6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614 *) ac_try_echo=$ac_try;;
6615 esac
6616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6617 $as_echo "$ac_try_echo") >&5
6618 (eval "$ac_compile") 2>conftest.er1
6619 ac_status=$?
6620 grep -v '^ *+' conftest.er1 >conftest.err
6621 rm -f conftest.er1
6622 cat conftest.err >&5
6623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && {
6625 test -z "$ac_cxx_werror_flag" ||
6626 test ! -s conftest.err
6627 } && test -s conftest.$ac_objext; then
6628 ac_header_compiler=yes
6629 else
6630 $as_echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6633 ac_header_compiler=no
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6638 $as_echo "$ac_header_compiler" >&6; }
6640 # Is the header present?
6641 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6642 $as_echo_n "checking $ac_header presence... " >&6; }
6643 cat >conftest.$ac_ext <<_ACEOF
6644 /* confdefs.h. */
6645 _ACEOF
6646 cat confdefs.h >>conftest.$ac_ext
6647 cat >>conftest.$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6649 #include <$ac_header>
6650 _ACEOF
6651 if { (ac_try="$ac_cpp conftest.$ac_ext"
6652 case "(($ac_try" in
6653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6654 *) ac_try_echo=$ac_try;;
6655 esac
6656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6657 $as_echo "$ac_try_echo") >&5
6658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6659 ac_status=$?
6660 grep -v '^ *+' conftest.er1 >conftest.err
6661 rm -f conftest.er1
6662 cat conftest.err >&5
6663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); } >/dev/null && {
6665 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6666 test ! -s conftest.err
6667 }; then
6668 ac_header_preproc=yes
6669 else
6670 $as_echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6673 ac_header_preproc=no
6676 rm -f conftest.err conftest.$ac_ext
6677 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6678 $as_echo "$ac_header_preproc" >&6; }
6680 # So? What about this header?
6681 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6682 yes:no: )
6683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6684 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6687 ac_header_preproc=yes
6689 no:yes:* )
6690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6691 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6693 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6695 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6697 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6701 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6702 ( cat <<\_ASBOX
6703 ## -------------------------------------- ##
6704 ## Report this to gambit@iro.umontreal.ca ##
6705 ## -------------------------------------- ##
6706 _ASBOX
6707 ) | sed "s/^/$as_me: WARNING: /" >&2
6709 esac
6710 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6711 $as_echo_n "checking for $ac_header... " >&6; }
6712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6713 $as_echo_n "(cached) " >&6
6714 else
6715 eval "$as_ac_Header=\$ac_header_preproc"
6717 ac_res=`eval 'as_val=${'$as_ac_Header'}
6718 $as_echo "$as_val"'`
6719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6720 $as_echo "$ac_res" >&6; }
6723 if test `eval 'as_val=${'$as_ac_Header'}
6724 $as_echo "$as_val"'` = yes; then
6725 cat >>confdefs.h <<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6734 if test "$ANSI_C" = yes; then
6736 # Check if linking to the math library needs some special linker flags.
6738 { $as_echo "$as_me:$LINENO: checking for library containing asin" >&5
6739 $as_echo_n "checking for library containing asin... " >&6; }
6740 if test "${ac_cv_search_asin+set}" = set; then
6741 $as_echo_n "(cached) " >&6
6742 else
6743 ac_func_search_save_LIBS=$LIBS
6744 cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h. */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6751 /* Override any GCC internal prototype to avoid an error.
6752 Use char because int might match the return type of a GCC
6753 builtin and then its argument prototype would still apply. */
6754 #ifdef __cplusplus
6755 extern "C"
6756 #endif
6757 char asin ();
6759 main ()
6761 return asin ();
6763 return 0;
6765 _ACEOF
6766 for ac_lib in '' m; do
6767 if test -z "$ac_lib"; then
6768 ac_res="none required"
6769 else
6770 ac_res=-l$ac_lib
6771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6773 rm -f conftest.$ac_objext conftest$ac_exeext
6774 if { (ac_try="$ac_link"
6775 case "(($ac_try" in
6776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6777 *) ac_try_echo=$ac_try;;
6778 esac
6779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6780 $as_echo "$ac_try_echo") >&5
6781 (eval "$ac_link") 2>conftest.er1
6782 ac_status=$?
6783 grep -v '^ *+' conftest.er1 >conftest.err
6784 rm -f conftest.er1
6785 cat conftest.err >&5
6786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); } && {
6788 test -z "$ac_cxx_werror_flag" ||
6789 test ! -s conftest.err
6790 } && test -s conftest$ac_exeext && {
6791 test "$cross_compiling" = yes ||
6792 $as_test_x conftest$ac_exeext
6793 }; then
6794 ac_cv_search_asin=$ac_res
6795 else
6796 $as_echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.$ac_ext >&5
6802 rm -rf conftest.dSYM
6803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6804 conftest$ac_exeext
6805 if test "${ac_cv_search_asin+set}" = set; then
6806 break
6808 done
6809 if test "${ac_cv_search_asin+set}" = set; then
6811 else
6812 ac_cv_search_asin=no
6814 rm conftest.$ac_ext
6815 LIBS=$ac_func_search_save_LIBS
6817 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_asin" >&5
6818 $as_echo "$ac_cv_search_asin" >&6; }
6819 ac_res=$ac_cv_search_asin
6820 if test "$ac_res" != no; then
6821 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6826 # The following functions should be provided by an ANSI-C conforming
6827 # compiler, but it is safest to double check. If they are not
6828 # available, the system will still compile but some functionality
6829 # will be missing from the Gambit runtime system.
6832 for ac_func in getenv
6834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6835 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6836 $as_echo_n "checking for $ac_func... " >&6; }
6837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6838 $as_echo_n "(cached) " >&6
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6848 #define $ac_func innocuous_$ac_func
6850 /* System header to define __stub macros and hopefully few prototypes,
6851 which can conflict with char $ac_func (); below.
6852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6853 <limits.h> exists even on freestanding compilers. */
6855 #ifdef __STDC__
6856 # include <limits.h>
6857 #else
6858 # include <assert.h>
6859 #endif
6861 #undef $ac_func
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6866 #ifdef __cplusplus
6867 extern "C"
6868 #endif
6869 char $ac_func ();
6870 /* The GNU C library defines this for functions which it implements
6871 to always fail with ENOSYS. Some functions are actually named
6872 something starting with __ and the normal name is an alias. */
6873 #if defined __stub_$ac_func || defined __stub___$ac_func
6874 choke me
6875 #endif
6878 main ()
6880 return $ac_func ();
6882 return 0;
6884 _ACEOF
6885 rm -f conftest.$ac_objext conftest$ac_exeext
6886 if { (ac_try="$ac_link"
6887 case "(($ac_try" in
6888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889 *) ac_try_echo=$ac_try;;
6890 esac
6891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6892 $as_echo "$ac_try_echo") >&5
6893 (eval "$ac_link") 2>conftest.er1
6894 ac_status=$?
6895 grep -v '^ *+' conftest.er1 >conftest.err
6896 rm -f conftest.er1
6897 cat conftest.err >&5
6898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } && {
6900 test -z "$ac_cxx_werror_flag" ||
6901 test ! -s conftest.err
6902 } && test -s conftest$ac_exeext && {
6903 test "$cross_compiling" = yes ||
6904 $as_test_x conftest$ac_exeext
6905 }; then
6906 eval "$as_ac_var=yes"
6907 else
6908 $as_echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 eval "$as_ac_var=no"
6914 rm -rf conftest.dSYM
6915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6916 conftest$ac_exeext conftest.$ac_ext
6918 ac_res=`eval 'as_val=${'$as_ac_var'}
6919 $as_echo "$as_val"'`
6920 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6921 $as_echo "$ac_res" >&6; }
6922 if test `eval 'as_val=${'$as_ac_var'}
6923 $as_echo "$as_val"'` = yes; then
6924 cat >>confdefs.h <<_ACEOF
6925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6926 _ACEOF
6929 done
6932 for ac_func in time
6934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6936 $as_echo_n "checking for $ac_func... " >&6; }
6937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6938 $as_echo_n "(cached) " >&6
6939 else
6940 cat >conftest.$ac_ext <<_ACEOF
6941 /* confdefs.h. */
6942 _ACEOF
6943 cat confdefs.h >>conftest.$ac_ext
6944 cat >>conftest.$ac_ext <<_ACEOF
6945 /* end confdefs.h. */
6946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6948 #define $ac_func innocuous_$ac_func
6950 /* System header to define __stub macros and hopefully few prototypes,
6951 which can conflict with char $ac_func (); below.
6952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6953 <limits.h> exists even on freestanding compilers. */
6955 #ifdef __STDC__
6956 # include <limits.h>
6957 #else
6958 # include <assert.h>
6959 #endif
6961 #undef $ac_func
6963 /* Override any GCC internal prototype to avoid an error.
6964 Use char because int might match the return type of a GCC
6965 builtin and then its argument prototype would still apply. */
6966 #ifdef __cplusplus
6967 extern "C"
6968 #endif
6969 char $ac_func ();
6970 /* The GNU C library defines this for functions which it implements
6971 to always fail with ENOSYS. Some functions are actually named
6972 something starting with __ and the normal name is an alias. */
6973 #if defined __stub_$ac_func || defined __stub___$ac_func
6974 choke me
6975 #endif
6978 main ()
6980 return $ac_func ();
6982 return 0;
6984 _ACEOF
6985 rm -f conftest.$ac_objext conftest$ac_exeext
6986 if { (ac_try="$ac_link"
6987 case "(($ac_try" in
6988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6989 *) ac_try_echo=$ac_try;;
6990 esac
6991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6992 $as_echo "$ac_try_echo") >&5
6993 (eval "$ac_link") 2>conftest.er1
6994 ac_status=$?
6995 grep -v '^ *+' conftest.er1 >conftest.err
6996 rm -f conftest.er1
6997 cat conftest.err >&5
6998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } && {
7000 test -z "$ac_cxx_werror_flag" ||
7001 test ! -s conftest.err
7002 } && test -s conftest$ac_exeext && {
7003 test "$cross_compiling" = yes ||
7004 $as_test_x conftest$ac_exeext
7005 }; then
7006 eval "$as_ac_var=yes"
7007 else
7008 $as_echo "$as_me: failed program was:" >&5
7009 sed 's/^/| /' conftest.$ac_ext >&5
7011 eval "$as_ac_var=no"
7014 rm -rf conftest.dSYM
7015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7016 conftest$ac_exeext conftest.$ac_ext
7018 ac_res=`eval 'as_val=${'$as_ac_var'}
7019 $as_echo "$as_val"'`
7020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7021 $as_echo "$ac_res" >&6; }
7022 if test `eval 'as_val=${'$as_ac_var'}
7023 $as_echo "$as_val"'` = yes; then
7024 cat >>confdefs.h <<_ACEOF
7025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7026 _ACEOF
7029 done
7032 for ac_func in clock
7034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7035 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7036 $as_echo_n "checking for $ac_func... " >&6; }
7037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7038 $as_echo_n "(cached) " >&6
7039 else
7040 cat >conftest.$ac_ext <<_ACEOF
7041 /* confdefs.h. */
7042 _ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7048 #define $ac_func innocuous_$ac_func
7050 /* System header to define __stub macros and hopefully few prototypes,
7051 which can conflict with char $ac_func (); below.
7052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7053 <limits.h> exists even on freestanding compilers. */
7055 #ifdef __STDC__
7056 # include <limits.h>
7057 #else
7058 # include <assert.h>
7059 #endif
7061 #undef $ac_func
7063 /* Override any GCC internal prototype to avoid an error.
7064 Use char because int might match the return type of a GCC
7065 builtin and then its argument prototype would still apply. */
7066 #ifdef __cplusplus
7067 extern "C"
7068 #endif
7069 char $ac_func ();
7070 /* The GNU C library defines this for functions which it implements
7071 to always fail with ENOSYS. Some functions are actually named
7072 something starting with __ and the normal name is an alias. */
7073 #if defined __stub_$ac_func || defined __stub___$ac_func
7074 choke me
7075 #endif
7078 main ()
7080 return $ac_func ();
7082 return 0;
7084 _ACEOF
7085 rm -f conftest.$ac_objext conftest$ac_exeext
7086 if { (ac_try="$ac_link"
7087 case "(($ac_try" in
7088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7089 *) ac_try_echo=$ac_try;;
7090 esac
7091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7092 $as_echo "$ac_try_echo") >&5
7093 (eval "$ac_link") 2>conftest.er1
7094 ac_status=$?
7095 grep -v '^ *+' conftest.er1 >conftest.err
7096 rm -f conftest.er1
7097 cat conftest.err >&5
7098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && {
7100 test -z "$ac_cxx_werror_flag" ||
7101 test ! -s conftest.err
7102 } && test -s conftest$ac_exeext && {
7103 test "$cross_compiling" = yes ||
7104 $as_test_x conftest$ac_exeext
7105 }; then
7106 eval "$as_ac_var=yes"
7107 else
7108 $as_echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 eval "$as_ac_var=no"
7114 rm -rf conftest.dSYM
7115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7116 conftest$ac_exeext conftest.$ac_ext
7118 ac_res=`eval 'as_val=${'$as_ac_var'}
7119 $as_echo "$as_val"'`
7120 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7121 $as_echo "$ac_res" >&6; }
7122 if test `eval 'as_val=${'$as_ac_var'}
7123 $as_echo "$as_val"'` = yes; then
7124 cat >>confdefs.h <<_ACEOF
7125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7126 _ACEOF
7129 done
7132 else
7135 for ac_header in unistd.h
7137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7138 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7139 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7140 $as_echo_n "checking for $ac_header... " >&6; }
7141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7142 $as_echo_n "(cached) " >&6
7144 ac_res=`eval 'as_val=${'$as_ac_Header'}
7145 $as_echo "$as_val"'`
7146 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7147 $as_echo "$ac_res" >&6; }
7148 else
7149 # Is the header compilable?
7150 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7151 $as_echo_n "checking $ac_header usability... " >&6; }
7152 cat >conftest.$ac_ext <<_ACEOF
7153 /* confdefs.h. */
7154 _ACEOF
7155 cat confdefs.h >>conftest.$ac_ext
7156 cat >>conftest.$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7158 $ac_includes_default
7159 #include <$ac_header>
7160 _ACEOF
7161 rm -f conftest.$ac_objext
7162 if { (ac_try="$ac_compile"
7163 case "(($ac_try" in
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7166 esac
7167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7168 $as_echo "$ac_try_echo") >&5
7169 (eval "$ac_compile") 2>conftest.er1
7170 ac_status=$?
7171 grep -v '^ *+' conftest.er1 >conftest.err
7172 rm -f conftest.er1
7173 cat conftest.err >&5
7174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } && {
7176 test -z "$ac_cxx_werror_flag" ||
7177 test ! -s conftest.err
7178 } && test -s conftest.$ac_objext; then
7179 ac_header_compiler=yes
7180 else
7181 $as_echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7184 ac_header_compiler=no
7187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7188 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7189 $as_echo "$ac_header_compiler" >&6; }
7191 # Is the header present?
7192 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7193 $as_echo_n "checking $ac_header presence... " >&6; }
7194 cat >conftest.$ac_ext <<_ACEOF
7195 /* confdefs.h. */
7196 _ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7200 #include <$ac_header>
7201 _ACEOF
7202 if { (ac_try="$ac_cpp conftest.$ac_ext"
7203 case "(($ac_try" in
7204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7205 *) ac_try_echo=$ac_try;;
7206 esac
7207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7208 $as_echo "$ac_try_echo") >&5
7209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7210 ac_status=$?
7211 grep -v '^ *+' conftest.er1 >conftest.err
7212 rm -f conftest.er1
7213 cat conftest.err >&5
7214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } >/dev/null && {
7216 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7217 test ! -s conftest.err
7218 }; then
7219 ac_header_preproc=yes
7220 else
7221 $as_echo "$as_me: failed program was:" >&5
7222 sed 's/^/| /' conftest.$ac_ext >&5
7224 ac_header_preproc=no
7227 rm -f conftest.err conftest.$ac_ext
7228 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7229 $as_echo "$ac_header_preproc" >&6; }
7231 # So? What about this header?
7232 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7233 yes:no: )
7234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7235 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7237 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7238 ac_header_preproc=yes
7240 no:yes:* )
7241 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7242 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7243 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7244 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7245 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7246 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7247 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7248 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7250 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7252 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7253 ( cat <<\_ASBOX
7254 ## -------------------------------------- ##
7255 ## Report this to gambit@iro.umontreal.ca ##
7256 ## -------------------------------------- ##
7257 _ASBOX
7258 ) | sed "s/^/$as_me: WARNING: /" >&2
7260 esac
7261 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7262 $as_echo_n "checking for $ac_header... " >&6; }
7263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7264 $as_echo_n "(cached) " >&6
7265 else
7266 eval "$as_ac_Header=\$ac_header_preproc"
7268 ac_res=`eval 'as_val=${'$as_ac_Header'}
7269 $as_echo "$as_val"'`
7270 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7271 $as_echo "$ac_res" >&6; }
7274 if test `eval 'as_val=${'$as_ac_Header'}
7275 $as_echo "$as_val"'` = yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7285 for ac_header in pwd.h
7287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7289 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7290 $as_echo_n "checking for $ac_header... " >&6; }
7291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7292 $as_echo_n "(cached) " >&6
7294 ac_res=`eval 'as_val=${'$as_ac_Header'}
7295 $as_echo "$as_val"'`
7296 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7297 $as_echo "$ac_res" >&6; }
7298 else
7299 # Is the header compilable?
7300 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7301 $as_echo_n "checking $ac_header usability... " >&6; }
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7304 _ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 $ac_includes_default
7309 #include <$ac_header>
7310 _ACEOF
7311 rm -f conftest.$ac_objext
7312 if { (ac_try="$ac_compile"
7313 case "(($ac_try" in
7314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7315 *) ac_try_echo=$ac_try;;
7316 esac
7317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7318 $as_echo "$ac_try_echo") >&5
7319 (eval "$ac_compile") 2>conftest.er1
7320 ac_status=$?
7321 grep -v '^ *+' conftest.er1 >conftest.err
7322 rm -f conftest.er1
7323 cat conftest.err >&5
7324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } && {
7326 test -z "$ac_cxx_werror_flag" ||
7327 test ! -s conftest.err
7328 } && test -s conftest.$ac_objext; then
7329 ac_header_compiler=yes
7330 else
7331 $as_echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.$ac_ext >&5
7334 ac_header_compiler=no
7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7338 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7339 $as_echo "$ac_header_compiler" >&6; }
7341 # Is the header present?
7342 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7343 $as_echo_n "checking $ac_header presence... " >&6; }
7344 cat >conftest.$ac_ext <<_ACEOF
7345 /* confdefs.h. */
7346 _ACEOF
7347 cat confdefs.h >>conftest.$ac_ext
7348 cat >>conftest.$ac_ext <<_ACEOF
7349 /* end confdefs.h. */
7350 #include <$ac_header>
7351 _ACEOF
7352 if { (ac_try="$ac_cpp conftest.$ac_ext"
7353 case "(($ac_try" in
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7356 esac
7357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7358 $as_echo "$ac_try_echo") >&5
7359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7360 ac_status=$?
7361 grep -v '^ *+' conftest.er1 >conftest.err
7362 rm -f conftest.er1
7363 cat conftest.err >&5
7364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } >/dev/null && {
7366 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7367 test ! -s conftest.err
7368 }; then
7369 ac_header_preproc=yes
7370 else
7371 $as_echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.$ac_ext >&5
7374 ac_header_preproc=no
7377 rm -f conftest.err conftest.$ac_ext
7378 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7379 $as_echo "$ac_header_preproc" >&6; }
7381 # So? What about this header?
7382 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7383 yes:no: )
7384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7385 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7387 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7388 ac_header_preproc=yes
7390 no:yes:* )
7391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7392 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7394 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7396 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7397 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7398 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7399 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7400 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7402 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7403 ( cat <<\_ASBOX
7404 ## -------------------------------------- ##
7405 ## Report this to gambit@iro.umontreal.ca ##
7406 ## -------------------------------------- ##
7407 _ASBOX
7408 ) | sed "s/^/$as_me: WARNING: /" >&2
7410 esac
7411 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7412 $as_echo_n "checking for $ac_header... " >&6; }
7413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7414 $as_echo_n "(cached) " >&6
7415 else
7416 eval "$as_ac_Header=\$ac_header_preproc"
7418 ac_res=`eval 'as_val=${'$as_ac_Header'}
7419 $as_echo "$as_val"'`
7420 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7421 $as_echo "$ac_res" >&6; }
7424 if test `eval 'as_val=${'$as_ac_Header'}
7425 $as_echo "$as_val"'` = yes; then
7426 cat >>confdefs.h <<_ACEOF
7427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7428 _ACEOF
7432 done
7435 for ac_header in dirent.h
7437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7439 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7440 $as_echo_n "checking for $ac_header... " >&6; }
7441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7442 $as_echo_n "(cached) " >&6
7444 ac_res=`eval 'as_val=${'$as_ac_Header'}
7445 $as_echo "$as_val"'`
7446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7447 $as_echo "$ac_res" >&6; }
7448 else
7449 # Is the header compilable?
7450 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7451 $as_echo_n "checking $ac_header usability... " >&6; }
7452 cat >conftest.$ac_ext <<_ACEOF
7453 /* confdefs.h. */
7454 _ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7458 $ac_includes_default
7459 #include <$ac_header>
7460 _ACEOF
7461 rm -f conftest.$ac_objext
7462 if { (ac_try="$ac_compile"
7463 case "(($ac_try" in
7464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7465 *) ac_try_echo=$ac_try;;
7466 esac
7467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7468 $as_echo "$ac_try_echo") >&5
7469 (eval "$ac_compile") 2>conftest.er1
7470 ac_status=$?
7471 grep -v '^ *+' conftest.er1 >conftest.err
7472 rm -f conftest.er1
7473 cat conftest.err >&5
7474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } && {
7476 test -z "$ac_cxx_werror_flag" ||
7477 test ! -s conftest.err
7478 } && test -s conftest.$ac_objext; then
7479 ac_header_compiler=yes
7480 else
7481 $as_echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.$ac_ext >&5
7484 ac_header_compiler=no
7487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7489 $as_echo "$ac_header_compiler" >&6; }
7491 # Is the header present?
7492 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7493 $as_echo_n "checking $ac_header presence... " >&6; }
7494 cat >conftest.$ac_ext <<_ACEOF
7495 /* confdefs.h. */
7496 _ACEOF
7497 cat confdefs.h >>conftest.$ac_ext
7498 cat >>conftest.$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 #include <$ac_header>
7501 _ACEOF
7502 if { (ac_try="$ac_cpp conftest.$ac_ext"
7503 case "(($ac_try" in
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7506 esac
7507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7508 $as_echo "$ac_try_echo") >&5
7509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7510 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1
7513 cat conftest.err >&5
7514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } >/dev/null && {
7516 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7517 test ! -s conftest.err
7518 }; then
7519 ac_header_preproc=yes
7520 else
7521 $as_echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7524 ac_header_preproc=no
7527 rm -f conftest.err conftest.$ac_ext
7528 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7529 $as_echo "$ac_header_preproc" >&6; }
7531 # So? What about this header?
7532 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7533 yes:no: )
7534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7535 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7537 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7538 ac_header_preproc=yes
7540 no:yes:* )
7541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7542 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7544 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7546 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7548 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7552 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7553 ( cat <<\_ASBOX
7554 ## -------------------------------------- ##
7555 ## Report this to gambit@iro.umontreal.ca ##
7556 ## -------------------------------------- ##
7557 _ASBOX
7558 ) | sed "s/^/$as_me: WARNING: /" >&2
7560 esac
7561 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7562 $as_echo_n "checking for $ac_header... " >&6; }
7563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7564 $as_echo_n "(cached) " >&6
7565 else
7566 eval "$as_ac_Header=\$ac_header_preproc"
7568 ac_res=`eval 'as_val=${'$as_ac_Header'}
7569 $as_echo "$as_val"'`
7570 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7571 $as_echo "$ac_res" >&6; }
7574 if test `eval 'as_val=${'$as_ac_Header'}
7575 $as_echo "$as_val"'` = yes; then
7576 cat >>confdefs.h <<_ACEOF
7577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 _ACEOF
7582 done
7585 for ac_header in dlfcn.h
7587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7589 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7590 $as_echo_n "checking for $ac_header... " >&6; }
7591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7592 $as_echo_n "(cached) " >&6
7594 ac_res=`eval 'as_val=${'$as_ac_Header'}
7595 $as_echo "$as_val"'`
7596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7597 $as_echo "$ac_res" >&6; }
7598 else
7599 # Is the header compilable?
7600 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7601 $as_echo_n "checking $ac_header usability... " >&6; }
7602 cat >conftest.$ac_ext <<_ACEOF
7603 /* confdefs.h. */
7604 _ACEOF
7605 cat confdefs.h >>conftest.$ac_ext
7606 cat >>conftest.$ac_ext <<_ACEOF
7607 /* end confdefs.h. */
7608 $ac_includes_default
7609 #include <$ac_header>
7610 _ACEOF
7611 rm -f conftest.$ac_objext
7612 if { (ac_try="$ac_compile"
7613 case "(($ac_try" in
7614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7615 *) ac_try_echo=$ac_try;;
7616 esac
7617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7618 $as_echo "$ac_try_echo") >&5
7619 (eval "$ac_compile") 2>conftest.er1
7620 ac_status=$?
7621 grep -v '^ *+' conftest.er1 >conftest.err
7622 rm -f conftest.er1
7623 cat conftest.err >&5
7624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } && {
7626 test -z "$ac_cxx_werror_flag" ||
7627 test ! -s conftest.err
7628 } && test -s conftest.$ac_objext; then
7629 ac_header_compiler=yes
7630 else
7631 $as_echo "$as_me: failed program was:" >&5
7632 sed 's/^/| /' conftest.$ac_ext >&5
7634 ac_header_compiler=no
7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7639 $as_echo "$ac_header_compiler" >&6; }
7641 # Is the header present?
7642 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7643 $as_echo_n "checking $ac_header presence... " >&6; }
7644 cat >conftest.$ac_ext <<_ACEOF
7645 /* confdefs.h. */
7646 _ACEOF
7647 cat confdefs.h >>conftest.$ac_ext
7648 cat >>conftest.$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7650 #include <$ac_header>
7651 _ACEOF
7652 if { (ac_try="$ac_cpp conftest.$ac_ext"
7653 case "(($ac_try" in
7654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7655 *) ac_try_echo=$ac_try;;
7656 esac
7657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7658 $as_echo "$ac_try_echo") >&5
7659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7660 ac_status=$?
7661 grep -v '^ *+' conftest.er1 >conftest.err
7662 rm -f conftest.er1
7663 cat conftest.err >&5
7664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } >/dev/null && {
7666 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7667 test ! -s conftest.err
7668 }; then
7669 ac_header_preproc=yes
7670 else
7671 $as_echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.$ac_ext >&5
7674 ac_header_preproc=no
7677 rm -f conftest.err conftest.$ac_ext
7678 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7679 $as_echo "$ac_header_preproc" >&6; }
7681 # So? What about this header?
7682 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7683 yes:no: )
7684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7685 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7688 ac_header_preproc=yes
7690 no:yes:* )
7691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7692 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7694 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7696 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7698 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7702 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7703 ( cat <<\_ASBOX
7704 ## -------------------------------------- ##
7705 ## Report this to gambit@iro.umontreal.ca ##
7706 ## -------------------------------------- ##
7707 _ASBOX
7708 ) | sed "s/^/$as_me: WARNING: /" >&2
7710 esac
7711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7712 $as_echo_n "checking for $ac_header... " >&6; }
7713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7714 $as_echo_n "(cached) " >&6
7715 else
7716 eval "$as_ac_Header=\$ac_header_preproc"
7718 ac_res=`eval 'as_val=${'$as_ac_Header'}
7719 $as_echo "$as_val"'`
7720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7721 $as_echo "$ac_res" >&6; }
7724 if test `eval 'as_val=${'$as_ac_Header'}
7725 $as_echo "$as_val"'` = yes; then
7726 cat >>confdefs.h <<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7735 for ac_header in dl.h
7737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7739 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7740 $as_echo_n "checking for $ac_header... " >&6; }
7741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7742 $as_echo_n "(cached) " >&6
7744 ac_res=`eval 'as_val=${'$as_ac_Header'}
7745 $as_echo "$as_val"'`
7746 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7747 $as_echo "$ac_res" >&6; }
7748 else
7749 # Is the header compilable?
7750 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7751 $as_echo_n "checking $ac_header usability... " >&6; }
7752 cat >conftest.$ac_ext <<_ACEOF
7753 /* confdefs.h. */
7754 _ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h. */
7758 $ac_includes_default
7759 #include <$ac_header>
7760 _ACEOF
7761 rm -f conftest.$ac_objext
7762 if { (ac_try="$ac_compile"
7763 case "(($ac_try" in
7764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7765 *) ac_try_echo=$ac_try;;
7766 esac
7767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7768 $as_echo "$ac_try_echo") >&5
7769 (eval "$ac_compile") 2>conftest.er1
7770 ac_status=$?
7771 grep -v '^ *+' conftest.er1 >conftest.err
7772 rm -f conftest.er1
7773 cat conftest.err >&5
7774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } && {
7776 test -z "$ac_cxx_werror_flag" ||
7777 test ! -s conftest.err
7778 } && test -s conftest.$ac_objext; then
7779 ac_header_compiler=yes
7780 else
7781 $as_echo "$as_me: failed program was:" >&5
7782 sed 's/^/| /' conftest.$ac_ext >&5
7784 ac_header_compiler=no
7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7788 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7789 $as_echo "$ac_header_compiler" >&6; }
7791 # Is the header present?
7792 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7793 $as_echo_n "checking $ac_header presence... " >&6; }
7794 cat >conftest.$ac_ext <<_ACEOF
7795 /* confdefs.h. */
7796 _ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7800 #include <$ac_header>
7801 _ACEOF
7802 if { (ac_try="$ac_cpp conftest.$ac_ext"
7803 case "(($ac_try" in
7804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7805 *) ac_try_echo=$ac_try;;
7806 esac
7807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7808 $as_echo "$ac_try_echo") >&5
7809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7810 ac_status=$?
7811 grep -v '^ *+' conftest.er1 >conftest.err
7812 rm -f conftest.er1
7813 cat conftest.err >&5
7814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); } >/dev/null && {
7816 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7817 test ! -s conftest.err
7818 }; then
7819 ac_header_preproc=yes
7820 else
7821 $as_echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_header_preproc=no
7827 rm -f conftest.err conftest.$ac_ext
7828 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7829 $as_echo "$ac_header_preproc" >&6; }
7831 # So? What about this header?
7832 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7833 yes:no: )
7834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7835 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7837 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7838 ac_header_preproc=yes
7840 no:yes:* )
7841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7842 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7843 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7844 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7845 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7846 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7848 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7850 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7852 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7853 ( cat <<\_ASBOX
7854 ## -------------------------------------- ##
7855 ## Report this to gambit@iro.umontreal.ca ##
7856 ## -------------------------------------- ##
7857 _ASBOX
7858 ) | sed "s/^/$as_me: WARNING: /" >&2
7860 esac
7861 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7862 $as_echo_n "checking for $ac_header... " >&6; }
7863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7864 $as_echo_n "(cached) " >&6
7865 else
7866 eval "$as_ac_Header=\$ac_header_preproc"
7868 ac_res=`eval 'as_val=${'$as_ac_Header'}
7869 $as_echo "$as_val"'`
7870 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7871 $as_echo "$ac_res" >&6; }
7874 if test `eval 'as_val=${'$as_ac_Header'}
7875 $as_echo "$as_val"'` = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7878 _ACEOF
7882 done
7885 for ac_header in sys/dxe.h
7887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7889 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7890 $as_echo_n "checking for $ac_header... " >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7892 $as_echo_n "(cached) " >&6
7894 ac_res=`eval 'as_val=${'$as_ac_Header'}
7895 $as_echo "$as_val"'`
7896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7897 $as_echo "$ac_res" >&6; }
7898 else
7899 # Is the header compilable?
7900 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7901 $as_echo_n "checking $ac_header usability... " >&6; }
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h. */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7908 $ac_includes_default
7909 #include <$ac_header>
7910 _ACEOF
7911 rm -f conftest.$ac_objext
7912 if { (ac_try="$ac_compile"
7913 case "(($ac_try" in
7914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7915 *) ac_try_echo=$ac_try;;
7916 esac
7917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7918 $as_echo "$ac_try_echo") >&5
7919 (eval "$ac_compile") 2>conftest.er1
7920 ac_status=$?
7921 grep -v '^ *+' conftest.er1 >conftest.err
7922 rm -f conftest.er1
7923 cat conftest.err >&5
7924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } && {
7926 test -z "$ac_cxx_werror_flag" ||
7927 test ! -s conftest.err
7928 } && test -s conftest.$ac_objext; then
7929 ac_header_compiler=yes
7930 else
7931 $as_echo "$as_me: failed program was:" >&5
7932 sed 's/^/| /' conftest.$ac_ext >&5
7934 ac_header_compiler=no
7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7938 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7939 $as_echo "$ac_header_compiler" >&6; }
7941 # Is the header present?
7942 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7943 $as_echo_n "checking $ac_header presence... " >&6; }
7944 cat >conftest.$ac_ext <<_ACEOF
7945 /* confdefs.h. */
7946 _ACEOF
7947 cat confdefs.h >>conftest.$ac_ext
7948 cat >>conftest.$ac_ext <<_ACEOF
7949 /* end confdefs.h. */
7950 #include <$ac_header>
7951 _ACEOF
7952 if { (ac_try="$ac_cpp conftest.$ac_ext"
7953 case "(($ac_try" in
7954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7955 *) ac_try_echo=$ac_try;;
7956 esac
7957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7958 $as_echo "$ac_try_echo") >&5
7959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7960 ac_status=$?
7961 grep -v '^ *+' conftest.er1 >conftest.err
7962 rm -f conftest.er1
7963 cat conftest.err >&5
7964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } >/dev/null && {
7966 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7967 test ! -s conftest.err
7968 }; then
7969 ac_header_preproc=yes
7970 else
7971 $as_echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_header_preproc=no
7977 rm -f conftest.err conftest.$ac_ext
7978 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7979 $as_echo "$ac_header_preproc" >&6; }
7981 # So? What about this header?
7982 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7983 yes:no: )
7984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7985 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7987 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7988 ac_header_preproc=yes
7990 no:yes:* )
7991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7992 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7994 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7996 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7998 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8000 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8002 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8003 ( cat <<\_ASBOX
8004 ## -------------------------------------- ##
8005 ## Report this to gambit@iro.umontreal.ca ##
8006 ## -------------------------------------- ##
8007 _ASBOX
8008 ) | sed "s/^/$as_me: WARNING: /" >&2
8010 esac
8011 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8012 $as_echo_n "checking for $ac_header... " >&6; }
8013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8014 $as_echo_n "(cached) " >&6
8015 else
8016 eval "$as_ac_Header=\$ac_header_preproc"
8018 ac_res=`eval 'as_val=${'$as_ac_Header'}
8019 $as_echo "$as_val"'`
8020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8021 $as_echo "$ac_res" >&6; }
8024 if test `eval 'as_val=${'$as_ac_Header'}
8025 $as_echo "$as_val"'` = yes; then
8026 cat >>confdefs.h <<_ACEOF
8027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8028 _ACEOF
8032 done
8035 for ac_header in mach-o/dyld.h
8037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8040 $as_echo_n "checking for $ac_header... " >&6; }
8041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8042 $as_echo_n "(cached) " >&6
8044 ac_res=`eval 'as_val=${'$as_ac_Header'}
8045 $as_echo "$as_val"'`
8046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8047 $as_echo "$ac_res" >&6; }
8048 else
8049 # Is the header compilable?
8050 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8051 $as_echo_n "checking $ac_header usability... " >&6; }
8052 cat >conftest.$ac_ext <<_ACEOF
8053 /* confdefs.h. */
8054 _ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 $ac_includes_default
8059 #include <$ac_header>
8060 _ACEOF
8061 rm -f conftest.$ac_objext
8062 if { (ac_try="$ac_compile"
8063 case "(($ac_try" in
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8066 esac
8067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8068 $as_echo "$ac_try_echo") >&5
8069 (eval "$ac_compile") 2>conftest.er1
8070 ac_status=$?
8071 grep -v '^ *+' conftest.er1 >conftest.err
8072 rm -f conftest.er1
8073 cat conftest.err >&5
8074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } && {
8076 test -z "$ac_cxx_werror_flag" ||
8077 test ! -s conftest.err
8078 } && test -s conftest.$ac_objext; then
8079 ac_header_compiler=yes
8080 else
8081 $as_echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8084 ac_header_compiler=no
8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8088 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8089 $as_echo "$ac_header_compiler" >&6; }
8091 # Is the header present?
8092 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8093 $as_echo_n "checking $ac_header presence... " >&6; }
8094 cat >conftest.$ac_ext <<_ACEOF
8095 /* confdefs.h. */
8096 _ACEOF
8097 cat confdefs.h >>conftest.$ac_ext
8098 cat >>conftest.$ac_ext <<_ACEOF
8099 /* end confdefs.h. */
8100 #include <$ac_header>
8101 _ACEOF
8102 if { (ac_try="$ac_cpp conftest.$ac_ext"
8103 case "(($ac_try" in
8104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8105 *) ac_try_echo=$ac_try;;
8106 esac
8107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8108 $as_echo "$ac_try_echo") >&5
8109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8110 ac_status=$?
8111 grep -v '^ *+' conftest.er1 >conftest.err
8112 rm -f conftest.er1
8113 cat conftest.err >&5
8114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } >/dev/null && {
8116 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8117 test ! -s conftest.err
8118 }; then
8119 ac_header_preproc=yes
8120 else
8121 $as_echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.$ac_ext >&5
8124 ac_header_preproc=no
8127 rm -f conftest.err conftest.$ac_ext
8128 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8129 $as_echo "$ac_header_preproc" >&6; }
8131 # So? What about this header?
8132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8133 yes:no: )
8134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8135 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8137 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8138 ac_header_preproc=yes
8140 no:yes:* )
8141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8142 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8144 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8146 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8148 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8150 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8152 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8153 ( cat <<\_ASBOX
8154 ## -------------------------------------- ##
8155 ## Report this to gambit@iro.umontreal.ca ##
8156 ## -------------------------------------- ##
8157 _ASBOX
8158 ) | sed "s/^/$as_me: WARNING: /" >&2
8160 esac
8161 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8162 $as_echo_n "checking for $ac_header... " >&6; }
8163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8164 $as_echo_n "(cached) " >&6
8165 else
8166 eval "$as_ac_Header=\$ac_header_preproc"
8168 ac_res=`eval 'as_val=${'$as_ac_Header'}
8169 $as_echo "$as_val"'`
8170 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8171 $as_echo "$ac_res" >&6; }
8174 if test `eval 'as_val=${'$as_ac_Header'}
8175 $as_echo "$as_val"'` = yes; then
8176 cat >>confdefs.h <<_ACEOF
8177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8178 _ACEOF
8182 done
8185 for ac_header in sys/types.h
8187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8190 $as_echo_n "checking for $ac_header... " >&6; }
8191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8192 $as_echo_n "(cached) " >&6
8194 ac_res=`eval 'as_val=${'$as_ac_Header'}
8195 $as_echo "$as_val"'`
8196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8197 $as_echo "$ac_res" >&6; }
8198 else
8199 # Is the header compilable?
8200 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8201 $as_echo_n "checking $ac_header usability... " >&6; }
8202 cat >conftest.$ac_ext <<_ACEOF
8203 /* confdefs.h. */
8204 _ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h. */
8208 $ac_includes_default
8209 #include <$ac_header>
8210 _ACEOF
8211 rm -f conftest.$ac_objext
8212 if { (ac_try="$ac_compile"
8213 case "(($ac_try" in
8214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8216 esac
8217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8218 $as_echo "$ac_try_echo") >&5
8219 (eval "$ac_compile") 2>conftest.er1
8220 ac_status=$?
8221 grep -v '^ *+' conftest.er1 >conftest.err
8222 rm -f conftest.er1
8223 cat conftest.err >&5
8224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } && {
8226 test -z "$ac_cxx_werror_flag" ||
8227 test ! -s conftest.err
8228 } && test -s conftest.$ac_objext; then
8229 ac_header_compiler=yes
8230 else
8231 $as_echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_header_compiler=no
8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8238 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8239 $as_echo "$ac_header_compiler" >&6; }
8241 # Is the header present?
8242 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8243 $as_echo_n "checking $ac_header presence... " >&6; }
8244 cat >conftest.$ac_ext <<_ACEOF
8245 /* confdefs.h. */
8246 _ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8250 #include <$ac_header>
8251 _ACEOF
8252 if { (ac_try="$ac_cpp conftest.$ac_ext"
8253 case "(($ac_try" in
8254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8255 *) ac_try_echo=$ac_try;;
8256 esac
8257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8258 $as_echo "$ac_try_echo") >&5
8259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8260 ac_status=$?
8261 grep -v '^ *+' conftest.er1 >conftest.err
8262 rm -f conftest.er1
8263 cat conftest.err >&5
8264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } >/dev/null && {
8266 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8267 test ! -s conftest.err
8268 }; then
8269 ac_header_preproc=yes
8270 else
8271 $as_echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.$ac_ext >&5
8274 ac_header_preproc=no
8277 rm -f conftest.err conftest.$ac_ext
8278 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8279 $as_echo "$ac_header_preproc" >&6; }
8281 # So? What about this header?
8282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8283 yes:no: )
8284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8285 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8288 ac_header_preproc=yes
8290 no:yes:* )
8291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8292 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8294 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8296 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8298 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8300 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8302 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8303 ( cat <<\_ASBOX
8304 ## -------------------------------------- ##
8305 ## Report this to gambit@iro.umontreal.ca ##
8306 ## -------------------------------------- ##
8307 _ASBOX
8308 ) | sed "s/^/$as_me: WARNING: /" >&2
8310 esac
8311 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8312 $as_echo_n "checking for $ac_header... " >&6; }
8313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8314 $as_echo_n "(cached) " >&6
8315 else
8316 eval "$as_ac_Header=\$ac_header_preproc"
8318 ac_res=`eval 'as_val=${'$as_ac_Header'}
8319 $as_echo "$as_val"'`
8320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8321 $as_echo "$ac_res" >&6; }
8324 if test `eval 'as_val=${'$as_ac_Header'}
8325 $as_echo "$as_val"'` = yes; then
8326 cat >>confdefs.h <<_ACEOF
8327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8328 _ACEOF
8332 done
8335 for ac_header in sys/time.h
8337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8339 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8340 $as_echo_n "checking for $ac_header... " >&6; }
8341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8342 $as_echo_n "(cached) " >&6
8344 ac_res=`eval 'as_val=${'$as_ac_Header'}
8345 $as_echo "$as_val"'`
8346 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8347 $as_echo "$ac_res" >&6; }
8348 else
8349 # Is the header compilable?
8350 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8351 $as_echo_n "checking $ac_header usability... " >&6; }
8352 cat >conftest.$ac_ext <<_ACEOF
8353 /* confdefs.h. */
8354 _ACEOF
8355 cat confdefs.h >>conftest.$ac_ext
8356 cat >>conftest.$ac_ext <<_ACEOF
8357 /* end confdefs.h. */
8358 $ac_includes_default
8359 #include <$ac_header>
8360 _ACEOF
8361 rm -f conftest.$ac_objext
8362 if { (ac_try="$ac_compile"
8363 case "(($ac_try" in
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8366 esac
8367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8368 $as_echo "$ac_try_echo") >&5
8369 (eval "$ac_compile") 2>conftest.er1
8370 ac_status=$?
8371 grep -v '^ *+' conftest.er1 >conftest.err
8372 rm -f conftest.er1
8373 cat conftest.err >&5
8374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } && {
8376 test -z "$ac_cxx_werror_flag" ||
8377 test ! -s conftest.err
8378 } && test -s conftest.$ac_objext; then
8379 ac_header_compiler=yes
8380 else
8381 $as_echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_header_compiler=no
8387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8388 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8389 $as_echo "$ac_header_compiler" >&6; }
8391 # Is the header present?
8392 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8393 $as_echo_n "checking $ac_header presence... " >&6; }
8394 cat >conftest.$ac_ext <<_ACEOF
8395 /* confdefs.h. */
8396 _ACEOF
8397 cat confdefs.h >>conftest.$ac_ext
8398 cat >>conftest.$ac_ext <<_ACEOF
8399 /* end confdefs.h. */
8400 #include <$ac_header>
8401 _ACEOF
8402 if { (ac_try="$ac_cpp conftest.$ac_ext"
8403 case "(($ac_try" in
8404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8405 *) ac_try_echo=$ac_try;;
8406 esac
8407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8408 $as_echo "$ac_try_echo") >&5
8409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8410 ac_status=$?
8411 grep -v '^ *+' conftest.er1 >conftest.err
8412 rm -f conftest.er1
8413 cat conftest.err >&5
8414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } >/dev/null && {
8416 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8417 test ! -s conftest.err
8418 }; then
8419 ac_header_preproc=yes
8420 else
8421 $as_echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8424 ac_header_preproc=no
8427 rm -f conftest.err conftest.$ac_ext
8428 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8429 $as_echo "$ac_header_preproc" >&6; }
8431 # So? What about this header?
8432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8433 yes:no: )
8434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8435 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8437 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8438 ac_header_preproc=yes
8440 no:yes:* )
8441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8442 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8444 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8446 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8448 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8450 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8452 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8453 ( cat <<\_ASBOX
8454 ## -------------------------------------- ##
8455 ## Report this to gambit@iro.umontreal.ca ##
8456 ## -------------------------------------- ##
8457 _ASBOX
8458 ) | sed "s/^/$as_me: WARNING: /" >&2
8460 esac
8461 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 $as_echo_n "checking for $ac_header... " >&6; }
8463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8464 $as_echo_n "(cached) " >&6
8465 else
8466 eval "$as_ac_Header=\$ac_header_preproc"
8468 ac_res=`eval 'as_val=${'$as_ac_Header'}
8469 $as_echo "$as_val"'`
8470 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8471 $as_echo "$ac_res" >&6; }
8474 if test `eval 'as_val=${'$as_ac_Header'}
8475 $as_echo "$as_val"'` = yes; then
8476 cat >>confdefs.h <<_ACEOF
8477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8478 _ACEOF
8482 done
8485 for ac_header in sys/times.h
8487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 $as_echo_n "checking for $ac_header... " >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 $as_echo_n "(cached) " >&6
8494 ac_res=`eval 'as_val=${'$as_ac_Header'}
8495 $as_echo "$as_val"'`
8496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8497 $as_echo "$ac_res" >&6; }
8498 else
8499 # Is the header compilable?
8500 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8501 $as_echo_n "checking $ac_header usability... " >&6; }
8502 cat >conftest.$ac_ext <<_ACEOF
8503 /* confdefs.h. */
8504 _ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 $ac_includes_default
8509 #include <$ac_header>
8510 _ACEOF
8511 rm -f conftest.$ac_objext
8512 if { (ac_try="$ac_compile"
8513 case "(($ac_try" in
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8516 esac
8517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8518 $as_echo "$ac_try_echo") >&5
8519 (eval "$ac_compile") 2>conftest.er1
8520 ac_status=$?
8521 grep -v '^ *+' conftest.er1 >conftest.err
8522 rm -f conftest.er1
8523 cat conftest.err >&5
8524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && {
8526 test -z "$ac_cxx_werror_flag" ||
8527 test ! -s conftest.err
8528 } && test -s conftest.$ac_objext; then
8529 ac_header_compiler=yes
8530 else
8531 $as_echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8534 ac_header_compiler=no
8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8539 $as_echo "$ac_header_compiler" >&6; }
8541 # Is the header present?
8542 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8543 $as_echo_n "checking $ac_header presence... " >&6; }
8544 cat >conftest.$ac_ext <<_ACEOF
8545 /* confdefs.h. */
8546 _ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 #include <$ac_header>
8551 _ACEOF
8552 if { (ac_try="$ac_cpp conftest.$ac_ext"
8553 case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8556 esac
8557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8558 $as_echo "$ac_try_echo") >&5
8559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8560 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1
8563 cat conftest.err >&5
8564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } >/dev/null && {
8566 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8567 test ! -s conftest.err
8568 }; then
8569 ac_header_preproc=yes
8570 else
8571 $as_echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8574 ac_header_preproc=no
8577 rm -f conftest.err conftest.$ac_ext
8578 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8579 $as_echo "$ac_header_preproc" >&6; }
8581 # So? What about this header?
8582 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8583 yes:no: )
8584 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8585 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8586 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8587 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8588 ac_header_preproc=yes
8590 no:yes:* )
8591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8592 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8593 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8594 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8596 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8598 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8600 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8601 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8602 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8603 ( cat <<\_ASBOX
8604 ## -------------------------------------- ##
8605 ## Report this to gambit@iro.umontreal.ca ##
8606 ## -------------------------------------- ##
8607 _ASBOX
8608 ) | sed "s/^/$as_me: WARNING: /" >&2
8610 esac
8611 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8612 $as_echo_n "checking for $ac_header... " >&6; }
8613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8614 $as_echo_n "(cached) " >&6
8615 else
8616 eval "$as_ac_Header=\$ac_header_preproc"
8618 ac_res=`eval 'as_val=${'$as_ac_Header'}
8619 $as_echo "$as_val"'`
8620 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8621 $as_echo "$ac_res" >&6; }
8624 if test `eval 'as_val=${'$as_ac_Header'}
8625 $as_echo "$as_val"'` = yes; then
8626 cat >>confdefs.h <<_ACEOF
8627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8628 _ACEOF
8632 done
8635 for ac_header in sys/timeb.h
8637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8639 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8640 $as_echo_n "checking for $ac_header... " >&6; }
8641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8642 $as_echo_n "(cached) " >&6
8644 ac_res=`eval 'as_val=${'$as_ac_Header'}
8645 $as_echo "$as_val"'`
8646 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8647 $as_echo "$ac_res" >&6; }
8648 else
8649 # Is the header compilable?
8650 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8651 $as_echo_n "checking $ac_header usability... " >&6; }
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 $ac_includes_default
8659 #include <$ac_header>
8660 _ACEOF
8661 rm -f conftest.$ac_objext
8662 if { (ac_try="$ac_compile"
8663 case "(($ac_try" in
8664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8665 *) ac_try_echo=$ac_try;;
8666 esac
8667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8668 $as_echo "$ac_try_echo") >&5
8669 (eval "$ac_compile") 2>conftest.er1
8670 ac_status=$?
8671 grep -v '^ *+' conftest.er1 >conftest.err
8672 rm -f conftest.er1
8673 cat conftest.err >&5
8674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } && {
8676 test -z "$ac_cxx_werror_flag" ||
8677 test ! -s conftest.err
8678 } && test -s conftest.$ac_objext; then
8679 ac_header_compiler=yes
8680 else
8681 $as_echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.$ac_ext >&5
8684 ac_header_compiler=no
8687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8689 $as_echo "$ac_header_compiler" >&6; }
8691 # Is the header present?
8692 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8693 $as_echo_n "checking $ac_header presence... " >&6; }
8694 cat >conftest.$ac_ext <<_ACEOF
8695 /* confdefs.h. */
8696 _ACEOF
8697 cat confdefs.h >>conftest.$ac_ext
8698 cat >>conftest.$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8700 #include <$ac_header>
8701 _ACEOF
8702 if { (ac_try="$ac_cpp conftest.$ac_ext"
8703 case "(($ac_try" in
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8706 esac
8707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8708 $as_echo "$ac_try_echo") >&5
8709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8710 ac_status=$?
8711 grep -v '^ *+' conftest.er1 >conftest.err
8712 rm -f conftest.er1
8713 cat conftest.err >&5
8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } >/dev/null && {
8716 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8717 test ! -s conftest.err
8718 }; then
8719 ac_header_preproc=yes
8720 else
8721 $as_echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 ac_header_preproc=no
8727 rm -f conftest.err conftest.$ac_ext
8728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8729 $as_echo "$ac_header_preproc" >&6; }
8731 # So? What about this header?
8732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8733 yes:no: )
8734 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8735 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8736 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8737 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8738 ac_header_preproc=yes
8740 no:yes:* )
8741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8742 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8744 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8746 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8748 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8750 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8752 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8753 ( cat <<\_ASBOX
8754 ## -------------------------------------- ##
8755 ## Report this to gambit@iro.umontreal.ca ##
8756 ## -------------------------------------- ##
8757 _ASBOX
8758 ) | sed "s/^/$as_me: WARNING: /" >&2
8760 esac
8761 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8762 $as_echo_n "checking for $ac_header... " >&6; }
8763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8764 $as_echo_n "(cached) " >&6
8765 else
8766 eval "$as_ac_Header=\$ac_header_preproc"
8768 ac_res=`eval 'as_val=${'$as_ac_Header'}
8769 $as_echo "$as_val"'`
8770 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8771 $as_echo "$ac_res" >&6; }
8774 if test `eval 'as_val=${'$as_ac_Header'}
8775 $as_echo "$as_val"'` = yes; then
8776 cat >>confdefs.h <<_ACEOF
8777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8778 _ACEOF
8782 done
8785 for ac_header in sys/timers.h
8787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8789 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8790 $as_echo_n "checking for $ac_header... " >&6; }
8791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8792 $as_echo_n "(cached) " >&6
8794 ac_res=`eval 'as_val=${'$as_ac_Header'}
8795 $as_echo "$as_val"'`
8796 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8797 $as_echo "$ac_res" >&6; }
8798 else
8799 # Is the header compilable?
8800 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8801 $as_echo_n "checking $ac_header usability... " >&6; }
8802 cat >conftest.$ac_ext <<_ACEOF
8803 /* confdefs.h. */
8804 _ACEOF
8805 cat confdefs.h >>conftest.$ac_ext
8806 cat >>conftest.$ac_ext <<_ACEOF
8807 /* end confdefs.h. */
8808 $ac_includes_default
8809 #include <$ac_header>
8810 _ACEOF
8811 rm -f conftest.$ac_objext
8812 if { (ac_try="$ac_compile"
8813 case "(($ac_try" in
8814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8816 esac
8817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8818 $as_echo "$ac_try_echo") >&5
8819 (eval "$ac_compile") 2>conftest.er1
8820 ac_status=$?
8821 grep -v '^ *+' conftest.er1 >conftest.err
8822 rm -f conftest.er1
8823 cat conftest.err >&5
8824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } && {
8826 test -z "$ac_cxx_werror_flag" ||
8827 test ! -s conftest.err
8828 } && test -s conftest.$ac_objext; then
8829 ac_header_compiler=yes
8830 else
8831 $as_echo "$as_me: failed program was:" >&5
8832 sed 's/^/| /' conftest.$ac_ext >&5
8834 ac_header_compiler=no
8837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8838 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8839 $as_echo "$ac_header_compiler" >&6; }
8841 # Is the header present?
8842 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8843 $as_echo_n "checking $ac_header presence... " >&6; }
8844 cat >conftest.$ac_ext <<_ACEOF
8845 /* confdefs.h. */
8846 _ACEOF
8847 cat confdefs.h >>conftest.$ac_ext
8848 cat >>conftest.$ac_ext <<_ACEOF
8849 /* end confdefs.h. */
8850 #include <$ac_header>
8851 _ACEOF
8852 if { (ac_try="$ac_cpp conftest.$ac_ext"
8853 case "(($ac_try" in
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8856 esac
8857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8858 $as_echo "$ac_try_echo") >&5
8859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8860 ac_status=$?
8861 grep -v '^ *+' conftest.er1 >conftest.err
8862 rm -f conftest.er1
8863 cat conftest.err >&5
8864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } >/dev/null && {
8866 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8867 test ! -s conftest.err
8868 }; then
8869 ac_header_preproc=yes
8870 else
8871 $as_echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_header_preproc=no
8877 rm -f conftest.err conftest.$ac_ext
8878 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8879 $as_echo "$ac_header_preproc" >&6; }
8881 # So? What about this header?
8882 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8883 yes:no: )
8884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8885 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8887 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8888 ac_header_preproc=yes
8890 no:yes:* )
8891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8892 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8893 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8894 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8895 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8896 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8898 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8900 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8902 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8903 ( cat <<\_ASBOX
8904 ## -------------------------------------- ##
8905 ## Report this to gambit@iro.umontreal.ca ##
8906 ## -------------------------------------- ##
8907 _ASBOX
8908 ) | sed "s/^/$as_me: WARNING: /" >&2
8910 esac
8911 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8912 $as_echo_n "checking for $ac_header... " >&6; }
8913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8914 $as_echo_n "(cached) " >&6
8915 else
8916 eval "$as_ac_Header=\$ac_header_preproc"
8918 ac_res=`eval 'as_val=${'$as_ac_Header'}
8919 $as_echo "$as_val"'`
8920 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8921 $as_echo "$ac_res" >&6; }
8924 if test `eval 'as_val=${'$as_ac_Header'}
8925 $as_echo "$as_val"'` = yes; then
8926 cat >>confdefs.h <<_ACEOF
8927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8928 _ACEOF
8932 done
8935 for ac_header in sys/resource.h
8937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8939 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8940 $as_echo_n "checking for $ac_header... " >&6; }
8941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8942 $as_echo_n "(cached) " >&6
8944 ac_res=`eval 'as_val=${'$as_ac_Header'}
8945 $as_echo "$as_val"'`
8946 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8947 $as_echo "$ac_res" >&6; }
8948 else
8949 # Is the header compilable?
8950 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8951 $as_echo_n "checking $ac_header usability... " >&6; }
8952 cat >conftest.$ac_ext <<_ACEOF
8953 /* confdefs.h. */
8954 _ACEOF
8955 cat confdefs.h >>conftest.$ac_ext
8956 cat >>conftest.$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8958 $ac_includes_default
8959 #include <$ac_header>
8960 _ACEOF
8961 rm -f conftest.$ac_objext
8962 if { (ac_try="$ac_compile"
8963 case "(($ac_try" in
8964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8965 *) ac_try_echo=$ac_try;;
8966 esac
8967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8968 $as_echo "$ac_try_echo") >&5
8969 (eval "$ac_compile") 2>conftest.er1
8970 ac_status=$?
8971 grep -v '^ *+' conftest.er1 >conftest.err
8972 rm -f conftest.er1
8973 cat conftest.err >&5
8974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } && {
8976 test -z "$ac_cxx_werror_flag" ||
8977 test ! -s conftest.err
8978 } && test -s conftest.$ac_objext; then
8979 ac_header_compiler=yes
8980 else
8981 $as_echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8984 ac_header_compiler=no
8987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8988 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8989 $as_echo "$ac_header_compiler" >&6; }
8991 # Is the header present?
8992 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8993 $as_echo_n "checking $ac_header presence... " >&6; }
8994 cat >conftest.$ac_ext <<_ACEOF
8995 /* confdefs.h. */
8996 _ACEOF
8997 cat confdefs.h >>conftest.$ac_ext
8998 cat >>conftest.$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9000 #include <$ac_header>
9001 _ACEOF
9002 if { (ac_try="$ac_cpp conftest.$ac_ext"
9003 case "(($ac_try" in
9004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9005 *) ac_try_echo=$ac_try;;
9006 esac
9007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9008 $as_echo "$ac_try_echo") >&5
9009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9010 ac_status=$?
9011 grep -v '^ *+' conftest.er1 >conftest.err
9012 rm -f conftest.er1
9013 cat conftest.err >&5
9014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); } >/dev/null && {
9016 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9017 test ! -s conftest.err
9018 }; then
9019 ac_header_preproc=yes
9020 else
9021 $as_echo "$as_me: failed program was:" >&5
9022 sed 's/^/| /' conftest.$ac_ext >&5
9024 ac_header_preproc=no
9027 rm -f conftest.err conftest.$ac_ext
9028 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9029 $as_echo "$ac_header_preproc" >&6; }
9031 # So? What about this header?
9032 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9033 yes:no: )
9034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9035 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9038 ac_header_preproc=yes
9040 no:yes:* )
9041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9042 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9044 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9046 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9048 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9050 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9052 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9053 ( cat <<\_ASBOX
9054 ## -------------------------------------- ##
9055 ## Report this to gambit@iro.umontreal.ca ##
9056 ## -------------------------------------- ##
9057 _ASBOX
9058 ) | sed "s/^/$as_me: WARNING: /" >&2
9060 esac
9061 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9062 $as_echo_n "checking for $ac_header... " >&6; }
9063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9064 $as_echo_n "(cached) " >&6
9065 else
9066 eval "$as_ac_Header=\$ac_header_preproc"
9068 ac_res=`eval 'as_val=${'$as_ac_Header'}
9069 $as_echo "$as_val"'`
9070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9071 $as_echo "$ac_res" >&6; }
9074 if test `eval 'as_val=${'$as_ac_Header'}
9075 $as_echo "$as_val"'` = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9078 _ACEOF
9082 done
9085 for ac_header in sys/stat.h
9087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9089 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9090 $as_echo_n "checking for $ac_header... " >&6; }
9091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9092 $as_echo_n "(cached) " >&6
9094 ac_res=`eval 'as_val=${'$as_ac_Header'}
9095 $as_echo "$as_val"'`
9096 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9097 $as_echo "$ac_res" >&6; }
9098 else
9099 # Is the header compilable?
9100 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9101 $as_echo_n "checking $ac_header usability... " >&6; }
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 $ac_includes_default
9109 #include <$ac_header>
9110 _ACEOF
9111 rm -f conftest.$ac_objext
9112 if { (ac_try="$ac_compile"
9113 case "(($ac_try" in
9114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9115 *) ac_try_echo=$ac_try;;
9116 esac
9117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9118 $as_echo "$ac_try_echo") >&5
9119 (eval "$ac_compile") 2>conftest.er1
9120 ac_status=$?
9121 grep -v '^ *+' conftest.er1 >conftest.err
9122 rm -f conftest.er1
9123 cat conftest.err >&5
9124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } && {
9126 test -z "$ac_cxx_werror_flag" ||
9127 test ! -s conftest.err
9128 } && test -s conftest.$ac_objext; then
9129 ac_header_compiler=yes
9130 else
9131 $as_echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9134 ac_header_compiler=no
9137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9138 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9139 $as_echo "$ac_header_compiler" >&6; }
9141 # Is the header present?
9142 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9143 $as_echo_n "checking $ac_header presence... " >&6; }
9144 cat >conftest.$ac_ext <<_ACEOF
9145 /* confdefs.h. */
9146 _ACEOF
9147 cat confdefs.h >>conftest.$ac_ext
9148 cat >>conftest.$ac_ext <<_ACEOF
9149 /* end confdefs.h. */
9150 #include <$ac_header>
9151 _ACEOF
9152 if { (ac_try="$ac_cpp conftest.$ac_ext"
9153 case "(($ac_try" in
9154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9155 *) ac_try_echo=$ac_try;;
9156 esac
9157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9158 $as_echo "$ac_try_echo") >&5
9159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9160 ac_status=$?
9161 grep -v '^ *+' conftest.er1 >conftest.err
9162 rm -f conftest.er1
9163 cat conftest.err >&5
9164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } >/dev/null && {
9166 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9167 test ! -s conftest.err
9168 }; then
9169 ac_header_preproc=yes
9170 else
9171 $as_echo "$as_me: failed program was:" >&5
9172 sed 's/^/| /' conftest.$ac_ext >&5
9174 ac_header_preproc=no
9177 rm -f conftest.err conftest.$ac_ext
9178 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9179 $as_echo "$ac_header_preproc" >&6; }
9181 # So? What about this header?
9182 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9183 yes:no: )
9184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9185 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9187 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9188 ac_header_preproc=yes
9190 no:yes:* )
9191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9192 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9194 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9196 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9198 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9200 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9202 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9203 ( cat <<\_ASBOX
9204 ## -------------------------------------- ##
9205 ## Report this to gambit@iro.umontreal.ca ##
9206 ## -------------------------------------- ##
9207 _ASBOX
9208 ) | sed "s/^/$as_me: WARNING: /" >&2
9210 esac
9211 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9212 $as_echo_n "checking for $ac_header... " >&6; }
9213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9214 $as_echo_n "(cached) " >&6
9215 else
9216 eval "$as_ac_Header=\$ac_header_preproc"
9218 ac_res=`eval 'as_val=${'$as_ac_Header'}
9219 $as_echo "$as_val"'`
9220 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9221 $as_echo "$ac_res" >&6; }
9224 if test `eval 'as_val=${'$as_ac_Header'}
9225 $as_echo "$as_val"'` = yes; then
9226 cat >>confdefs.h <<_ACEOF
9227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9228 _ACEOF
9232 done
9235 for ac_header in sys/wait.h
9237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9239 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9240 $as_echo_n "checking for $ac_header... " >&6; }
9241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9242 $as_echo_n "(cached) " >&6
9244 ac_res=`eval 'as_val=${'$as_ac_Header'}
9245 $as_echo "$as_val"'`
9246 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9247 $as_echo "$ac_res" >&6; }
9248 else
9249 # Is the header compilable?
9250 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9251 $as_echo_n "checking $ac_header usability... " >&6; }
9252 cat >conftest.$ac_ext <<_ACEOF
9253 /* confdefs.h. */
9254 _ACEOF
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9258 $ac_includes_default
9259 #include <$ac_header>
9260 _ACEOF
9261 rm -f conftest.$ac_objext
9262 if { (ac_try="$ac_compile"
9263 case "(($ac_try" in
9264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9265 *) ac_try_echo=$ac_try;;
9266 esac
9267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9268 $as_echo "$ac_try_echo") >&5
9269 (eval "$ac_compile") 2>conftest.er1
9270 ac_status=$?
9271 grep -v '^ *+' conftest.er1 >conftest.err
9272 rm -f conftest.er1
9273 cat conftest.err >&5
9274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } && {
9276 test -z "$ac_cxx_werror_flag" ||
9277 test ! -s conftest.err
9278 } && test -s conftest.$ac_objext; then
9279 ac_header_compiler=yes
9280 else
9281 $as_echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9284 ac_header_compiler=no
9287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9288 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9289 $as_echo "$ac_header_compiler" >&6; }
9291 # Is the header present?
9292 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9293 $as_echo_n "checking $ac_header presence... " >&6; }
9294 cat >conftest.$ac_ext <<_ACEOF
9295 /* confdefs.h. */
9296 _ACEOF
9297 cat confdefs.h >>conftest.$ac_ext
9298 cat >>conftest.$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9300 #include <$ac_header>
9301 _ACEOF
9302 if { (ac_try="$ac_cpp conftest.$ac_ext"
9303 case "(($ac_try" in
9304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9306 esac
9307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9308 $as_echo "$ac_try_echo") >&5
9309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9310 ac_status=$?
9311 grep -v '^ *+' conftest.er1 >conftest.err
9312 rm -f conftest.er1
9313 cat conftest.err >&5
9314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } >/dev/null && {
9316 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9317 test ! -s conftest.err
9318 }; then
9319 ac_header_preproc=yes
9320 else
9321 $as_echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 ac_header_preproc=no
9327 rm -f conftest.err conftest.$ac_ext
9328 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9329 $as_echo "$ac_header_preproc" >&6; }
9331 # So? What about this header?
9332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9333 yes:no: )
9334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9335 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9337 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9338 ac_header_preproc=yes
9340 no:yes:* )
9341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9342 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9344 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9346 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9348 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9350 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9352 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9353 ( cat <<\_ASBOX
9354 ## -------------------------------------- ##
9355 ## Report this to gambit@iro.umontreal.ca ##
9356 ## -------------------------------------- ##
9357 _ASBOX
9358 ) | sed "s/^/$as_me: WARNING: /" >&2
9360 esac
9361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9362 $as_echo_n "checking for $ac_header... " >&6; }
9363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9364 $as_echo_n "(cached) " >&6
9365 else
9366 eval "$as_ac_Header=\$ac_header_preproc"
9368 ac_res=`eval 'as_val=${'$as_ac_Header'}
9369 $as_echo "$as_val"'`
9370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9371 $as_echo "$ac_res" >&6; }
9374 if test `eval 'as_val=${'$as_ac_Header'}
9375 $as_echo "$as_val"'` = yes; then
9376 cat >>confdefs.h <<_ACEOF
9377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9378 _ACEOF
9382 done
9385 for ac_header in stat.h
9387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9389 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9390 $as_echo_n "checking for $ac_header... " >&6; }
9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9392 $as_echo_n "(cached) " >&6
9394 ac_res=`eval 'as_val=${'$as_ac_Header'}
9395 $as_echo "$as_val"'`
9396 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9397 $as_echo "$ac_res" >&6; }
9398 else
9399 # Is the header compilable?
9400 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9401 $as_echo_n "checking $ac_header usability... " >&6; }
9402 cat >conftest.$ac_ext <<_ACEOF
9403 /* confdefs.h. */
9404 _ACEOF
9405 cat confdefs.h >>conftest.$ac_ext
9406 cat >>conftest.$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9408 $ac_includes_default
9409 #include <$ac_header>
9410 _ACEOF
9411 rm -f conftest.$ac_objext
9412 if { (ac_try="$ac_compile"
9413 case "(($ac_try" in
9414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9415 *) ac_try_echo=$ac_try;;
9416 esac
9417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9418 $as_echo "$ac_try_echo") >&5
9419 (eval "$ac_compile") 2>conftest.er1
9420 ac_status=$?
9421 grep -v '^ *+' conftest.er1 >conftest.err
9422 rm -f conftest.er1
9423 cat conftest.err >&5
9424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } && {
9426 test -z "$ac_cxx_werror_flag" ||
9427 test ! -s conftest.err
9428 } && test -s conftest.$ac_objext; then
9429 ac_header_compiler=yes
9430 else
9431 $as_echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.$ac_ext >&5
9434 ac_header_compiler=no
9437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9438 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9439 $as_echo "$ac_header_compiler" >&6; }
9441 # Is the header present?
9442 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9443 $as_echo_n "checking $ac_header presence... " >&6; }
9444 cat >conftest.$ac_ext <<_ACEOF
9445 /* confdefs.h. */
9446 _ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9450 #include <$ac_header>
9451 _ACEOF
9452 if { (ac_try="$ac_cpp conftest.$ac_ext"
9453 case "(($ac_try" in
9454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9456 esac
9457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9458 $as_echo "$ac_try_echo") >&5
9459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9460 ac_status=$?
9461 grep -v '^ *+' conftest.er1 >conftest.err
9462 rm -f conftest.er1
9463 cat conftest.err >&5
9464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } >/dev/null && {
9466 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9467 test ! -s conftest.err
9468 }; then
9469 ac_header_preproc=yes
9470 else
9471 $as_echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.$ac_ext >&5
9474 ac_header_preproc=no
9477 rm -f conftest.err conftest.$ac_ext
9478 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9479 $as_echo "$ac_header_preproc" >&6; }
9481 # So? What about this header?
9482 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9483 yes:no: )
9484 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9485 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9486 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9487 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9488 ac_header_preproc=yes
9490 no:yes:* )
9491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9492 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9493 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9494 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9495 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9496 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9498 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9500 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9502 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9503 ( cat <<\_ASBOX
9504 ## -------------------------------------- ##
9505 ## Report this to gambit@iro.umontreal.ca ##
9506 ## -------------------------------------- ##
9507 _ASBOX
9508 ) | sed "s/^/$as_me: WARNING: /" >&2
9510 esac
9511 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9512 $as_echo_n "checking for $ac_header... " >&6; }
9513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9514 $as_echo_n "(cached) " >&6
9515 else
9516 eval "$as_ac_Header=\$ac_header_preproc"
9518 ac_res=`eval 'as_val=${'$as_ac_Header'}
9519 $as_echo "$as_val"'`
9520 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9521 $as_echo "$ac_res" >&6; }
9524 if test `eval 'as_val=${'$as_ac_Header'}
9525 $as_echo "$as_val"'` = yes; then
9526 cat >>confdefs.h <<_ACEOF
9527 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9528 _ACEOF
9532 done
9535 for ac_header in netdb.h
9537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9539 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9540 $as_echo_n "checking for $ac_header... " >&6; }
9541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9542 $as_echo_n "(cached) " >&6
9544 ac_res=`eval 'as_val=${'$as_ac_Header'}
9545 $as_echo "$as_val"'`
9546 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9547 $as_echo "$ac_res" >&6; }
9548 else
9549 # Is the header compilable?
9550 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9551 $as_echo_n "checking $ac_header usability... " >&6; }
9552 cat >conftest.$ac_ext <<_ACEOF
9553 /* confdefs.h. */
9554 _ACEOF
9555 cat confdefs.h >>conftest.$ac_ext
9556 cat >>conftest.$ac_ext <<_ACEOF
9557 /* end confdefs.h. */
9558 $ac_includes_default
9559 #include <$ac_header>
9560 _ACEOF
9561 rm -f conftest.$ac_objext
9562 if { (ac_try="$ac_compile"
9563 case "(($ac_try" in
9564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9565 *) ac_try_echo=$ac_try;;
9566 esac
9567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9568 $as_echo "$ac_try_echo") >&5
9569 (eval "$ac_compile") 2>conftest.er1
9570 ac_status=$?
9571 grep -v '^ *+' conftest.er1 >conftest.err
9572 rm -f conftest.er1
9573 cat conftest.err >&5
9574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && {
9576 test -z "$ac_cxx_werror_flag" ||
9577 test ! -s conftest.err
9578 } && test -s conftest.$ac_objext; then
9579 ac_header_compiler=yes
9580 else
9581 $as_echo "$as_me: failed program was:" >&5
9582 sed 's/^/| /' conftest.$ac_ext >&5
9584 ac_header_compiler=no
9587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9588 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9589 $as_echo "$ac_header_compiler" >&6; }
9591 # Is the header present?
9592 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9593 $as_echo_n "checking $ac_header presence... " >&6; }
9594 cat >conftest.$ac_ext <<_ACEOF
9595 /* confdefs.h. */
9596 _ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9600 #include <$ac_header>
9601 _ACEOF
9602 if { (ac_try="$ac_cpp conftest.$ac_ext"
9603 case "(($ac_try" in
9604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9605 *) ac_try_echo=$ac_try;;
9606 esac
9607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9608 $as_echo "$ac_try_echo") >&5
9609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9610 ac_status=$?
9611 grep -v '^ *+' conftest.er1 >conftest.err
9612 rm -f conftest.er1
9613 cat conftest.err >&5
9614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } >/dev/null && {
9616 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9617 test ! -s conftest.err
9618 }; then
9619 ac_header_preproc=yes
9620 else
9621 $as_echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9624 ac_header_preproc=no
9627 rm -f conftest.err conftest.$ac_ext
9628 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9629 $as_echo "$ac_header_preproc" >&6; }
9631 # So? What about this header?
9632 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9633 yes:no: )
9634 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9635 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9636 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9637 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9638 ac_header_preproc=yes
9640 no:yes:* )
9641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9642 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9643 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9644 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9645 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9646 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9648 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9649 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9650 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9651 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9652 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9653 ( cat <<\_ASBOX
9654 ## -------------------------------------- ##
9655 ## Report this to gambit@iro.umontreal.ca ##
9656 ## -------------------------------------- ##
9657 _ASBOX
9658 ) | sed "s/^/$as_me: WARNING: /" >&2
9660 esac
9661 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9662 $as_echo_n "checking for $ac_header... " >&6; }
9663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9664 $as_echo_n "(cached) " >&6
9665 else
9666 eval "$as_ac_Header=\$ac_header_preproc"
9668 ac_res=`eval 'as_val=${'$as_ac_Header'}
9669 $as_echo "$as_val"'`
9670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9671 $as_echo "$ac_res" >&6; }
9674 if test `eval 'as_val=${'$as_ac_Header'}
9675 $as_echo "$as_val"'` = yes; then
9676 cat >>confdefs.h <<_ACEOF
9677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9678 _ACEOF
9682 done
9685 for ac_header in grp.h
9687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9689 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 $as_echo_n "checking for $ac_header... " >&6; }
9691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 $as_echo_n "(cached) " >&6
9694 ac_res=`eval 'as_val=${'$as_ac_Header'}
9695 $as_echo "$as_val"'`
9696 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9697 $as_echo "$ac_res" >&6; }
9698 else
9699 # Is the header compilable?
9700 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9701 $as_echo_n "checking $ac_header usability... " >&6; }
9702 cat >conftest.$ac_ext <<_ACEOF
9703 /* confdefs.h. */
9704 _ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9708 $ac_includes_default
9709 #include <$ac_header>
9710 _ACEOF
9711 rm -f conftest.$ac_objext
9712 if { (ac_try="$ac_compile"
9713 case "(($ac_try" in
9714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715 *) ac_try_echo=$ac_try;;
9716 esac
9717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9718 $as_echo "$ac_try_echo") >&5
9719 (eval "$ac_compile") 2>conftest.er1
9720 ac_status=$?
9721 grep -v '^ *+' conftest.er1 >conftest.err
9722 rm -f conftest.er1
9723 cat conftest.err >&5
9724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_cxx_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest.$ac_objext; then
9729 ac_header_compiler=yes
9730 else
9731 $as_echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9734 ac_header_compiler=no
9737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9738 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9739 $as_echo "$ac_header_compiler" >&6; }
9741 # Is the header present?
9742 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9743 $as_echo_n "checking $ac_header presence... " >&6; }
9744 cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h. */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9750 #include <$ac_header>
9751 _ACEOF
9752 if { (ac_try="$ac_cpp conftest.$ac_ext"
9753 case "(($ac_try" in
9754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9755 *) ac_try_echo=$ac_try;;
9756 esac
9757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9758 $as_echo "$ac_try_echo") >&5
9759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9760 ac_status=$?
9761 grep -v '^ *+' conftest.er1 >conftest.err
9762 rm -f conftest.er1
9763 cat conftest.err >&5
9764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } >/dev/null && {
9766 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9767 test ! -s conftest.err
9768 }; then
9769 ac_header_preproc=yes
9770 else
9771 $as_echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_header_preproc=no
9777 rm -f conftest.err conftest.$ac_ext
9778 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9779 $as_echo "$ac_header_preproc" >&6; }
9781 # So? What about this header?
9782 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9783 yes:no: )
9784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9785 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9787 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9788 ac_header_preproc=yes
9790 no:yes:* )
9791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9792 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9794 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9796 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9798 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9800 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9802 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9803 ( cat <<\_ASBOX
9804 ## -------------------------------------- ##
9805 ## Report this to gambit@iro.umontreal.ca ##
9806 ## -------------------------------------- ##
9807 _ASBOX
9808 ) | sed "s/^/$as_me: WARNING: /" >&2
9810 esac
9811 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9812 $as_echo_n "checking for $ac_header... " >&6; }
9813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9814 $as_echo_n "(cached) " >&6
9815 else
9816 eval "$as_ac_Header=\$ac_header_preproc"
9818 ac_res=`eval 'as_val=${'$as_ac_Header'}
9819 $as_echo "$as_val"'`
9820 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9821 $as_echo "$ac_res" >&6; }
9824 if test `eval 'as_val=${'$as_ac_Header'}
9825 $as_echo "$as_val"'` = yes; then
9826 cat >>confdefs.h <<_ACEOF
9827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9828 _ACEOF
9832 done
9834 #AC_CHECK_HEADERS(windows.h)
9835 #AC_CHECK_HEADERS(io.h)
9836 #AC_CHECK_HEADERS(tchar.h)
9838 for ac_header in fpu_control.h
9840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9842 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9843 $as_echo_n "checking for $ac_header... " >&6; }
9844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9845 $as_echo_n "(cached) " >&6
9847 ac_res=`eval 'as_val=${'$as_ac_Header'}
9848 $as_echo "$as_val"'`
9849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9850 $as_echo "$ac_res" >&6; }
9851 else
9852 # Is the header compilable?
9853 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9854 $as_echo_n "checking $ac_header usability... " >&6; }
9855 cat >conftest.$ac_ext <<_ACEOF
9856 /* confdefs.h. */
9857 _ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 $ac_includes_default
9862 #include <$ac_header>
9863 _ACEOF
9864 rm -f conftest.$ac_objext
9865 if { (ac_try="$ac_compile"
9866 case "(($ac_try" in
9867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9868 *) ac_try_echo=$ac_try;;
9869 esac
9870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9871 $as_echo "$ac_try_echo") >&5
9872 (eval "$ac_compile") 2>conftest.er1
9873 ac_status=$?
9874 grep -v '^ *+' conftest.er1 >conftest.err
9875 rm -f conftest.er1
9876 cat conftest.err >&5
9877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } && {
9879 test -z "$ac_cxx_werror_flag" ||
9880 test ! -s conftest.err
9881 } && test -s conftest.$ac_objext; then
9882 ac_header_compiler=yes
9883 else
9884 $as_echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.$ac_ext >&5
9887 ac_header_compiler=no
9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9891 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9892 $as_echo "$ac_header_compiler" >&6; }
9894 # Is the header present?
9895 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9896 $as_echo_n "checking $ac_header presence... " >&6; }
9897 cat >conftest.$ac_ext <<_ACEOF
9898 /* confdefs.h. */
9899 _ACEOF
9900 cat confdefs.h >>conftest.$ac_ext
9901 cat >>conftest.$ac_ext <<_ACEOF
9902 /* end confdefs.h. */
9903 #include <$ac_header>
9904 _ACEOF
9905 if { (ac_try="$ac_cpp conftest.$ac_ext"
9906 case "(($ac_try" in
9907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9909 esac
9910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9911 $as_echo "$ac_try_echo") >&5
9912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9913 ac_status=$?
9914 grep -v '^ *+' conftest.er1 >conftest.err
9915 rm -f conftest.er1
9916 cat conftest.err >&5
9917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); } >/dev/null && {
9919 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9920 test ! -s conftest.err
9921 }; then
9922 ac_header_preproc=yes
9923 else
9924 $as_echo "$as_me: failed program was:" >&5
9925 sed 's/^/| /' conftest.$ac_ext >&5
9927 ac_header_preproc=no
9930 rm -f conftest.err conftest.$ac_ext
9931 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9932 $as_echo "$ac_header_preproc" >&6; }
9934 # So? What about this header?
9935 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9936 yes:no: )
9937 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9938 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9940 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9941 ac_header_preproc=yes
9943 no:yes:* )
9944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9945 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9947 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9949 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9951 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9952 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9953 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9955 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9956 ( cat <<\_ASBOX
9957 ## -------------------------------------- ##
9958 ## Report this to gambit@iro.umontreal.ca ##
9959 ## -------------------------------------- ##
9960 _ASBOX
9961 ) | sed "s/^/$as_me: WARNING: /" >&2
9963 esac
9964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9965 $as_echo_n "checking for $ac_header... " >&6; }
9966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9967 $as_echo_n "(cached) " >&6
9968 else
9969 eval "$as_ac_Header=\$ac_header_preproc"
9971 ac_res=`eval 'as_val=${'$as_ac_Header'}
9972 $as_echo "$as_val"'`
9973 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9974 $as_echo "$ac_res" >&6; }
9977 if test `eval 'as_val=${'$as_ac_Header'}
9978 $as_echo "$as_val"'` = yes; then
9979 cat >>confdefs.h <<_ACEOF
9980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9981 _ACEOF
9985 done
9988 for ac_header in os2.h
9990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9992 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9993 $as_echo_n "checking for $ac_header... " >&6; }
9994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9995 $as_echo_n "(cached) " >&6
9997 ac_res=`eval 'as_val=${'$as_ac_Header'}
9998 $as_echo "$as_val"'`
9999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10000 $as_echo "$ac_res" >&6; }
10001 else
10002 # Is the header compilable?
10003 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10004 $as_echo_n "checking $ac_header usability... " >&6; }
10005 cat >conftest.$ac_ext <<_ACEOF
10006 /* confdefs.h. */
10007 _ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10011 $ac_includes_default
10012 #include <$ac_header>
10013 _ACEOF
10014 rm -f conftest.$ac_objext
10015 if { (ac_try="$ac_compile"
10016 case "(($ac_try" in
10017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10018 *) ac_try_echo=$ac_try;;
10019 esac
10020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10021 $as_echo "$ac_try_echo") >&5
10022 (eval "$ac_compile") 2>conftest.er1
10023 ac_status=$?
10024 grep -v '^ *+' conftest.er1 >conftest.err
10025 rm -f conftest.er1
10026 cat conftest.err >&5
10027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } && {
10029 test -z "$ac_cxx_werror_flag" ||
10030 test ! -s conftest.err
10031 } && test -s conftest.$ac_objext; then
10032 ac_header_compiler=yes
10033 else
10034 $as_echo "$as_me: failed program was:" >&5
10035 sed 's/^/| /' conftest.$ac_ext >&5
10037 ac_header_compiler=no
10040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10041 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10042 $as_echo "$ac_header_compiler" >&6; }
10044 # Is the header present?
10045 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10046 $as_echo_n "checking $ac_header presence... " >&6; }
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10053 #include <$ac_header>
10054 _ACEOF
10055 if { (ac_try="$ac_cpp conftest.$ac_ext"
10056 case "(($ac_try" in
10057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10058 *) ac_try_echo=$ac_try;;
10059 esac
10060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10061 $as_echo "$ac_try_echo") >&5
10062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10063 ac_status=$?
10064 grep -v '^ *+' conftest.er1 >conftest.err
10065 rm -f conftest.er1
10066 cat conftest.err >&5
10067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } >/dev/null && {
10069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10070 test ! -s conftest.err
10071 }; then
10072 ac_header_preproc=yes
10073 else
10074 $as_echo "$as_me: failed program was:" >&5
10075 sed 's/^/| /' conftest.$ac_ext >&5
10077 ac_header_preproc=no
10080 rm -f conftest.err conftest.$ac_ext
10081 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10082 $as_echo "$ac_header_preproc" >&6; }
10084 # So? What about this header?
10085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10086 yes:no: )
10087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10088 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10090 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10091 ac_header_preproc=yes
10093 no:yes:* )
10094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10095 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10097 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10099 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10101 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10103 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10105 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10106 ( cat <<\_ASBOX
10107 ## -------------------------------------- ##
10108 ## Report this to gambit@iro.umontreal.ca ##
10109 ## -------------------------------------- ##
10110 _ASBOX
10111 ) | sed "s/^/$as_me: WARNING: /" >&2
10113 esac
10114 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10115 $as_echo_n "checking for $ac_header... " >&6; }
10116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10117 $as_echo_n "(cached) " >&6
10118 else
10119 eval "$as_ac_Header=\$ac_header_preproc"
10121 ac_res=`eval 'as_val=${'$as_ac_Header'}
10122 $as_echo "$as_val"'`
10123 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10124 $as_echo "$ac_res" >&6; }
10127 if test `eval 'as_val=${'$as_ac_Header'}
10128 $as_echo "$as_val"'` = yes; then
10129 cat >>confdefs.h <<_ACEOF
10130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10131 _ACEOF
10135 done
10138 for ac_header in dos.h
10140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10142 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10143 $as_echo_n "checking for $ac_header... " >&6; }
10144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10145 $as_echo_n "(cached) " >&6
10147 ac_res=`eval 'as_val=${'$as_ac_Header'}
10148 $as_echo "$as_val"'`
10149 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10150 $as_echo "$ac_res" >&6; }
10151 else
10152 # Is the header compilable?
10153 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10154 $as_echo_n "checking $ac_header usability... " >&6; }
10155 cat >conftest.$ac_ext <<_ACEOF
10156 /* confdefs.h. */
10157 _ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 $ac_includes_default
10162 #include <$ac_header>
10163 _ACEOF
10164 rm -f conftest.$ac_objext
10165 if { (ac_try="$ac_compile"
10166 case "(($ac_try" in
10167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10168 *) ac_try_echo=$ac_try;;
10169 esac
10170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10171 $as_echo "$ac_try_echo") >&5
10172 (eval "$ac_compile") 2>conftest.er1
10173 ac_status=$?
10174 grep -v '^ *+' conftest.er1 >conftest.err
10175 rm -f conftest.er1
10176 cat conftest.err >&5
10177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } && {
10179 test -z "$ac_cxx_werror_flag" ||
10180 test ! -s conftest.err
10181 } && test -s conftest.$ac_objext; then
10182 ac_header_compiler=yes
10183 else
10184 $as_echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.$ac_ext >&5
10187 ac_header_compiler=no
10190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10191 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10192 $as_echo "$ac_header_compiler" >&6; }
10194 # Is the header present?
10195 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10196 $as_echo_n "checking $ac_header presence... " >&6; }
10197 cat >conftest.$ac_ext <<_ACEOF
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10203 #include <$ac_header>
10204 _ACEOF
10205 if { (ac_try="$ac_cpp conftest.$ac_ext"
10206 case "(($ac_try" in
10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10208 *) ac_try_echo=$ac_try;;
10209 esac
10210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10211 $as_echo "$ac_try_echo") >&5
10212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10213 ac_status=$?
10214 grep -v '^ *+' conftest.er1 >conftest.err
10215 rm -f conftest.er1
10216 cat conftest.err >&5
10217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } >/dev/null && {
10219 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10220 test ! -s conftest.err
10221 }; then
10222 ac_header_preproc=yes
10223 else
10224 $as_echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_header_preproc=no
10230 rm -f conftest.err conftest.$ac_ext
10231 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10232 $as_echo "$ac_header_preproc" >&6; }
10234 # So? What about this header?
10235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10236 yes:no: )
10237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10238 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10241 ac_header_preproc=yes
10243 no:yes:* )
10244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10245 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10247 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10249 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10251 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10252 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10253 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10254 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10255 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10256 ( cat <<\_ASBOX
10257 ## -------------------------------------- ##
10258 ## Report this to gambit@iro.umontreal.ca ##
10259 ## -------------------------------------- ##
10260 _ASBOX
10261 ) | sed "s/^/$as_me: WARNING: /" >&2
10263 esac
10264 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10265 $as_echo_n "checking for $ac_header... " >&6; }
10266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10267 $as_echo_n "(cached) " >&6
10268 else
10269 eval "$as_ac_Header=\$ac_header_preproc"
10271 ac_res=`eval 'as_val=${'$as_ac_Header'}
10272 $as_echo "$as_val"'`
10273 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10274 $as_echo "$ac_res" >&6; }
10277 if test `eval 'as_val=${'$as_ac_Header'}
10278 $as_echo "$as_val"'` = yes; then
10279 cat >>confdefs.h <<_ACEOF
10280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10281 _ACEOF
10285 done
10288 for ac_header in direct.h
10290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10292 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10293 $as_echo_n "checking for $ac_header... " >&6; }
10294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10295 $as_echo_n "(cached) " >&6
10297 ac_res=`eval 'as_val=${'$as_ac_Header'}
10298 $as_echo "$as_val"'`
10299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10300 $as_echo "$ac_res" >&6; }
10301 else
10302 # Is the header compilable?
10303 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10304 $as_echo_n "checking $ac_header usability... " >&6; }
10305 cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h. */
10307 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 $ac_includes_default
10312 #include <$ac_header>
10313 _ACEOF
10314 rm -f conftest.$ac_objext
10315 if { (ac_try="$ac_compile"
10316 case "(($ac_try" in
10317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10318 *) ac_try_echo=$ac_try;;
10319 esac
10320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10321 $as_echo "$ac_try_echo") >&5
10322 (eval "$ac_compile") 2>conftest.er1
10323 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1
10326 cat conftest.err >&5
10327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && {
10329 test -z "$ac_cxx_werror_flag" ||
10330 test ! -s conftest.err
10331 } && test -s conftest.$ac_objext; then
10332 ac_header_compiler=yes
10333 else
10334 $as_echo "$as_me: failed program was:" >&5
10335 sed 's/^/| /' conftest.$ac_ext >&5
10337 ac_header_compiler=no
10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10341 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10342 $as_echo "$ac_header_compiler" >&6; }
10344 # Is the header present?
10345 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10346 $as_echo_n "checking $ac_header presence... " >&6; }
10347 cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 #include <$ac_header>
10354 _ACEOF
10355 if { (ac_try="$ac_cpp conftest.$ac_ext"
10356 case "(($ac_try" in
10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10358 *) ac_try_echo=$ac_try;;
10359 esac
10360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10361 $as_echo "$ac_try_echo") >&5
10362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10363 ac_status=$?
10364 grep -v '^ *+' conftest.er1 >conftest.err
10365 rm -f conftest.er1
10366 cat conftest.err >&5
10367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } >/dev/null && {
10369 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10370 test ! -s conftest.err
10371 }; then
10372 ac_header_preproc=yes
10373 else
10374 $as_echo "$as_me: failed program was:" >&5
10375 sed 's/^/| /' conftest.$ac_ext >&5
10377 ac_header_preproc=no
10380 rm -f conftest.err conftest.$ac_ext
10381 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10382 $as_echo "$ac_header_preproc" >&6; }
10384 # So? What about this header?
10385 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10386 yes:no: )
10387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10388 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10390 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10391 ac_header_preproc=yes
10393 no:yes:* )
10394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10395 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10397 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10399 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10401 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10403 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10405 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10406 ( cat <<\_ASBOX
10407 ## -------------------------------------- ##
10408 ## Report this to gambit@iro.umontreal.ca ##
10409 ## -------------------------------------- ##
10410 _ASBOX
10411 ) | sed "s/^/$as_me: WARNING: /" >&2
10413 esac
10414 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10415 $as_echo_n "checking for $ac_header... " >&6; }
10416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10417 $as_echo_n "(cached) " >&6
10418 else
10419 eval "$as_ac_Header=\$ac_header_preproc"
10421 ac_res=`eval 'as_val=${'$as_ac_Header'}
10422 $as_echo "$as_val"'`
10423 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10424 $as_echo "$ac_res" >&6; }
10427 if test `eval 'as_val=${'$as_ac_Header'}
10428 $as_echo "$as_val"'` = yes; then
10429 cat >>confdefs.h <<_ACEOF
10430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10431 _ACEOF
10435 done
10437 #AC_CHECK_HEADERS(Retrace.h)
10438 #AC_CHECK_HEADERS(Files.h)
10439 #AC_CHECK_HEADERS(Finder.h)
10440 #AC_CHECK_HEADERS(Errors.h)
10441 #AC_CHECK_HEADERS(Folders.h)
10442 #AC_CHECK_HEADERS(OSUtils.h)
10443 #AC_CHECK_HEADERS(Power.h)
10444 #AC_CHECK_HEADERS(CodeFragments.h)
10445 #AC_CHECK_HEADERS(SIOUX.h)
10446 #AC_CHECK_HEADERS(mac_gui.h)
10447 #AC_CHECK_HEADERS(unix.h)
10449 for ac_header in wdefwin.h
10451 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10453 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10454 $as_echo_n "checking for $ac_header... " >&6; }
10455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10456 $as_echo_n "(cached) " >&6
10458 ac_res=`eval 'as_val=${'$as_ac_Header'}
10459 $as_echo "$as_val"'`
10460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10461 $as_echo "$ac_res" >&6; }
10462 else
10463 # Is the header compilable?
10464 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10465 $as_echo_n "checking $ac_header usability... " >&6; }
10466 cat >conftest.$ac_ext <<_ACEOF
10467 /* confdefs.h. */
10468 _ACEOF
10469 cat confdefs.h >>conftest.$ac_ext
10470 cat >>conftest.$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10472 $ac_includes_default
10473 #include <$ac_header>
10474 _ACEOF
10475 rm -f conftest.$ac_objext
10476 if { (ac_try="$ac_compile"
10477 case "(($ac_try" in
10478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10479 *) ac_try_echo=$ac_try;;
10480 esac
10481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10482 $as_echo "$ac_try_echo") >&5
10483 (eval "$ac_compile") 2>conftest.er1
10484 ac_status=$?
10485 grep -v '^ *+' conftest.er1 >conftest.err
10486 rm -f conftest.er1
10487 cat conftest.err >&5
10488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); } && {
10490 test -z "$ac_cxx_werror_flag" ||
10491 test ! -s conftest.err
10492 } && test -s conftest.$ac_objext; then
10493 ac_header_compiler=yes
10494 else
10495 $as_echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 ac_header_compiler=no
10501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10502 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10503 $as_echo "$ac_header_compiler" >&6; }
10505 # Is the header present?
10506 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10507 $as_echo_n "checking $ac_header presence... " >&6; }
10508 cat >conftest.$ac_ext <<_ACEOF
10509 /* confdefs.h. */
10510 _ACEOF
10511 cat confdefs.h >>conftest.$ac_ext
10512 cat >>conftest.$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10514 #include <$ac_header>
10515 _ACEOF
10516 if { (ac_try="$ac_cpp conftest.$ac_ext"
10517 case "(($ac_try" in
10518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10519 *) ac_try_echo=$ac_try;;
10520 esac
10521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10522 $as_echo "$ac_try_echo") >&5
10523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10524 ac_status=$?
10525 grep -v '^ *+' conftest.er1 >conftest.err
10526 rm -f conftest.er1
10527 cat conftest.err >&5
10528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); } >/dev/null && {
10530 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10531 test ! -s conftest.err
10532 }; then
10533 ac_header_preproc=yes
10534 else
10535 $as_echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.$ac_ext >&5
10538 ac_header_preproc=no
10541 rm -f conftest.err conftest.$ac_ext
10542 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10543 $as_echo "$ac_header_preproc" >&6; }
10545 # So? What about this header?
10546 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10547 yes:no: )
10548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10549 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10551 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10552 ac_header_preproc=yes
10554 no:yes:* )
10555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10556 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10558 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10560 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10562 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10564 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10566 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10567 ( cat <<\_ASBOX
10568 ## -------------------------------------- ##
10569 ## Report this to gambit@iro.umontreal.ca ##
10570 ## -------------------------------------- ##
10571 _ASBOX
10572 ) | sed "s/^/$as_me: WARNING: /" >&2
10574 esac
10575 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10576 $as_echo_n "checking for $ac_header... " >&6; }
10577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10578 $as_echo_n "(cached) " >&6
10579 else
10580 eval "$as_ac_Header=\$ac_header_preproc"
10582 ac_res=`eval 'as_val=${'$as_ac_Header'}
10583 $as_echo "$as_val"'`
10584 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10585 $as_echo "$ac_res" >&6; }
10588 if test `eval 'as_val=${'$as_ac_Header'}
10589 $as_echo "$as_val"'` = yes; then
10590 cat >>confdefs.h <<_ACEOF
10591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10592 _ACEOF
10596 done
10599 for ac_header in tfork.h
10601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10603 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10604 $as_echo_n "checking for $ac_header... " >&6; }
10605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10606 $as_echo_n "(cached) " >&6
10608 ac_res=`eval 'as_val=${'$as_ac_Header'}
10609 $as_echo "$as_val"'`
10610 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10611 $as_echo "$ac_res" >&6; }
10612 else
10613 # Is the header compilable?
10614 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10615 $as_echo_n "checking $ac_header usability... " >&6; }
10616 cat >conftest.$ac_ext <<_ACEOF
10617 /* confdefs.h. */
10618 _ACEOF
10619 cat confdefs.h >>conftest.$ac_ext
10620 cat >>conftest.$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10622 $ac_includes_default
10623 #include <$ac_header>
10624 _ACEOF
10625 rm -f conftest.$ac_objext
10626 if { (ac_try="$ac_compile"
10627 case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10630 esac
10631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10632 $as_echo "$ac_try_echo") >&5
10633 (eval "$ac_compile") 2>conftest.er1
10634 ac_status=$?
10635 grep -v '^ *+' conftest.er1 >conftest.err
10636 rm -f conftest.er1
10637 cat conftest.err >&5
10638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } && {
10640 test -z "$ac_cxx_werror_flag" ||
10641 test ! -s conftest.err
10642 } && test -s conftest.$ac_objext; then
10643 ac_header_compiler=yes
10644 else
10645 $as_echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 ac_header_compiler=no
10651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10652 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10653 $as_echo "$ac_header_compiler" >&6; }
10655 # Is the header present?
10656 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10657 $as_echo_n "checking $ac_header presence... " >&6; }
10658 cat >conftest.$ac_ext <<_ACEOF
10659 /* confdefs.h. */
10660 _ACEOF
10661 cat confdefs.h >>conftest.$ac_ext
10662 cat >>conftest.$ac_ext <<_ACEOF
10663 /* end confdefs.h. */
10664 #include <$ac_header>
10665 _ACEOF
10666 if { (ac_try="$ac_cpp conftest.$ac_ext"
10667 case "(($ac_try" in
10668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10669 *) ac_try_echo=$ac_try;;
10670 esac
10671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10672 $as_echo "$ac_try_echo") >&5
10673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } >/dev/null && {
10680 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10681 test ! -s conftest.err
10682 }; then
10683 ac_header_preproc=yes
10684 else
10685 $as_echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10688 ac_header_preproc=no
10691 rm -f conftest.err conftest.$ac_ext
10692 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10693 $as_echo "$ac_header_preproc" >&6; }
10695 # So? What about this header?
10696 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10697 yes:no: )
10698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10699 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10701 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10702 ac_header_preproc=yes
10704 no:yes:* )
10705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10706 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10708 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10710 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10712 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10714 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10716 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10717 ( cat <<\_ASBOX
10718 ## -------------------------------------- ##
10719 ## Report this to gambit@iro.umontreal.ca ##
10720 ## -------------------------------------- ##
10721 _ASBOX
10722 ) | sed "s/^/$as_me: WARNING: /" >&2
10724 esac
10725 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 $as_echo_n "checking for $ac_header... " >&6; }
10727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 $as_echo_n "(cached) " >&6
10729 else
10730 eval "$as_ac_Header=\$ac_header_preproc"
10732 ac_res=`eval 'as_val=${'$as_ac_Header'}
10733 $as_echo "$as_val"'`
10734 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10735 $as_echo "$ac_res" >&6; }
10738 if test `eval 'as_val=${'$as_ac_Header'}
10739 $as_echo "$as_val"'` = yes; then
10740 cat >>confdefs.h <<_ACEOF
10741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10742 _ACEOF
10746 done
10749 for ac_header in curses.h
10751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10753 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10754 $as_echo_n "checking for $ac_header... " >&6; }
10755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10756 $as_echo_n "(cached) " >&6
10758 ac_res=`eval 'as_val=${'$as_ac_Header'}
10759 $as_echo "$as_val"'`
10760 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10761 $as_echo "$ac_res" >&6; }
10762 else
10763 # Is the header compilable?
10764 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10765 $as_echo_n "checking $ac_header usability... " >&6; }
10766 cat >conftest.$ac_ext <<_ACEOF
10767 /* confdefs.h. */
10768 _ACEOF
10769 cat confdefs.h >>conftest.$ac_ext
10770 cat >>conftest.$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10772 $ac_includes_default
10773 #include <$ac_header>
10774 _ACEOF
10775 rm -f conftest.$ac_objext
10776 if { (ac_try="$ac_compile"
10777 case "(($ac_try" in
10778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779 *) ac_try_echo=$ac_try;;
10780 esac
10781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10782 $as_echo "$ac_try_echo") >&5
10783 (eval "$ac_compile") 2>conftest.er1
10784 ac_status=$?
10785 grep -v '^ *+' conftest.er1 >conftest.err
10786 rm -f conftest.er1
10787 cat conftest.err >&5
10788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } && {
10790 test -z "$ac_cxx_werror_flag" ||
10791 test ! -s conftest.err
10792 } && test -s conftest.$ac_objext; then
10793 ac_header_compiler=yes
10794 else
10795 $as_echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_header_compiler=no
10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10802 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10803 $as_echo "$ac_header_compiler" >&6; }
10805 # Is the header present?
10806 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10807 $as_echo_n "checking $ac_header presence... " >&6; }
10808 cat >conftest.$ac_ext <<_ACEOF
10809 /* confdefs.h. */
10810 _ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10814 #include <$ac_header>
10815 _ACEOF
10816 if { (ac_try="$ac_cpp conftest.$ac_ext"
10817 case "(($ac_try" in
10818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10819 *) ac_try_echo=$ac_try;;
10820 esac
10821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10822 $as_echo "$ac_try_echo") >&5
10823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10824 ac_status=$?
10825 grep -v '^ *+' conftest.er1 >conftest.err
10826 rm -f conftest.er1
10827 cat conftest.err >&5
10828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } >/dev/null && {
10830 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10831 test ! -s conftest.err
10832 }; then
10833 ac_header_preproc=yes
10834 else
10835 $as_echo "$as_me: failed program was:" >&5
10836 sed 's/^/| /' conftest.$ac_ext >&5
10838 ac_header_preproc=no
10841 rm -f conftest.err conftest.$ac_ext
10842 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10843 $as_echo "$ac_header_preproc" >&6; }
10845 # So? What about this header?
10846 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10847 yes:no: )
10848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10849 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10851 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10852 ac_header_preproc=yes
10854 no:yes:* )
10855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10856 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10858 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10860 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10862 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10864 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10866 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10867 ( cat <<\_ASBOX
10868 ## -------------------------------------- ##
10869 ## Report this to gambit@iro.umontreal.ca ##
10870 ## -------------------------------------- ##
10871 _ASBOX
10872 ) | sed "s/^/$as_me: WARNING: /" >&2
10874 esac
10875 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10876 $as_echo_n "checking for $ac_header... " >&6; }
10877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10878 $as_echo_n "(cached) " >&6
10879 else
10880 eval "$as_ac_Header=\$ac_header_preproc"
10882 ac_res=`eval 'as_val=${'$as_ac_Header'}
10883 $as_echo "$as_val"'`
10884 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10885 $as_echo "$ac_res" >&6; }
10888 if test `eval 'as_val=${'$as_ac_Header'}
10889 $as_echo "$as_val"'` = yes; then
10890 cat >>confdefs.h <<_ACEOF
10891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10892 _ACEOF
10896 done
10899 for ac_header in ncurses.h
10901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10903 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10904 $as_echo_n "checking for $ac_header... " >&6; }
10905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10906 $as_echo_n "(cached) " >&6
10908 ac_res=`eval 'as_val=${'$as_ac_Header'}
10909 $as_echo "$as_val"'`
10910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10911 $as_echo "$ac_res" >&6; }
10912 else
10913 # Is the header compilable?
10914 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10915 $as_echo_n "checking $ac_header usability... " >&6; }
10916 cat >conftest.$ac_ext <<_ACEOF
10917 /* confdefs.h. */
10918 _ACEOF
10919 cat confdefs.h >>conftest.$ac_ext
10920 cat >>conftest.$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 $ac_includes_default
10923 #include <$ac_header>
10924 _ACEOF
10925 rm -f conftest.$ac_objext
10926 if { (ac_try="$ac_compile"
10927 case "(($ac_try" in
10928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10930 esac
10931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10932 $as_echo "$ac_try_echo") >&5
10933 (eval "$ac_compile") 2>conftest.er1
10934 ac_status=$?
10935 grep -v '^ *+' conftest.er1 >conftest.err
10936 rm -f conftest.er1
10937 cat conftest.err >&5
10938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && {
10940 test -z "$ac_cxx_werror_flag" ||
10941 test ! -s conftest.err
10942 } && test -s conftest.$ac_objext; then
10943 ac_header_compiler=yes
10944 else
10945 $as_echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.$ac_ext >&5
10948 ac_header_compiler=no
10951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10952 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10953 $as_echo "$ac_header_compiler" >&6; }
10955 # Is the header present?
10956 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10957 $as_echo_n "checking $ac_header presence... " >&6; }
10958 cat >conftest.$ac_ext <<_ACEOF
10959 /* confdefs.h. */
10960 _ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10964 #include <$ac_header>
10965 _ACEOF
10966 if { (ac_try="$ac_cpp conftest.$ac_ext"
10967 case "(($ac_try" in
10968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969 *) ac_try_echo=$ac_try;;
10970 esac
10971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10972 $as_echo "$ac_try_echo") >&5
10973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10974 ac_status=$?
10975 grep -v '^ *+' conftest.er1 >conftest.err
10976 rm -f conftest.er1
10977 cat conftest.err >&5
10978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } >/dev/null && {
10980 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10981 test ! -s conftest.err
10982 }; then
10983 ac_header_preproc=yes
10984 else
10985 $as_echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5
10988 ac_header_preproc=no
10991 rm -f conftest.err conftest.$ac_ext
10992 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10993 $as_echo "$ac_header_preproc" >&6; }
10995 # So? What about this header?
10996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10997 yes:no: )
10998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10999 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11001 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11002 ac_header_preproc=yes
11004 no:yes:* )
11005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11006 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11008 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11010 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11012 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11014 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11016 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11017 ( cat <<\_ASBOX
11018 ## -------------------------------------- ##
11019 ## Report this to gambit@iro.umontreal.ca ##
11020 ## -------------------------------------- ##
11021 _ASBOX
11022 ) | sed "s/^/$as_me: WARNING: /" >&2
11024 esac
11025 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11026 $as_echo_n "checking for $ac_header... " >&6; }
11027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11028 $as_echo_n "(cached) " >&6
11029 else
11030 eval "$as_ac_Header=\$ac_header_preproc"
11032 ac_res=`eval 'as_val=${'$as_ac_Header'}
11033 $as_echo "$as_val"'`
11034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11035 $as_echo "$ac_res" >&6; }
11038 if test `eval 'as_val=${'$as_ac_Header'}
11039 $as_echo "$as_val"'` = yes; then
11040 cat >>confdefs.h <<_ACEOF
11041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11042 _ACEOF
11046 done
11049 for ac_header in netinet/in.h
11051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11053 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11054 $as_echo_n "checking for $ac_header... " >&6; }
11055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11056 $as_echo_n "(cached) " >&6
11058 ac_res=`eval 'as_val=${'$as_ac_Header'}
11059 $as_echo "$as_val"'`
11060 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11061 $as_echo "$ac_res" >&6; }
11062 else
11063 # Is the header compilable?
11064 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11065 $as_echo_n "checking $ac_header usability... " >&6; }
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 $ac_includes_default
11073 #include <$ac_header>
11074 _ACEOF
11075 rm -f conftest.$ac_objext
11076 if { (ac_try="$ac_compile"
11077 case "(($ac_try" in
11078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11079 *) ac_try_echo=$ac_try;;
11080 esac
11081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11082 $as_echo "$ac_try_echo") >&5
11083 (eval "$ac_compile") 2>conftest.er1
11084 ac_status=$?
11085 grep -v '^ *+' conftest.er1 >conftest.err
11086 rm -f conftest.er1
11087 cat conftest.err >&5
11088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); } && {
11090 test -z "$ac_cxx_werror_flag" ||
11091 test ! -s conftest.err
11092 } && test -s conftest.$ac_objext; then
11093 ac_header_compiler=yes
11094 else
11095 $as_echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.$ac_ext >&5
11098 ac_header_compiler=no
11101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11102 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11103 $as_echo "$ac_header_compiler" >&6; }
11105 # Is the header present?
11106 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11107 $as_echo_n "checking $ac_header presence... " >&6; }
11108 cat >conftest.$ac_ext <<_ACEOF
11109 /* confdefs.h. */
11110 _ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #include <$ac_header>
11115 _ACEOF
11116 if { (ac_try="$ac_cpp conftest.$ac_ext"
11117 case "(($ac_try" in
11118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11119 *) ac_try_echo=$ac_try;;
11120 esac
11121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11122 $as_echo "$ac_try_echo") >&5
11123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11124 ac_status=$?
11125 grep -v '^ *+' conftest.er1 >conftest.err
11126 rm -f conftest.er1
11127 cat conftest.err >&5
11128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } >/dev/null && {
11130 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11131 test ! -s conftest.err
11132 }; then
11133 ac_header_preproc=yes
11134 else
11135 $as_echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11138 ac_header_preproc=no
11141 rm -f conftest.err conftest.$ac_ext
11142 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11143 $as_echo "$ac_header_preproc" >&6; }
11145 # So? What about this header?
11146 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11147 yes:no: )
11148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11149 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11151 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11152 ac_header_preproc=yes
11154 no:yes:* )
11155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11156 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11158 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11160 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11162 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11164 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11166 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11167 ( cat <<\_ASBOX
11168 ## -------------------------------------- ##
11169 ## Report this to gambit@iro.umontreal.ca ##
11170 ## -------------------------------------- ##
11171 _ASBOX
11172 ) | sed "s/^/$as_me: WARNING: /" >&2
11174 esac
11175 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11176 $as_echo_n "checking for $ac_header... " >&6; }
11177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11178 $as_echo_n "(cached) " >&6
11179 else
11180 eval "$as_ac_Header=\$ac_header_preproc"
11182 ac_res=`eval 'as_val=${'$as_ac_Header'}
11183 $as_echo "$as_val"'`
11184 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11185 $as_echo "$ac_res" >&6; }
11188 if test `eval 'as_val=${'$as_ac_Header'}
11189 $as_echo "$as_val"'` = yes; then
11190 cat >>confdefs.h <<_ACEOF
11191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11192 _ACEOF
11196 done
11199 for ac_header in arpa/inet.h
11201 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11203 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11204 $as_echo_n "checking for $ac_header... " >&6; }
11205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11206 $as_echo_n "(cached) " >&6
11208 ac_res=`eval 'as_val=${'$as_ac_Header'}
11209 $as_echo "$as_val"'`
11210 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11211 $as_echo "$ac_res" >&6; }
11212 else
11213 # Is the header compilable?
11214 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11215 $as_echo_n "checking $ac_header usability... " >&6; }
11216 cat >conftest.$ac_ext <<_ACEOF
11217 /* confdefs.h. */
11218 _ACEOF
11219 cat confdefs.h >>conftest.$ac_ext
11220 cat >>conftest.$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222 $ac_includes_default
11223 #include <$ac_header>
11224 _ACEOF
11225 rm -f conftest.$ac_objext
11226 if { (ac_try="$ac_compile"
11227 case "(($ac_try" in
11228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11229 *) ac_try_echo=$ac_try;;
11230 esac
11231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11232 $as_echo "$ac_try_echo") >&5
11233 (eval "$ac_compile") 2>conftest.er1
11234 ac_status=$?
11235 grep -v '^ *+' conftest.er1 >conftest.err
11236 rm -f conftest.er1
11237 cat conftest.err >&5
11238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } && {
11240 test -z "$ac_cxx_werror_flag" ||
11241 test ! -s conftest.err
11242 } && test -s conftest.$ac_objext; then
11243 ac_header_compiler=yes
11244 else
11245 $as_echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11248 ac_header_compiler=no
11251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11252 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11253 $as_echo "$ac_header_compiler" >&6; }
11255 # Is the header present?
11256 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11257 $as_echo_n "checking $ac_header presence... " >&6; }
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 #include <$ac_header>
11265 _ACEOF
11266 if { (ac_try="$ac_cpp conftest.$ac_ext"
11267 case "(($ac_try" in
11268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11269 *) ac_try_echo=$ac_try;;
11270 esac
11271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11272 $as_echo "$ac_try_echo") >&5
11273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11274 ac_status=$?
11275 grep -v '^ *+' conftest.er1 >conftest.err
11276 rm -f conftest.er1
11277 cat conftest.err >&5
11278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } >/dev/null && {
11280 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11281 test ! -s conftest.err
11282 }; then
11283 ac_header_preproc=yes
11284 else
11285 $as_echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11288 ac_header_preproc=no
11291 rm -f conftest.err conftest.$ac_ext
11292 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11293 $as_echo "$ac_header_preproc" >&6; }
11295 # So? What about this header?
11296 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11297 yes:no: )
11298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11299 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11301 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11302 ac_header_preproc=yes
11304 no:yes:* )
11305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11306 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11308 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11310 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11312 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11314 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11316 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11317 ( cat <<\_ASBOX
11318 ## -------------------------------------- ##
11319 ## Report this to gambit@iro.umontreal.ca ##
11320 ## -------------------------------------- ##
11321 _ASBOX
11322 ) | sed "s/^/$as_me: WARNING: /" >&2
11324 esac
11325 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11326 $as_echo_n "checking for $ac_header... " >&6; }
11327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11328 $as_echo_n "(cached) " >&6
11329 else
11330 eval "$as_ac_Header=\$ac_header_preproc"
11332 ac_res=`eval 'as_val=${'$as_ac_Header'}
11333 $as_echo "$as_val"'`
11334 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11335 $as_echo "$ac_res" >&6; }
11338 if test `eval 'as_val=${'$as_ac_Header'}
11339 $as_echo "$as_val"'` = yes; then
11340 cat >>confdefs.h <<_ACEOF
11341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11342 _ACEOF
11346 done
11349 for ac_header in termios.h
11351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11354 $as_echo_n "checking for $ac_header... " >&6; }
11355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11356 $as_echo_n "(cached) " >&6
11358 ac_res=`eval 'as_val=${'$as_ac_Header'}
11359 $as_echo "$as_val"'`
11360 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11361 $as_echo "$ac_res" >&6; }
11362 else
11363 # Is the header compilable?
11364 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11365 $as_echo_n "checking $ac_header usability... " >&6; }
11366 cat >conftest.$ac_ext <<_ACEOF
11367 /* confdefs.h. */
11368 _ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372 $ac_includes_default
11373 #include <$ac_header>
11374 _ACEOF
11375 rm -f conftest.$ac_objext
11376 if { (ac_try="$ac_compile"
11377 case "(($ac_try" in
11378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11380 esac
11381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11382 $as_echo "$ac_try_echo") >&5
11383 (eval "$ac_compile") 2>conftest.er1
11384 ac_status=$?
11385 grep -v '^ *+' conftest.er1 >conftest.err
11386 rm -f conftest.er1
11387 cat conftest.err >&5
11388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } && {
11390 test -z "$ac_cxx_werror_flag" ||
11391 test ! -s conftest.err
11392 } && test -s conftest.$ac_objext; then
11393 ac_header_compiler=yes
11394 else
11395 $as_echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 ac_header_compiler=no
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11402 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11403 $as_echo "$ac_header_compiler" >&6; }
11405 # Is the header present?
11406 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11407 $as_echo_n "checking $ac_header presence... " >&6; }
11408 cat >conftest.$ac_ext <<_ACEOF
11409 /* confdefs.h. */
11410 _ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 #include <$ac_header>
11415 _ACEOF
11416 if { (ac_try="$ac_cpp conftest.$ac_ext"
11417 case "(($ac_try" in
11418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11419 *) ac_try_echo=$ac_try;;
11420 esac
11421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11422 $as_echo "$ac_try_echo") >&5
11423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11424 ac_status=$?
11425 grep -v '^ *+' conftest.er1 >conftest.err
11426 rm -f conftest.er1
11427 cat conftest.err >&5
11428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } >/dev/null && {
11430 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11431 test ! -s conftest.err
11432 }; then
11433 ac_header_preproc=yes
11434 else
11435 $as_echo "$as_me: failed program was:" >&5
11436 sed 's/^/| /' conftest.$ac_ext >&5
11438 ac_header_preproc=no
11441 rm -f conftest.err conftest.$ac_ext
11442 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11443 $as_echo "$ac_header_preproc" >&6; }
11445 # So? What about this header?
11446 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11447 yes:no: )
11448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11449 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11451 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11452 ac_header_preproc=yes
11454 no:yes:* )
11455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11456 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11458 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11460 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11462 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11464 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11466 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11467 ( cat <<\_ASBOX
11468 ## -------------------------------------- ##
11469 ## Report this to gambit@iro.umontreal.ca ##
11470 ## -------------------------------------- ##
11471 _ASBOX
11472 ) | sed "s/^/$as_me: WARNING: /" >&2
11474 esac
11475 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11476 $as_echo_n "checking for $ac_header... " >&6; }
11477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11478 $as_echo_n "(cached) " >&6
11479 else
11480 eval "$as_ac_Header=\$ac_header_preproc"
11482 ac_res=`eval 'as_val=${'$as_ac_Header'}
11483 $as_echo "$as_val"'`
11484 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11485 $as_echo "$ac_res" >&6; }
11488 if test `eval 'as_val=${'$as_ac_Header'}
11489 $as_echo "$as_val"'` = yes; then
11490 cat >>confdefs.h <<_ACEOF
11491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11492 _ACEOF
11496 done
11498 #AC_CHECK_HEADERS(term.h)
11500 for ac_header in pty.h
11502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11504 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11505 $as_echo_n "checking for $ac_header... " >&6; }
11506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11507 $as_echo_n "(cached) " >&6
11509 ac_res=`eval 'as_val=${'$as_ac_Header'}
11510 $as_echo "$as_val"'`
11511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11512 $as_echo "$ac_res" >&6; }
11513 else
11514 # Is the header compilable?
11515 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11516 $as_echo_n "checking $ac_header usability... " >&6; }
11517 cat >conftest.$ac_ext <<_ACEOF
11518 /* confdefs.h. */
11519 _ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 $ac_includes_default
11524 #include <$ac_header>
11525 _ACEOF
11526 rm -f conftest.$ac_objext
11527 if { (ac_try="$ac_compile"
11528 case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11531 esac
11532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11533 $as_echo "$ac_try_echo") >&5
11534 (eval "$ac_compile") 2>conftest.er1
11535 ac_status=$?
11536 grep -v '^ *+' conftest.er1 >conftest.err
11537 rm -f conftest.er1
11538 cat conftest.err >&5
11539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } && {
11541 test -z "$ac_cxx_werror_flag" ||
11542 test ! -s conftest.err
11543 } && test -s conftest.$ac_objext; then
11544 ac_header_compiler=yes
11545 else
11546 $as_echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_header_compiler=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11553 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11554 $as_echo "$ac_header_compiler" >&6; }
11556 # Is the header present?
11557 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11558 $as_echo_n "checking $ac_header presence... " >&6; }
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 #include <$ac_header>
11566 _ACEOF
11567 if { (ac_try="$ac_cpp conftest.$ac_ext"
11568 case "(($ac_try" in
11569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11570 *) ac_try_echo=$ac_try;;
11571 esac
11572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11573 $as_echo "$ac_try_echo") >&5
11574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11575 ac_status=$?
11576 grep -v '^ *+' conftest.er1 >conftest.err
11577 rm -f conftest.er1
11578 cat conftest.err >&5
11579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } >/dev/null && {
11581 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11582 test ! -s conftest.err
11583 }; then
11584 ac_header_preproc=yes
11585 else
11586 $as_echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 ac_header_preproc=no
11592 rm -f conftest.err conftest.$ac_ext
11593 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11594 $as_echo "$ac_header_preproc" >&6; }
11596 # So? What about this header?
11597 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11598 yes:no: )
11599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11600 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11601 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11602 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11603 ac_header_preproc=yes
11605 no:yes:* )
11606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11607 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11609 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11611 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11613 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11615 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11617 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11618 ( cat <<\_ASBOX
11619 ## -------------------------------------- ##
11620 ## Report this to gambit@iro.umontreal.ca ##
11621 ## -------------------------------------- ##
11622 _ASBOX
11623 ) | sed "s/^/$as_me: WARNING: /" >&2
11625 esac
11626 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11627 $as_echo_n "checking for $ac_header... " >&6; }
11628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11629 $as_echo_n "(cached) " >&6
11630 else
11631 eval "$as_ac_Header=\$ac_header_preproc"
11633 ac_res=`eval 'as_val=${'$as_ac_Header'}
11634 $as_echo "$as_val"'`
11635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11636 $as_echo "$ac_res" >&6; }
11639 if test `eval 'as_val=${'$as_ac_Header'}
11640 $as_echo "$as_val"'` = yes; then
11641 cat >>confdefs.h <<_ACEOF
11642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11643 _ACEOF
11647 done
11650 for ac_header in libutil.h
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11654 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11655 $as_echo_n "checking for $ac_header... " >&6; }
11656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11657 $as_echo_n "(cached) " >&6
11659 ac_res=`eval 'as_val=${'$as_ac_Header'}
11660 $as_echo "$as_val"'`
11661 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11662 $as_echo "$ac_res" >&6; }
11663 else
11664 # Is the header compilable?
11665 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11666 $as_echo_n "checking $ac_header usability... " >&6; }
11667 cat >conftest.$ac_ext <<_ACEOF
11668 /* confdefs.h. */
11669 _ACEOF
11670 cat confdefs.h >>conftest.$ac_ext
11671 cat >>conftest.$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11673 $ac_includes_default
11674 #include <$ac_header>
11675 _ACEOF
11676 rm -f conftest.$ac_objext
11677 if { (ac_try="$ac_compile"
11678 case "(($ac_try" in
11679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11680 *) ac_try_echo=$ac_try;;
11681 esac
11682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11683 $as_echo "$ac_try_echo") >&5
11684 (eval "$ac_compile") 2>conftest.er1
11685 ac_status=$?
11686 grep -v '^ *+' conftest.er1 >conftest.err
11687 rm -f conftest.er1
11688 cat conftest.err >&5
11689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } && {
11691 test -z "$ac_cxx_werror_flag" ||
11692 test ! -s conftest.err
11693 } && test -s conftest.$ac_objext; then
11694 ac_header_compiler=yes
11695 else
11696 $as_echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11699 ac_header_compiler=no
11702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11703 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11704 $as_echo "$ac_header_compiler" >&6; }
11706 # Is the header present?
11707 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11708 $as_echo_n "checking $ac_header presence... " >&6; }
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 #include <$ac_header>
11716 _ACEOF
11717 if { (ac_try="$ac_cpp conftest.$ac_ext"
11718 case "(($ac_try" in
11719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11720 *) ac_try_echo=$ac_try;;
11721 esac
11722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11723 $as_echo "$ac_try_echo") >&5
11724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11725 ac_status=$?
11726 grep -v '^ *+' conftest.er1 >conftest.err
11727 rm -f conftest.er1
11728 cat conftest.err >&5
11729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } >/dev/null && {
11731 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11732 test ! -s conftest.err
11733 }; then
11734 ac_header_preproc=yes
11735 else
11736 $as_echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11739 ac_header_preproc=no
11742 rm -f conftest.err conftest.$ac_ext
11743 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11744 $as_echo "$ac_header_preproc" >&6; }
11746 # So? What about this header?
11747 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11748 yes:no: )
11749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11750 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11752 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11753 ac_header_preproc=yes
11755 no:yes:* )
11756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11757 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11759 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11761 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11763 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11765 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11767 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11768 ( cat <<\_ASBOX
11769 ## -------------------------------------- ##
11770 ## Report this to gambit@iro.umontreal.ca ##
11771 ## -------------------------------------- ##
11772 _ASBOX
11773 ) | sed "s/^/$as_me: WARNING: /" >&2
11775 esac
11776 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11777 $as_echo_n "checking for $ac_header... " >&6; }
11778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11779 $as_echo_n "(cached) " >&6
11780 else
11781 eval "$as_ac_Header=\$ac_header_preproc"
11783 ac_res=`eval 'as_val=${'$as_ac_Header'}
11784 $as_echo "$as_val"'`
11785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11786 $as_echo "$ac_res" >&6; }
11789 if test `eval 'as_val=${'$as_ac_Header'}
11790 $as_echo "$as_val"'` = yes; then
11791 cat >>confdefs.h <<_ACEOF
11792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11793 _ACEOF
11797 done
11800 for ac_header in util.h
11802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11805 $as_echo_n "checking for $ac_header... " >&6; }
11806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11807 $as_echo_n "(cached) " >&6
11809 ac_res=`eval 'as_val=${'$as_ac_Header'}
11810 $as_echo "$as_val"'`
11811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11812 $as_echo "$ac_res" >&6; }
11813 else
11814 # Is the header compilable?
11815 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11816 $as_echo_n "checking $ac_header usability... " >&6; }
11817 cat >conftest.$ac_ext <<_ACEOF
11818 /* confdefs.h. */
11819 _ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 $ac_includes_default
11824 #include <$ac_header>
11825 _ACEOF
11826 rm -f conftest.$ac_objext
11827 if { (ac_try="$ac_compile"
11828 case "(($ac_try" in
11829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11830 *) ac_try_echo=$ac_try;;
11831 esac
11832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11833 $as_echo "$ac_try_echo") >&5
11834 (eval "$ac_compile") 2>conftest.er1
11835 ac_status=$?
11836 grep -v '^ *+' conftest.er1 >conftest.err
11837 rm -f conftest.er1
11838 cat conftest.err >&5
11839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } && {
11841 test -z "$ac_cxx_werror_flag" ||
11842 test ! -s conftest.err
11843 } && test -s conftest.$ac_objext; then
11844 ac_header_compiler=yes
11845 else
11846 $as_echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11849 ac_header_compiler=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11854 $as_echo "$ac_header_compiler" >&6; }
11856 # Is the header present?
11857 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11858 $as_echo_n "checking $ac_header presence... " >&6; }
11859 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h. */
11861 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 #include <$ac_header>
11866 _ACEOF
11867 if { (ac_try="$ac_cpp conftest.$ac_ext"
11868 case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11871 esac
11872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11873 $as_echo "$ac_try_echo") >&5
11874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11875 ac_status=$?
11876 grep -v '^ *+' conftest.er1 >conftest.err
11877 rm -f conftest.er1
11878 cat conftest.err >&5
11879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } >/dev/null && {
11881 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11882 test ! -s conftest.err
11883 }; then
11884 ac_header_preproc=yes
11885 else
11886 $as_echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.$ac_ext >&5
11889 ac_header_preproc=no
11892 rm -f conftest.err conftest.$ac_ext
11893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11894 $as_echo "$ac_header_preproc" >&6; }
11896 # So? What about this header?
11897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11898 yes:no: )
11899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11900 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11903 ac_header_preproc=yes
11905 no:yes:* )
11906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11907 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11909 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11911 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11913 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11915 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11917 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11918 ( cat <<\_ASBOX
11919 ## -------------------------------------- ##
11920 ## Report this to gambit@iro.umontreal.ca ##
11921 ## -------------------------------------- ##
11922 _ASBOX
11923 ) | sed "s/^/$as_me: WARNING: /" >&2
11925 esac
11926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11927 $as_echo_n "checking for $ac_header... " >&6; }
11928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11929 $as_echo_n "(cached) " >&6
11930 else
11931 eval "$as_ac_Header=\$ac_header_preproc"
11933 ac_res=`eval 'as_val=${'$as_ac_Header'}
11934 $as_echo "$as_val"'`
11935 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11936 $as_echo "$ac_res" >&6; }
11939 if test `eval 'as_val=${'$as_ac_Header'}
11940 $as_echo "$as_val"'` = yes; then
11941 cat >>confdefs.h <<_ACEOF
11942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11943 _ACEOF
11947 done
11950 for ac_header in sys/fpu.h
11952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11954 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11955 $as_echo_n "checking for $ac_header... " >&6; }
11956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11957 $as_echo_n "(cached) " >&6
11959 ac_res=`eval 'as_val=${'$as_ac_Header'}
11960 $as_echo "$as_val"'`
11961 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11962 $as_echo "$ac_res" >&6; }
11963 else
11964 # Is the header compilable?
11965 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11966 $as_echo_n "checking $ac_header usability... " >&6; }
11967 cat >conftest.$ac_ext <<_ACEOF
11968 /* confdefs.h. */
11969 _ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 $ac_includes_default
11974 #include <$ac_header>
11975 _ACEOF
11976 rm -f conftest.$ac_objext
11977 if { (ac_try="$ac_compile"
11978 case "(($ac_try" in
11979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11981 esac
11982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11983 $as_echo "$ac_try_echo") >&5
11984 (eval "$ac_compile") 2>conftest.er1
11985 ac_status=$?
11986 grep -v '^ *+' conftest.er1 >conftest.err
11987 rm -f conftest.er1
11988 cat conftest.err >&5
11989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } && {
11991 test -z "$ac_cxx_werror_flag" ||
11992 test ! -s conftest.err
11993 } && test -s conftest.$ac_objext; then
11994 ac_header_compiler=yes
11995 else
11996 $as_echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
11999 ac_header_compiler=no
12002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12003 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12004 $as_echo "$ac_header_compiler" >&6; }
12006 # Is the header present?
12007 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12008 $as_echo_n "checking $ac_header presence... " >&6; }
12009 cat >conftest.$ac_ext <<_ACEOF
12010 /* confdefs.h. */
12011 _ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12015 #include <$ac_header>
12016 _ACEOF
12017 if { (ac_try="$ac_cpp conftest.$ac_ext"
12018 case "(($ac_try" in
12019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12020 *) ac_try_echo=$ac_try;;
12021 esac
12022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12023 $as_echo "$ac_try_echo") >&5
12024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12025 ac_status=$?
12026 grep -v '^ *+' conftest.er1 >conftest.err
12027 rm -f conftest.er1
12028 cat conftest.err >&5
12029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); } >/dev/null && {
12031 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12032 test ! -s conftest.err
12033 }; then
12034 ac_header_preproc=yes
12035 else
12036 $as_echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12039 ac_header_preproc=no
12042 rm -f conftest.err conftest.$ac_ext
12043 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12044 $as_echo "$ac_header_preproc" >&6; }
12046 # So? What about this header?
12047 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12048 yes:no: )
12049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12050 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12052 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12053 ac_header_preproc=yes
12055 no:yes:* )
12056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12057 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12059 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12061 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12063 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12065 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12067 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12068 ( cat <<\_ASBOX
12069 ## -------------------------------------- ##
12070 ## Report this to gambit@iro.umontreal.ca ##
12071 ## -------------------------------------- ##
12072 _ASBOX
12073 ) | sed "s/^/$as_me: WARNING: /" >&2
12075 esac
12076 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12077 $as_echo_n "checking for $ac_header... " >&6; }
12078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12079 $as_echo_n "(cached) " >&6
12080 else
12081 eval "$as_ac_Header=\$ac_header_preproc"
12083 ac_res=`eval 'as_val=${'$as_ac_Header'}
12084 $as_echo "$as_val"'`
12085 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12086 $as_echo "$ac_res" >&6; }
12089 if test `eval 'as_val=${'$as_ac_Header'}
12090 $as_echo "$as_val"'` = yes; then
12091 cat >>confdefs.h <<_ACEOF
12092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12093 _ACEOF
12097 done
12100 for ac_header in fenv.h
12102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12104 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12105 $as_echo_n "checking for $ac_header... " >&6; }
12106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12107 $as_echo_n "(cached) " >&6
12109 ac_res=`eval 'as_val=${'$as_ac_Header'}
12110 $as_echo "$as_val"'`
12111 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12112 $as_echo "$ac_res" >&6; }
12113 else
12114 # Is the header compilable?
12115 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12116 $as_echo_n "checking $ac_header usability... " >&6; }
12117 cat >conftest.$ac_ext <<_ACEOF
12118 /* confdefs.h. */
12119 _ACEOF
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 $ac_includes_default
12124 #include <$ac_header>
12125 _ACEOF
12126 rm -f conftest.$ac_objext
12127 if { (ac_try="$ac_compile"
12128 case "(($ac_try" in
12129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12130 *) ac_try_echo=$ac_try;;
12131 esac
12132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12133 $as_echo "$ac_try_echo") >&5
12134 (eval "$ac_compile") 2>conftest.er1
12135 ac_status=$?
12136 grep -v '^ *+' conftest.er1 >conftest.err
12137 rm -f conftest.er1
12138 cat conftest.err >&5
12139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); } && {
12141 test -z "$ac_cxx_werror_flag" ||
12142 test ! -s conftest.err
12143 } && test -s conftest.$ac_objext; then
12144 ac_header_compiler=yes
12145 else
12146 $as_echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ac_header_compiler=no
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12154 $as_echo "$ac_header_compiler" >&6; }
12156 # Is the header present?
12157 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12158 $as_echo_n "checking $ac_header presence... " >&6; }
12159 cat >conftest.$ac_ext <<_ACEOF
12160 /* confdefs.h. */
12161 _ACEOF
12162 cat confdefs.h >>conftest.$ac_ext
12163 cat >>conftest.$ac_ext <<_ACEOF
12164 /* end confdefs.h. */
12165 #include <$ac_header>
12166 _ACEOF
12167 if { (ac_try="$ac_cpp conftest.$ac_ext"
12168 case "(($ac_try" in
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12170 *) ac_try_echo=$ac_try;;
12171 esac
12172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12173 $as_echo "$ac_try_echo") >&5
12174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12175 ac_status=$?
12176 grep -v '^ *+' conftest.er1 >conftest.err
12177 rm -f conftest.er1
12178 cat conftest.err >&5
12179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } >/dev/null && {
12181 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12182 test ! -s conftest.err
12183 }; then
12184 ac_header_preproc=yes
12185 else
12186 $as_echo "$as_me: failed program was:" >&5
12187 sed 's/^/| /' conftest.$ac_ext >&5
12189 ac_header_preproc=no
12192 rm -f conftest.err conftest.$ac_ext
12193 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12194 $as_echo "$ac_header_preproc" >&6; }
12196 # So? What about this header?
12197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12198 yes:no: )
12199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12200 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12202 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12203 ac_header_preproc=yes
12205 no:yes:* )
12206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12207 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12209 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12211 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12213 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12215 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12217 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12218 ( cat <<\_ASBOX
12219 ## -------------------------------------- ##
12220 ## Report this to gambit@iro.umontreal.ca ##
12221 ## -------------------------------------- ##
12222 _ASBOX
12223 ) | sed "s/^/$as_me: WARNING: /" >&2
12225 esac
12226 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12227 $as_echo_n "checking for $ac_header... " >&6; }
12228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12229 $as_echo_n "(cached) " >&6
12230 else
12231 eval "$as_ac_Header=\$ac_header_preproc"
12233 ac_res=`eval 'as_val=${'$as_ac_Header'}
12234 $as_echo "$as_val"'`
12235 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12236 $as_echo "$ac_res" >&6; }
12239 if test `eval 'as_val=${'$as_ac_Header'}
12240 $as_echo "$as_val"'` = yes; then
12241 cat >>confdefs.h <<_ACEOF
12242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12243 _ACEOF
12247 done
12250 for ac_header in fcntl.h
12252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12254 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12255 $as_echo_n "checking for $ac_header... " >&6; }
12256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12257 $as_echo_n "(cached) " >&6
12259 ac_res=`eval 'as_val=${'$as_ac_Header'}
12260 $as_echo "$as_val"'`
12261 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12262 $as_echo "$ac_res" >&6; }
12263 else
12264 # Is the header compilable?
12265 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12266 $as_echo_n "checking $ac_header usability... " >&6; }
12267 cat >conftest.$ac_ext <<_ACEOF
12268 /* confdefs.h. */
12269 _ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 $ac_includes_default
12274 #include <$ac_header>
12275 _ACEOF
12276 rm -f conftest.$ac_objext
12277 if { (ac_try="$ac_compile"
12278 case "(($ac_try" in
12279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12280 *) ac_try_echo=$ac_try;;
12281 esac
12282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12283 $as_echo "$ac_try_echo") >&5
12284 (eval "$ac_compile") 2>conftest.er1
12285 ac_status=$?
12286 grep -v '^ *+' conftest.er1 >conftest.err
12287 rm -f conftest.er1
12288 cat conftest.err >&5
12289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } && {
12291 test -z "$ac_cxx_werror_flag" ||
12292 test ! -s conftest.err
12293 } && test -s conftest.$ac_objext; then
12294 ac_header_compiler=yes
12295 else
12296 $as_echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.$ac_ext >&5
12299 ac_header_compiler=no
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12304 $as_echo "$ac_header_compiler" >&6; }
12306 # Is the header present?
12307 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12308 $as_echo_n "checking $ac_header presence... " >&6; }
12309 cat >conftest.$ac_ext <<_ACEOF
12310 /* confdefs.h. */
12311 _ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 #include <$ac_header>
12316 _ACEOF
12317 if { (ac_try="$ac_cpp conftest.$ac_ext"
12318 case "(($ac_try" in
12319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12320 *) ac_try_echo=$ac_try;;
12321 esac
12322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12323 $as_echo "$ac_try_echo") >&5
12324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12325 ac_status=$?
12326 grep -v '^ *+' conftest.er1 >conftest.err
12327 rm -f conftest.er1
12328 cat conftest.err >&5
12329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } >/dev/null && {
12331 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12332 test ! -s conftest.err
12333 }; then
12334 ac_header_preproc=yes
12335 else
12336 $as_echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12339 ac_header_preproc=no
12342 rm -f conftest.err conftest.$ac_ext
12343 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12344 $as_echo "$ac_header_preproc" >&6; }
12346 # So? What about this header?
12347 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12348 yes:no: )
12349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12350 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12352 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12353 ac_header_preproc=yes
12355 no:yes:* )
12356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12357 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12359 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12361 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12363 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12365 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12367 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12368 ( cat <<\_ASBOX
12369 ## -------------------------------------- ##
12370 ## Report this to gambit@iro.umontreal.ca ##
12371 ## -------------------------------------- ##
12372 _ASBOX
12373 ) | sed "s/^/$as_me: WARNING: /" >&2
12375 esac
12376 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12377 $as_echo_n "checking for $ac_header... " >&6; }
12378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12379 $as_echo_n "(cached) " >&6
12380 else
12381 eval "$as_ac_Header=\$ac_header_preproc"
12383 ac_res=`eval 'as_val=${'$as_ac_Header'}
12384 $as_echo "$as_val"'`
12385 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12386 $as_echo "$ac_res" >&6; }
12389 if test `eval 'as_val=${'$as_ac_Header'}
12390 $as_echo "$as_val"'` = yes; then
12391 cat >>confdefs.h <<_ACEOF
12392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12393 _ACEOF
12397 done
12400 for ac_header in sys/ioctl.h
12402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12405 $as_echo_n "checking for $ac_header... " >&6; }
12406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12407 $as_echo_n "(cached) " >&6
12409 ac_res=`eval 'as_val=${'$as_ac_Header'}
12410 $as_echo "$as_val"'`
12411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12412 $as_echo "$ac_res" >&6; }
12413 else
12414 # Is the header compilable?
12415 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12416 $as_echo_n "checking $ac_header usability... " >&6; }
12417 cat >conftest.$ac_ext <<_ACEOF
12418 /* confdefs.h. */
12419 _ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 $ac_includes_default
12424 #include <$ac_header>
12425 _ACEOF
12426 rm -f conftest.$ac_objext
12427 if { (ac_try="$ac_compile"
12428 case "(($ac_try" in
12429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12430 *) ac_try_echo=$ac_try;;
12431 esac
12432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12433 $as_echo "$ac_try_echo") >&5
12434 (eval "$ac_compile") 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } && {
12441 test -z "$ac_cxx_werror_flag" ||
12442 test ! -s conftest.err
12443 } && test -s conftest.$ac_objext; then
12444 ac_header_compiler=yes
12445 else
12446 $as_echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 ac_header_compiler=no
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12454 $as_echo "$ac_header_compiler" >&6; }
12456 # Is the header present?
12457 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12458 $as_echo_n "checking $ac_header presence... " >&6; }
12459 cat >conftest.$ac_ext <<_ACEOF
12460 /* confdefs.h. */
12461 _ACEOF
12462 cat confdefs.h >>conftest.$ac_ext
12463 cat >>conftest.$ac_ext <<_ACEOF
12464 /* end confdefs.h. */
12465 #include <$ac_header>
12466 _ACEOF
12467 if { (ac_try="$ac_cpp conftest.$ac_ext"
12468 case "(($ac_try" in
12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470 *) ac_try_echo=$ac_try;;
12471 esac
12472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12473 $as_echo "$ac_try_echo") >&5
12474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12475 ac_status=$?
12476 grep -v '^ *+' conftest.er1 >conftest.err
12477 rm -f conftest.er1
12478 cat conftest.err >&5
12479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } >/dev/null && {
12481 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12482 test ! -s conftest.err
12483 }; then
12484 ac_header_preproc=yes
12485 else
12486 $as_echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12489 ac_header_preproc=no
12492 rm -f conftest.err conftest.$ac_ext
12493 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12494 $as_echo "$ac_header_preproc" >&6; }
12496 # So? What about this header?
12497 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12498 yes:no: )
12499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12500 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12502 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12503 ac_header_preproc=yes
12505 no:yes:* )
12506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12507 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12508 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12509 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12511 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12512 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12513 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12514 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12515 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12516 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12517 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12518 ( cat <<\_ASBOX
12519 ## -------------------------------------- ##
12520 ## Report this to gambit@iro.umontreal.ca ##
12521 ## -------------------------------------- ##
12522 _ASBOX
12523 ) | sed "s/^/$as_me: WARNING: /" >&2
12525 esac
12526 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12527 $as_echo_n "checking for $ac_header... " >&6; }
12528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12529 $as_echo_n "(cached) " >&6
12530 else
12531 eval "$as_ac_Header=\$ac_header_preproc"
12533 ac_res=`eval 'as_val=${'$as_ac_Header'}
12534 $as_echo "$as_val"'`
12535 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12536 $as_echo "$ac_res" >&6; }
12539 if test `eval 'as_val=${'$as_ac_Header'}
12540 $as_echo "$as_val"'` = yes; then
12541 cat >>confdefs.h <<_ACEOF
12542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12543 _ACEOF
12547 done
12550 for ac_header in sys/socket.h
12552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12554 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12555 $as_echo_n "checking for $ac_header... " >&6; }
12556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12557 $as_echo_n "(cached) " >&6
12559 ac_res=`eval 'as_val=${'$as_ac_Header'}
12560 $as_echo "$as_val"'`
12561 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12562 $as_echo "$ac_res" >&6; }
12563 else
12564 # Is the header compilable?
12565 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12566 $as_echo_n "checking $ac_header usability... " >&6; }
12567 cat >conftest.$ac_ext <<_ACEOF
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 $ac_includes_default
12574 #include <$ac_header>
12575 _ACEOF
12576 rm -f conftest.$ac_objext
12577 if { (ac_try="$ac_compile"
12578 case "(($ac_try" in
12579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12580 *) ac_try_echo=$ac_try;;
12581 esac
12582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12583 $as_echo "$ac_try_echo") >&5
12584 (eval "$ac_compile") 2>conftest.er1
12585 ac_status=$?
12586 grep -v '^ *+' conftest.er1 >conftest.err
12587 rm -f conftest.er1
12588 cat conftest.err >&5
12589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } && {
12591 test -z "$ac_cxx_werror_flag" ||
12592 test ! -s conftest.err
12593 } && test -s conftest.$ac_objext; then
12594 ac_header_compiler=yes
12595 else
12596 $as_echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 ac_header_compiler=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12603 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12604 $as_echo "$ac_header_compiler" >&6; }
12606 # Is the header present?
12607 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12608 $as_echo_n "checking $ac_header presence... " >&6; }
12609 cat >conftest.$ac_ext <<_ACEOF
12610 /* confdefs.h. */
12611 _ACEOF
12612 cat confdefs.h >>conftest.$ac_ext
12613 cat >>conftest.$ac_ext <<_ACEOF
12614 /* end confdefs.h. */
12615 #include <$ac_header>
12616 _ACEOF
12617 if { (ac_try="$ac_cpp conftest.$ac_ext"
12618 case "(($ac_try" in
12619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12620 *) ac_try_echo=$ac_try;;
12621 esac
12622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12623 $as_echo "$ac_try_echo") >&5
12624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12625 ac_status=$?
12626 grep -v '^ *+' conftest.er1 >conftest.err
12627 rm -f conftest.er1
12628 cat conftest.err >&5
12629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } >/dev/null && {
12631 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12632 test ! -s conftest.err
12633 }; then
12634 ac_header_preproc=yes
12635 else
12636 $as_echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.$ac_ext >&5
12639 ac_header_preproc=no
12642 rm -f conftest.err conftest.$ac_ext
12643 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12644 $as_echo "$ac_header_preproc" >&6; }
12646 # So? What about this header?
12647 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12648 yes:no: )
12649 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12650 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12651 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12652 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12653 ac_header_preproc=yes
12655 no:yes:* )
12656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12657 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12659 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12661 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12663 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12664 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12665 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12666 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12667 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12668 ( cat <<\_ASBOX
12669 ## -------------------------------------- ##
12670 ## Report this to gambit@iro.umontreal.ca ##
12671 ## -------------------------------------- ##
12672 _ASBOX
12673 ) | sed "s/^/$as_me: WARNING: /" >&2
12675 esac
12676 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12677 $as_echo_n "checking for $ac_header... " >&6; }
12678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12679 $as_echo_n "(cached) " >&6
12680 else
12681 eval "$as_ac_Header=\$ac_header_preproc"
12683 ac_res=`eval 'as_val=${'$as_ac_Header'}
12684 $as_echo "$as_val"'`
12685 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12686 $as_echo "$ac_res" >&6; }
12689 if test `eval 'as_val=${'$as_ac_Header'}
12690 $as_echo "$as_val"'` = yes; then
12691 cat >>confdefs.h <<_ACEOF
12692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12693 _ACEOF
12697 done
12700 for ac_header in strings.h
12702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12704 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12705 $as_echo_n "checking for $ac_header... " >&6; }
12706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12707 $as_echo_n "(cached) " >&6
12709 ac_res=`eval 'as_val=${'$as_ac_Header'}
12710 $as_echo "$as_val"'`
12711 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12712 $as_echo "$ac_res" >&6; }
12713 else
12714 # Is the header compilable?
12715 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12716 $as_echo_n "checking $ac_header usability... " >&6; }
12717 cat >conftest.$ac_ext <<_ACEOF
12718 /* confdefs.h. */
12719 _ACEOF
12720 cat confdefs.h >>conftest.$ac_ext
12721 cat >>conftest.$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12723 $ac_includes_default
12724 #include <$ac_header>
12725 _ACEOF
12726 rm -f conftest.$ac_objext
12727 if { (ac_try="$ac_compile"
12728 case "(($ac_try" in
12729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12730 *) ac_try_echo=$ac_try;;
12731 esac
12732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12733 $as_echo "$ac_try_echo") >&5
12734 (eval "$ac_compile") 2>conftest.er1
12735 ac_status=$?
12736 grep -v '^ *+' conftest.er1 >conftest.err
12737 rm -f conftest.er1
12738 cat conftest.err >&5
12739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } && {
12741 test -z "$ac_cxx_werror_flag" ||
12742 test ! -s conftest.err
12743 } && test -s conftest.$ac_objext; then
12744 ac_header_compiler=yes
12745 else
12746 $as_echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.$ac_ext >&5
12749 ac_header_compiler=no
12752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12753 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12754 $as_echo "$ac_header_compiler" >&6; }
12756 # Is the header present?
12757 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12758 $as_echo_n "checking $ac_header presence... " >&6; }
12759 cat >conftest.$ac_ext <<_ACEOF
12760 /* confdefs.h. */
12761 _ACEOF
12762 cat confdefs.h >>conftest.$ac_ext
12763 cat >>conftest.$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12765 #include <$ac_header>
12766 _ACEOF
12767 if { (ac_try="$ac_cpp conftest.$ac_ext"
12768 case "(($ac_try" in
12769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12771 esac
12772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12773 $as_echo "$ac_try_echo") >&5
12774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12775 ac_status=$?
12776 grep -v '^ *+' conftest.er1 >conftest.err
12777 rm -f conftest.er1
12778 cat conftest.err >&5
12779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } >/dev/null && {
12781 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12782 test ! -s conftest.err
12783 }; then
12784 ac_header_preproc=yes
12785 else
12786 $as_echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.$ac_ext >&5
12789 ac_header_preproc=no
12792 rm -f conftest.err conftest.$ac_ext
12793 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12794 $as_echo "$ac_header_preproc" >&6; }
12796 # So? What about this header?
12797 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12798 yes:no: )
12799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12800 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12802 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12803 ac_header_preproc=yes
12805 no:yes:* )
12806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12807 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12809 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12811 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12813 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12815 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12816 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12817 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12818 ( cat <<\_ASBOX
12819 ## -------------------------------------- ##
12820 ## Report this to gambit@iro.umontreal.ca ##
12821 ## -------------------------------------- ##
12822 _ASBOX
12823 ) | sed "s/^/$as_me: WARNING: /" >&2
12825 esac
12826 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12827 $as_echo_n "checking for $ac_header... " >&6; }
12828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12829 $as_echo_n "(cached) " >&6
12830 else
12831 eval "$as_ac_Header=\$ac_header_preproc"
12833 ac_res=`eval 'as_val=${'$as_ac_Header'}
12834 $as_echo "$as_val"'`
12835 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12836 $as_echo "$ac_res" >&6; }
12839 if test `eval 'as_val=${'$as_ac_Header'}
12840 $as_echo "$as_val"'` = yes; then
12841 cat >>confdefs.h <<_ACEOF
12842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12843 _ACEOF
12847 done
12850 for ac_header in memory.h
12852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12854 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12855 $as_echo_n "checking for $ac_header... " >&6; }
12856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12857 $as_echo_n "(cached) " >&6
12859 ac_res=`eval 'as_val=${'$as_ac_Header'}
12860 $as_echo "$as_val"'`
12861 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12862 $as_echo "$ac_res" >&6; }
12863 else
12864 # Is the header compilable?
12865 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12866 $as_echo_n "checking $ac_header usability... " >&6; }
12867 cat >conftest.$ac_ext <<_ACEOF
12868 /* confdefs.h. */
12869 _ACEOF
12870 cat confdefs.h >>conftest.$ac_ext
12871 cat >>conftest.$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12873 $ac_includes_default
12874 #include <$ac_header>
12875 _ACEOF
12876 rm -f conftest.$ac_objext
12877 if { (ac_try="$ac_compile"
12878 case "(($ac_try" in
12879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12880 *) ac_try_echo=$ac_try;;
12881 esac
12882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12883 $as_echo "$ac_try_echo") >&5
12884 (eval "$ac_compile") 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } && {
12891 test -z "$ac_cxx_werror_flag" ||
12892 test ! -s conftest.err
12893 } && test -s conftest.$ac_objext; then
12894 ac_header_compiler=yes
12895 else
12896 $as_echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 ac_header_compiler=no
12902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12903 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12904 $as_echo "$ac_header_compiler" >&6; }
12906 # Is the header present?
12907 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12908 $as_echo_n "checking $ac_header presence... " >&6; }
12909 cat >conftest.$ac_ext <<_ACEOF
12910 /* confdefs.h. */
12911 _ACEOF
12912 cat confdefs.h >>conftest.$ac_ext
12913 cat >>conftest.$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12915 #include <$ac_header>
12916 _ACEOF
12917 if { (ac_try="$ac_cpp conftest.$ac_ext"
12918 case "(($ac_try" in
12919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12920 *) ac_try_echo=$ac_try;;
12921 esac
12922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12923 $as_echo "$ac_try_echo") >&5
12924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12925 ac_status=$?
12926 grep -v '^ *+' conftest.er1 >conftest.err
12927 rm -f conftest.er1
12928 cat conftest.err >&5
12929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } >/dev/null && {
12931 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12932 test ! -s conftest.err
12933 }; then
12934 ac_header_preproc=yes
12935 else
12936 $as_echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.$ac_ext >&5
12939 ac_header_preproc=no
12942 rm -f conftest.err conftest.$ac_ext
12943 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12944 $as_echo "$ac_header_preproc" >&6; }
12946 # So? What about this header?
12947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12948 yes:no: )
12949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12950 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12952 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12953 ac_header_preproc=yes
12955 no:yes:* )
12956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12957 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12958 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12959 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12961 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12963 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12965 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12967 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12968 ( cat <<\_ASBOX
12969 ## -------------------------------------- ##
12970 ## Report this to gambit@iro.umontreal.ca ##
12971 ## -------------------------------------- ##
12972 _ASBOX
12973 ) | sed "s/^/$as_me: WARNING: /" >&2
12975 esac
12976 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12977 $as_echo_n "checking for $ac_header... " >&6; }
12978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12979 $as_echo_n "(cached) " >&6
12980 else
12981 eval "$as_ac_Header=\$ac_header_preproc"
12983 ac_res=`eval 'as_val=${'$as_ac_Header'}
12984 $as_echo "$as_val"'`
12985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12986 $as_echo "$ac_res" >&6; }
12989 if test `eval 'as_val=${'$as_ac_Header'}
12990 $as_echo "$as_val"'` = yes; then
12991 cat >>confdefs.h <<_ACEOF
12992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12993 _ACEOF
12997 done
13000 for ac_header in sys/sysctl.h
13002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13004 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13005 $as_echo_n "checking for $ac_header... " >&6; }
13006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13007 $as_echo_n "(cached) " >&6
13009 ac_res=`eval 'as_val=${'$as_ac_Header'}
13010 $as_echo "$as_val"'`
13011 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13012 $as_echo "$ac_res" >&6; }
13013 else
13014 # Is the header compilable?
13015 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13016 $as_echo_n "checking $ac_header usability... " >&6; }
13017 cat >conftest.$ac_ext <<_ACEOF
13018 /* confdefs.h. */
13019 _ACEOF
13020 cat confdefs.h >>conftest.$ac_ext
13021 cat >>conftest.$ac_ext <<_ACEOF
13022 /* end confdefs.h. */
13023 $ac_includes_default
13024 #include <$ac_header>
13025 _ACEOF
13026 rm -f conftest.$ac_objext
13027 if { (ac_try="$ac_compile"
13028 case "(($ac_try" in
13029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13030 *) ac_try_echo=$ac_try;;
13031 esac
13032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13033 $as_echo "$ac_try_echo") >&5
13034 (eval "$ac_compile") 2>conftest.er1
13035 ac_status=$?
13036 grep -v '^ *+' conftest.er1 >conftest.err
13037 rm -f conftest.er1
13038 cat conftest.err >&5
13039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } && {
13041 test -z "$ac_cxx_werror_flag" ||
13042 test ! -s conftest.err
13043 } && test -s conftest.$ac_objext; then
13044 ac_header_compiler=yes
13045 else
13046 $as_echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.$ac_ext >&5
13049 ac_header_compiler=no
13052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13054 $as_echo "$ac_header_compiler" >&6; }
13056 # Is the header present?
13057 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13058 $as_echo_n "checking $ac_header presence... " >&6; }
13059 cat >conftest.$ac_ext <<_ACEOF
13060 /* confdefs.h. */
13061 _ACEOF
13062 cat confdefs.h >>conftest.$ac_ext
13063 cat >>conftest.$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 #include <$ac_header>
13066 _ACEOF
13067 if { (ac_try="$ac_cpp conftest.$ac_ext"
13068 case "(($ac_try" in
13069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13071 esac
13072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13073 $as_echo "$ac_try_echo") >&5
13074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13075 ac_status=$?
13076 grep -v '^ *+' conftest.er1 >conftest.err
13077 rm -f conftest.er1
13078 cat conftest.err >&5
13079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } >/dev/null && {
13081 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13082 test ! -s conftest.err
13083 }; then
13084 ac_header_preproc=yes
13085 else
13086 $as_echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.$ac_ext >&5
13089 ac_header_preproc=no
13092 rm -f conftest.err conftest.$ac_ext
13093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13094 $as_echo "$ac_header_preproc" >&6; }
13096 # So? What about this header?
13097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13098 yes:no: )
13099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13100 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13102 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13103 ac_header_preproc=yes
13105 no:yes:* )
13106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13107 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13109 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13111 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13113 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13115 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13117 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13118 ( cat <<\_ASBOX
13119 ## -------------------------------------- ##
13120 ## Report this to gambit@iro.umontreal.ca ##
13121 ## -------------------------------------- ##
13122 _ASBOX
13123 ) | sed "s/^/$as_me: WARNING: /" >&2
13125 esac
13126 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13127 $as_echo_n "checking for $ac_header... " >&6; }
13128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13129 $as_echo_n "(cached) " >&6
13130 else
13131 eval "$as_ac_Header=\$ac_header_preproc"
13133 ac_res=`eval 'as_val=${'$as_ac_Header'}
13134 $as_echo "$as_val"'`
13135 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13136 $as_echo "$ac_res" >&6; }
13139 if test `eval 'as_val=${'$as_ac_Header'}
13140 $as_echo "$as_val"'` = yes; then
13141 cat >>confdefs.h <<_ACEOF
13142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13143 _ACEOF
13147 done
13150 if test "$C_COMP_VISUALC" != yes; then
13154 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
13155 $as_echo_n "checking for socklen_t... " >&6; }
13156 if test "${ac_cv_type_socklen_t+set}" = set; then
13157 $as_echo_n "(cached) " >&6
13158 else
13160 cat >conftest.$ac_ext <<_ACEOF
13161 /* confdefs.h. */
13162 _ACEOF
13163 cat confdefs.h >>conftest.$ac_ext
13164 cat >>conftest.$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13166 #include <sys/types.h>
13167 #include <sys/socket.h>
13169 main ()
13171 socklen_t len = 42; return 0;
13173 return 0;
13175 _ACEOF
13176 rm -f conftest.$ac_objext
13177 if { (ac_try="$ac_compile"
13178 case "(($ac_try" in
13179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13180 *) ac_try_echo=$ac_try;;
13181 esac
13182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13183 $as_echo "$ac_try_echo") >&5
13184 (eval "$ac_compile") 2>conftest.er1
13185 ac_status=$?
13186 grep -v '^ *+' conftest.er1 >conftest.err
13187 rm -f conftest.er1
13188 cat conftest.err >&5
13189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); } && {
13191 test -z "$ac_cxx_werror_flag" ||
13192 test ! -s conftest.err
13193 } && test -s conftest.$ac_objext; then
13194 ac_cv_type_socklen_t=yes
13195 else
13196 $as_echo "$as_me: failed program was:" >&5
13197 sed 's/^/| /' conftest.$ac_ext >&5
13199 ac_cv_type_socklen_t=no
13202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13205 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13206 $as_echo "$ac_cv_type_socklen_t" >&6; }
13207 if test $ac_cv_type_socklen_t != yes; then
13208 cat >>confdefs.h <<\_ACEOF
13209 #define socklen_t int
13210 _ACEOF
13217 #AC_TYPE_MODE_T
13218 #AC_TYPE_OFF_T
13219 #AC_TYPE_PID_T
13220 #AC_TYPE_SIGNAL
13221 #AC_TYPE_SIZE_T
13222 #AC_TYPE_UID_T
13224 #AC_HEADER_DIRENT
13225 #AC_HEADER_STAT
13226 #AC_HEADER_STDC
13227 #AC_HEADER_SYS_WAIT
13228 #AC_HEADER_TIME
13229 #AC_HEADER_TIOCGWINSZ
13230 #AC_FUNC_SELECT_ARGTYPES
13232 #AC_FUNC_CLOSEDIR_VOID
13233 #AC_FUNC_FSEEKO
13234 #AC_FUNC_STAT
13235 #AC_FUNC_LSTAT
13237 if test "$C_COMP_VISUALC" = yes; then
13239 LIBS="$LIBS Kernel32.Lib User32.Lib Gdi32.Lib WS2_32.Lib"
13240 FLAGS_OBJ="$FLAGS_OBJ -D_WINDOWS"
13242 else
13244 case "$target_os" in
13246 mingw*) # add Windows libraries needed by MinGW
13247 LIBS="$LIBS -lws2_32"
13248 FLAGS_OBJ="$FLAGS_OBJ -D_WINDOWS"
13251 *) # check libraries for other systems
13252 { $as_echo "$as_me:$LINENO: checking for library containing asin" >&5
13253 $as_echo_n "checking for library containing asin... " >&6; }
13254 if test "${ac_cv_search_asin+set}" = set; then
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_func_search_save_LIBS=$LIBS
13258 cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h. */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13268 #ifdef __cplusplus
13269 extern "C"
13270 #endif
13271 char asin ();
13273 main ()
13275 return asin ();
13277 return 0;
13279 _ACEOF
13280 for ac_lib in '' m; do
13281 if test -z "$ac_lib"; then
13282 ac_res="none required"
13283 else
13284 ac_res=-l$ac_lib
13285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13287 rm -f conftest.$ac_objext conftest$ac_exeext
13288 if { (ac_try="$ac_link"
13289 case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13292 esac
13293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13294 $as_echo "$ac_try_echo") >&5
13295 (eval "$ac_link") 2>conftest.er1
13296 ac_status=$?
13297 grep -v '^ *+' conftest.er1 >conftest.err
13298 rm -f conftest.er1
13299 cat conftest.err >&5
13300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } && {
13302 test -z "$ac_cxx_werror_flag" ||
13303 test ! -s conftest.err
13304 } && test -s conftest$ac_exeext && {
13305 test "$cross_compiling" = yes ||
13306 $as_test_x conftest$ac_exeext
13307 }; then
13308 ac_cv_search_asin=$ac_res
13309 else
13310 $as_echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13316 rm -rf conftest.dSYM
13317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13318 conftest$ac_exeext
13319 if test "${ac_cv_search_asin+set}" = set; then
13320 break
13322 done
13323 if test "${ac_cv_search_asin+set}" = set; then
13325 else
13326 ac_cv_search_asin=no
13328 rm conftest.$ac_ext
13329 LIBS=$ac_func_search_save_LIBS
13331 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_asin" >&5
13332 $as_echo "$ac_cv_search_asin" >&6; }
13333 ac_res=$ac_cv_search_asin
13334 if test "$ac_res" != no; then
13335 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13341 $as_echo_n "checking for library containing dlopen... " >&6; }
13342 if test "${ac_cv_search_dlopen+set}" = set; then
13343 $as_echo_n "(cached) " >&6
13344 else
13345 ac_func_search_save_LIBS=$LIBS
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13356 #ifdef __cplusplus
13357 extern "C"
13358 #endif
13359 char dlopen ();
13361 main ()
13363 return dlopen ();
13365 return 0;
13367 _ACEOF
13368 for ac_lib in '' dl; do
13369 if test -z "$ac_lib"; then
13370 ac_res="none required"
13371 else
13372 ac_res=-l$ac_lib
13373 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13375 rm -f conftest.$ac_objext conftest$ac_exeext
13376 if { (ac_try="$ac_link"
13377 case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13382 $as_echo "$ac_try_echo") >&5
13383 (eval "$ac_link") 2>conftest.er1
13384 ac_status=$?
13385 grep -v '^ *+' conftest.er1 >conftest.err
13386 rm -f conftest.er1
13387 cat conftest.err >&5
13388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_cxx_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest$ac_exeext && {
13393 test "$cross_compiling" = yes ||
13394 $as_test_x conftest$ac_exeext
13395 }; then
13396 ac_cv_search_dlopen=$ac_res
13397 else
13398 $as_echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13404 rm -rf conftest.dSYM
13405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13406 conftest$ac_exeext
13407 if test "${ac_cv_search_dlopen+set}" = set; then
13408 break
13410 done
13411 if test "${ac_cv_search_dlopen+set}" = set; then
13413 else
13414 ac_cv_search_dlopen=no
13416 rm conftest.$ac_ext
13417 LIBS=$ac_func_search_save_LIBS
13419 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13420 $as_echo "$ac_cv_search_dlopen" >&6; }
13421 ac_res=$ac_cv_search_dlopen
13422 if test "$ac_res" != no; then
13423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13427 { $as_echo "$as_me:$LINENO: checking for library containing shl_load" >&5
13428 $as_echo_n "checking for library containing shl_load... " >&6; }
13429 if test "${ac_cv_search_shl_load+set}" = set; then
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_func_search_save_LIBS=$LIBS
13433 cat >conftest.$ac_ext <<_ACEOF
13434 /* confdefs.h. */
13435 _ACEOF
13436 cat confdefs.h >>conftest.$ac_ext
13437 cat >>conftest.$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char shl_load ();
13448 main ()
13450 return shl_load ();
13452 return 0;
13454 _ACEOF
13455 for ac_lib in '' dld; do
13456 if test -z "$ac_lib"; then
13457 ac_res="none required"
13458 else
13459 ac_res=-l$ac_lib
13460 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (ac_try="$ac_link"
13464 case "(($ac_try" in
13465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13466 *) ac_try_echo=$ac_try;;
13467 esac
13468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13469 $as_echo "$ac_try_echo") >&5
13470 (eval "$ac_link") 2>conftest.er1
13471 ac_status=$?
13472 grep -v '^ *+' conftest.er1 >conftest.err
13473 rm -f conftest.er1
13474 cat conftest.err >&5
13475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } && {
13477 test -z "$ac_cxx_werror_flag" ||
13478 test ! -s conftest.err
13479 } && test -s conftest$ac_exeext && {
13480 test "$cross_compiling" = yes ||
13481 $as_test_x conftest$ac_exeext
13482 }; then
13483 ac_cv_search_shl_load=$ac_res
13484 else
13485 $as_echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13491 rm -rf conftest.dSYM
13492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13493 conftest$ac_exeext
13494 if test "${ac_cv_search_shl_load+set}" = set; then
13495 break
13497 done
13498 if test "${ac_cv_search_shl_load+set}" = set; then
13500 else
13501 ac_cv_search_shl_load=no
13503 rm conftest.$ac_ext
13504 LIBS=$ac_func_search_save_LIBS
13506 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_shl_load" >&5
13507 $as_echo "$ac_cv_search_shl_load" >&6; }
13508 ac_res=$ac_cv_search_shl_load
13509 if test "$ac_res" != no; then
13510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13515 #AC_SEARCH_LIBS(tgetstr,ncurses curses)
13516 #AC_SEARCH_LIBS(tigetstr,ncurses curses)
13518 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
13519 $as_echo_n "checking for library containing socket... " >&6; }
13520 if test "${ac_cv_search_socket+set}" = set; then
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_func_search_save_LIBS=$LIBS
13524 cat >conftest.$ac_ext <<_ACEOF
13525 /* confdefs.h. */
13526 _ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char socket ();
13539 main ()
13541 return socket ();
13543 return 0;
13545 _ACEOF
13546 for ac_lib in '' socket; do
13547 if test -z "$ac_lib"; then
13548 ac_res="none required"
13549 else
13550 ac_res=-l$ac_lib
13551 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13553 rm -f conftest.$ac_objext conftest$ac_exeext
13554 if { (ac_try="$ac_link"
13555 case "(($ac_try" in
13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13558 esac
13559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13560 $as_echo "$ac_try_echo") >&5
13561 (eval "$ac_link") 2>conftest.er1
13562 ac_status=$?
13563 grep -v '^ *+' conftest.er1 >conftest.err
13564 rm -f conftest.er1
13565 cat conftest.err >&5
13566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); } && {
13568 test -z "$ac_cxx_werror_flag" ||
13569 test ! -s conftest.err
13570 } && test -s conftest$ac_exeext && {
13571 test "$cross_compiling" = yes ||
13572 $as_test_x conftest$ac_exeext
13573 }; then
13574 ac_cv_search_socket=$ac_res
13575 else
13576 $as_echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.$ac_ext >&5
13582 rm -rf conftest.dSYM
13583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13584 conftest$ac_exeext
13585 if test "${ac_cv_search_socket+set}" = set; then
13586 break
13588 done
13589 if test "${ac_cv_search_socket+set}" = set; then
13591 else
13592 ac_cv_search_socket=no
13594 rm conftest.$ac_ext
13595 LIBS=$ac_func_search_save_LIBS
13597 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
13598 $as_echo "$ac_cv_search_socket" >&6; }
13599 ac_res=$ac_cv_search_socket
13600 if test "$ac_res" != no; then
13601 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13606 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
13607 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13608 if test "${ac_cv_search_gethostbyname+set}" = set; then
13609 $as_echo_n "(cached) " >&6
13610 else
13611 ac_func_search_save_LIBS=$LIBS
13612 cat >conftest.$ac_ext <<_ACEOF
13613 /* confdefs.h. */
13614 _ACEOF
13615 cat confdefs.h >>conftest.$ac_ext
13616 cat >>conftest.$ac_ext <<_ACEOF
13617 /* end confdefs.h. */
13619 /* Override any GCC internal prototype to avoid an error.
13620 Use char because int might match the return type of a GCC
13621 builtin and then its argument prototype would still apply. */
13622 #ifdef __cplusplus
13623 extern "C"
13624 #endif
13625 char gethostbyname ();
13627 main ()
13629 return gethostbyname ();
13631 return 0;
13633 _ACEOF
13634 for ac_lib in '' nsl resolv xnet; do
13635 if test -z "$ac_lib"; then
13636 ac_res="none required"
13637 else
13638 ac_res=-l$ac_lib
13639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13641 rm -f conftest.$ac_objext conftest$ac_exeext
13642 if { (ac_try="$ac_link"
13643 case "(($ac_try" in
13644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13645 *) ac_try_echo=$ac_try;;
13646 esac
13647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13648 $as_echo "$ac_try_echo") >&5
13649 (eval "$ac_link") 2>conftest.er1
13650 ac_status=$?
13651 grep -v '^ *+' conftest.er1 >conftest.err
13652 rm -f conftest.er1
13653 cat conftest.err >&5
13654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } && {
13656 test -z "$ac_cxx_werror_flag" ||
13657 test ! -s conftest.err
13658 } && test -s conftest$ac_exeext && {
13659 test "$cross_compiling" = yes ||
13660 $as_test_x conftest$ac_exeext
13661 }; then
13662 ac_cv_search_gethostbyname=$ac_res
13663 else
13664 $as_echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13670 rm -rf conftest.dSYM
13671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13672 conftest$ac_exeext
13673 if test "${ac_cv_search_gethostbyname+set}" = set; then
13674 break
13676 done
13677 if test "${ac_cv_search_gethostbyname+set}" = set; then
13679 else
13680 ac_cv_search_gethostbyname=no
13682 rm conftest.$ac_ext
13683 LIBS=$ac_func_search_save_LIBS
13685 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
13686 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13687 ac_res=$ac_cv_search_gethostbyname
13688 if test "$ac_res" != no; then
13689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13694 { $as_echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
13695 $as_echo_n "checking for library containing hstrerror... " >&6; }
13696 if test "${ac_cv_search_hstrerror+set}" = set; then
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_func_search_save_LIBS=$LIBS
13700 cat >conftest.$ac_ext <<_ACEOF
13701 /* confdefs.h. */
13702 _ACEOF
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13707 /* Override any GCC internal prototype to avoid an error.
13708 Use char because int might match the return type of a GCC
13709 builtin and then its argument prototype would still apply. */
13710 #ifdef __cplusplus
13711 extern "C"
13712 #endif
13713 char hstrerror ();
13715 main ()
13717 return hstrerror ();
13719 return 0;
13721 _ACEOF
13722 for ac_lib in '' resolv; do
13723 if test -z "$ac_lib"; then
13724 ac_res="none required"
13725 else
13726 ac_res=-l$ac_lib
13727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13729 rm -f conftest.$ac_objext conftest$ac_exeext
13730 if { (ac_try="$ac_link"
13731 case "(($ac_try" in
13732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13733 *) ac_try_echo=$ac_try;;
13734 esac
13735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13736 $as_echo "$ac_try_echo") >&5
13737 (eval "$ac_link") 2>conftest.er1
13738 ac_status=$?
13739 grep -v '^ *+' conftest.er1 >conftest.err
13740 rm -f conftest.er1
13741 cat conftest.err >&5
13742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } && {
13744 test -z "$ac_cxx_werror_flag" ||
13745 test ! -s conftest.err
13746 } && test -s conftest$ac_exeext && {
13747 test "$cross_compiling" = yes ||
13748 $as_test_x conftest$ac_exeext
13749 }; then
13750 ac_cv_search_hstrerror=$ac_res
13751 else
13752 $as_echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.$ac_ext >&5
13758 rm -rf conftest.dSYM
13759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13760 conftest$ac_exeext
13761 if test "${ac_cv_search_hstrerror+set}" = set; then
13762 break
13764 done
13765 if test "${ac_cv_search_hstrerror+set}" = set; then
13767 else
13768 ac_cv_search_hstrerror=no
13770 rm conftest.$ac_ext
13771 LIBS=$ac_func_search_save_LIBS
13773 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
13774 $as_echo "$ac_cv_search_hstrerror" >&6; }
13775 ac_res=$ac_cv_search_hstrerror
13776 if test "$ac_res" != no; then
13777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13782 { $as_echo "$as_me:$LINENO: checking for library containing openpty" >&5
13783 $as_echo_n "checking for library containing openpty... " >&6; }
13784 if test "${ac_cv_search_openpty+set}" = set; then
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_func_search_save_LIBS=$LIBS
13788 cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h. */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 #ifdef __cplusplus
13799 extern "C"
13800 #endif
13801 char openpty ();
13803 main ()
13805 return openpty ();
13807 return 0;
13809 _ACEOF
13810 for ac_lib in '' util; do
13811 if test -z "$ac_lib"; then
13812 ac_res="none required"
13813 else
13814 ac_res=-l$ac_lib
13815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13817 rm -f conftest.$ac_objext conftest$ac_exeext
13818 if { (ac_try="$ac_link"
13819 case "(($ac_try" in
13820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13822 esac
13823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13824 $as_echo "$ac_try_echo") >&5
13825 (eval "$ac_link") 2>conftest.er1
13826 ac_status=$?
13827 grep -v '^ *+' conftest.er1 >conftest.err
13828 rm -f conftest.er1
13829 cat conftest.err >&5
13830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } && {
13832 test -z "$ac_cxx_werror_flag" ||
13833 test ! -s conftest.err
13834 } && test -s conftest$ac_exeext && {
13835 test "$cross_compiling" = yes ||
13836 $as_test_x conftest$ac_exeext
13837 }; then
13838 ac_cv_search_openpty=$ac_res
13839 else
13840 $as_echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13846 rm -rf conftest.dSYM
13847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13848 conftest$ac_exeext
13849 if test "${ac_cv_search_openpty+set}" = set; then
13850 break
13852 done
13853 if test "${ac_cv_search_openpty+set}" = set; then
13855 else
13856 ac_cv_search_openpty=no
13858 rm conftest.$ac_ext
13859 LIBS=$ac_func_search_save_LIBS
13861 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
13862 $as_echo "$ac_cv_search_openpty" >&6; }
13863 ac_res=$ac_cv_search_openpty
13864 if test "$ac_res" != no; then
13865 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13870 { $as_echo "$as_me:$LINENO: checking for library containing WSAStartup" >&5
13871 $as_echo_n "checking for library containing WSAStartup... " >&6; }
13872 if test "${ac_cv_search_WSAStartup+set}" = set; then
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_func_search_save_LIBS=$LIBS
13876 cat >conftest.$ac_ext <<_ACEOF
13877 /* confdefs.h. */
13878 _ACEOF
13879 cat confdefs.h >>conftest.$ac_ext
13880 cat >>conftest.$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 #ifdef __cplusplus
13887 extern "C"
13888 #endif
13889 char WSAStartup ();
13891 main ()
13893 return WSAStartup ();
13895 return 0;
13897 _ACEOF
13898 for ac_lib in '' ws2_32; do
13899 if test -z "$ac_lib"; then
13900 ac_res="none required"
13901 else
13902 ac_res=-l$ac_lib
13903 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13912 $as_echo "$ac_try_echo") >&5
13913 (eval "$ac_link") 2>conftest.er1
13914 ac_status=$?
13915 grep -v '^ *+' conftest.er1 >conftest.err
13916 rm -f conftest.er1
13917 cat conftest.err >&5
13918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); } && {
13920 test -z "$ac_cxx_werror_flag" ||
13921 test ! -s conftest.err
13922 } && test -s conftest$ac_exeext && {
13923 test "$cross_compiling" = yes ||
13924 $as_test_x conftest$ac_exeext
13925 }; then
13926 ac_cv_search_WSAStartup=$ac_res
13927 else
13928 $as_echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13934 rm -rf conftest.dSYM
13935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13936 conftest$ac_exeext
13937 if test "${ac_cv_search_WSAStartup+set}" = set; then
13938 break
13940 done
13941 if test "${ac_cv_search_WSAStartup+set}" = set; then
13943 else
13944 ac_cv_search_WSAStartup=no
13946 rm conftest.$ac_ext
13947 LIBS=$ac_func_search_save_LIBS
13949 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_WSAStartup" >&5
13950 $as_echo "$ac_cv_search_WSAStartup" >&6; }
13951 ac_res=$ac_cv_search_WSAStartup
13952 if test "$ac_res" != no; then
13953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13958 esac
13963 for ac_func in pipe
13965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13966 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13967 $as_echo_n "checking for $ac_func... " >&6; }
13968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13969 $as_echo_n "(cached) " >&6
13970 else
13971 cat >conftest.$ac_ext <<_ACEOF
13972 /* confdefs.h. */
13973 _ACEOF
13974 cat confdefs.h >>conftest.$ac_ext
13975 cat >>conftest.$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13979 #define $ac_func innocuous_$ac_func
13981 /* System header to define __stub macros and hopefully few prototypes,
13982 which can conflict with char $ac_func (); below.
13983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13984 <limits.h> exists even on freestanding compilers. */
13986 #ifdef __STDC__
13987 # include <limits.h>
13988 #else
13989 # include <assert.h>
13990 #endif
13992 #undef $ac_func
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char $ac_func ();
14001 /* The GNU C library defines this for functions which it implements
14002 to always fail with ENOSYS. Some functions are actually named
14003 something starting with __ and the normal name is an alias. */
14004 #if defined __stub_$ac_func || defined __stub___$ac_func
14005 choke me
14006 #endif
14009 main ()
14011 return $ac_func ();
14013 return 0;
14015 _ACEOF
14016 rm -f conftest.$ac_objext conftest$ac_exeext
14017 if { (ac_try="$ac_link"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14021 esac
14022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14023 $as_echo "$ac_try_echo") >&5
14024 (eval "$ac_link") 2>conftest.er1
14025 ac_status=$?
14026 grep -v '^ *+' conftest.er1 >conftest.err
14027 rm -f conftest.er1
14028 cat conftest.err >&5
14029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } && {
14031 test -z "$ac_cxx_werror_flag" ||
14032 test ! -s conftest.err
14033 } && test -s conftest$ac_exeext && {
14034 test "$cross_compiling" = yes ||
14035 $as_test_x conftest$ac_exeext
14036 }; then
14037 eval "$as_ac_var=yes"
14038 else
14039 $as_echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14042 eval "$as_ac_var=no"
14045 rm -rf conftest.dSYM
14046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14047 conftest$ac_exeext conftest.$ac_ext
14049 ac_res=`eval 'as_val=${'$as_ac_var'}
14050 $as_echo "$as_val"'`
14051 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14052 $as_echo "$ac_res" >&6; }
14053 if test `eval 'as_val=${'$as_ac_var'}
14054 $as_echo "$as_val"'` = yes; then
14055 cat >>confdefs.h <<_ACEOF
14056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14057 _ACEOF
14060 done
14063 for ac_func in socketpair
14065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14066 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14067 $as_echo_n "checking for $ac_func... " >&6; }
14068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14069 $as_echo_n "(cached) " >&6
14070 else
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14079 #define $ac_func innocuous_$ac_func
14081 /* System header to define __stub macros and hopefully few prototypes,
14082 which can conflict with char $ac_func (); below.
14083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14084 <limits.h> exists even on freestanding compilers. */
14086 #ifdef __STDC__
14087 # include <limits.h>
14088 #else
14089 # include <assert.h>
14090 #endif
14092 #undef $ac_func
14094 /* Override any GCC internal prototype to avoid an error.
14095 Use char because int might match the return type of a GCC
14096 builtin and then its argument prototype would still apply. */
14097 #ifdef __cplusplus
14098 extern "C"
14099 #endif
14100 char $ac_func ();
14101 /* The GNU C library defines this for functions which it implements
14102 to always fail with ENOSYS. Some functions are actually named
14103 something starting with __ and the normal name is an alias. */
14104 #if defined __stub_$ac_func || defined __stub___$ac_func
14105 choke me
14106 #endif
14109 main ()
14111 return $ac_func ();
14113 return 0;
14115 _ACEOF
14116 rm -f conftest.$ac_objext conftest$ac_exeext
14117 if { (ac_try="$ac_link"
14118 case "(($ac_try" in
14119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14120 *) ac_try_echo=$ac_try;;
14121 esac
14122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14123 $as_echo "$ac_try_echo") >&5
14124 (eval "$ac_link") 2>conftest.er1
14125 ac_status=$?
14126 grep -v '^ *+' conftest.er1 >conftest.err
14127 rm -f conftest.er1
14128 cat conftest.err >&5
14129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); } && {
14131 test -z "$ac_cxx_werror_flag" ||
14132 test ! -s conftest.err
14133 } && test -s conftest$ac_exeext && {
14134 test "$cross_compiling" = yes ||
14135 $as_test_x conftest$ac_exeext
14136 }; then
14137 eval "$as_ac_var=yes"
14138 else
14139 $as_echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14142 eval "$as_ac_var=no"
14145 rm -rf conftest.dSYM
14146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14147 conftest$ac_exeext conftest.$ac_ext
14149 ac_res=`eval 'as_val=${'$as_ac_var'}
14150 $as_echo "$as_val"'`
14151 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14152 $as_echo "$ac_res" >&6; }
14153 if test `eval 'as_val=${'$as_ac_var'}
14154 $as_echo "$as_val"'` = yes; then
14155 cat >>confdefs.h <<_ACEOF
14156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14157 _ACEOF
14160 done
14163 for ac_func in chdir
14165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14166 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14167 $as_echo_n "checking for $ac_func... " >&6; }
14168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14169 $as_echo_n "(cached) " >&6
14170 else
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14179 #define $ac_func innocuous_$ac_func
14181 /* System header to define __stub macros and hopefully few prototypes,
14182 which can conflict with char $ac_func (); below.
14183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14184 <limits.h> exists even on freestanding compilers. */
14186 #ifdef __STDC__
14187 # include <limits.h>
14188 #else
14189 # include <assert.h>
14190 #endif
14192 #undef $ac_func
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14197 #ifdef __cplusplus
14198 extern "C"
14199 #endif
14200 char $ac_func ();
14201 /* The GNU C library defines this for functions which it implements
14202 to always fail with ENOSYS. Some functions are actually named
14203 something starting with __ and the normal name is an alias. */
14204 #if defined __stub_$ac_func || defined __stub___$ac_func
14205 choke me
14206 #endif
14209 main ()
14211 return $ac_func ();
14213 return 0;
14215 _ACEOF
14216 rm -f conftest.$ac_objext conftest$ac_exeext
14217 if { (ac_try="$ac_link"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14221 esac
14222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14223 $as_echo "$ac_try_echo") >&5
14224 (eval "$ac_link") 2>conftest.er1
14225 ac_status=$?
14226 grep -v '^ *+' conftest.er1 >conftest.err
14227 rm -f conftest.er1
14228 cat conftest.err >&5
14229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } && {
14231 test -z "$ac_cxx_werror_flag" ||
14232 test ! -s conftest.err
14233 } && test -s conftest$ac_exeext && {
14234 test "$cross_compiling" = yes ||
14235 $as_test_x conftest$ac_exeext
14236 }; then
14237 eval "$as_ac_var=yes"
14238 else
14239 $as_echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14242 eval "$as_ac_var=no"
14245 rm -rf conftest.dSYM
14246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14247 conftest$ac_exeext conftest.$ac_ext
14249 ac_res=`eval 'as_val=${'$as_ac_var'}
14250 $as_echo "$as_val"'`
14251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14252 $as_echo "$ac_res" >&6; }
14253 if test `eval 'as_val=${'$as_ac_var'}
14254 $as_echo "$as_val"'` = yes; then
14255 cat >>confdefs.h <<_ACEOF
14256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14257 _ACEOF
14260 done
14263 for ac_func in execvp
14265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14266 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14267 $as_echo_n "checking for $ac_func... " >&6; }
14268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14269 $as_echo_n "(cached) " >&6
14270 else
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14279 #define $ac_func innocuous_$ac_func
14281 /* System header to define __stub macros and hopefully few prototypes,
14282 which can conflict with char $ac_func (); below.
14283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14284 <limits.h> exists even on freestanding compilers. */
14286 #ifdef __STDC__
14287 # include <limits.h>
14288 #else
14289 # include <assert.h>
14290 #endif
14292 #undef $ac_func
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 #endif
14300 char $ac_func ();
14301 /* The GNU C library defines this for functions which it implements
14302 to always fail with ENOSYS. Some functions are actually named
14303 something starting with __ and the normal name is an alias. */
14304 #if defined __stub_$ac_func || defined __stub___$ac_func
14305 choke me
14306 #endif
14309 main ()
14311 return $ac_func ();
14313 return 0;
14315 _ACEOF
14316 rm -f conftest.$ac_objext conftest$ac_exeext
14317 if { (ac_try="$ac_link"
14318 case "(($ac_try" in
14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14320 *) ac_try_echo=$ac_try;;
14321 esac
14322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14323 $as_echo "$ac_try_echo") >&5
14324 (eval "$ac_link") 2>conftest.er1
14325 ac_status=$?
14326 grep -v '^ *+' conftest.er1 >conftest.err
14327 rm -f conftest.er1
14328 cat conftest.err >&5
14329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } && {
14331 test -z "$ac_cxx_werror_flag" ||
14332 test ! -s conftest.err
14333 } && test -s conftest$ac_exeext && {
14334 test "$cross_compiling" = yes ||
14335 $as_test_x conftest$ac_exeext
14336 }; then
14337 eval "$as_ac_var=yes"
14338 else
14339 $as_echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14342 eval "$as_ac_var=no"
14345 rm -rf conftest.dSYM
14346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14347 conftest$ac_exeext conftest.$ac_ext
14349 ac_res=`eval 'as_val=${'$as_ac_var'}
14350 $as_echo "$as_val"'`
14351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14352 $as_echo "$ac_res" >&6; }
14353 if test `eval 'as_val=${'$as_ac_var'}
14354 $as_echo "$as_val"'` = yes; then
14355 cat >>confdefs.h <<_ACEOF
14356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14357 _ACEOF
14360 done
14363 for ac_func in getgrnam
14365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14366 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14367 $as_echo_n "checking for $ac_func... " >&6; }
14368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14369 $as_echo_n "(cached) " >&6
14370 else
14371 cat >conftest.$ac_ext <<_ACEOF
14372 /* confdefs.h. */
14373 _ACEOF
14374 cat confdefs.h >>conftest.$ac_ext
14375 cat >>conftest.$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14379 #define $ac_func innocuous_$ac_func
14381 /* System header to define __stub macros and hopefully few prototypes,
14382 which can conflict with char $ac_func (); below.
14383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14384 <limits.h> exists even on freestanding compilers. */
14386 #ifdef __STDC__
14387 # include <limits.h>
14388 #else
14389 # include <assert.h>
14390 #endif
14392 #undef $ac_func
14394 /* Override any GCC internal prototype to avoid an error.
14395 Use char because int might match the return type of a GCC
14396 builtin and then its argument prototype would still apply. */
14397 #ifdef __cplusplus
14398 extern "C"
14399 #endif
14400 char $ac_func ();
14401 /* The GNU C library defines this for functions which it implements
14402 to always fail with ENOSYS. Some functions are actually named
14403 something starting with __ and the normal name is an alias. */
14404 #if defined __stub_$ac_func || defined __stub___$ac_func
14405 choke me
14406 #endif
14409 main ()
14411 return $ac_func ();
14413 return 0;
14415 _ACEOF
14416 rm -f conftest.$ac_objext conftest$ac_exeext
14417 if { (ac_try="$ac_link"
14418 case "(($ac_try" in
14419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14420 *) ac_try_echo=$ac_try;;
14421 esac
14422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14423 $as_echo "$ac_try_echo") >&5
14424 (eval "$ac_link") 2>conftest.er1
14425 ac_status=$?
14426 grep -v '^ *+' conftest.er1 >conftest.err
14427 rm -f conftest.er1
14428 cat conftest.err >&5
14429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); } && {
14431 test -z "$ac_cxx_werror_flag" ||
14432 test ! -s conftest.err
14433 } && test -s conftest$ac_exeext && {
14434 test "$cross_compiling" = yes ||
14435 $as_test_x conftest$ac_exeext
14436 }; then
14437 eval "$as_ac_var=yes"
14438 else
14439 $as_echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14442 eval "$as_ac_var=no"
14445 rm -rf conftest.dSYM
14446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14447 conftest$ac_exeext conftest.$ac_ext
14449 ac_res=`eval 'as_val=${'$as_ac_var'}
14450 $as_echo "$as_val"'`
14451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14452 $as_echo "$ac_res" >&6; }
14453 if test `eval 'as_val=${'$as_ac_var'}
14454 $as_echo "$as_val"'` = yes; then
14455 cat >>confdefs.h <<_ACEOF
14456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14457 _ACEOF
14460 done
14463 for ac_func in getpid
14465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14466 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14467 $as_echo_n "checking for $ac_func... " >&6; }
14468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14469 $as_echo_n "(cached) " >&6
14470 else
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14479 #define $ac_func innocuous_$ac_func
14481 /* System header to define __stub macros and hopefully few prototypes,
14482 which can conflict with char $ac_func (); below.
14483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14484 <limits.h> exists even on freestanding compilers. */
14486 #ifdef __STDC__
14487 # include <limits.h>
14488 #else
14489 # include <assert.h>
14490 #endif
14492 #undef $ac_func
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14497 #ifdef __cplusplus
14498 extern "C"
14499 #endif
14500 char $ac_func ();
14501 /* The GNU C library defines this for functions which it implements
14502 to always fail with ENOSYS. Some functions are actually named
14503 something starting with __ and the normal name is an alias. */
14504 #if defined __stub_$ac_func || defined __stub___$ac_func
14505 choke me
14506 #endif
14509 main ()
14511 return $ac_func ();
14513 return 0;
14515 _ACEOF
14516 rm -f conftest.$ac_objext conftest$ac_exeext
14517 if { (ac_try="$ac_link"
14518 case "(($ac_try" in
14519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14520 *) ac_try_echo=$ac_try;;
14521 esac
14522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14523 $as_echo "$ac_try_echo") >&5
14524 (eval "$ac_link") 2>conftest.er1
14525 ac_status=$?
14526 grep -v '^ *+' conftest.er1 >conftest.err
14527 rm -f conftest.er1
14528 cat conftest.err >&5
14529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); } && {
14531 test -z "$ac_cxx_werror_flag" ||
14532 test ! -s conftest.err
14533 } && test -s conftest$ac_exeext && {
14534 test "$cross_compiling" = yes ||
14535 $as_test_x conftest$ac_exeext
14536 }; then
14537 eval "$as_ac_var=yes"
14538 else
14539 $as_echo "$as_me: failed program was:" >&5
14540 sed 's/^/| /' conftest.$ac_ext >&5
14542 eval "$as_ac_var=no"
14545 rm -rf conftest.dSYM
14546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14547 conftest$ac_exeext conftest.$ac_ext
14549 ac_res=`eval 'as_val=${'$as_ac_var'}
14550 $as_echo "$as_val"'`
14551 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14552 $as_echo "$ac_res" >&6; }
14553 if test `eval 'as_val=${'$as_ac_var'}
14554 $as_echo "$as_val"'` = yes; then
14555 cat >>confdefs.h <<_ACEOF
14556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14557 _ACEOF
14560 done
14563 for ac_func in getppid
14565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14566 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14567 $as_echo_n "checking for $ac_func... " >&6; }
14568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14569 $as_echo_n "(cached) " >&6
14570 else
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14579 #define $ac_func innocuous_$ac_func
14581 /* System header to define __stub macros and hopefully few prototypes,
14582 which can conflict with char $ac_func (); below.
14583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14584 <limits.h> exists even on freestanding compilers. */
14586 #ifdef __STDC__
14587 # include <limits.h>
14588 #else
14589 # include <assert.h>
14590 #endif
14592 #undef $ac_func
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 #ifdef __cplusplus
14598 extern "C"
14599 #endif
14600 char $ac_func ();
14601 /* The GNU C library defines this for functions which it implements
14602 to always fail with ENOSYS. Some functions are actually named
14603 something starting with __ and the normal name is an alias. */
14604 #if defined __stub_$ac_func || defined __stub___$ac_func
14605 choke me
14606 #endif
14609 main ()
14611 return $ac_func ();
14613 return 0;
14615 _ACEOF
14616 rm -f conftest.$ac_objext conftest$ac_exeext
14617 if { (ac_try="$ac_link"
14618 case "(($ac_try" in
14619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14620 *) ac_try_echo=$ac_try;;
14621 esac
14622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14623 $as_echo "$ac_try_echo") >&5
14624 (eval "$ac_link") 2>conftest.er1
14625 ac_status=$?
14626 grep -v '^ *+' conftest.er1 >conftest.err
14627 rm -f conftest.er1
14628 cat conftest.err >&5
14629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } && {
14631 test -z "$ac_cxx_werror_flag" ||
14632 test ! -s conftest.err
14633 } && test -s conftest$ac_exeext && {
14634 test "$cross_compiling" = yes ||
14635 $as_test_x conftest$ac_exeext
14636 }; then
14637 eval "$as_ac_var=yes"
14638 else
14639 $as_echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14642 eval "$as_ac_var=no"
14645 rm -rf conftest.dSYM
14646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14647 conftest$ac_exeext conftest.$ac_ext
14649 ac_res=`eval 'as_val=${'$as_ac_var'}
14650 $as_echo "$as_val"'`
14651 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14652 $as_echo "$ac_res" >&6; }
14653 if test `eval 'as_val=${'$as_ac_var'}
14654 $as_echo "$as_val"'` = yes; then
14655 cat >>confdefs.h <<_ACEOF
14656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14657 _ACEOF
14660 done
14663 for ac_func in getpwnam
14665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14666 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14667 $as_echo_n "checking for $ac_func... " >&6; }
14668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14669 $as_echo_n "(cached) " >&6
14670 else
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14679 #define $ac_func innocuous_$ac_func
14681 /* System header to define __stub macros and hopefully few prototypes,
14682 which can conflict with char $ac_func (); below.
14683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14684 <limits.h> exists even on freestanding compilers. */
14686 #ifdef __STDC__
14687 # include <limits.h>
14688 #else
14689 # include <assert.h>
14690 #endif
14692 #undef $ac_func
14694 /* Override any GCC internal prototype to avoid an error.
14695 Use char because int might match the return type of a GCC
14696 builtin and then its argument prototype would still apply. */
14697 #ifdef __cplusplus
14698 extern "C"
14699 #endif
14700 char $ac_func ();
14701 /* The GNU C library defines this for functions which it implements
14702 to always fail with ENOSYS. Some functions are actually named
14703 something starting with __ and the normal name is an alias. */
14704 #if defined __stub_$ac_func || defined __stub___$ac_func
14705 choke me
14706 #endif
14709 main ()
14711 return $ac_func ();
14713 return 0;
14715 _ACEOF
14716 rm -f conftest.$ac_objext conftest$ac_exeext
14717 if { (ac_try="$ac_link"
14718 case "(($ac_try" in
14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14720 *) ac_try_echo=$ac_try;;
14721 esac
14722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14723 $as_echo "$ac_try_echo") >&5
14724 (eval "$ac_link") 2>conftest.er1
14725 ac_status=$?
14726 grep -v '^ *+' conftest.er1 >conftest.err
14727 rm -f conftest.er1
14728 cat conftest.err >&5
14729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } && {
14731 test -z "$ac_cxx_werror_flag" ||
14732 test ! -s conftest.err
14733 } && test -s conftest$ac_exeext && {
14734 test "$cross_compiling" = yes ||
14735 $as_test_x conftest$ac_exeext
14736 }; then
14737 eval "$as_ac_var=yes"
14738 else
14739 $as_echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14742 eval "$as_ac_var=no"
14745 rm -rf conftest.dSYM
14746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14747 conftest$ac_exeext conftest.$ac_ext
14749 ac_res=`eval 'as_val=${'$as_ac_var'}
14750 $as_echo "$as_val"'`
14751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14752 $as_echo "$ac_res" >&6; }
14753 if test `eval 'as_val=${'$as_ac_var'}
14754 $as_echo "$as_val"'` = yes; then
14755 cat >>confdefs.h <<_ACEOF
14756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14757 _ACEOF
14760 done
14763 for ac_func in ioctl
14765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14766 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14767 $as_echo_n "checking for $ac_func... " >&6; }
14768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14769 $as_echo_n "(cached) " >&6
14770 else
14771 cat >conftest.$ac_ext <<_ACEOF
14772 /* confdefs.h. */
14773 _ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14779 #define $ac_func innocuous_$ac_func
14781 /* System header to define __stub macros and hopefully few prototypes,
14782 which can conflict with char $ac_func (); below.
14783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14784 <limits.h> exists even on freestanding compilers. */
14786 #ifdef __STDC__
14787 # include <limits.h>
14788 #else
14789 # include <assert.h>
14790 #endif
14792 #undef $ac_func
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char $ac_func ();
14801 /* The GNU C library defines this for functions which it implements
14802 to always fail with ENOSYS. Some functions are actually named
14803 something starting with __ and the normal name is an alias. */
14804 #if defined __stub_$ac_func || defined __stub___$ac_func
14805 choke me
14806 #endif
14809 main ()
14811 return $ac_func ();
14813 return 0;
14815 _ACEOF
14816 rm -f conftest.$ac_objext conftest$ac_exeext
14817 if { (ac_try="$ac_link"
14818 case "(($ac_try" in
14819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14820 *) ac_try_echo=$ac_try;;
14821 esac
14822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14823 $as_echo "$ac_try_echo") >&5
14824 (eval "$ac_link") 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } && {
14831 test -z "$ac_cxx_werror_flag" ||
14832 test ! -s conftest.err
14833 } && test -s conftest$ac_exeext && {
14834 test "$cross_compiling" = yes ||
14835 $as_test_x conftest$ac_exeext
14836 }; then
14837 eval "$as_ac_var=yes"
14838 else
14839 $as_echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14842 eval "$as_ac_var=no"
14845 rm -rf conftest.dSYM
14846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14847 conftest$ac_exeext conftest.$ac_ext
14849 ac_res=`eval 'as_val=${'$as_ac_var'}
14850 $as_echo "$as_val"'`
14851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14852 $as_echo "$ac_res" >&6; }
14853 if test `eval 'as_val=${'$as_ac_var'}
14854 $as_echo "$as_val"'` = yes; then
14855 cat >>confdefs.h <<_ACEOF
14856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14857 _ACEOF
14860 done
14863 for ac_func in link
14865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14866 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14867 $as_echo_n "checking for $ac_func... " >&6; }
14868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14869 $as_echo_n "(cached) " >&6
14870 else
14871 cat >conftest.$ac_ext <<_ACEOF
14872 /* confdefs.h. */
14873 _ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14879 #define $ac_func innocuous_$ac_func
14881 /* System header to define __stub macros and hopefully few prototypes,
14882 which can conflict with char $ac_func (); below.
14883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14884 <limits.h> exists even on freestanding compilers. */
14886 #ifdef __STDC__
14887 # include <limits.h>
14888 #else
14889 # include <assert.h>
14890 #endif
14892 #undef $ac_func
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14897 #ifdef __cplusplus
14898 extern "C"
14899 #endif
14900 char $ac_func ();
14901 /* The GNU C library defines this for functions which it implements
14902 to always fail with ENOSYS. Some functions are actually named
14903 something starting with __ and the normal name is an alias. */
14904 #if defined __stub_$ac_func || defined __stub___$ac_func
14905 choke me
14906 #endif
14909 main ()
14911 return $ac_func ();
14913 return 0;
14915 _ACEOF
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (ac_try="$ac_link"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14921 esac
14922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14923 $as_echo "$ac_try_echo") >&5
14924 (eval "$ac_link") 2>conftest.er1
14925 ac_status=$?
14926 grep -v '^ *+' conftest.er1 >conftest.err
14927 rm -f conftest.er1
14928 cat conftest.err >&5
14929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } && {
14931 test -z "$ac_cxx_werror_flag" ||
14932 test ! -s conftest.err
14933 } && test -s conftest$ac_exeext && {
14934 test "$cross_compiling" = yes ||
14935 $as_test_x conftest$ac_exeext
14936 }; then
14937 eval "$as_ac_var=yes"
14938 else
14939 $as_echo "$as_me: failed program was:" >&5
14940 sed 's/^/| /' conftest.$ac_ext >&5
14942 eval "$as_ac_var=no"
14945 rm -rf conftest.dSYM
14946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14947 conftest$ac_exeext conftest.$ac_ext
14949 ac_res=`eval 'as_val=${'$as_ac_var'}
14950 $as_echo "$as_val"'`
14951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14952 $as_echo "$ac_res" >&6; }
14953 if test `eval 'as_val=${'$as_ac_var'}
14954 $as_echo "$as_val"'` = yes; then
14955 cat >>confdefs.h <<_ACEOF
14956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14957 _ACEOF
14960 done
14963 for ac_func in mkdir
14965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14966 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14967 $as_echo_n "checking for $ac_func... " >&6; }
14968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat >conftest.$ac_ext <<_ACEOF
14972 /* confdefs.h. */
14973 _ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14979 #define $ac_func innocuous_$ac_func
14981 /* System header to define __stub macros and hopefully few prototypes,
14982 which can conflict with char $ac_func (); below.
14983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14984 <limits.h> exists even on freestanding compilers. */
14986 #ifdef __STDC__
14987 # include <limits.h>
14988 #else
14989 # include <assert.h>
14990 #endif
14992 #undef $ac_func
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 char $ac_func ();
15001 /* The GNU C library defines this for functions which it implements
15002 to always fail with ENOSYS. Some functions are actually named
15003 something starting with __ and the normal name is an alias. */
15004 #if defined __stub_$ac_func || defined __stub___$ac_func
15005 choke me
15006 #endif
15009 main ()
15011 return $ac_func ();
15013 return 0;
15015 _ACEOF
15016 rm -f conftest.$ac_objext conftest$ac_exeext
15017 if { (ac_try="$ac_link"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15021 esac
15022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15023 $as_echo "$ac_try_echo") >&5
15024 (eval "$ac_link") 2>conftest.er1
15025 ac_status=$?
15026 grep -v '^ *+' conftest.er1 >conftest.err
15027 rm -f conftest.er1
15028 cat conftest.err >&5
15029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } && {
15031 test -z "$ac_cxx_werror_flag" ||
15032 test ! -s conftest.err
15033 } && test -s conftest$ac_exeext && {
15034 test "$cross_compiling" = yes ||
15035 $as_test_x conftest$ac_exeext
15036 }; then
15037 eval "$as_ac_var=yes"
15038 else
15039 $as_echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15042 eval "$as_ac_var=no"
15045 rm -rf conftest.dSYM
15046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047 conftest$ac_exeext conftest.$ac_ext
15049 ac_res=`eval 'as_val=${'$as_ac_var'}
15050 $as_echo "$as_val"'`
15051 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15052 $as_echo "$ac_res" >&6; }
15053 if test `eval 'as_val=${'$as_ac_var'}
15054 $as_echo "$as_val"'` = yes; then
15055 cat >>confdefs.h <<_ACEOF
15056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15057 _ACEOF
15060 done
15063 for ac_func in mkfifo
15065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15066 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15067 $as_echo_n "checking for $ac_func... " >&6; }
15068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15069 $as_echo_n "(cached) " >&6
15070 else
15071 cat >conftest.$ac_ext <<_ACEOF
15072 /* confdefs.h. */
15073 _ACEOF
15074 cat confdefs.h >>conftest.$ac_ext
15075 cat >>conftest.$ac_ext <<_ACEOF
15076 /* end confdefs.h. */
15077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15079 #define $ac_func innocuous_$ac_func
15081 /* System header to define __stub macros and hopefully few prototypes,
15082 which can conflict with char $ac_func (); below.
15083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15084 <limits.h> exists even on freestanding compilers. */
15086 #ifdef __STDC__
15087 # include <limits.h>
15088 #else
15089 # include <assert.h>
15090 #endif
15092 #undef $ac_func
15094 /* Override any GCC internal prototype to avoid an error.
15095 Use char because int might match the return type of a GCC
15096 builtin and then its argument prototype would still apply. */
15097 #ifdef __cplusplus
15098 extern "C"
15099 #endif
15100 char $ac_func ();
15101 /* The GNU C library defines this for functions which it implements
15102 to always fail with ENOSYS. Some functions are actually named
15103 something starting with __ and the normal name is an alias. */
15104 #if defined __stub_$ac_func || defined __stub___$ac_func
15105 choke me
15106 #endif
15109 main ()
15111 return $ac_func ();
15113 return 0;
15115 _ACEOF
15116 rm -f conftest.$ac_objext conftest$ac_exeext
15117 if { (ac_try="$ac_link"
15118 case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15121 esac
15122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15123 $as_echo "$ac_try_echo") >&5
15124 (eval "$ac_link") 2>conftest.er1
15125 ac_status=$?
15126 grep -v '^ *+' conftest.er1 >conftest.err
15127 rm -f conftest.er1
15128 cat conftest.err >&5
15129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } && {
15131 test -z "$ac_cxx_werror_flag" ||
15132 test ! -s conftest.err
15133 } && test -s conftest$ac_exeext && {
15134 test "$cross_compiling" = yes ||
15135 $as_test_x conftest$ac_exeext
15136 }; then
15137 eval "$as_ac_var=yes"
15138 else
15139 $as_echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 eval "$as_ac_var=no"
15145 rm -rf conftest.dSYM
15146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15147 conftest$ac_exeext conftest.$ac_ext
15149 ac_res=`eval 'as_val=${'$as_ac_var'}
15150 $as_echo "$as_val"'`
15151 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15152 $as_echo "$ac_res" >&6; }
15153 if test `eval 'as_val=${'$as_ac_var'}
15154 $as_echo "$as_val"'` = yes; then
15155 cat >>confdefs.h <<_ACEOF
15156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15157 _ACEOF
15160 done
15163 for ac_func in opendir
15165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15166 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15167 $as_echo_n "checking for $ac_func... " >&6; }
15168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15169 $as_echo_n "(cached) " >&6
15170 else
15171 cat >conftest.$ac_ext <<_ACEOF
15172 /* confdefs.h. */
15173 _ACEOF
15174 cat confdefs.h >>conftest.$ac_ext
15175 cat >>conftest.$ac_ext <<_ACEOF
15176 /* end confdefs.h. */
15177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15179 #define $ac_func innocuous_$ac_func
15181 /* System header to define __stub macros and hopefully few prototypes,
15182 which can conflict with char $ac_func (); below.
15183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15184 <limits.h> exists even on freestanding compilers. */
15186 #ifdef __STDC__
15187 # include <limits.h>
15188 #else
15189 # include <assert.h>
15190 #endif
15192 #undef $ac_func
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 #ifdef __cplusplus
15198 extern "C"
15199 #endif
15200 char $ac_func ();
15201 /* The GNU C library defines this for functions which it implements
15202 to always fail with ENOSYS. Some functions are actually named
15203 something starting with __ and the normal name is an alias. */
15204 #if defined __stub_$ac_func || defined __stub___$ac_func
15205 choke me
15206 #endif
15209 main ()
15211 return $ac_func ();
15213 return 0;
15215 _ACEOF
15216 rm -f conftest.$ac_objext conftest$ac_exeext
15217 if { (ac_try="$ac_link"
15218 case "(($ac_try" in
15219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15220 *) ac_try_echo=$ac_try;;
15221 esac
15222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15223 $as_echo "$ac_try_echo") >&5
15224 (eval "$ac_link") 2>conftest.er1
15225 ac_status=$?
15226 grep -v '^ *+' conftest.er1 >conftest.err
15227 rm -f conftest.er1
15228 cat conftest.err >&5
15229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && {
15231 test -z "$ac_cxx_werror_flag" ||
15232 test ! -s conftest.err
15233 } && test -s conftest$ac_exeext && {
15234 test "$cross_compiling" = yes ||
15235 $as_test_x conftest$ac_exeext
15236 }; then
15237 eval "$as_ac_var=yes"
15238 else
15239 $as_echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15242 eval "$as_ac_var=no"
15245 rm -rf conftest.dSYM
15246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15247 conftest$ac_exeext conftest.$ac_ext
15249 ac_res=`eval 'as_val=${'$as_ac_var'}
15250 $as_echo "$as_val"'`
15251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15252 $as_echo "$ac_res" >&6; }
15253 if test `eval 'as_val=${'$as_ac_var'}
15254 $as_echo "$as_val"'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15257 _ACEOF
15260 done
15263 for ac_func in rename
15265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15266 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15267 $as_echo_n "checking for $ac_func... " >&6; }
15268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15269 $as_echo_n "(cached) " >&6
15270 else
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15279 #define $ac_func innocuous_$ac_func
15281 /* System header to define __stub macros and hopefully few prototypes,
15282 which can conflict with char $ac_func (); below.
15283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15284 <limits.h> exists even on freestanding compilers. */
15286 #ifdef __STDC__
15287 # include <limits.h>
15288 #else
15289 # include <assert.h>
15290 #endif
15292 #undef $ac_func
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15297 #ifdef __cplusplus
15298 extern "C"
15299 #endif
15300 char $ac_func ();
15301 /* The GNU C library defines this for functions which it implements
15302 to always fail with ENOSYS. Some functions are actually named
15303 something starting with __ and the normal name is an alias. */
15304 #if defined __stub_$ac_func || defined __stub___$ac_func
15305 choke me
15306 #endif
15309 main ()
15311 return $ac_func ();
15313 return 0;
15315 _ACEOF
15316 rm -f conftest.$ac_objext conftest$ac_exeext
15317 if { (ac_try="$ac_link"
15318 case "(($ac_try" in
15319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15320 *) ac_try_echo=$ac_try;;
15321 esac
15322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15323 $as_echo "$ac_try_echo") >&5
15324 (eval "$ac_link") 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } && {
15331 test -z "$ac_cxx_werror_flag" ||
15332 test ! -s conftest.err
15333 } && test -s conftest$ac_exeext && {
15334 test "$cross_compiling" = yes ||
15335 $as_test_x conftest$ac_exeext
15336 }; then
15337 eval "$as_ac_var=yes"
15338 else
15339 $as_echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.$ac_ext >&5
15342 eval "$as_ac_var=no"
15345 rm -rf conftest.dSYM
15346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15347 conftest$ac_exeext conftest.$ac_ext
15349 ac_res=`eval 'as_val=${'$as_ac_var'}
15350 $as_echo "$as_val"'`
15351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15352 $as_echo "$ac_res" >&6; }
15353 if test `eval 'as_val=${'$as_ac_var'}
15354 $as_echo "$as_val"'` = yes; then
15355 cat >>confdefs.h <<_ACEOF
15356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15357 _ACEOF
15360 done
15363 for ac_func in rmdir
15365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15366 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15367 $as_echo_n "checking for $ac_func... " >&6; }
15368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15369 $as_echo_n "(cached) " >&6
15370 else
15371 cat >conftest.$ac_ext <<_ACEOF
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15379 #define $ac_func innocuous_$ac_func
15381 /* System header to define __stub macros and hopefully few prototypes,
15382 which can conflict with char $ac_func (); below.
15383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15384 <limits.h> exists even on freestanding compilers. */
15386 #ifdef __STDC__
15387 # include <limits.h>
15388 #else
15389 # include <assert.h>
15390 #endif
15392 #undef $ac_func
15394 /* Override any GCC internal prototype to avoid an error.
15395 Use char because int might match the return type of a GCC
15396 builtin and then its argument prototype would still apply. */
15397 #ifdef __cplusplus
15398 extern "C"
15399 #endif
15400 char $ac_func ();
15401 /* The GNU C library defines this for functions which it implements
15402 to always fail with ENOSYS. Some functions are actually named
15403 something starting with __ and the normal name is an alias. */
15404 #if defined __stub_$ac_func || defined __stub___$ac_func
15405 choke me
15406 #endif
15409 main ()
15411 return $ac_func ();
15413 return 0;
15415 _ACEOF
15416 rm -f conftest.$ac_objext conftest$ac_exeext
15417 if { (ac_try="$ac_link"
15418 case "(($ac_try" in
15419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15421 esac
15422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15423 $as_echo "$ac_try_echo") >&5
15424 (eval "$ac_link") 2>conftest.er1
15425 ac_status=$?
15426 grep -v '^ *+' conftest.er1 >conftest.err
15427 rm -f conftest.er1
15428 cat conftest.err >&5
15429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } && {
15431 test -z "$ac_cxx_werror_flag" ||
15432 test ! -s conftest.err
15433 } && test -s conftest$ac_exeext && {
15434 test "$cross_compiling" = yes ||
15435 $as_test_x conftest$ac_exeext
15436 }; then
15437 eval "$as_ac_var=yes"
15438 else
15439 $as_echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.$ac_ext >&5
15442 eval "$as_ac_var=no"
15445 rm -rf conftest.dSYM
15446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15447 conftest$ac_exeext conftest.$ac_ext
15449 ac_res=`eval 'as_val=${'$as_ac_var'}
15450 $as_echo "$as_val"'`
15451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15452 $as_echo "$ac_res" >&6; }
15453 if test `eval 'as_val=${'$as_ac_var'}
15454 $as_echo "$as_val"'` = yes; then
15455 cat >>confdefs.h <<_ACEOF
15456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15457 _ACEOF
15460 done
15463 for ac_func in socket
15465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15466 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15467 $as_echo_n "checking for $ac_func... " >&6; }
15468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15469 $as_echo_n "(cached) " >&6
15470 else
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15479 #define $ac_func innocuous_$ac_func
15481 /* System header to define __stub macros and hopefully few prototypes,
15482 which can conflict with char $ac_func (); below.
15483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15484 <limits.h> exists even on freestanding compilers. */
15486 #ifdef __STDC__
15487 # include <limits.h>
15488 #else
15489 # include <assert.h>
15490 #endif
15492 #undef $ac_func
15494 /* Override any GCC internal prototype to avoid an error.
15495 Use char because int might match the return type of a GCC
15496 builtin and then its argument prototype would still apply. */
15497 #ifdef __cplusplus
15498 extern "C"
15499 #endif
15500 char $ac_func ();
15501 /* The GNU C library defines this for functions which it implements
15502 to always fail with ENOSYS. Some functions are actually named
15503 something starting with __ and the normal name is an alias. */
15504 #if defined __stub_$ac_func || defined __stub___$ac_func
15505 choke me
15506 #endif
15509 main ()
15511 return $ac_func ();
15513 return 0;
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (ac_try="$ac_link"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15521 esac
15522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15523 $as_echo "$ac_try_echo") >&5
15524 (eval "$ac_link") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest$ac_exeext && {
15534 test "$cross_compiling" = yes ||
15535 $as_test_x conftest$ac_exeext
15536 }; then
15537 eval "$as_ac_var=yes"
15538 else
15539 $as_echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15542 eval "$as_ac_var=no"
15545 rm -rf conftest.dSYM
15546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15547 conftest$ac_exeext conftest.$ac_ext
15549 ac_res=`eval 'as_val=${'$as_ac_var'}
15550 $as_echo "$as_val"'`
15551 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15552 $as_echo "$ac_res" >&6; }
15553 if test `eval 'as_val=${'$as_ac_var'}
15554 $as_echo "$as_val"'` = yes; then
15555 cat >>confdefs.h <<_ACEOF
15556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15557 _ACEOF
15560 done
15563 for ac_func in stat
15565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15566 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15567 $as_echo_n "checking for $ac_func... " >&6; }
15568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15569 $as_echo_n "(cached) " >&6
15570 else
15571 cat >conftest.$ac_ext <<_ACEOF
15572 /* confdefs.h. */
15573 _ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15579 #define $ac_func innocuous_$ac_func
15581 /* System header to define __stub macros and hopefully few prototypes,
15582 which can conflict with char $ac_func (); below.
15583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15584 <limits.h> exists even on freestanding compilers. */
15586 #ifdef __STDC__
15587 # include <limits.h>
15588 #else
15589 # include <assert.h>
15590 #endif
15592 #undef $ac_func
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char $ac_func ();
15601 /* The GNU C library defines this for functions which it implements
15602 to always fail with ENOSYS. Some functions are actually named
15603 something starting with __ and the normal name is an alias. */
15604 #if defined __stub_$ac_func || defined __stub___$ac_func
15605 choke me
15606 #endif
15609 main ()
15611 return $ac_func ();
15613 return 0;
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (ac_try="$ac_link"
15618 case "(($ac_try" in
15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15621 esac
15622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15623 $as_echo "$ac_try_echo") >&5
15624 (eval "$ac_link") 2>conftest.er1
15625 ac_status=$?
15626 grep -v '^ *+' conftest.er1 >conftest.err
15627 rm -f conftest.er1
15628 cat conftest.err >&5
15629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } && {
15631 test -z "$ac_cxx_werror_flag" ||
15632 test ! -s conftest.err
15633 } && test -s conftest$ac_exeext && {
15634 test "$cross_compiling" = yes ||
15635 $as_test_x conftest$ac_exeext
15636 }; then
15637 eval "$as_ac_var=yes"
15638 else
15639 $as_echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15642 eval "$as_ac_var=no"
15645 rm -rf conftest.dSYM
15646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15647 conftest$ac_exeext conftest.$ac_ext
15649 ac_res=`eval 'as_val=${'$as_ac_var'}
15650 $as_echo "$as_val"'`
15651 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15652 $as_echo "$ac_res" >&6; }
15653 if test `eval 'as_val=${'$as_ac_var'}
15654 $as_echo "$as_val"'` = yes; then
15655 cat >>confdefs.h <<_ACEOF
15656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15657 _ACEOF
15660 done
15663 for ac_func in stat64
15665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15666 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15667 $as_echo_n "checking for $ac_func... " >&6; }
15668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15669 $as_echo_n "(cached) " >&6
15670 else
15671 cat >conftest.$ac_ext <<_ACEOF
15672 /* confdefs.h. */
15673 _ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15679 #define $ac_func innocuous_$ac_func
15681 /* System header to define __stub macros and hopefully few prototypes,
15682 which can conflict with char $ac_func (); below.
15683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15684 <limits.h> exists even on freestanding compilers. */
15686 #ifdef __STDC__
15687 # include <limits.h>
15688 #else
15689 # include <assert.h>
15690 #endif
15692 #undef $ac_func
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15697 #ifdef __cplusplus
15698 extern "C"
15699 #endif
15700 char $ac_func ();
15701 /* The GNU C library defines this for functions which it implements
15702 to always fail with ENOSYS. Some functions are actually named
15703 something starting with __ and the normal name is an alias. */
15704 #if defined __stub_$ac_func || defined __stub___$ac_func
15705 choke me
15706 #endif
15709 main ()
15711 return $ac_func ();
15713 return 0;
15715 _ACEOF
15716 rm -f conftest.$ac_objext conftest$ac_exeext
15717 if { (ac_try="$ac_link"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15723 $as_echo "$ac_try_echo") >&5
15724 (eval "$ac_link") 2>conftest.er1
15725 ac_status=$?
15726 grep -v '^ *+' conftest.er1 >conftest.err
15727 rm -f conftest.er1
15728 cat conftest.err >&5
15729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } && {
15731 test -z "$ac_cxx_werror_flag" ||
15732 test ! -s conftest.err
15733 } && test -s conftest$ac_exeext && {
15734 test "$cross_compiling" = yes ||
15735 $as_test_x conftest$ac_exeext
15736 }; then
15737 eval "$as_ac_var=yes"
15738 else
15739 $as_echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15742 eval "$as_ac_var=no"
15745 rm -rf conftest.dSYM
15746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15747 conftest$ac_exeext conftest.$ac_ext
15749 ac_res=`eval 'as_val=${'$as_ac_var'}
15750 $as_echo "$as_val"'`
15751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15752 $as_echo "$ac_res" >&6; }
15753 if test `eval 'as_val=${'$as_ac_var'}
15754 $as_echo "$as_val"'` = yes; then
15755 cat >>confdefs.h <<_ACEOF
15756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15757 _ACEOF
15760 done
15763 for ac_func in strerror
15765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15766 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15767 $as_echo_n "checking for $ac_func... " >&6; }
15768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15769 $as_echo_n "(cached) " >&6
15770 else
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15779 #define $ac_func innocuous_$ac_func
15781 /* System header to define __stub macros and hopefully few prototypes,
15782 which can conflict with char $ac_func (); below.
15783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15784 <limits.h> exists even on freestanding compilers. */
15786 #ifdef __STDC__
15787 # include <limits.h>
15788 #else
15789 # include <assert.h>
15790 #endif
15792 #undef $ac_func
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char $ac_func ();
15801 /* The GNU C library defines this for functions which it implements
15802 to always fail with ENOSYS. Some functions are actually named
15803 something starting with __ and the normal name is an alias. */
15804 #if defined __stub_$ac_func || defined __stub___$ac_func
15805 choke me
15806 #endif
15809 main ()
15811 return $ac_func ();
15813 return 0;
15815 _ACEOF
15816 rm -f conftest.$ac_objext conftest$ac_exeext
15817 if { (ac_try="$ac_link"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15823 $as_echo "$ac_try_echo") >&5
15824 (eval "$ac_link") 2>conftest.er1
15825 ac_status=$?
15826 grep -v '^ *+' conftest.er1 >conftest.err
15827 rm -f conftest.er1
15828 cat conftest.err >&5
15829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } && {
15831 test -z "$ac_cxx_werror_flag" ||
15832 test ! -s conftest.err
15833 } && test -s conftest$ac_exeext && {
15834 test "$cross_compiling" = yes ||
15835 $as_test_x conftest$ac_exeext
15836 }; then
15837 eval "$as_ac_var=yes"
15838 else
15839 $as_echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.$ac_ext >&5
15842 eval "$as_ac_var=no"
15845 rm -rf conftest.dSYM
15846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15847 conftest$ac_exeext conftest.$ac_ext
15849 ac_res=`eval 'as_val=${'$as_ac_var'}
15850 $as_echo "$as_val"'`
15851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15852 $as_echo "$ac_res" >&6; }
15853 if test `eval 'as_val=${'$as_ac_var'}
15854 $as_echo "$as_val"'` = yes; then
15855 cat >>confdefs.h <<_ACEOF
15856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15857 _ACEOF
15860 done
15863 for ac_func in symlink
15865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15866 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15867 $as_echo_n "checking for $ac_func... " >&6; }
15868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15869 $as_echo_n "(cached) " >&6
15870 else
15871 cat >conftest.$ac_ext <<_ACEOF
15872 /* confdefs.h. */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15879 #define $ac_func innocuous_$ac_func
15881 /* System header to define __stub macros and hopefully few prototypes,
15882 which can conflict with char $ac_func (); below.
15883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15884 <limits.h> exists even on freestanding compilers. */
15886 #ifdef __STDC__
15887 # include <limits.h>
15888 #else
15889 # include <assert.h>
15890 #endif
15892 #undef $ac_func
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15897 #ifdef __cplusplus
15898 extern "C"
15899 #endif
15900 char $ac_func ();
15901 /* The GNU C library defines this for functions which it implements
15902 to always fail with ENOSYS. Some functions are actually named
15903 something starting with __ and the normal name is an alias. */
15904 #if defined __stub_$ac_func || defined __stub___$ac_func
15905 choke me
15906 #endif
15909 main ()
15911 return $ac_func ();
15913 return 0;
15915 _ACEOF
15916 rm -f conftest.$ac_objext conftest$ac_exeext
15917 if { (ac_try="$ac_link"
15918 case "(($ac_try" in
15919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15920 *) ac_try_echo=$ac_try;;
15921 esac
15922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15923 $as_echo "$ac_try_echo") >&5
15924 (eval "$ac_link") 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } && {
15931 test -z "$ac_cxx_werror_flag" ||
15932 test ! -s conftest.err
15933 } && test -s conftest$ac_exeext && {
15934 test "$cross_compiling" = yes ||
15935 $as_test_x conftest$ac_exeext
15936 }; then
15937 eval "$as_ac_var=yes"
15938 else
15939 $as_echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15942 eval "$as_ac_var=no"
15945 rm -rf conftest.dSYM
15946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15947 conftest$ac_exeext conftest.$ac_ext
15949 ac_res=`eval 'as_val=${'$as_ac_var'}
15950 $as_echo "$as_val"'`
15951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15952 $as_echo "$ac_res" >&6; }
15953 if test `eval 'as_val=${'$as_ac_var'}
15954 $as_echo "$as_val"'` = yes; then
15955 cat >>confdefs.h <<_ACEOF
15956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15957 _ACEOF
15960 done
15963 for ac_func in sysconf
15965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15966 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15967 $as_echo_n "checking for $ac_func... " >&6; }
15968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15969 $as_echo_n "(cached) " >&6
15970 else
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15979 #define $ac_func innocuous_$ac_func
15981 /* System header to define __stub macros and hopefully few prototypes,
15982 which can conflict with char $ac_func (); below.
15983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15984 <limits.h> exists even on freestanding compilers. */
15986 #ifdef __STDC__
15987 # include <limits.h>
15988 #else
15989 # include <assert.h>
15990 #endif
15992 #undef $ac_func
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
15997 #ifdef __cplusplus
15998 extern "C"
15999 #endif
16000 char $ac_func ();
16001 /* The GNU C library defines this for functions which it implements
16002 to always fail with ENOSYS. Some functions are actually named
16003 something starting with __ and the normal name is an alias. */
16004 #if defined __stub_$ac_func || defined __stub___$ac_func
16005 choke me
16006 #endif
16009 main ()
16011 return $ac_func ();
16013 return 0;
16015 _ACEOF
16016 rm -f conftest.$ac_objext conftest$ac_exeext
16017 if { (ac_try="$ac_link"
16018 case "(($ac_try" in
16019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16020 *) ac_try_echo=$ac_try;;
16021 esac
16022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16023 $as_echo "$ac_try_echo") >&5
16024 (eval "$ac_link") 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } && {
16031 test -z "$ac_cxx_werror_flag" ||
16032 test ! -s conftest.err
16033 } && test -s conftest$ac_exeext && {
16034 test "$cross_compiling" = yes ||
16035 $as_test_x conftest$ac_exeext
16036 }; then
16037 eval "$as_ac_var=yes"
16038 else
16039 $as_echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16042 eval "$as_ac_var=no"
16045 rm -rf conftest.dSYM
16046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16047 conftest$ac_exeext conftest.$ac_ext
16049 ac_res=`eval 'as_val=${'$as_ac_var'}
16050 $as_echo "$as_val"'`
16051 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16052 $as_echo "$ac_res" >&6; }
16053 if test `eval 'as_val=${'$as_ac_var'}
16054 $as_echo "$as_val"'` = yes; then
16055 cat >>confdefs.h <<_ACEOF
16056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16057 _ACEOF
16060 done
16063 for ac_func in sysctl
16065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16066 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16067 $as_echo_n "checking for $ac_func... " >&6; }
16068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16069 $as_echo_n "(cached) " >&6
16070 else
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16079 #define $ac_func innocuous_$ac_func
16081 /* System header to define __stub macros and hopefully few prototypes,
16082 which can conflict with char $ac_func (); below.
16083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16084 <limits.h> exists even on freestanding compilers. */
16086 #ifdef __STDC__
16087 # include <limits.h>
16088 #else
16089 # include <assert.h>
16090 #endif
16092 #undef $ac_func
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 #ifdef __cplusplus
16098 extern "C"
16099 #endif
16100 char $ac_func ();
16101 /* The GNU C library defines this for functions which it implements
16102 to always fail with ENOSYS. Some functions are actually named
16103 something starting with __ and the normal name is an alias. */
16104 #if defined __stub_$ac_func || defined __stub___$ac_func
16105 choke me
16106 #endif
16109 main ()
16111 return $ac_func ();
16113 return 0;
16115 _ACEOF
16116 rm -f conftest.$ac_objext conftest$ac_exeext
16117 if { (ac_try="$ac_link"
16118 case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16121 esac
16122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16123 $as_echo "$ac_try_echo") >&5
16124 (eval "$ac_link") 2>conftest.er1
16125 ac_status=$?
16126 grep -v '^ *+' conftest.er1 >conftest.err
16127 rm -f conftest.er1
16128 cat conftest.err >&5
16129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } && {
16131 test -z "$ac_cxx_werror_flag" ||
16132 test ! -s conftest.err
16133 } && test -s conftest$ac_exeext && {
16134 test "$cross_compiling" = yes ||
16135 $as_test_x conftest$ac_exeext
16136 }; then
16137 eval "$as_ac_var=yes"
16138 else
16139 $as_echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16142 eval "$as_ac_var=no"
16145 rm -rf conftest.dSYM
16146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16147 conftest$ac_exeext conftest.$ac_ext
16149 ac_res=`eval 'as_val=${'$as_ac_var'}
16150 $as_echo "$as_val"'`
16151 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16152 $as_echo "$ac_res" >&6; }
16153 if test `eval 'as_val=${'$as_ac_var'}
16154 $as_echo "$as_val"'` = yes; then
16155 cat >>confdefs.h <<_ACEOF
16156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16157 _ACEOF
16160 done
16163 for ac_func in tcgetattr
16165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16166 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16167 $as_echo_n "checking for $ac_func... " >&6; }
16168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16169 $as_echo_n "(cached) " >&6
16170 else
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16179 #define $ac_func innocuous_$ac_func
16181 /* System header to define __stub macros and hopefully few prototypes,
16182 which can conflict with char $ac_func (); below.
16183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16184 <limits.h> exists even on freestanding compilers. */
16186 #ifdef __STDC__
16187 # include <limits.h>
16188 #else
16189 # include <assert.h>
16190 #endif
16192 #undef $ac_func
16194 /* Override any GCC internal prototype to avoid an error.
16195 Use char because int might match the return type of a GCC
16196 builtin and then its argument prototype would still apply. */
16197 #ifdef __cplusplus
16198 extern "C"
16199 #endif
16200 char $ac_func ();
16201 /* The GNU C library defines this for functions which it implements
16202 to always fail with ENOSYS. Some functions are actually named
16203 something starting with __ and the normal name is an alias. */
16204 #if defined __stub_$ac_func || defined __stub___$ac_func
16205 choke me
16206 #endif
16209 main ()
16211 return $ac_func ();
16213 return 0;
16215 _ACEOF
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (ac_try="$ac_link"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16221 esac
16222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16223 $as_echo "$ac_try_echo") >&5
16224 (eval "$ac_link") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_cxx_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest$ac_exeext && {
16234 test "$cross_compiling" = yes ||
16235 $as_test_x conftest$ac_exeext
16236 }; then
16237 eval "$as_ac_var=yes"
16238 else
16239 $as_echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 eval "$as_ac_var=no"
16245 rm -rf conftest.dSYM
16246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16247 conftest$ac_exeext conftest.$ac_ext
16249 ac_res=`eval 'as_val=${'$as_ac_var'}
16250 $as_echo "$as_val"'`
16251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16252 $as_echo "$ac_res" >&6; }
16253 if test `eval 'as_val=${'$as_ac_var'}
16254 $as_echo "$as_val"'` = yes; then
16255 cat >>confdefs.h <<_ACEOF
16256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16257 _ACEOF
16260 done
16263 for ac_func in unlink
16265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16266 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16267 $as_echo_n "checking for $ac_func... " >&6; }
16268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16269 $as_echo_n "(cached) " >&6
16270 else
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16279 #define $ac_func innocuous_$ac_func
16281 /* System header to define __stub macros and hopefully few prototypes,
16282 which can conflict with char $ac_func (); below.
16283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16284 <limits.h> exists even on freestanding compilers. */
16286 #ifdef __STDC__
16287 # include <limits.h>
16288 #else
16289 # include <assert.h>
16290 #endif
16292 #undef $ac_func
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 #ifdef __cplusplus
16298 extern "C"
16299 #endif
16300 char $ac_func ();
16301 /* The GNU C library defines this for functions which it implements
16302 to always fail with ENOSYS. Some functions are actually named
16303 something starting with __ and the normal name is an alias. */
16304 #if defined __stub_$ac_func || defined __stub___$ac_func
16305 choke me
16306 #endif
16309 main ()
16311 return $ac_func ();
16313 return 0;
16315 _ACEOF
16316 rm -f conftest.$ac_objext conftest$ac_exeext
16317 if { (ac_try="$ac_link"
16318 case "(($ac_try" in
16319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16320 *) ac_try_echo=$ac_try;;
16321 esac
16322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16323 $as_echo "$ac_try_echo") >&5
16324 (eval "$ac_link") 2>conftest.er1
16325 ac_status=$?
16326 grep -v '^ *+' conftest.er1 >conftest.err
16327 rm -f conftest.er1
16328 cat conftest.err >&5
16329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } && {
16331 test -z "$ac_cxx_werror_flag" ||
16332 test ! -s conftest.err
16333 } && test -s conftest$ac_exeext && {
16334 test "$cross_compiling" = yes ||
16335 $as_test_x conftest$ac_exeext
16336 }; then
16337 eval "$as_ac_var=yes"
16338 else
16339 $as_echo "$as_me: failed program was:" >&5
16340 sed 's/^/| /' conftest.$ac_ext >&5
16342 eval "$as_ac_var=no"
16345 rm -rf conftest.dSYM
16346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16347 conftest$ac_exeext conftest.$ac_ext
16349 ac_res=`eval 'as_val=${'$as_ac_var'}
16350 $as_echo "$as_val"'`
16351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16352 $as_echo "$ac_res" >&6; }
16353 if test `eval 'as_val=${'$as_ac_var'}
16354 $as_echo "$as_val"'` = yes; then
16355 cat >>confdefs.h <<_ACEOF
16356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16357 _ACEOF
16360 done
16363 for ac_func in waitpid
16365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16366 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16367 $as_echo_n "checking for $ac_func... " >&6; }
16368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16369 $as_echo_n "(cached) " >&6
16370 else
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16379 #define $ac_func innocuous_$ac_func
16381 /* System header to define __stub macros and hopefully few prototypes,
16382 which can conflict with char $ac_func (); below.
16383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16384 <limits.h> exists even on freestanding compilers. */
16386 #ifdef __STDC__
16387 # include <limits.h>
16388 #else
16389 # include <assert.h>
16390 #endif
16392 #undef $ac_func
16394 /* Override any GCC internal prototype to avoid an error.
16395 Use char because int might match the return type of a GCC
16396 builtin and then its argument prototype would still apply. */
16397 #ifdef __cplusplus
16398 extern "C"
16399 #endif
16400 char $ac_func ();
16401 /* The GNU C library defines this for functions which it implements
16402 to always fail with ENOSYS. Some functions are actually named
16403 something starting with __ and the normal name is an alias. */
16404 #if defined __stub_$ac_func || defined __stub___$ac_func
16405 choke me
16406 #endif
16409 main ()
16411 return $ac_func ();
16413 return 0;
16415 _ACEOF
16416 rm -f conftest.$ac_objext conftest$ac_exeext
16417 if { (ac_try="$ac_link"
16418 case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16421 esac
16422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16423 $as_echo "$ac_try_echo") >&5
16424 (eval "$ac_link") 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_cxx_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest$ac_exeext && {
16434 test "$cross_compiling" = yes ||
16435 $as_test_x conftest$ac_exeext
16436 }; then
16437 eval "$as_ac_var=yes"
16438 else
16439 $as_echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 eval "$as_ac_var=no"
16445 rm -rf conftest.dSYM
16446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16447 conftest$ac_exeext conftest.$ac_ext
16449 ac_res=`eval 'as_val=${'$as_ac_var'}
16450 $as_echo "$as_val"'`
16451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16452 $as_echo "$ac_res" >&6; }
16453 if test `eval 'as_val=${'$as_ac_var'}
16454 $as_echo "$as_val"'` = yes; then
16455 cat >>confdefs.h <<_ACEOF
16456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16457 _ACEOF
16460 done
16464 for ac_func in clock_gettime
16466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16467 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16468 $as_echo_n "checking for $ac_func... " >&6; }
16469 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16470 $as_echo_n "(cached) " >&6
16471 else
16472 cat >conftest.$ac_ext <<_ACEOF
16473 /* confdefs.h. */
16474 _ACEOF
16475 cat confdefs.h >>conftest.$ac_ext
16476 cat >>conftest.$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16480 #define $ac_func innocuous_$ac_func
16482 /* System header to define __stub macros and hopefully few prototypes,
16483 which can conflict with char $ac_func (); below.
16484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16485 <limits.h> exists even on freestanding compilers. */
16487 #ifdef __STDC__
16488 # include <limits.h>
16489 #else
16490 # include <assert.h>
16491 #endif
16493 #undef $ac_func
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16498 #ifdef __cplusplus
16499 extern "C"
16500 #endif
16501 char $ac_func ();
16502 /* The GNU C library defines this for functions which it implements
16503 to always fail with ENOSYS. Some functions are actually named
16504 something starting with __ and the normal name is an alias. */
16505 #if defined __stub_$ac_func || defined __stub___$ac_func
16506 choke me
16507 #endif
16510 main ()
16512 return $ac_func ();
16514 return 0;
16516 _ACEOF
16517 rm -f conftest.$ac_objext conftest$ac_exeext
16518 if { (ac_try="$ac_link"
16519 case "(($ac_try" in
16520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16522 esac
16523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16524 $as_echo "$ac_try_echo") >&5
16525 (eval "$ac_link") 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } && {
16532 test -z "$ac_cxx_werror_flag" ||
16533 test ! -s conftest.err
16534 } && test -s conftest$ac_exeext && {
16535 test "$cross_compiling" = yes ||
16536 $as_test_x conftest$ac_exeext
16537 }; then
16538 eval "$as_ac_var=yes"
16539 else
16540 $as_echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16543 eval "$as_ac_var=no"
16546 rm -rf conftest.dSYM
16547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16548 conftest$ac_exeext conftest.$ac_ext
16550 ac_res=`eval 'as_val=${'$as_ac_var'}
16551 $as_echo "$as_val"'`
16552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16553 $as_echo "$ac_res" >&6; }
16554 if test `eval 'as_val=${'$as_ac_var'}
16555 $as_echo "$as_val"'` = yes; then
16556 cat >>confdefs.h <<_ACEOF
16557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16558 _ACEOF
16561 done
16564 for ac_func in getclock
16566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16567 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16568 $as_echo_n "checking for $ac_func... " >&6; }
16569 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16570 $as_echo_n "(cached) " >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16580 #define $ac_func innocuous_$ac_func
16582 /* System header to define __stub macros and hopefully few prototypes,
16583 which can conflict with char $ac_func (); below.
16584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16585 <limits.h> exists even on freestanding compilers. */
16587 #ifdef __STDC__
16588 # include <limits.h>
16589 #else
16590 # include <assert.h>
16591 #endif
16593 #undef $ac_func
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 #ifdef __cplusplus
16599 extern "C"
16600 #endif
16601 char $ac_func ();
16602 /* The GNU C library defines this for functions which it implements
16603 to always fail with ENOSYS. Some functions are actually named
16604 something starting with __ and the normal name is an alias. */
16605 #if defined __stub_$ac_func || defined __stub___$ac_func
16606 choke me
16607 #endif
16610 main ()
16612 return $ac_func ();
16614 return 0;
16616 _ACEOF
16617 rm -f conftest.$ac_objext conftest$ac_exeext
16618 if { (ac_try="$ac_link"
16619 case "(($ac_try" in
16620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16622 esac
16623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16624 $as_echo "$ac_try_echo") >&5
16625 (eval "$ac_link") 2>conftest.er1
16626 ac_status=$?
16627 grep -v '^ *+' conftest.er1 >conftest.err
16628 rm -f conftest.er1
16629 cat conftest.err >&5
16630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } && {
16632 test -z "$ac_cxx_werror_flag" ||
16633 test ! -s conftest.err
16634 } && test -s conftest$ac_exeext && {
16635 test "$cross_compiling" = yes ||
16636 $as_test_x conftest$ac_exeext
16637 }; then
16638 eval "$as_ac_var=yes"
16639 else
16640 $as_echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16643 eval "$as_ac_var=no"
16646 rm -rf conftest.dSYM
16647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16648 conftest$ac_exeext conftest.$ac_ext
16650 ac_res=`eval 'as_val=${'$as_ac_var'}
16651 $as_echo "$as_val"'`
16652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16653 $as_echo "$ac_res" >&6; }
16654 if test `eval 'as_val=${'$as_ac_var'}
16655 $as_echo "$as_val"'` = yes; then
16656 cat >>confdefs.h <<_ACEOF
16657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16658 _ACEOF
16661 done
16663 #AC_CHECK_FUNCS(GetSystemTime)
16665 for ac_func in gettimeofday
16667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16668 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16669 $as_echo_n "checking for $ac_func... " >&6; }
16670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16671 $as_echo_n "(cached) " >&6
16672 else
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16681 #define $ac_func innocuous_$ac_func
16683 /* System header to define __stub macros and hopefully few prototypes,
16684 which can conflict with char $ac_func (); below.
16685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16686 <limits.h> exists even on freestanding compilers. */
16688 #ifdef __STDC__
16689 # include <limits.h>
16690 #else
16691 # include <assert.h>
16692 #endif
16694 #undef $ac_func
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16699 #ifdef __cplusplus
16700 extern "C"
16701 #endif
16702 char $ac_func ();
16703 /* The GNU C library defines this for functions which it implements
16704 to always fail with ENOSYS. Some functions are actually named
16705 something starting with __ and the normal name is an alias. */
16706 #if defined __stub_$ac_func || defined __stub___$ac_func
16707 choke me
16708 #endif
16711 main ()
16713 return $ac_func ();
16715 return 0;
16717 _ACEOF
16718 rm -f conftest.$ac_objext conftest$ac_exeext
16719 if { (ac_try="$ac_link"
16720 case "(($ac_try" in
16721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16722 *) ac_try_echo=$ac_try;;
16723 esac
16724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16725 $as_echo "$ac_try_echo") >&5
16726 (eval "$ac_link") 2>conftest.er1
16727 ac_status=$?
16728 grep -v '^ *+' conftest.er1 >conftest.err
16729 rm -f conftest.er1
16730 cat conftest.err >&5
16731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } && {
16733 test -z "$ac_cxx_werror_flag" ||
16734 test ! -s conftest.err
16735 } && test -s conftest$ac_exeext && {
16736 test "$cross_compiling" = yes ||
16737 $as_test_x conftest$ac_exeext
16738 }; then
16739 eval "$as_ac_var=yes"
16740 else
16741 $as_echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 eval "$as_ac_var=no"
16747 rm -rf conftest.dSYM
16748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16749 conftest$ac_exeext conftest.$ac_ext
16751 ac_res=`eval 'as_val=${'$as_ac_var'}
16752 $as_echo "$as_val"'`
16753 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16754 $as_echo "$ac_res" >&6; }
16755 if test `eval 'as_val=${'$as_ac_var'}
16756 $as_echo "$as_val"'` = yes; then
16757 cat >>confdefs.h <<_ACEOF
16758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16759 _ACEOF
16762 done
16765 for ac_func in ftime
16767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16768 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16769 $as_echo_n "checking for $ac_func... " >&6; }
16770 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16771 $as_echo_n "(cached) " >&6
16772 else
16773 cat >conftest.$ac_ext <<_ACEOF
16774 /* confdefs.h. */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16781 #define $ac_func innocuous_$ac_func
16783 /* System header to define __stub macros and hopefully few prototypes,
16784 which can conflict with char $ac_func (); below.
16785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16786 <limits.h> exists even on freestanding compilers. */
16788 #ifdef __STDC__
16789 # include <limits.h>
16790 #else
16791 # include <assert.h>
16792 #endif
16794 #undef $ac_func
16796 /* Override any GCC internal prototype to avoid an error.
16797 Use char because int might match the return type of a GCC
16798 builtin and then its argument prototype would still apply. */
16799 #ifdef __cplusplus
16800 extern "C"
16801 #endif
16802 char $ac_func ();
16803 /* The GNU C library defines this for functions which it implements
16804 to always fail with ENOSYS. Some functions are actually named
16805 something starting with __ and the normal name is an alias. */
16806 #if defined __stub_$ac_func || defined __stub___$ac_func
16807 choke me
16808 #endif
16811 main ()
16813 return $ac_func ();
16815 return 0;
16817 _ACEOF
16818 rm -f conftest.$ac_objext conftest$ac_exeext
16819 if { (ac_try="$ac_link"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16823 esac
16824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16825 $as_echo "$ac_try_echo") >&5
16826 (eval "$ac_link") 2>conftest.er1
16827 ac_status=$?
16828 grep -v '^ *+' conftest.er1 >conftest.err
16829 rm -f conftest.er1
16830 cat conftest.err >&5
16831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } && {
16833 test -z "$ac_cxx_werror_flag" ||
16834 test ! -s conftest.err
16835 } && test -s conftest$ac_exeext && {
16836 test "$cross_compiling" = yes ||
16837 $as_test_x conftest$ac_exeext
16838 }; then
16839 eval "$as_ac_var=yes"
16840 else
16841 $as_echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 eval "$as_ac_var=no"
16847 rm -rf conftest.dSYM
16848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16849 conftest$ac_exeext conftest.$ac_ext
16851 ac_res=`eval 'as_val=${'$as_ac_var'}
16852 $as_echo "$as_val"'`
16853 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16854 $as_echo "$ac_res" >&6; }
16855 if test `eval 'as_val=${'$as_ac_var'}
16856 $as_echo "$as_val"'` = yes; then
16857 cat >>confdefs.h <<_ACEOF
16858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16859 _ACEOF
16862 done
16865 for ac_func in time
16867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16868 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16869 $as_echo_n "checking for $ac_func... " >&6; }
16870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16871 $as_echo_n "(cached) " >&6
16872 else
16873 cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h. */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16881 #define $ac_func innocuous_$ac_func
16883 /* System header to define __stub macros and hopefully few prototypes,
16884 which can conflict with char $ac_func (); below.
16885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16886 <limits.h> exists even on freestanding compilers. */
16888 #ifdef __STDC__
16889 # include <limits.h>
16890 #else
16891 # include <assert.h>
16892 #endif
16894 #undef $ac_func
16896 /* Override any GCC internal prototype to avoid an error.
16897 Use char because int might match the return type of a GCC
16898 builtin and then its argument prototype would still apply. */
16899 #ifdef __cplusplus
16900 extern "C"
16901 #endif
16902 char $ac_func ();
16903 /* The GNU C library defines this for functions which it implements
16904 to always fail with ENOSYS. Some functions are actually named
16905 something starting with __ and the normal name is an alias. */
16906 #if defined __stub_$ac_func || defined __stub___$ac_func
16907 choke me
16908 #endif
16911 main ()
16913 return $ac_func ();
16915 return 0;
16917 _ACEOF
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (ac_try="$ac_link"
16920 case "(($ac_try" in
16921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16922 *) ac_try_echo=$ac_try;;
16923 esac
16924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16925 $as_echo "$ac_try_echo") >&5
16926 (eval "$ac_link") 2>conftest.er1
16927 ac_status=$?
16928 grep -v '^ *+' conftest.er1 >conftest.err
16929 rm -f conftest.er1
16930 cat conftest.err >&5
16931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } && {
16933 test -z "$ac_cxx_werror_flag" ||
16934 test ! -s conftest.err
16935 } && test -s conftest$ac_exeext && {
16936 test "$cross_compiling" = yes ||
16937 $as_test_x conftest$ac_exeext
16938 }; then
16939 eval "$as_ac_var=yes"
16940 else
16941 $as_echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 eval "$as_ac_var=no"
16947 rm -rf conftest.dSYM
16948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16949 conftest$ac_exeext conftest.$ac_ext
16951 ac_res=`eval 'as_val=${'$as_ac_var'}
16952 $as_echo "$as_val"'`
16953 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16954 $as_echo "$ac_res" >&6; }
16955 if test `eval 'as_val=${'$as_ac_var'}
16956 $as_echo "$as_val"'` = yes; then
16957 cat >>confdefs.h <<_ACEOF
16958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16959 _ACEOF
16962 done
16966 for ac_func in nanosleep
16968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16969 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16970 $as_echo_n "checking for $ac_func... " >&6; }
16971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16972 $as_echo_n "(cached) " >&6
16973 else
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16982 #define $ac_func innocuous_$ac_func
16984 /* System header to define __stub macros and hopefully few prototypes,
16985 which can conflict with char $ac_func (); below.
16986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16987 <limits.h> exists even on freestanding compilers. */
16989 #ifdef __STDC__
16990 # include <limits.h>
16991 #else
16992 # include <assert.h>
16993 #endif
16995 #undef $ac_func
16997 /* Override any GCC internal prototype to avoid an error.
16998 Use char because int might match the return type of a GCC
16999 builtin and then its argument prototype would still apply. */
17000 #ifdef __cplusplus
17001 extern "C"
17002 #endif
17003 char $ac_func ();
17004 /* The GNU C library defines this for functions which it implements
17005 to always fail with ENOSYS. Some functions are actually named
17006 something starting with __ and the normal name is an alias. */
17007 #if defined __stub_$ac_func || defined __stub___$ac_func
17008 choke me
17009 #endif
17012 main ()
17014 return $ac_func ();
17016 return 0;
17018 _ACEOF
17019 rm -f conftest.$ac_objext conftest$ac_exeext
17020 if { (ac_try="$ac_link"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17024 esac
17025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17026 $as_echo "$ac_try_echo") >&5
17027 (eval "$ac_link") 2>conftest.er1
17028 ac_status=$?
17029 grep -v '^ *+' conftest.er1 >conftest.err
17030 rm -f conftest.er1
17031 cat conftest.err >&5
17032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && {
17034 test -z "$ac_cxx_werror_flag" ||
17035 test ! -s conftest.err
17036 } && test -s conftest$ac_exeext && {
17037 test "$cross_compiling" = yes ||
17038 $as_test_x conftest$ac_exeext
17039 }; then
17040 eval "$as_ac_var=yes"
17041 else
17042 $as_echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 eval "$as_ac_var=no"
17048 rm -rf conftest.dSYM
17049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17050 conftest$ac_exeext conftest.$ac_ext
17052 ac_res=`eval 'as_val=${'$as_ac_var'}
17053 $as_echo "$as_val"'`
17054 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17055 $as_echo "$ac_res" >&6; }
17056 if test `eval 'as_val=${'$as_ac_var'}
17057 $as_echo "$as_val"'` = yes; then
17058 cat >>confdefs.h <<_ACEOF
17059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17060 _ACEOF
17063 done
17065 #AC_CHECK_FUNCS(Sleep)
17067 for ac_func in sleep
17069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17070 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17071 $as_echo_n "checking for $ac_func... " >&6; }
17072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17073 $as_echo_n "(cached) " >&6
17074 else
17075 cat >conftest.$ac_ext <<_ACEOF
17076 /* confdefs.h. */
17077 _ACEOF
17078 cat confdefs.h >>conftest.$ac_ext
17079 cat >>conftest.$ac_ext <<_ACEOF
17080 /* end confdefs.h. */
17081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17083 #define $ac_func innocuous_$ac_func
17085 /* System header to define __stub macros and hopefully few prototypes,
17086 which can conflict with char $ac_func (); below.
17087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17088 <limits.h> exists even on freestanding compilers. */
17090 #ifdef __STDC__
17091 # include <limits.h>
17092 #else
17093 # include <assert.h>
17094 #endif
17096 #undef $ac_func
17098 /* Override any GCC internal prototype to avoid an error.
17099 Use char because int might match the return type of a GCC
17100 builtin and then its argument prototype would still apply. */
17101 #ifdef __cplusplus
17102 extern "C"
17103 #endif
17104 char $ac_func ();
17105 /* The GNU C library defines this for functions which it implements
17106 to always fail with ENOSYS. Some functions are actually named
17107 something starting with __ and the normal name is an alias. */
17108 #if defined __stub_$ac_func || defined __stub___$ac_func
17109 choke me
17110 #endif
17113 main ()
17115 return $ac_func ();
17117 return 0;
17119 _ACEOF
17120 rm -f conftest.$ac_objext conftest$ac_exeext
17121 if { (ac_try="$ac_link"
17122 case "(($ac_try" in
17123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17124 *) ac_try_echo=$ac_try;;
17125 esac
17126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17127 $as_echo "$ac_try_echo") >&5
17128 (eval "$ac_link") 2>conftest.er1
17129 ac_status=$?
17130 grep -v '^ *+' conftest.er1 >conftest.err
17131 rm -f conftest.er1
17132 cat conftest.err >&5
17133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } && {
17135 test -z "$ac_cxx_werror_flag" ||
17136 test ! -s conftest.err
17137 } && test -s conftest$ac_exeext && {
17138 test "$cross_compiling" = yes ||
17139 $as_test_x conftest$ac_exeext
17140 }; then
17141 eval "$as_ac_var=yes"
17142 else
17143 $as_echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.$ac_ext >&5
17146 eval "$as_ac_var=no"
17149 rm -rf conftest.dSYM
17150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17151 conftest$ac_exeext conftest.$ac_ext
17153 ac_res=`eval 'as_val=${'$as_ac_var'}
17154 $as_echo "$as_val"'`
17155 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17156 $as_echo "$ac_res" >&6; }
17157 if test `eval 'as_val=${'$as_ac_var'}
17158 $as_echo "$as_val"'` = yes; then
17159 cat >>confdefs.h <<_ACEOF
17160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17161 _ACEOF
17164 done
17167 #AC_CHECK_FUNCS(GetProcessTimes)
17169 for ac_func in getrusage
17171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17172 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17173 $as_echo_n "checking for $ac_func... " >&6; }
17174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17175 $as_echo_n "(cached) " >&6
17176 else
17177 cat >conftest.$ac_ext <<_ACEOF
17178 /* confdefs.h. */
17179 _ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17185 #define $ac_func innocuous_$ac_func
17187 /* System header to define __stub macros and hopefully few prototypes,
17188 which can conflict with char $ac_func (); below.
17189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17190 <limits.h> exists even on freestanding compilers. */
17192 #ifdef __STDC__
17193 # include <limits.h>
17194 #else
17195 # include <assert.h>
17196 #endif
17198 #undef $ac_func
17200 /* Override any GCC internal prototype to avoid an error.
17201 Use char because int might match the return type of a GCC
17202 builtin and then its argument prototype would still apply. */
17203 #ifdef __cplusplus
17204 extern "C"
17205 #endif
17206 char $ac_func ();
17207 /* The GNU C library defines this for functions which it implements
17208 to always fail with ENOSYS. Some functions are actually named
17209 something starting with __ and the normal name is an alias. */
17210 #if defined __stub_$ac_func || defined __stub___$ac_func
17211 choke me
17212 #endif
17215 main ()
17217 return $ac_func ();
17219 return 0;
17221 _ACEOF
17222 rm -f conftest.$ac_objext conftest$ac_exeext
17223 if { (ac_try="$ac_link"
17224 case "(($ac_try" in
17225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17226 *) ac_try_echo=$ac_try;;
17227 esac
17228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17229 $as_echo "$ac_try_echo") >&5
17230 (eval "$ac_link") 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_cxx_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest$ac_exeext && {
17240 test "$cross_compiling" = yes ||
17241 $as_test_x conftest$ac_exeext
17242 }; then
17243 eval "$as_ac_var=yes"
17244 else
17245 $as_echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 eval "$as_ac_var=no"
17251 rm -rf conftest.dSYM
17252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17253 conftest$ac_exeext conftest.$ac_ext
17255 ac_res=`eval 'as_val=${'$as_ac_var'}
17256 $as_echo "$as_val"'`
17257 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17258 $as_echo "$ac_res" >&6; }
17259 if test `eval 'as_val=${'$as_ac_var'}
17260 $as_echo "$as_val"'` = yes; then
17261 cat >>confdefs.h <<_ACEOF
17262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17263 _ACEOF
17266 done
17269 for ac_func in times
17271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17272 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17273 $as_echo_n "checking for $ac_func... " >&6; }
17274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17275 $as_echo_n "(cached) " >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17285 #define $ac_func innocuous_$ac_func
17287 /* System header to define __stub macros and hopefully few prototypes,
17288 which can conflict with char $ac_func (); below.
17289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17290 <limits.h> exists even on freestanding compilers. */
17292 #ifdef __STDC__
17293 # include <limits.h>
17294 #else
17295 # include <assert.h>
17296 #endif
17298 #undef $ac_func
17300 /* Override any GCC internal prototype to avoid an error.
17301 Use char because int might match the return type of a GCC
17302 builtin and then its argument prototype would still apply. */
17303 #ifdef __cplusplus
17304 extern "C"
17305 #endif
17306 char $ac_func ();
17307 /* The GNU C library defines this for functions which it implements
17308 to always fail with ENOSYS. Some functions are actually named
17309 something starting with __ and the normal name is an alias. */
17310 #if defined __stub_$ac_func || defined __stub___$ac_func
17311 choke me
17312 #endif
17315 main ()
17317 return $ac_func ();
17319 return 0;
17321 _ACEOF
17322 rm -f conftest.$ac_objext conftest$ac_exeext
17323 if { (ac_try="$ac_link"
17324 case "(($ac_try" in
17325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17327 esac
17328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17329 $as_echo "$ac_try_echo") >&5
17330 (eval "$ac_link") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_cxx_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest$ac_exeext && {
17340 test "$cross_compiling" = yes ||
17341 $as_test_x conftest$ac_exeext
17342 }; then
17343 eval "$as_ac_var=yes"
17344 else
17345 $as_echo "$as_me: failed program was:" >&5
17346 sed 's/^/| /' conftest.$ac_ext >&5
17348 eval "$as_ac_var=no"
17351 rm -rf conftest.dSYM
17352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17353 conftest$ac_exeext conftest.$ac_ext
17355 ac_res=`eval 'as_val=${'$as_ac_var'}
17356 $as_echo "$as_val"'`
17357 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17358 $as_echo "$ac_res" >&6; }
17359 if test `eval 'as_val=${'$as_ac_var'}
17360 $as_echo "$as_val"'` = yes; then
17361 cat >>confdefs.h <<_ACEOF
17362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17363 _ACEOF
17366 done
17369 for ac_func in clock
17371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17372 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17373 $as_echo_n "checking for $ac_func... " >&6; }
17374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17375 $as_echo_n "(cached) " >&6
17376 else
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17385 #define $ac_func innocuous_$ac_func
17387 /* System header to define __stub macros and hopefully few prototypes,
17388 which can conflict with char $ac_func (); below.
17389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17390 <limits.h> exists even on freestanding compilers. */
17392 #ifdef __STDC__
17393 # include <limits.h>
17394 #else
17395 # include <assert.h>
17396 #endif
17398 #undef $ac_func
17400 /* Override any GCC internal prototype to avoid an error.
17401 Use char because int might match the return type of a GCC
17402 builtin and then its argument prototype would still apply. */
17403 #ifdef __cplusplus
17404 extern "C"
17405 #endif
17406 char $ac_func ();
17407 /* The GNU C library defines this for functions which it implements
17408 to always fail with ENOSYS. Some functions are actually named
17409 something starting with __ and the normal name is an alias. */
17410 #if defined __stub_$ac_func || defined __stub___$ac_func
17411 choke me
17412 #endif
17415 main ()
17417 return $ac_func ();
17419 return 0;
17421 _ACEOF
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (ac_try="$ac_link"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17429 $as_echo "$ac_try_echo") >&5
17430 (eval "$ac_link") 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } && {
17437 test -z "$ac_cxx_werror_flag" ||
17438 test ! -s conftest.err
17439 } && test -s conftest$ac_exeext && {
17440 test "$cross_compiling" = yes ||
17441 $as_test_x conftest$ac_exeext
17442 }; then
17443 eval "$as_ac_var=yes"
17444 else
17445 $as_echo "$as_me: failed program was:" >&5
17446 sed 's/^/| /' conftest.$ac_ext >&5
17448 eval "$as_ac_var=no"
17451 rm -rf conftest.dSYM
17452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17453 conftest$ac_exeext conftest.$ac_ext
17455 ac_res=`eval 'as_val=${'$as_ac_var'}
17456 $as_echo "$as_val"'`
17457 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17458 $as_echo "$ac_res" >&6; }
17459 if test `eval 'as_val=${'$as_ac_var'}
17460 $as_echo "$as_val"'` = yes; then
17461 cat >>confdefs.h <<_ACEOF
17462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17463 _ACEOF
17466 done
17469 for ac_func in DosQuerySysInfo
17471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17472 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17473 $as_echo_n "checking for $ac_func... " >&6; }
17474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17475 $as_echo_n "(cached) " >&6
17476 else
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17485 #define $ac_func innocuous_$ac_func
17487 /* System header to define __stub macros and hopefully few prototypes,
17488 which can conflict with char $ac_func (); below.
17489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17490 <limits.h> exists even on freestanding compilers. */
17492 #ifdef __STDC__
17493 # include <limits.h>
17494 #else
17495 # include <assert.h>
17496 #endif
17498 #undef $ac_func
17500 /* Override any GCC internal prototype to avoid an error.
17501 Use char because int might match the return type of a GCC
17502 builtin and then its argument prototype would still apply. */
17503 #ifdef __cplusplus
17504 extern "C"
17505 #endif
17506 char $ac_func ();
17507 /* The GNU C library defines this for functions which it implements
17508 to always fail with ENOSYS. Some functions are actually named
17509 something starting with __ and the normal name is an alias. */
17510 #if defined __stub_$ac_func || defined __stub___$ac_func
17511 choke me
17512 #endif
17515 main ()
17517 return $ac_func ();
17519 return 0;
17521 _ACEOF
17522 rm -f conftest.$ac_objext conftest$ac_exeext
17523 if { (ac_try="$ac_link"
17524 case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17527 esac
17528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17529 $as_echo "$ac_try_echo") >&5
17530 (eval "$ac_link") 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && {
17537 test -z "$ac_cxx_werror_flag" ||
17538 test ! -s conftest.err
17539 } && test -s conftest$ac_exeext && {
17540 test "$cross_compiling" = yes ||
17541 $as_test_x conftest$ac_exeext
17542 }; then
17543 eval "$as_ac_var=yes"
17544 else
17545 $as_echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.$ac_ext >&5
17548 eval "$as_ac_var=no"
17551 rm -rf conftest.dSYM
17552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17553 conftest$ac_exeext conftest.$ac_ext
17555 ac_res=`eval 'as_val=${'$as_ac_var'}
17556 $as_echo "$as_val"'`
17557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17558 $as_echo "$ac_res" >&6; }
17559 if test `eval 'as_val=${'$as_ac_var'}
17560 $as_echo "$as_val"'` = yes; then
17561 cat >>confdefs.h <<_ACEOF
17562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17563 _ACEOF
17566 done
17570 for ac_func in setitimer
17572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17573 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17574 $as_echo_n "checking for $ac_func... " >&6; }
17575 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17576 $as_echo_n "(cached) " >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17586 #define $ac_func innocuous_$ac_func
17588 /* System header to define __stub macros and hopefully few prototypes,
17589 which can conflict with char $ac_func (); below.
17590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17591 <limits.h> exists even on freestanding compilers. */
17593 #ifdef __STDC__
17594 # include <limits.h>
17595 #else
17596 # include <assert.h>
17597 #endif
17599 #undef $ac_func
17601 /* Override any GCC internal prototype to avoid an error.
17602 Use char because int might match the return type of a GCC
17603 builtin and then its argument prototype would still apply. */
17604 #ifdef __cplusplus
17605 extern "C"
17606 #endif
17607 char $ac_func ();
17608 /* The GNU C library defines this for functions which it implements
17609 to always fail with ENOSYS. Some functions are actually named
17610 something starting with __ and the normal name is an alias. */
17611 #if defined __stub_$ac_func || defined __stub___$ac_func
17612 choke me
17613 #endif
17616 main ()
17618 return $ac_func ();
17620 return 0;
17622 _ACEOF
17623 rm -f conftest.$ac_objext conftest$ac_exeext
17624 if { (ac_try="$ac_link"
17625 case "(($ac_try" in
17626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17628 esac
17629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17630 $as_echo "$ac_try_echo") >&5
17631 (eval "$ac_link") 2>conftest.er1
17632 ac_status=$?
17633 grep -v '^ *+' conftest.er1 >conftest.err
17634 rm -f conftest.er1
17635 cat conftest.err >&5
17636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } && {
17638 test -z "$ac_cxx_werror_flag" ||
17639 test ! -s conftest.err
17640 } && test -s conftest$ac_exeext && {
17641 test "$cross_compiling" = yes ||
17642 $as_test_x conftest$ac_exeext
17643 }; then
17644 eval "$as_ac_var=yes"
17645 else
17646 $as_echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 eval "$as_ac_var=no"
17652 rm -rf conftest.dSYM
17653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17654 conftest$ac_exeext conftest.$ac_ext
17656 ac_res=`eval 'as_val=${'$as_ac_var'}
17657 $as_echo "$as_val"'`
17658 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17659 $as_echo "$ac_res" >&6; }
17660 if test `eval 'as_val=${'$as_ac_var'}
17661 $as_echo "$as_val"'` = yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17664 _ACEOF
17667 done
17670 for ac_func in dos_setvect
17672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17673 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17674 $as_echo_n "checking for $ac_func... " >&6; }
17675 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17676 $as_echo_n "(cached) " >&6
17677 else
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17686 #define $ac_func innocuous_$ac_func
17688 /* System header to define __stub macros and hopefully few prototypes,
17689 which can conflict with char $ac_func (); below.
17690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17691 <limits.h> exists even on freestanding compilers. */
17693 #ifdef __STDC__
17694 # include <limits.h>
17695 #else
17696 # include <assert.h>
17697 #endif
17699 #undef $ac_func
17701 /* Override any GCC internal prototype to avoid an error.
17702 Use char because int might match the return type of a GCC
17703 builtin and then its argument prototype would still apply. */
17704 #ifdef __cplusplus
17705 extern "C"
17706 #endif
17707 char $ac_func ();
17708 /* The GNU C library defines this for functions which it implements
17709 to always fail with ENOSYS. Some functions are actually named
17710 something starting with __ and the normal name is an alias. */
17711 #if defined __stub_$ac_func || defined __stub___$ac_func
17712 choke me
17713 #endif
17716 main ()
17718 return $ac_func ();
17720 return 0;
17722 _ACEOF
17723 rm -f conftest.$ac_objext conftest$ac_exeext
17724 if { (ac_try="$ac_link"
17725 case "(($ac_try" in
17726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17727 *) ac_try_echo=$ac_try;;
17728 esac
17729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17730 $as_echo "$ac_try_echo") >&5
17731 (eval "$ac_link") 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_cxx_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest$ac_exeext && {
17741 test "$cross_compiling" = yes ||
17742 $as_test_x conftest$ac_exeext
17743 }; then
17744 eval "$as_ac_var=yes"
17745 else
17746 $as_echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17749 eval "$as_ac_var=no"
17752 rm -rf conftest.dSYM
17753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17754 conftest$ac_exeext conftest.$ac_ext
17756 ac_res=`eval 'as_val=${'$as_ac_var'}
17757 $as_echo "$as_val"'`
17758 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17759 $as_echo "$ac_res" >&6; }
17760 if test `eval 'as_val=${'$as_ac_var'}
17761 $as_echo "$as_val"'` = yes; then
17762 cat >>confdefs.h <<_ACEOF
17763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17764 _ACEOF
17767 done
17770 for ac_func in DosStartTimer
17772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17773 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17774 $as_echo_n "checking for $ac_func... " >&6; }
17775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17776 $as_echo_n "(cached) " >&6
17777 else
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17786 #define $ac_func innocuous_$ac_func
17788 /* System header to define __stub macros and hopefully few prototypes,
17789 which can conflict with char $ac_func (); below.
17790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17791 <limits.h> exists even on freestanding compilers. */
17793 #ifdef __STDC__
17794 # include <limits.h>
17795 #else
17796 # include <assert.h>
17797 #endif
17799 #undef $ac_func
17801 /* Override any GCC internal prototype to avoid an error.
17802 Use char because int might match the return type of a GCC
17803 builtin and then its argument prototype would still apply. */
17804 #ifdef __cplusplus
17805 extern "C"
17806 #endif
17807 char $ac_func ();
17808 /* The GNU C library defines this for functions which it implements
17809 to always fail with ENOSYS. Some functions are actually named
17810 something starting with __ and the normal name is an alias. */
17811 #if defined __stub_$ac_func || defined __stub___$ac_func
17812 choke me
17813 #endif
17816 main ()
17818 return $ac_func ();
17820 return 0;
17822 _ACEOF
17823 rm -f conftest.$ac_objext conftest$ac_exeext
17824 if { (ac_try="$ac_link"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17828 esac
17829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17830 $as_echo "$ac_try_echo") >&5
17831 (eval "$ac_link") 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } && {
17838 test -z "$ac_cxx_werror_flag" ||
17839 test ! -s conftest.err
17840 } && test -s conftest$ac_exeext && {
17841 test "$cross_compiling" = yes ||
17842 $as_test_x conftest$ac_exeext
17843 }; then
17844 eval "$as_ac_var=yes"
17845 else
17846 $as_echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.$ac_ext >&5
17849 eval "$as_ac_var=no"
17852 rm -rf conftest.dSYM
17853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17854 conftest$ac_exeext conftest.$ac_ext
17856 ac_res=`eval 'as_val=${'$as_ac_var'}
17857 $as_echo "$as_val"'`
17858 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17859 $as_echo "$ac_res" >&6; }
17860 if test `eval 'as_val=${'$as_ac_var'}
17861 $as_echo "$as_val"'` = yes; then
17862 cat >>confdefs.h <<_ACEOF
17863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17864 _ACEOF
17867 done
17870 for ac_func in VInstall
17872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17873 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17874 $as_echo_n "checking for $ac_func... " >&6; }
17875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17876 $as_echo_n "(cached) " >&6
17877 else
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17886 #define $ac_func innocuous_$ac_func
17888 /* System header to define __stub macros and hopefully few prototypes,
17889 which can conflict with char $ac_func (); below.
17890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17891 <limits.h> exists even on freestanding compilers. */
17893 #ifdef __STDC__
17894 # include <limits.h>
17895 #else
17896 # include <assert.h>
17897 #endif
17899 #undef $ac_func
17901 /* Override any GCC internal prototype to avoid an error.
17902 Use char because int might match the return type of a GCC
17903 builtin and then its argument prototype would still apply. */
17904 #ifdef __cplusplus
17905 extern "C"
17906 #endif
17907 char $ac_func ();
17908 /* The GNU C library defines this for functions which it implements
17909 to always fail with ENOSYS. Some functions are actually named
17910 something starting with __ and the normal name is an alias. */
17911 #if defined __stub_$ac_func || defined __stub___$ac_func
17912 choke me
17913 #endif
17916 main ()
17918 return $ac_func ();
17920 return 0;
17922 _ACEOF
17923 rm -f conftest.$ac_objext conftest$ac_exeext
17924 if { (ac_try="$ac_link"
17925 case "(($ac_try" in
17926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17927 *) ac_try_echo=$ac_try;;
17928 esac
17929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17930 $as_echo "$ac_try_echo") >&5
17931 (eval "$ac_link") 2>conftest.er1
17932 ac_status=$?
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
17936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } && {
17938 test -z "$ac_cxx_werror_flag" ||
17939 test ! -s conftest.err
17940 } && test -s conftest$ac_exeext && {
17941 test "$cross_compiling" = yes ||
17942 $as_test_x conftest$ac_exeext
17943 }; then
17944 eval "$as_ac_var=yes"
17945 else
17946 $as_echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 eval "$as_ac_var=no"
17952 rm -rf conftest.dSYM
17953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17954 conftest$ac_exeext conftest.$ac_ext
17956 ac_res=`eval 'as_val=${'$as_ac_var'}
17957 $as_echo "$as_val"'`
17958 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17959 $as_echo "$ac_res" >&6; }
17960 if test `eval 'as_val=${'$as_ac_var'}
17961 $as_echo "$as_val"'` = yes; then
17962 cat >>confdefs.h <<_ACEOF
17963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17964 _ACEOF
17967 done
17969 #AC_CHECK_FUNCS(CreateThread)
17972 for ac_func in sigaction
17974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17975 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17976 $as_echo_n "checking for $ac_func... " >&6; }
17977 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17978 $as_echo_n "(cached) " >&6
17979 else
17980 cat >conftest.$ac_ext <<_ACEOF
17981 /* confdefs.h. */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17988 #define $ac_func innocuous_$ac_func
17990 /* System header to define __stub macros and hopefully few prototypes,
17991 which can conflict with char $ac_func (); below.
17992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17993 <limits.h> exists even on freestanding compilers. */
17995 #ifdef __STDC__
17996 # include <limits.h>
17997 #else
17998 # include <assert.h>
17999 #endif
18001 #undef $ac_func
18003 /* Override any GCC internal prototype to avoid an error.
18004 Use char because int might match the return type of a GCC
18005 builtin and then its argument prototype would still apply. */
18006 #ifdef __cplusplus
18007 extern "C"
18008 #endif
18009 char $ac_func ();
18010 /* The GNU C library defines this for functions which it implements
18011 to always fail with ENOSYS. Some functions are actually named
18012 something starting with __ and the normal name is an alias. */
18013 #if defined __stub_$ac_func || defined __stub___$ac_func
18014 choke me
18015 #endif
18018 main ()
18020 return $ac_func ();
18022 return 0;
18024 _ACEOF
18025 rm -f conftest.$ac_objext conftest$ac_exeext
18026 if { (ac_try="$ac_link"
18027 case "(($ac_try" in
18028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18029 *) ac_try_echo=$ac_try;;
18030 esac
18031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18032 $as_echo "$ac_try_echo") >&5
18033 (eval "$ac_link") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_cxx_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest$ac_exeext && {
18043 test "$cross_compiling" = yes ||
18044 $as_test_x conftest$ac_exeext
18045 }; then
18046 eval "$as_ac_var=yes"
18047 else
18048 $as_echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 eval "$as_ac_var=no"
18054 rm -rf conftest.dSYM
18055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18056 conftest$ac_exeext conftest.$ac_ext
18058 ac_res=`eval 'as_val=${'$as_ac_var'}
18059 $as_echo "$as_val"'`
18060 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18061 $as_echo "$ac_res" >&6; }
18062 if test `eval 'as_val=${'$as_ac_var'}
18063 $as_echo "$as_val"'` = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18066 _ACEOF
18069 done
18072 for ac_func in sigemptyset
18074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18076 $as_echo_n "checking for $ac_func... " >&6; }
18077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18078 $as_echo_n "(cached) " >&6
18079 else
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18088 #define $ac_func innocuous_$ac_func
18090 /* System header to define __stub macros and hopefully few prototypes,
18091 which can conflict with char $ac_func (); below.
18092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18093 <limits.h> exists even on freestanding compilers. */
18095 #ifdef __STDC__
18096 # include <limits.h>
18097 #else
18098 # include <assert.h>
18099 #endif
18101 #undef $ac_func
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18106 #ifdef __cplusplus
18107 extern "C"
18108 #endif
18109 char $ac_func ();
18110 /* The GNU C library defines this for functions which it implements
18111 to always fail with ENOSYS. Some functions are actually named
18112 something starting with __ and the normal name is an alias. */
18113 #if defined __stub_$ac_func || defined __stub___$ac_func
18114 choke me
18115 #endif
18118 main ()
18120 return $ac_func ();
18122 return 0;
18124 _ACEOF
18125 rm -f conftest.$ac_objext conftest$ac_exeext
18126 if { (ac_try="$ac_link"
18127 case "(($ac_try" in
18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18132 $as_echo "$ac_try_echo") >&5
18133 (eval "$ac_link") 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_cxx_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest$ac_exeext && {
18143 test "$cross_compiling" = yes ||
18144 $as_test_x conftest$ac_exeext
18145 }; then
18146 eval "$as_ac_var=yes"
18147 else
18148 $as_echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 eval "$as_ac_var=no"
18154 rm -rf conftest.dSYM
18155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18156 conftest$ac_exeext conftest.$ac_ext
18158 ac_res=`eval 'as_val=${'$as_ac_var'}
18159 $as_echo "$as_val"'`
18160 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18161 $as_echo "$ac_res" >&6; }
18162 if test `eval 'as_val=${'$as_ac_var'}
18163 $as_echo "$as_val"'` = yes; then
18164 cat >>confdefs.h <<_ACEOF
18165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18166 _ACEOF
18169 done
18172 for ac_func in sigaddset
18174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18175 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18176 $as_echo_n "checking for $ac_func... " >&6; }
18177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18178 $as_echo_n "(cached) " >&6
18179 else
18180 cat >conftest.$ac_ext <<_ACEOF
18181 /* confdefs.h. */
18182 _ACEOF
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18188 #define $ac_func innocuous_$ac_func
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func (); below.
18192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18193 <limits.h> exists even on freestanding compilers. */
18195 #ifdef __STDC__
18196 # include <limits.h>
18197 #else
18198 # include <assert.h>
18199 #endif
18201 #undef $ac_func
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18206 #ifdef __cplusplus
18207 extern "C"
18208 #endif
18209 char $ac_func ();
18210 /* The GNU C library defines this for functions which it implements
18211 to always fail with ENOSYS. Some functions are actually named
18212 something starting with __ and the normal name is an alias. */
18213 #if defined __stub_$ac_func || defined __stub___$ac_func
18214 choke me
18215 #endif
18218 main ()
18220 return $ac_func ();
18222 return 0;
18224 _ACEOF
18225 rm -f conftest.$ac_objext conftest$ac_exeext
18226 if { (ac_try="$ac_link"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18232 $as_echo "$ac_try_echo") >&5
18233 (eval "$ac_link") 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest$ac_exeext && {
18243 test "$cross_compiling" = yes ||
18244 $as_test_x conftest$ac_exeext
18245 }; then
18246 eval "$as_ac_var=yes"
18247 else
18248 $as_echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 eval "$as_ac_var=no"
18254 rm -rf conftest.dSYM
18255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18256 conftest$ac_exeext conftest.$ac_ext
18258 ac_res=`eval 'as_val=${'$as_ac_var'}
18259 $as_echo "$as_val"'`
18260 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18261 $as_echo "$ac_res" >&6; }
18262 if test `eval 'as_val=${'$as_ac_var'}
18263 $as_echo "$as_val"'` = yes; then
18264 cat >>confdefs.h <<_ACEOF
18265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18266 _ACEOF
18269 done
18272 for ac_func in sigprocmask
18274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18275 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18276 $as_echo_n "checking for $ac_func... " >&6; }
18277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18278 $as_echo_n "(cached) " >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18288 #define $ac_func innocuous_$ac_func
18290 /* System header to define __stub macros and hopefully few prototypes,
18291 which can conflict with char $ac_func (); below.
18292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18293 <limits.h> exists even on freestanding compilers. */
18295 #ifdef __STDC__
18296 # include <limits.h>
18297 #else
18298 # include <assert.h>
18299 #endif
18301 #undef $ac_func
18303 /* Override any GCC internal prototype to avoid an error.
18304 Use char because int might match the return type of a GCC
18305 builtin and then its argument prototype would still apply. */
18306 #ifdef __cplusplus
18307 extern "C"
18308 #endif
18309 char $ac_func ();
18310 /* The GNU C library defines this for functions which it implements
18311 to always fail with ENOSYS. Some functions are actually named
18312 something starting with __ and the normal name is an alias. */
18313 #if defined __stub_$ac_func || defined __stub___$ac_func
18314 choke me
18315 #endif
18318 main ()
18320 return $ac_func ();
18322 return 0;
18324 _ACEOF
18325 rm -f conftest.$ac_objext conftest$ac_exeext
18326 if { (ac_try="$ac_link"
18327 case "(($ac_try" in
18328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18329 *) ac_try_echo=$ac_try;;
18330 esac
18331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18332 $as_echo "$ac_try_echo") >&5
18333 (eval "$ac_link") 2>conftest.er1
18334 ac_status=$?
18335 grep -v '^ *+' conftest.er1 >conftest.err
18336 rm -f conftest.er1
18337 cat conftest.err >&5
18338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } && {
18340 test -z "$ac_cxx_werror_flag" ||
18341 test ! -s conftest.err
18342 } && test -s conftest$ac_exeext && {
18343 test "$cross_compiling" = yes ||
18344 $as_test_x conftest$ac_exeext
18345 }; then
18346 eval "$as_ac_var=yes"
18347 else
18348 $as_echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 eval "$as_ac_var=no"
18354 rm -rf conftest.dSYM
18355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18356 conftest$ac_exeext conftest.$ac_ext
18358 ac_res=`eval 'as_val=${'$as_ac_var'}
18359 $as_echo "$as_val"'`
18360 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18361 $as_echo "$ac_res" >&6; }
18362 if test `eval 'as_val=${'$as_ac_var'}
18363 $as_echo "$as_val"'` = yes; then
18364 cat >>confdefs.h <<_ACEOF
18365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18366 _ACEOF
18369 done
18372 for ac_func in signal
18374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18375 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18376 $as_echo_n "checking for $ac_func... " >&6; }
18377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18378 $as_echo_n "(cached) " >&6
18379 else
18380 cat >conftest.$ac_ext <<_ACEOF
18381 /* confdefs.h. */
18382 _ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18388 #define $ac_func innocuous_$ac_func
18390 /* System header to define __stub macros and hopefully few prototypes,
18391 which can conflict with char $ac_func (); below.
18392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18393 <limits.h> exists even on freestanding compilers. */
18395 #ifdef __STDC__
18396 # include <limits.h>
18397 #else
18398 # include <assert.h>
18399 #endif
18401 #undef $ac_func
18403 /* Override any GCC internal prototype to avoid an error.
18404 Use char because int might match the return type of a GCC
18405 builtin and then its argument prototype would still apply. */
18406 #ifdef __cplusplus
18407 extern "C"
18408 #endif
18409 char $ac_func ();
18410 /* The GNU C library defines this for functions which it implements
18411 to always fail with ENOSYS. Some functions are actually named
18412 something starting with __ and the normal name is an alias. */
18413 #if defined __stub_$ac_func || defined __stub___$ac_func
18414 choke me
18415 #endif
18418 main ()
18420 return $ac_func ();
18422 return 0;
18424 _ACEOF
18425 rm -f conftest.$ac_objext conftest$ac_exeext
18426 if { (ac_try="$ac_link"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18430 esac
18431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18432 $as_echo "$ac_try_echo") >&5
18433 (eval "$ac_link") 2>conftest.er1
18434 ac_status=$?
18435 grep -v '^ *+' conftest.er1 >conftest.err
18436 rm -f conftest.er1
18437 cat conftest.err >&5
18438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); } && {
18440 test -z "$ac_cxx_werror_flag" ||
18441 test ! -s conftest.err
18442 } && test -s conftest$ac_exeext && {
18443 test "$cross_compiling" = yes ||
18444 $as_test_x conftest$ac_exeext
18445 }; then
18446 eval "$as_ac_var=yes"
18447 else
18448 $as_echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.$ac_ext >&5
18451 eval "$as_ac_var=no"
18454 rm -rf conftest.dSYM
18455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18456 conftest$ac_exeext conftest.$ac_ext
18458 ac_res=`eval 'as_val=${'$as_ac_var'}
18459 $as_echo "$as_val"'`
18460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18461 $as_echo "$ac_res" >&6; }
18462 if test `eval 'as_val=${'$as_ac_var'}
18463 $as_echo "$as_val"'` = yes; then
18464 cat >>confdefs.h <<_ACEOF
18465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18466 _ACEOF
18469 done
18473 for ac_func in shl_load
18475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18476 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18477 $as_echo_n "checking for $ac_func... " >&6; }
18478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18479 $as_echo_n "(cached) " >&6
18480 else
18481 cat >conftest.$ac_ext <<_ACEOF
18482 /* confdefs.h. */
18483 _ACEOF
18484 cat confdefs.h >>conftest.$ac_ext
18485 cat >>conftest.$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18489 #define $ac_func innocuous_$ac_func
18491 /* System header to define __stub macros and hopefully few prototypes,
18492 which can conflict with char $ac_func (); below.
18493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18494 <limits.h> exists even on freestanding compilers. */
18496 #ifdef __STDC__
18497 # include <limits.h>
18498 #else
18499 # include <assert.h>
18500 #endif
18502 #undef $ac_func
18504 /* Override any GCC internal prototype to avoid an error.
18505 Use char because int might match the return type of a GCC
18506 builtin and then its argument prototype would still apply. */
18507 #ifdef __cplusplus
18508 extern "C"
18509 #endif
18510 char $ac_func ();
18511 /* The GNU C library defines this for functions which it implements
18512 to always fail with ENOSYS. Some functions are actually named
18513 something starting with __ and the normal name is an alias. */
18514 #if defined __stub_$ac_func || defined __stub___$ac_func
18515 choke me
18516 #endif
18519 main ()
18521 return $ac_func ();
18523 return 0;
18525 _ACEOF
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (ac_try="$ac_link"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18530 *) ac_try_echo=$ac_try;;
18531 esac
18532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18533 $as_echo "$ac_try_echo") >&5
18534 (eval "$ac_link") 2>conftest.er1
18535 ac_status=$?
18536 grep -v '^ *+' conftest.er1 >conftest.err
18537 rm -f conftest.er1
18538 cat conftest.err >&5
18539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } && {
18541 test -z "$ac_cxx_werror_flag" ||
18542 test ! -s conftest.err
18543 } && test -s conftest$ac_exeext && {
18544 test "$cross_compiling" = yes ||
18545 $as_test_x conftest$ac_exeext
18546 }; then
18547 eval "$as_ac_var=yes"
18548 else
18549 $as_echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18552 eval "$as_ac_var=no"
18555 rm -rf conftest.dSYM
18556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18557 conftest$ac_exeext conftest.$ac_ext
18559 ac_res=`eval 'as_val=${'$as_ac_var'}
18560 $as_echo "$as_val"'`
18561 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18562 $as_echo "$ac_res" >&6; }
18563 if test `eval 'as_val=${'$as_ac_var'}
18564 $as_echo "$as_val"'` = yes; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18567 _ACEOF
18570 done
18572 #AC_CHECK_FUNCS(LoadLibrary)
18574 for ac_func in DosLoadModule
18576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18577 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18578 $as_echo_n "checking for $ac_func... " >&6; }
18579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18580 $as_echo_n "(cached) " >&6
18581 else
18582 cat >conftest.$ac_ext <<_ACEOF
18583 /* confdefs.h. */
18584 _ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18590 #define $ac_func innocuous_$ac_func
18592 /* System header to define __stub macros and hopefully few prototypes,
18593 which can conflict with char $ac_func (); below.
18594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18595 <limits.h> exists even on freestanding compilers. */
18597 #ifdef __STDC__
18598 # include <limits.h>
18599 #else
18600 # include <assert.h>
18601 #endif
18603 #undef $ac_func
18605 /* Override any GCC internal prototype to avoid an error.
18606 Use char because int might match the return type of a GCC
18607 builtin and then its argument prototype would still apply. */
18608 #ifdef __cplusplus
18609 extern "C"
18610 #endif
18611 char $ac_func ();
18612 /* The GNU C library defines this for functions which it implements
18613 to always fail with ENOSYS. Some functions are actually named
18614 something starting with __ and the normal name is an alias. */
18615 #if defined __stub_$ac_func || defined __stub___$ac_func
18616 choke me
18617 #endif
18620 main ()
18622 return $ac_func ();
18624 return 0;
18626 _ACEOF
18627 rm -f conftest.$ac_objext conftest$ac_exeext
18628 if { (ac_try="$ac_link"
18629 case "(($ac_try" in
18630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18631 *) ac_try_echo=$ac_try;;
18632 esac
18633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18634 $as_echo "$ac_try_echo") >&5
18635 (eval "$ac_link") 2>conftest.er1
18636 ac_status=$?
18637 grep -v '^ *+' conftest.er1 >conftest.err
18638 rm -f conftest.er1
18639 cat conftest.err >&5
18640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } && {
18642 test -z "$ac_cxx_werror_flag" ||
18643 test ! -s conftest.err
18644 } && test -s conftest$ac_exeext && {
18645 test "$cross_compiling" = yes ||
18646 $as_test_x conftest$ac_exeext
18647 }; then
18648 eval "$as_ac_var=yes"
18649 else
18650 $as_echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 eval "$as_ac_var=no"
18656 rm -rf conftest.dSYM
18657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18658 conftest$ac_exeext conftest.$ac_ext
18660 ac_res=`eval 'as_val=${'$as_ac_var'}
18661 $as_echo "$as_val"'`
18662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18663 $as_echo "$ac_res" >&6; }
18664 if test `eval 'as_val=${'$as_ac_var'}
18665 $as_echo "$as_val"'` = yes; then
18666 cat >>confdefs.h <<_ACEOF
18667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18668 _ACEOF
18671 done
18674 for ac_func in dxe_load
18676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18677 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18678 $as_echo_n "checking for $ac_func... " >&6; }
18679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18680 $as_echo_n "(cached) " >&6
18681 else
18682 cat >conftest.$ac_ext <<_ACEOF
18683 /* confdefs.h. */
18684 _ACEOF
18685 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18690 #define $ac_func innocuous_$ac_func
18692 /* System header to define __stub macros and hopefully few prototypes,
18693 which can conflict with char $ac_func (); below.
18694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18695 <limits.h> exists even on freestanding compilers. */
18697 #ifdef __STDC__
18698 # include <limits.h>
18699 #else
18700 # include <assert.h>
18701 #endif
18703 #undef $ac_func
18705 /* Override any GCC internal prototype to avoid an error.
18706 Use char because int might match the return type of a GCC
18707 builtin and then its argument prototype would still apply. */
18708 #ifdef __cplusplus
18709 extern "C"
18710 #endif
18711 char $ac_func ();
18712 /* The GNU C library defines this for functions which it implements
18713 to always fail with ENOSYS. Some functions are actually named
18714 something starting with __ and the normal name is an alias. */
18715 #if defined __stub_$ac_func || defined __stub___$ac_func
18716 choke me
18717 #endif
18720 main ()
18722 return $ac_func ();
18724 return 0;
18726 _ACEOF
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (ac_try="$ac_link"
18729 case "(($ac_try" in
18730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18732 esac
18733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18734 $as_echo "$ac_try_echo") >&5
18735 (eval "$ac_link") 2>conftest.er1
18736 ac_status=$?
18737 grep -v '^ *+' conftest.er1 >conftest.err
18738 rm -f conftest.er1
18739 cat conftest.err >&5
18740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && {
18742 test -z "$ac_cxx_werror_flag" ||
18743 test ! -s conftest.err
18744 } && test -s conftest$ac_exeext && {
18745 test "$cross_compiling" = yes ||
18746 $as_test_x conftest$ac_exeext
18747 }; then
18748 eval "$as_ac_var=yes"
18749 else
18750 $as_echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18753 eval "$as_ac_var=no"
18756 rm -rf conftest.dSYM
18757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18758 conftest$ac_exeext conftest.$ac_ext
18760 ac_res=`eval 'as_val=${'$as_ac_var'}
18761 $as_echo "$as_val"'`
18762 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18763 $as_echo "$ac_res" >&6; }
18764 if test `eval 'as_val=${'$as_ac_var'}
18765 $as_echo "$as_val"'` = yes; then
18766 cat >>confdefs.h <<_ACEOF
18767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18768 _ACEOF
18771 done
18774 for ac_func in GetDiskFragment
18776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18777 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18778 $as_echo_n "checking for $ac_func... " >&6; }
18779 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18780 $as_echo_n "(cached) " >&6
18781 else
18782 cat >conftest.$ac_ext <<_ACEOF
18783 /* confdefs.h. */
18784 _ACEOF
18785 cat confdefs.h >>conftest.$ac_ext
18786 cat >>conftest.$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18790 #define $ac_func innocuous_$ac_func
18792 /* System header to define __stub macros and hopefully few prototypes,
18793 which can conflict with char $ac_func (); below.
18794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18795 <limits.h> exists even on freestanding compilers. */
18797 #ifdef __STDC__
18798 # include <limits.h>
18799 #else
18800 # include <assert.h>
18801 #endif
18803 #undef $ac_func
18805 /* Override any GCC internal prototype to avoid an error.
18806 Use char because int might match the return type of a GCC
18807 builtin and then its argument prototype would still apply. */
18808 #ifdef __cplusplus
18809 extern "C"
18810 #endif
18811 char $ac_func ();
18812 /* The GNU C library defines this for functions which it implements
18813 to always fail with ENOSYS. Some functions are actually named
18814 something starting with __ and the normal name is an alias. */
18815 #if defined __stub_$ac_func || defined __stub___$ac_func
18816 choke me
18817 #endif
18820 main ()
18822 return $ac_func ();
18824 return 0;
18826 _ACEOF
18827 rm -f conftest.$ac_objext conftest$ac_exeext
18828 if { (ac_try="$ac_link"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18832 esac
18833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18834 $as_echo "$ac_try_echo") >&5
18835 (eval "$ac_link") 2>conftest.er1
18836 ac_status=$?
18837 grep -v '^ *+' conftest.er1 >conftest.err
18838 rm -f conftest.er1
18839 cat conftest.err >&5
18840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } && {
18842 test -z "$ac_cxx_werror_flag" ||
18843 test ! -s conftest.err
18844 } && test -s conftest$ac_exeext && {
18845 test "$cross_compiling" = yes ||
18846 $as_test_x conftest$ac_exeext
18847 }; then
18848 eval "$as_ac_var=yes"
18849 else
18850 $as_echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18853 eval "$as_ac_var=no"
18856 rm -rf conftest.dSYM
18857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18858 conftest$ac_exeext conftest.$ac_ext
18860 ac_res=`eval 'as_val=${'$as_ac_var'}
18861 $as_echo "$as_val"'`
18862 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18863 $as_echo "$ac_res" >&6; }
18864 if test `eval 'as_val=${'$as_ac_var'}
18865 $as_echo "$as_val"'` = yes; then
18866 cat >>confdefs.h <<_ACEOF
18867 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18868 _ACEOF
18871 done
18874 for ac_func in dlopen
18876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18877 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18878 $as_echo_n "checking for $ac_func... " >&6; }
18879 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18880 $as_echo_n "(cached) " >&6
18881 else
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18890 #define $ac_func innocuous_$ac_func
18892 /* System header to define __stub macros and hopefully few prototypes,
18893 which can conflict with char $ac_func (); below.
18894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18895 <limits.h> exists even on freestanding compilers. */
18897 #ifdef __STDC__
18898 # include <limits.h>
18899 #else
18900 # include <assert.h>
18901 #endif
18903 #undef $ac_func
18905 /* Override any GCC internal prototype to avoid an error.
18906 Use char because int might match the return type of a GCC
18907 builtin and then its argument prototype would still apply. */
18908 #ifdef __cplusplus
18909 extern "C"
18910 #endif
18911 char $ac_func ();
18912 /* The GNU C library defines this for functions which it implements
18913 to always fail with ENOSYS. Some functions are actually named
18914 something starting with __ and the normal name is an alias. */
18915 #if defined __stub_$ac_func || defined __stub___$ac_func
18916 choke me
18917 #endif
18920 main ()
18922 return $ac_func ();
18924 return 0;
18926 _ACEOF
18927 rm -f conftest.$ac_objext conftest$ac_exeext
18928 if { (ac_try="$ac_link"
18929 case "(($ac_try" in
18930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18932 esac
18933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18934 $as_echo "$ac_try_echo") >&5
18935 (eval "$ac_link") 2>conftest.er1
18936 ac_status=$?
18937 grep -v '^ *+' conftest.er1 >conftest.err
18938 rm -f conftest.er1
18939 cat conftest.err >&5
18940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } && {
18942 test -z "$ac_cxx_werror_flag" ||
18943 test ! -s conftest.err
18944 } && test -s conftest$ac_exeext && {
18945 test "$cross_compiling" = yes ||
18946 $as_test_x conftest$ac_exeext
18947 }; then
18948 eval "$as_ac_var=yes"
18949 else
18950 $as_echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 eval "$as_ac_var=no"
18956 rm -rf conftest.dSYM
18957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18958 conftest$ac_exeext conftest.$ac_ext
18960 ac_res=`eval 'as_val=${'$as_ac_var'}
18961 $as_echo "$as_val"'`
18962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18963 $as_echo "$ac_res" >&6; }
18964 if test `eval 'as_val=${'$as_ac_var'}
18965 $as_echo "$as_val"'` = yes; then
18966 cat >>confdefs.h <<_ACEOF
18967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18968 _ACEOF
18971 done
18974 for ac_func in NSLinkModule
18976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18977 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18978 $as_echo_n "checking for $ac_func... " >&6; }
18979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18980 $as_echo_n "(cached) " >&6
18981 else
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18990 #define $ac_func innocuous_$ac_func
18992 /* System header to define __stub macros and hopefully few prototypes,
18993 which can conflict with char $ac_func (); below.
18994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18995 <limits.h> exists even on freestanding compilers. */
18997 #ifdef __STDC__
18998 # include <limits.h>
18999 #else
19000 # include <assert.h>
19001 #endif
19003 #undef $ac_func
19005 /* Override any GCC internal prototype to avoid an error.
19006 Use char because int might match the return type of a GCC
19007 builtin and then its argument prototype would still apply. */
19008 #ifdef __cplusplus
19009 extern "C"
19010 #endif
19011 char $ac_func ();
19012 /* The GNU C library defines this for functions which it implements
19013 to always fail with ENOSYS. Some functions are actually named
19014 something starting with __ and the normal name is an alias. */
19015 #if defined __stub_$ac_func || defined __stub___$ac_func
19016 choke me
19017 #endif
19020 main ()
19022 return $ac_func ();
19024 return 0;
19026 _ACEOF
19027 rm -f conftest.$ac_objext conftest$ac_exeext
19028 if { (ac_try="$ac_link"
19029 case "(($ac_try" in
19030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19031 *) ac_try_echo=$ac_try;;
19032 esac
19033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19034 $as_echo "$ac_try_echo") >&5
19035 (eval "$ac_link") 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } && {
19042 test -z "$ac_cxx_werror_flag" ||
19043 test ! -s conftest.err
19044 } && test -s conftest$ac_exeext && {
19045 test "$cross_compiling" = yes ||
19046 $as_test_x conftest$ac_exeext
19047 }; then
19048 eval "$as_ac_var=yes"
19049 else
19050 $as_echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19053 eval "$as_ac_var=no"
19056 rm -rf conftest.dSYM
19057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19058 conftest$ac_exeext conftest.$ac_ext
19060 ac_res=`eval 'as_val=${'$as_ac_var'}
19061 $as_echo "$as_val"'`
19062 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19063 $as_echo "$ac_res" >&6; }
19064 if test `eval 'as_val=${'$as_ac_var'}
19065 $as_echo "$as_val"'` = yes; then
19066 cat >>confdefs.h <<_ACEOF
19067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19068 _ACEOF
19071 done
19072 # has been deprecated by Apple
19075 for ac_func in gethostname
19077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19078 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19079 $as_echo_n "checking for $ac_func... " >&6; }
19080 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19081 $as_echo_n "(cached) " >&6
19082 else
19083 cat >conftest.$ac_ext <<_ACEOF
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19091 #define $ac_func innocuous_$ac_func
19093 /* System header to define __stub macros and hopefully few prototypes,
19094 which can conflict with char $ac_func (); below.
19095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19096 <limits.h> exists even on freestanding compilers. */
19098 #ifdef __STDC__
19099 # include <limits.h>
19100 #else
19101 # include <assert.h>
19102 #endif
19104 #undef $ac_func
19106 /* Override any GCC internal prototype to avoid an error.
19107 Use char because int might match the return type of a GCC
19108 builtin and then its argument prototype would still apply. */
19109 #ifdef __cplusplus
19110 extern "C"
19111 #endif
19112 char $ac_func ();
19113 /* The GNU C library defines this for functions which it implements
19114 to always fail with ENOSYS. Some functions are actually named
19115 something starting with __ and the normal name is an alias. */
19116 #if defined __stub_$ac_func || defined __stub___$ac_func
19117 choke me
19118 #endif
19121 main ()
19123 return $ac_func ();
19125 return 0;
19127 _ACEOF
19128 rm -f conftest.$ac_objext conftest$ac_exeext
19129 if { (ac_try="$ac_link"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19133 esac
19134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19135 $as_echo "$ac_try_echo") >&5
19136 (eval "$ac_link") 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_cxx_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest$ac_exeext && {
19146 test "$cross_compiling" = yes ||
19147 $as_test_x conftest$ac_exeext
19148 }; then
19149 eval "$as_ac_var=yes"
19150 else
19151 $as_echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.$ac_ext >&5
19154 eval "$as_ac_var=no"
19157 rm -rf conftest.dSYM
19158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19159 conftest$ac_exeext conftest.$ac_ext
19161 ac_res=`eval 'as_val=${'$as_ac_var'}
19162 $as_echo "$as_val"'`
19163 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19164 $as_echo "$ac_res" >&6; }
19165 if test `eval 'as_val=${'$as_ac_var'}
19166 $as_echo "$as_val"'` = yes; then
19167 cat >>confdefs.h <<_ACEOF
19168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19169 _ACEOF
19172 done
19175 for ac_func in inet_pton
19177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19178 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19179 $as_echo_n "checking for $ac_func... " >&6; }
19180 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19181 $as_echo_n "(cached) " >&6
19182 else
19183 cat >conftest.$ac_ext <<_ACEOF
19184 /* confdefs.h. */
19185 _ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19191 #define $ac_func innocuous_$ac_func
19193 /* System header to define __stub macros and hopefully few prototypes,
19194 which can conflict with char $ac_func (); below.
19195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19196 <limits.h> exists even on freestanding compilers. */
19198 #ifdef __STDC__
19199 # include <limits.h>
19200 #else
19201 # include <assert.h>
19202 #endif
19204 #undef $ac_func
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 #ifdef __cplusplus
19210 extern "C"
19211 #endif
19212 char $ac_func ();
19213 /* The GNU C library defines this for functions which it implements
19214 to always fail with ENOSYS. Some functions are actually named
19215 something starting with __ and the normal name is an alias. */
19216 #if defined __stub_$ac_func || defined __stub___$ac_func
19217 choke me
19218 #endif
19221 main ()
19223 return $ac_func ();
19225 return 0;
19227 _ACEOF
19228 rm -f conftest.$ac_objext conftest$ac_exeext
19229 if { (ac_try="$ac_link"
19230 case "(($ac_try" in
19231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19233 esac
19234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19235 $as_echo "$ac_try_echo") >&5
19236 (eval "$ac_link") 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_cxx_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest$ac_exeext && {
19246 test "$cross_compiling" = yes ||
19247 $as_test_x conftest$ac_exeext
19248 }; then
19249 eval "$as_ac_var=yes"
19250 else
19251 $as_echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19254 eval "$as_ac_var=no"
19257 rm -rf conftest.dSYM
19258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19259 conftest$ac_exeext conftest.$ac_ext
19261 ac_res=`eval 'as_val=${'$as_ac_var'}
19262 $as_echo "$as_val"'`
19263 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19264 $as_echo "$ac_res" >&6; }
19265 if test `eval 'as_val=${'$as_ac_var'}
19266 $as_echo "$as_val"'` = yes; then
19267 cat >>confdefs.h <<_ACEOF
19268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19269 _ACEOF
19272 done
19275 for ac_func in gethostbyname
19277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19278 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19279 $as_echo_n "checking for $ac_func... " >&6; }
19280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19281 $as_echo_n "(cached) " >&6
19282 else
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19291 #define $ac_func innocuous_$ac_func
19293 /* System header to define __stub macros and hopefully few prototypes,
19294 which can conflict with char $ac_func (); below.
19295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19296 <limits.h> exists even on freestanding compilers. */
19298 #ifdef __STDC__
19299 # include <limits.h>
19300 #else
19301 # include <assert.h>
19302 #endif
19304 #undef $ac_func
19306 /* Override any GCC internal prototype to avoid an error.
19307 Use char because int might match the return type of a GCC
19308 builtin and then its argument prototype would still apply. */
19309 #ifdef __cplusplus
19310 extern "C"
19311 #endif
19312 char $ac_func ();
19313 /* The GNU C library defines this for functions which it implements
19314 to always fail with ENOSYS. Some functions are actually named
19315 something starting with __ and the normal name is an alias. */
19316 #if defined __stub_$ac_func || defined __stub___$ac_func
19317 choke me
19318 #endif
19321 main ()
19323 return $ac_func ();
19325 return 0;
19327 _ACEOF
19328 rm -f conftest.$ac_objext conftest$ac_exeext
19329 if { (ac_try="$ac_link"
19330 case "(($ac_try" in
19331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19332 *) ac_try_echo=$ac_try;;
19333 esac
19334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19335 $as_echo "$ac_try_echo") >&5
19336 (eval "$ac_link") 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_cxx_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest$ac_exeext && {
19346 test "$cross_compiling" = yes ||
19347 $as_test_x conftest$ac_exeext
19348 }; then
19349 eval "$as_ac_var=yes"
19350 else
19351 $as_echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 eval "$as_ac_var=no"
19357 rm -rf conftest.dSYM
19358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19359 conftest$ac_exeext conftest.$ac_ext
19361 ac_res=`eval 'as_val=${'$as_ac_var'}
19362 $as_echo "$as_val"'`
19363 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19364 $as_echo "$ac_res" >&6; }
19365 if test `eval 'as_val=${'$as_ac_var'}
19366 $as_echo "$as_val"'` = yes; then
19367 cat >>confdefs.h <<_ACEOF
19368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19369 _ACEOF
19372 done
19375 for ac_func in gethostbyaddr
19377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19378 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19379 $as_echo_n "checking for $ac_func... " >&6; }
19380 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19381 $as_echo_n "(cached) " >&6
19382 else
19383 cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h. */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19391 #define $ac_func innocuous_$ac_func
19393 /* System header to define __stub macros and hopefully few prototypes,
19394 which can conflict with char $ac_func (); below.
19395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19396 <limits.h> exists even on freestanding compilers. */
19398 #ifdef __STDC__
19399 # include <limits.h>
19400 #else
19401 # include <assert.h>
19402 #endif
19404 #undef $ac_func
19406 /* Override any GCC internal prototype to avoid an error.
19407 Use char because int might match the return type of a GCC
19408 builtin and then its argument prototype would still apply. */
19409 #ifdef __cplusplus
19410 extern "C"
19411 #endif
19412 char $ac_func ();
19413 /* The GNU C library defines this for functions which it implements
19414 to always fail with ENOSYS. Some functions are actually named
19415 something starting with __ and the normal name is an alias. */
19416 #if defined __stub_$ac_func || defined __stub___$ac_func
19417 choke me
19418 #endif
19421 main ()
19423 return $ac_func ();
19425 return 0;
19427 _ACEOF
19428 rm -f conftest.$ac_objext conftest$ac_exeext
19429 if { (ac_try="$ac_link"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19435 $as_echo "$ac_try_echo") >&5
19436 (eval "$ac_link") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_cxx_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest$ac_exeext && {
19446 test "$cross_compiling" = yes ||
19447 $as_test_x conftest$ac_exeext
19448 }; then
19449 eval "$as_ac_var=yes"
19450 else
19451 $as_echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19454 eval "$as_ac_var=no"
19457 rm -rf conftest.dSYM
19458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19459 conftest$ac_exeext conftest.$ac_ext
19461 ac_res=`eval 'as_val=${'$as_ac_var'}
19462 $as_echo "$as_val"'`
19463 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19464 $as_echo "$ac_res" >&6; }
19465 if test `eval 'as_val=${'$as_ac_var'}
19466 $as_echo "$as_val"'` = yes; then
19467 cat >>confdefs.h <<_ACEOF
19468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19469 _ACEOF
19472 done
19475 for ac_func in getservbyname
19477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19478 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19479 $as_echo_n "checking for $ac_func... " >&6; }
19480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19481 $as_echo_n "(cached) " >&6
19482 else
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19491 #define $ac_func innocuous_$ac_func
19493 /* System header to define __stub macros and hopefully few prototypes,
19494 which can conflict with char $ac_func (); below.
19495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19496 <limits.h> exists even on freestanding compilers. */
19498 #ifdef __STDC__
19499 # include <limits.h>
19500 #else
19501 # include <assert.h>
19502 #endif
19504 #undef $ac_func
19506 /* Override any GCC internal prototype to avoid an error.
19507 Use char because int might match the return type of a GCC
19508 builtin and then its argument prototype would still apply. */
19509 #ifdef __cplusplus
19510 extern "C"
19511 #endif
19512 char $ac_func ();
19513 /* The GNU C library defines this for functions which it implements
19514 to always fail with ENOSYS. Some functions are actually named
19515 something starting with __ and the normal name is an alias. */
19516 #if defined __stub_$ac_func || defined __stub___$ac_func
19517 choke me
19518 #endif
19521 main ()
19523 return $ac_func ();
19525 return 0;
19527 _ACEOF
19528 rm -f conftest.$ac_objext conftest$ac_exeext
19529 if { (ac_try="$ac_link"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19535 $as_echo "$ac_try_echo") >&5
19536 (eval "$ac_link") 2>conftest.er1
19537 ac_status=$?
19538 grep -v '^ *+' conftest.er1 >conftest.err
19539 rm -f conftest.er1
19540 cat conftest.err >&5
19541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } && {
19543 test -z "$ac_cxx_werror_flag" ||
19544 test ! -s conftest.err
19545 } && test -s conftest$ac_exeext && {
19546 test "$cross_compiling" = yes ||
19547 $as_test_x conftest$ac_exeext
19548 }; then
19549 eval "$as_ac_var=yes"
19550 else
19551 $as_echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 eval "$as_ac_var=no"
19557 rm -rf conftest.dSYM
19558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19559 conftest$ac_exeext conftest.$ac_ext
19561 ac_res=`eval 'as_val=${'$as_ac_var'}
19562 $as_echo "$as_val"'`
19563 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19564 $as_echo "$ac_res" >&6; }
19565 if test `eval 'as_val=${'$as_ac_var'}
19566 $as_echo "$as_val"'` = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19569 _ACEOF
19572 done
19575 for ac_func in getservbyport
19577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19578 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19579 $as_echo_n "checking for $ac_func... " >&6; }
19580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19581 $as_echo_n "(cached) " >&6
19582 else
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19591 #define $ac_func innocuous_$ac_func
19593 /* System header to define __stub macros and hopefully few prototypes,
19594 which can conflict with char $ac_func (); below.
19595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19596 <limits.h> exists even on freestanding compilers. */
19598 #ifdef __STDC__
19599 # include <limits.h>
19600 #else
19601 # include <assert.h>
19602 #endif
19604 #undef $ac_func
19606 /* Override any GCC internal prototype to avoid an error.
19607 Use char because int might match the return type of a GCC
19608 builtin and then its argument prototype would still apply. */
19609 #ifdef __cplusplus
19610 extern "C"
19611 #endif
19612 char $ac_func ();
19613 /* The GNU C library defines this for functions which it implements
19614 to always fail with ENOSYS. Some functions are actually named
19615 something starting with __ and the normal name is an alias. */
19616 #if defined __stub_$ac_func || defined __stub___$ac_func
19617 choke me
19618 #endif
19621 main ()
19623 return $ac_func ();
19625 return 0;
19627 _ACEOF
19628 rm -f conftest.$ac_objext conftest$ac_exeext
19629 if { (ac_try="$ac_link"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19633 esac
19634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19635 $as_echo "$ac_try_echo") >&5
19636 (eval "$ac_link") 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && {
19643 test -z "$ac_cxx_werror_flag" ||
19644 test ! -s conftest.err
19645 } && test -s conftest$ac_exeext && {
19646 test "$cross_compiling" = yes ||
19647 $as_test_x conftest$ac_exeext
19648 }; then
19649 eval "$as_ac_var=yes"
19650 else
19651 $as_echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19654 eval "$as_ac_var=no"
19657 rm -rf conftest.dSYM
19658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19659 conftest$ac_exeext conftest.$ac_ext
19661 ac_res=`eval 'as_val=${'$as_ac_var'}
19662 $as_echo "$as_val"'`
19663 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19664 $as_echo "$ac_res" >&6; }
19665 if test `eval 'as_val=${'$as_ac_var'}
19666 $as_echo "$as_val"'` = yes; then
19667 cat >>confdefs.h <<_ACEOF
19668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19669 _ACEOF
19672 done
19675 for ac_func in getprotobyname
19677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19678 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19679 $as_echo_n "checking for $ac_func... " >&6; }
19680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19681 $as_echo_n "(cached) " >&6
19682 else
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19691 #define $ac_func innocuous_$ac_func
19693 /* System header to define __stub macros and hopefully few prototypes,
19694 which can conflict with char $ac_func (); below.
19695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19696 <limits.h> exists even on freestanding compilers. */
19698 #ifdef __STDC__
19699 # include <limits.h>
19700 #else
19701 # include <assert.h>
19702 #endif
19704 #undef $ac_func
19706 /* Override any GCC internal prototype to avoid an error.
19707 Use char because int might match the return type of a GCC
19708 builtin and then its argument prototype would still apply. */
19709 #ifdef __cplusplus
19710 extern "C"
19711 #endif
19712 char $ac_func ();
19713 /* The GNU C library defines this for functions which it implements
19714 to always fail with ENOSYS. Some functions are actually named
19715 something starting with __ and the normal name is an alias. */
19716 #if defined __stub_$ac_func || defined __stub___$ac_func
19717 choke me
19718 #endif
19721 main ()
19723 return $ac_func ();
19725 return 0;
19727 _ACEOF
19728 rm -f conftest.$ac_objext conftest$ac_exeext
19729 if { (ac_try="$ac_link"
19730 case "(($ac_try" in
19731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19733 esac
19734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19735 $as_echo "$ac_try_echo") >&5
19736 (eval "$ac_link") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_cxx_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest$ac_exeext && {
19746 test "$cross_compiling" = yes ||
19747 $as_test_x conftest$ac_exeext
19748 }; then
19749 eval "$as_ac_var=yes"
19750 else
19751 $as_echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19754 eval "$as_ac_var=no"
19757 rm -rf conftest.dSYM
19758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19759 conftest$ac_exeext conftest.$ac_ext
19761 ac_res=`eval 'as_val=${'$as_ac_var'}
19762 $as_echo "$as_val"'`
19763 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19764 $as_echo "$ac_res" >&6; }
19765 if test `eval 'as_val=${'$as_ac_var'}
19766 $as_echo "$as_val"'` = yes; then
19767 cat >>confdefs.h <<_ACEOF
19768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19769 _ACEOF
19772 done
19775 for ac_func in getprotobynumber
19777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19778 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19779 $as_echo_n "checking for $ac_func... " >&6; }
19780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19781 $as_echo_n "(cached) " >&6
19782 else
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h. */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19791 #define $ac_func innocuous_$ac_func
19793 /* System header to define __stub macros and hopefully few prototypes,
19794 which can conflict with char $ac_func (); below.
19795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19796 <limits.h> exists even on freestanding compilers. */
19798 #ifdef __STDC__
19799 # include <limits.h>
19800 #else
19801 # include <assert.h>
19802 #endif
19804 #undef $ac_func
19806 /* Override any GCC internal prototype to avoid an error.
19807 Use char because int might match the return type of a GCC
19808 builtin and then its argument prototype would still apply. */
19809 #ifdef __cplusplus
19810 extern "C"
19811 #endif
19812 char $ac_func ();
19813 /* The GNU C library defines this for functions which it implements
19814 to always fail with ENOSYS. Some functions are actually named
19815 something starting with __ and the normal name is an alias. */
19816 #if defined __stub_$ac_func || defined __stub___$ac_func
19817 choke me
19818 #endif
19821 main ()
19823 return $ac_func ();
19825 return 0;
19827 _ACEOF
19828 rm -f conftest.$ac_objext conftest$ac_exeext
19829 if { (ac_try="$ac_link"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19833 esac
19834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19835 $as_echo "$ac_try_echo") >&5
19836 (eval "$ac_link") 2>conftest.er1
19837 ac_status=$?
19838 grep -v '^ *+' conftest.er1 >conftest.err
19839 rm -f conftest.er1
19840 cat conftest.err >&5
19841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } && {
19843 test -z "$ac_cxx_werror_flag" ||
19844 test ! -s conftest.err
19845 } && test -s conftest$ac_exeext && {
19846 test "$cross_compiling" = yes ||
19847 $as_test_x conftest$ac_exeext
19848 }; then
19849 eval "$as_ac_var=yes"
19850 else
19851 $as_echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 eval "$as_ac_var=no"
19857 rm -rf conftest.dSYM
19858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19859 conftest$ac_exeext conftest.$ac_ext
19861 ac_res=`eval 'as_val=${'$as_ac_var'}
19862 $as_echo "$as_val"'`
19863 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19864 $as_echo "$ac_res" >&6; }
19865 if test `eval 'as_val=${'$as_ac_var'}
19866 $as_echo "$as_val"'` = yes; then
19867 cat >>confdefs.h <<_ACEOF
19868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19869 _ACEOF
19872 done
19875 for ac_func in getnetbyname
19877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19878 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19879 $as_echo_n "checking for $ac_func... " >&6; }
19880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19881 $as_echo_n "(cached) " >&6
19882 else
19883 cat >conftest.$ac_ext <<_ACEOF
19884 /* confdefs.h. */
19885 _ACEOF
19886 cat confdefs.h >>conftest.$ac_ext
19887 cat >>conftest.$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19891 #define $ac_func innocuous_$ac_func
19893 /* System header to define __stub macros and hopefully few prototypes,
19894 which can conflict with char $ac_func (); below.
19895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19896 <limits.h> exists even on freestanding compilers. */
19898 #ifdef __STDC__
19899 # include <limits.h>
19900 #else
19901 # include <assert.h>
19902 #endif
19904 #undef $ac_func
19906 /* Override any GCC internal prototype to avoid an error.
19907 Use char because int might match the return type of a GCC
19908 builtin and then its argument prototype would still apply. */
19909 #ifdef __cplusplus
19910 extern "C"
19911 #endif
19912 char $ac_func ();
19913 /* The GNU C library defines this for functions which it implements
19914 to always fail with ENOSYS. Some functions are actually named
19915 something starting with __ and the normal name is an alias. */
19916 #if defined __stub_$ac_func || defined __stub___$ac_func
19917 choke me
19918 #endif
19921 main ()
19923 return $ac_func ();
19925 return 0;
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (ac_try="$ac_link"
19930 case "(($ac_try" in
19931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 *) ac_try_echo=$ac_try;;
19933 esac
19934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19935 $as_echo "$ac_try_echo") >&5
19936 (eval "$ac_link") 2>conftest.er1
19937 ac_status=$?
19938 grep -v '^ *+' conftest.er1 >conftest.err
19939 rm -f conftest.er1
19940 cat conftest.err >&5
19941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); } && {
19943 test -z "$ac_cxx_werror_flag" ||
19944 test ! -s conftest.err
19945 } && test -s conftest$ac_exeext && {
19946 test "$cross_compiling" = yes ||
19947 $as_test_x conftest$ac_exeext
19948 }; then
19949 eval "$as_ac_var=yes"
19950 else
19951 $as_echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19954 eval "$as_ac_var=no"
19957 rm -rf conftest.dSYM
19958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19959 conftest$ac_exeext conftest.$ac_ext
19961 ac_res=`eval 'as_val=${'$as_ac_var'}
19962 $as_echo "$as_val"'`
19963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19964 $as_echo "$ac_res" >&6; }
19965 if test `eval 'as_val=${'$as_ac_var'}
19966 $as_echo "$as_val"'` = yes; then
19967 cat >>confdefs.h <<_ACEOF
19968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19969 _ACEOF
19972 done
19976 for ac_func in select
19978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19979 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19980 $as_echo_n "checking for $ac_func... " >&6; }
19981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19982 $as_echo_n "(cached) " >&6
19983 else
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19992 #define $ac_func innocuous_$ac_func
19994 /* System header to define __stub macros and hopefully few prototypes,
19995 which can conflict with char $ac_func (); below.
19996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19997 <limits.h> exists even on freestanding compilers. */
19999 #ifdef __STDC__
20000 # include <limits.h>
20001 #else
20002 # include <assert.h>
20003 #endif
20005 #undef $ac_func
20007 /* Override any GCC internal prototype to avoid an error.
20008 Use char because int might match the return type of a GCC
20009 builtin and then its argument prototype would still apply. */
20010 #ifdef __cplusplus
20011 extern "C"
20012 #endif
20013 char $ac_func ();
20014 /* The GNU C library defines this for functions which it implements
20015 to always fail with ENOSYS. Some functions are actually named
20016 something starting with __ and the normal name is an alias. */
20017 #if defined __stub_$ac_func || defined __stub___$ac_func
20018 choke me
20019 #endif
20022 main ()
20024 return $ac_func ();
20026 return 0;
20028 _ACEOF
20029 rm -f conftest.$ac_objext conftest$ac_exeext
20030 if { (ac_try="$ac_link"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20036 $as_echo "$ac_try_echo") >&5
20037 (eval "$ac_link") 2>conftest.er1
20038 ac_status=$?
20039 grep -v '^ *+' conftest.er1 >conftest.err
20040 rm -f conftest.er1
20041 cat conftest.err >&5
20042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } && {
20044 test -z "$ac_cxx_werror_flag" ||
20045 test ! -s conftest.err
20046 } && test -s conftest$ac_exeext && {
20047 test "$cross_compiling" = yes ||
20048 $as_test_x conftest$ac_exeext
20049 }; then
20050 eval "$as_ac_var=yes"
20051 else
20052 $as_echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.$ac_ext >&5
20055 eval "$as_ac_var=no"
20058 rm -rf conftest.dSYM
20059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20060 conftest$ac_exeext conftest.$ac_ext
20062 ac_res=`eval 'as_val=${'$as_ac_var'}
20063 $as_echo "$as_val"'`
20064 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20065 $as_echo "$ac_res" >&6; }
20066 if test `eval 'as_val=${'$as_ac_var'}
20067 $as_echo "$as_val"'` = yes; then
20068 cat >>confdefs.h <<_ACEOF
20069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20070 _ACEOF
20073 done
20075 #AC_CHECK_FUNCS(MsgWaitForMultipleObjects)
20077 #AC_CHECK_FUNCS(tgetstr)
20078 #AC_CHECK_FUNCS(tigetstr)
20081 for ac_func in openpty
20083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20084 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20085 $as_echo_n "checking for $ac_func... " >&6; }
20086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20087 $as_echo_n "(cached) " >&6
20088 else
20089 cat >conftest.$ac_ext <<_ACEOF
20090 /* confdefs.h. */
20091 _ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20097 #define $ac_func innocuous_$ac_func
20099 /* System header to define __stub macros and hopefully few prototypes,
20100 which can conflict with char $ac_func (); below.
20101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20102 <limits.h> exists even on freestanding compilers. */
20104 #ifdef __STDC__
20105 # include <limits.h>
20106 #else
20107 # include <assert.h>
20108 #endif
20110 #undef $ac_func
20112 /* Override any GCC internal prototype to avoid an error.
20113 Use char because int might match the return type of a GCC
20114 builtin and then its argument prototype would still apply. */
20115 #ifdef __cplusplus
20116 extern "C"
20117 #endif
20118 char $ac_func ();
20119 /* The GNU C library defines this for functions which it implements
20120 to always fail with ENOSYS. Some functions are actually named
20121 something starting with __ and the normal name is an alias. */
20122 #if defined __stub_$ac_func || defined __stub___$ac_func
20123 choke me
20124 #endif
20127 main ()
20129 return $ac_func ();
20131 return 0;
20133 _ACEOF
20134 rm -f conftest.$ac_objext conftest$ac_exeext
20135 if { (ac_try="$ac_link"
20136 case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20139 esac
20140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20141 $as_echo "$ac_try_echo") >&5
20142 (eval "$ac_link") 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } && {
20149 test -z "$ac_cxx_werror_flag" ||
20150 test ! -s conftest.err
20151 } && test -s conftest$ac_exeext && {
20152 test "$cross_compiling" = yes ||
20153 $as_test_x conftest$ac_exeext
20154 }; then
20155 eval "$as_ac_var=yes"
20156 else
20157 $as_echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 eval "$as_ac_var=no"
20163 rm -rf conftest.dSYM
20164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20165 conftest$ac_exeext conftest.$ac_ext
20167 ac_res=`eval 'as_val=${'$as_ac_var'}
20168 $as_echo "$as_val"'`
20169 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20170 $as_echo "$ac_res" >&6; }
20171 if test `eval 'as_val=${'$as_ac_var'}
20172 $as_echo "$as_val"'` = yes; then
20173 cat >>confdefs.h <<_ACEOF
20174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20175 _ACEOF
20178 done
20181 for ac_func in getpt
20183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20184 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20185 $as_echo_n "checking for $ac_func... " >&6; }
20186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20187 $as_echo_n "(cached) " >&6
20188 else
20189 cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h. */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20197 #define $ac_func innocuous_$ac_func
20199 /* System header to define __stub macros and hopefully few prototypes,
20200 which can conflict with char $ac_func (); below.
20201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20202 <limits.h> exists even on freestanding compilers. */
20204 #ifdef __STDC__
20205 # include <limits.h>
20206 #else
20207 # include <assert.h>
20208 #endif
20210 #undef $ac_func
20212 /* Override any GCC internal prototype to avoid an error.
20213 Use char because int might match the return type of a GCC
20214 builtin and then its argument prototype would still apply. */
20215 #ifdef __cplusplus
20216 extern "C"
20217 #endif
20218 char $ac_func ();
20219 /* The GNU C library defines this for functions which it implements
20220 to always fail with ENOSYS. Some functions are actually named
20221 something starting with __ and the normal name is an alias. */
20222 #if defined __stub_$ac_func || defined __stub___$ac_func
20223 choke me
20224 #endif
20227 main ()
20229 return $ac_func ();
20231 return 0;
20233 _ACEOF
20234 rm -f conftest.$ac_objext conftest$ac_exeext
20235 if { (ac_try="$ac_link"
20236 case "(($ac_try" in
20237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20238 *) ac_try_echo=$ac_try;;
20239 esac
20240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20241 $as_echo "$ac_try_echo") >&5
20242 (eval "$ac_link") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_cxx_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest$ac_exeext && {
20252 test "$cross_compiling" = yes ||
20253 $as_test_x conftest$ac_exeext
20254 }; then
20255 eval "$as_ac_var=yes"
20256 else
20257 $as_echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20260 eval "$as_ac_var=no"
20263 rm -rf conftest.dSYM
20264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20265 conftest$ac_exeext conftest.$ac_ext
20267 ac_res=`eval 'as_val=${'$as_ac_var'}
20268 $as_echo "$as_val"'`
20269 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20270 $as_echo "$ac_res" >&6; }
20271 if test `eval 'as_val=${'$as_ac_var'}
20272 $as_echo "$as_val"'` = yes; then
20273 cat >>confdefs.h <<_ACEOF
20274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20275 _ACEOF
20278 done
20281 for ac_func in ptsname
20283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20284 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20285 $as_echo_n "checking for $ac_func... " >&6; }
20286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20287 $as_echo_n "(cached) " >&6
20288 else
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20297 #define $ac_func innocuous_$ac_func
20299 /* System header to define __stub macros and hopefully few prototypes,
20300 which can conflict with char $ac_func (); below.
20301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20302 <limits.h> exists even on freestanding compilers. */
20304 #ifdef __STDC__
20305 # include <limits.h>
20306 #else
20307 # include <assert.h>
20308 #endif
20310 #undef $ac_func
20312 /* Override any GCC internal prototype to avoid an error.
20313 Use char because int might match the return type of a GCC
20314 builtin and then its argument prototype would still apply. */
20315 #ifdef __cplusplus
20316 extern "C"
20317 #endif
20318 char $ac_func ();
20319 /* The GNU C library defines this for functions which it implements
20320 to always fail with ENOSYS. Some functions are actually named
20321 something starting with __ and the normal name is an alias. */
20322 #if defined __stub_$ac_func || defined __stub___$ac_func
20323 choke me
20324 #endif
20327 main ()
20329 return $ac_func ();
20331 return 0;
20333 _ACEOF
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338 *) ac_try_echo=$ac_try;;
20339 esac
20340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20341 $as_echo "$ac_try_echo") >&5
20342 (eval "$ac_link") 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_cxx_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest$ac_exeext && {
20352 test "$cross_compiling" = yes ||
20353 $as_test_x conftest$ac_exeext
20354 }; then
20355 eval "$as_ac_var=yes"
20356 else
20357 $as_echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20360 eval "$as_ac_var=no"
20363 rm -rf conftest.dSYM
20364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20365 conftest$ac_exeext conftest.$ac_ext
20367 ac_res=`eval 'as_val=${'$as_ac_var'}
20368 $as_echo "$as_val"'`
20369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20370 $as_echo "$ac_res" >&6; }
20371 if test `eval 'as_val=${'$as_ac_var'}
20372 $as_echo "$as_val"'` = yes; then
20373 cat >>confdefs.h <<_ACEOF
20374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20375 _ACEOF
20378 done
20382 for ac_func in hstrerror
20384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20385 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20386 $as_echo_n "checking for $ac_func... " >&6; }
20387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20388 $as_echo_n "(cached) " >&6
20389 else
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20398 #define $ac_func innocuous_$ac_func
20400 /* System header to define __stub macros and hopefully few prototypes,
20401 which can conflict with char $ac_func (); below.
20402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20403 <limits.h> exists even on freestanding compilers. */
20405 #ifdef __STDC__
20406 # include <limits.h>
20407 #else
20408 # include <assert.h>
20409 #endif
20411 #undef $ac_func
20413 /* Override any GCC internal prototype to avoid an error.
20414 Use char because int might match the return type of a GCC
20415 builtin and then its argument prototype would still apply. */
20416 #ifdef __cplusplus
20417 extern "C"
20418 #endif
20419 char $ac_func ();
20420 /* The GNU C library defines this for functions which it implements
20421 to always fail with ENOSYS. Some functions are actually named
20422 something starting with __ and the normal name is an alias. */
20423 #if defined __stub_$ac_func || defined __stub___$ac_func
20424 choke me
20425 #endif
20428 main ()
20430 return $ac_func ();
20432 return 0;
20434 _ACEOF
20435 rm -f conftest.$ac_objext conftest$ac_exeext
20436 if { (ac_try="$ac_link"
20437 case "(($ac_try" in
20438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20439 *) ac_try_echo=$ac_try;;
20440 esac
20441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20442 $as_echo "$ac_try_echo") >&5
20443 (eval "$ac_link") 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_cxx_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest$ac_exeext && {
20453 test "$cross_compiling" = yes ||
20454 $as_test_x conftest$ac_exeext
20455 }; then
20456 eval "$as_ac_var=yes"
20457 else
20458 $as_echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.$ac_ext >&5
20461 eval "$as_ac_var=no"
20464 rm -rf conftest.dSYM
20465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466 conftest$ac_exeext conftest.$ac_ext
20468 ac_res=`eval 'as_val=${'$as_ac_var'}
20469 $as_echo "$as_val"'`
20470 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20471 $as_echo "$ac_res" >&6; }
20472 if test `eval 'as_val=${'$as_ac_var'}
20473 $as_echo "$as_val"'` = yes; then
20474 cat >>confdefs.h <<_ACEOF
20475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20476 _ACEOF
20479 done
20483 for ac_func in get_fpc_csr
20485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20486 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20487 $as_echo_n "checking for $ac_func... " >&6; }
20488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20489 $as_echo_n "(cached) " >&6
20490 else
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20499 #define $ac_func innocuous_$ac_func
20501 /* System header to define __stub macros and hopefully few prototypes,
20502 which can conflict with char $ac_func (); below.
20503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20504 <limits.h> exists even on freestanding compilers. */
20506 #ifdef __STDC__
20507 # include <limits.h>
20508 #else
20509 # include <assert.h>
20510 #endif
20512 #undef $ac_func
20514 /* Override any GCC internal prototype to avoid an error.
20515 Use char because int might match the return type of a GCC
20516 builtin and then its argument prototype would still apply. */
20517 #ifdef __cplusplus
20518 extern "C"
20519 #endif
20520 char $ac_func ();
20521 /* The GNU C library defines this for functions which it implements
20522 to always fail with ENOSYS. Some functions are actually named
20523 something starting with __ and the normal name is an alias. */
20524 #if defined __stub_$ac_func || defined __stub___$ac_func
20525 choke me
20526 #endif
20529 main ()
20531 return $ac_func ();
20533 return 0;
20535 _ACEOF
20536 rm -f conftest.$ac_objext conftest$ac_exeext
20537 if { (ac_try="$ac_link"
20538 case "(($ac_try" in
20539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20540 *) ac_try_echo=$ac_try;;
20541 esac
20542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20543 $as_echo "$ac_try_echo") >&5
20544 (eval "$ac_link") 2>conftest.er1
20545 ac_status=$?
20546 grep -v '^ *+' conftest.er1 >conftest.err
20547 rm -f conftest.er1
20548 cat conftest.err >&5
20549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_cxx_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest$ac_exeext && {
20554 test "$cross_compiling" = yes ||
20555 $as_test_x conftest$ac_exeext
20556 }; then
20557 eval "$as_ac_var=yes"
20558 else
20559 $as_echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20562 eval "$as_ac_var=no"
20565 rm -rf conftest.dSYM
20566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20567 conftest$ac_exeext conftest.$ac_ext
20569 ac_res=`eval 'as_val=${'$as_ac_var'}
20570 $as_echo "$as_val"'`
20571 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20572 $as_echo "$ac_res" >&6; }
20573 if test `eval 'as_val=${'$as_ac_var'}
20574 $as_echo "$as_val"'` = yes; then
20575 cat >>confdefs.h <<_ACEOF
20576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20577 _ACEOF
20580 done
20585 ###############################################################################
20587 # Check which command line options are supported by $C_COMPILER.
20589 if test "$C_COMP_GNUC" = yes; then
20591 ########## Using gcc...
20593 # Determine which gcc version is being used.
20595 { $as_echo "$as_me:$LINENO: checking how $C_COMPILER's preprocessor evaluates (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403" >&5
20596 $as_echo_n "checking how $C_COMPILER's preprocessor evaluates (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403... " >&6; }
20597 if test "${GCC_42_OR_43+set}" = set; then
20598 $as_echo_n "(cached) " >&6
20599 else
20601 rm -f conftest.$ac_ext
20602 cat >conftest.$ac_ext <<_ACEOF
20603 #line $LINENO "configure"
20605 main ()
20607 #if (__GNUC__*100+__GNUC_MINOR__)>=402&&(__GNUC__*100+__GNUC_MINOR__)<=403
20608 #else
20609 choke me
20610 #endif
20613 return 0;
20615 _ACEOF
20616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20617 (eval $ac_link) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; then
20621 GCC_42_OR_43="yes"
20622 else
20623 GCC_42_OR_43=""
20627 { $as_echo "$as_me:$LINENO: result: $GCC_42_OR_43" >&5
20628 $as_echo "$GCC_42_OR_43" >&6; }
20630 # preprocessor options:
20631 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -no-cpp-precomp" >&5
20632 $as_echo_n "checking whether $C_COMPILER accepts -no-cpp-precomp... " >&6; }
20633 if test "${DASH_no_cpp_precomp+set}" = set; then
20634 $as_echo_n "(cached) " >&6
20635 else
20637 rm -f conftest.$ac_ext
20638 cat >conftest.$ac_ext <<_ACEOF
20639 #line $LINENO "configure"
20641 main ()
20643 return 0;
20645 _ACEOF
20646 ac_test_CFLAGS=${CFLAGS+set}
20647 ac_test_CXXFLAGS=${CXXFLAGS+set}
20648 ac_save_CFLAGS=$CFLAGS
20649 ac_save_CXXFLAGS=$CXXFLAGS
20650 CFLAGS="-no-cpp-precomp"
20651 CXXFLAGS="-no-cpp-precomp"
20652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20653 (eval $ac_link) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; then
20657 DASH_no_cpp_precomp=" -no-cpp-precomp"
20658 else
20659 DASH_no_cpp_precomp=""
20661 if test "$ac_test_CFLAGS" = set; then
20662 CFLAGS=$ac_save_CFLAGS
20664 if test "$ac_test_CXXFLAGS" = set; then
20665 CXXFLAGS=$ac_save_CXXFLAGS
20669 { $as_echo "$as_me:$LINENO: result: $DASH_no_cpp_precomp" >&5
20670 $as_echo "$DASH_no_cpp_precomp" >&6; }
20672 # debugging options:
20673 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -Wall" >&5
20674 $as_echo_n "checking whether $C_COMPILER accepts -Wall... " >&6; }
20675 if test "${DASH_Wall+set}" = set; then
20676 $as_echo_n "(cached) " >&6
20677 else
20679 rm -f conftest.$ac_ext
20680 cat >conftest.$ac_ext <<_ACEOF
20681 #line $LINENO "configure"
20683 main ()
20685 return 0;
20687 _ACEOF
20688 ac_test_CFLAGS=${CFLAGS+set}
20689 ac_test_CXXFLAGS=${CXXFLAGS+set}
20690 ac_save_CFLAGS=$CFLAGS
20691 ac_save_CXXFLAGS=$CXXFLAGS
20692 CFLAGS="-Wall"
20693 CXXFLAGS="-Wall"
20694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20695 (eval $ac_link) 2>&5
20696 ac_status=$?
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; then
20699 DASH_Wall=" -Wall"
20700 else
20701 DASH_Wall=""
20703 if test "$ac_test_CFLAGS" = set; then
20704 CFLAGS=$ac_save_CFLAGS
20706 if test "$ac_test_CXXFLAGS" = set; then
20707 CXXFLAGS=$ac_save_CXXFLAGS
20711 { $as_echo "$as_me:$LINENO: result: $DASH_Wall" >&5
20712 $as_echo "$DASH_Wall" >&6; }
20713 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -W" >&5
20714 $as_echo_n "checking whether $C_COMPILER accepts -W... " >&6; }
20715 if test "${DASH_W+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="-W"
20733 CXXFLAGS="-W"
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_W=" -W"
20740 else
20741 DASH_W=""
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_W" >&5
20752 $as_echo "$DASH_W" >&6; }
20753 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -Wno-unused" >&5
20754 $as_echo_n "checking whether $C_COMPILER accepts -Wno-unused... " >&6; }
20755 if test "${DASH_Wno_unused+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="-Wno-unused"
20773 CXXFLAGS="-Wno-unused"
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_Wno_unused=" -Wno-unused"
20780 else
20781 DASH_Wno_unused=""
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_Wno_unused" >&5
20792 $as_echo "$DASH_Wno_unused" >&6; }
20793 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
20794 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
20795 if test "${DASH_g+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="-g"
20813 CXXFLAGS="-g"
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_g=" -g"
20820 else
20821 DASH_g=""
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_g" >&5
20832 $as_echo "$DASH_g" >&6; }
20834 # profiling options:
20835 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
20836 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
20837 if test "${DASH_p+set}" = set; then
20838 $as_echo_n "(cached) " >&6
20839 else
20841 rm -f conftest.$ac_ext
20842 cat >conftest.$ac_ext <<_ACEOF
20843 #line $LINENO "configure"
20845 main ()
20847 return 0;
20849 _ACEOF
20850 ac_test_CFLAGS=${CFLAGS+set}
20851 ac_test_CXXFLAGS=${CXXFLAGS+set}
20852 ac_save_CFLAGS=$CFLAGS
20853 ac_save_CXXFLAGS=$CXXFLAGS
20854 CFLAGS="-p"
20855 CXXFLAGS="-p"
20856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20857 (eval $ac_link) 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; then
20861 DASH_p=" -p"
20862 else
20863 DASH_p=""
20865 if test "$ac_test_CFLAGS" = set; then
20866 CFLAGS=$ac_save_CFLAGS
20868 if test "$ac_test_CXXFLAGS" = set; then
20869 CXXFLAGS=$ac_save_CXXFLAGS
20873 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
20874 $as_echo "$DASH_p" >&6; }
20875 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -pg" >&5
20876 $as_echo_n "checking whether $C_COMPILER accepts -pg... " >&6; }
20877 if test "${DASH_pg+set}" = set; then
20878 $as_echo_n "(cached) " >&6
20879 else
20881 rm -f conftest.$ac_ext
20882 cat >conftest.$ac_ext <<_ACEOF
20883 #line $LINENO "configure"
20885 main ()
20887 return 0;
20889 _ACEOF
20890 ac_test_CFLAGS=${CFLAGS+set}
20891 ac_test_CXXFLAGS=${CXXFLAGS+set}
20892 ac_save_CFLAGS=$CFLAGS
20893 ac_save_CXXFLAGS=$CXXFLAGS
20894 CFLAGS="-pg"
20895 CXXFLAGS="-pg"
20896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20897 (eval $ac_link) 2>&5
20898 ac_status=$?
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; then
20901 DASH_pg=" -pg"
20902 else
20903 DASH_pg=""
20905 if test "$ac_test_CFLAGS" = set; then
20906 CFLAGS=$ac_save_CFLAGS
20908 if test "$ac_test_CXXFLAGS" = set; then
20909 CXXFLAGS=$ac_save_CXXFLAGS
20913 { $as_echo "$as_me:$LINENO: result: $DASH_pg" >&5
20914 $as_echo "$DASH_pg" >&6; }
20915 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -ftest-coverage" >&5
20916 $as_echo_n "checking whether $C_COMPILER accepts -ftest-coverage... " >&6; }
20917 if test "${DASH_ftest_coverage+set}" = set; then
20918 $as_echo_n "(cached) " >&6
20919 else
20921 rm -f conftest.$ac_ext
20922 cat >conftest.$ac_ext <<_ACEOF
20923 #line $LINENO "configure"
20925 main ()
20927 return 0;
20929 _ACEOF
20930 ac_test_CFLAGS=${CFLAGS+set}
20931 ac_test_CXXFLAGS=${CXXFLAGS+set}
20932 ac_save_CFLAGS=$CFLAGS
20933 ac_save_CXXFLAGS=$CXXFLAGS
20934 CFLAGS="-ftest-coverage"
20935 CXXFLAGS="-ftest-coverage"
20936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20937 (eval $ac_link) 2>&5
20938 ac_status=$?
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; then
20941 DASH_ftest_coverage=" -ftest-coverage"
20942 else
20943 DASH_ftest_coverage=""
20945 if test "$ac_test_CFLAGS" = set; then
20946 CFLAGS=$ac_save_CFLAGS
20948 if test "$ac_test_CXXFLAGS" = set; then
20949 CXXFLAGS=$ac_save_CXXFLAGS
20953 { $as_echo "$as_me:$LINENO: result: $DASH_ftest_coverage" >&5
20954 $as_echo "$DASH_ftest_coverage" >&6; }
20955 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fprofile-arcs" >&5
20956 $as_echo_n "checking whether $C_COMPILER accepts -fprofile-arcs... " >&6; }
20957 if test "${DASH_fprofile_arcs+set}" = set; then
20958 $as_echo_n "(cached) " >&6
20959 else
20961 rm -f conftest.$ac_ext
20962 cat >conftest.$ac_ext <<_ACEOF
20963 #line $LINENO "configure"
20965 main ()
20967 return 0;
20969 _ACEOF
20970 ac_test_CFLAGS=${CFLAGS+set}
20971 ac_test_CXXFLAGS=${CXXFLAGS+set}
20972 ac_save_CFLAGS=$CFLAGS
20973 ac_save_CXXFLAGS=$CXXFLAGS
20974 CFLAGS="-fprofile-arcs"
20975 CXXFLAGS="-fprofile-arcs"
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>&5
20978 ac_status=$?
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; then
20981 DASH_fprofile_arcs=" -fprofile-arcs"
20982 else
20983 DASH_fprofile_arcs=""
20985 if test "$ac_test_CFLAGS" = set; then
20986 CFLAGS=$ac_save_CFLAGS
20988 if test "$ac_test_CXXFLAGS" = set; then
20989 CXXFLAGS=$ac_save_CXXFLAGS
20993 { $as_echo "$as_me:$LINENO: result: $DASH_fprofile_arcs" >&5
20994 $as_echo "$DASH_fprofile_arcs" >&6; }
20995 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fbranch-probabilities" >&5
20996 $as_echo_n "checking whether $C_COMPILER accepts -fbranch-probabilities... " >&6; }
20997 if test "${DASH_fbranch_probabilities+set}" = set; then
20998 $as_echo_n "(cached) " >&6
20999 else
21001 rm -f conftest.$ac_ext
21002 cat >conftest.$ac_ext <<_ACEOF
21003 #line $LINENO "configure"
21005 main ()
21007 return 0;
21009 _ACEOF
21010 ac_test_CFLAGS=${CFLAGS+set}
21011 ac_test_CXXFLAGS=${CXXFLAGS+set}
21012 ac_save_CFLAGS=$CFLAGS
21013 ac_save_CXXFLAGS=$CXXFLAGS
21014 CFLAGS="-fbranch-probabilities"
21015 CXXFLAGS="-fbranch-probabilities"
21016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21017 (eval $ac_link) 2>&5
21018 ac_status=$?
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; then
21021 DASH_fbranch_probabilities=" -fbranch-probabilities"
21022 else
21023 DASH_fbranch_probabilities=""
21025 if test "$ac_test_CFLAGS" = set; then
21026 CFLAGS=$ac_save_CFLAGS
21028 if test "$ac_test_CXXFLAGS" = set; then
21029 CXXFLAGS=$ac_save_CXXFLAGS
21033 { $as_echo "$as_me:$LINENO: result: $DASH_fbranch_probabilities" >&5
21034 $as_echo "$DASH_fbranch_probabilities" >&6; }
21036 # optimization options:
21037 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
21038 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
21039 if test "${DASH_O1+set}" = set; then
21040 $as_echo_n "(cached) " >&6
21041 else
21043 rm -f conftest.$ac_ext
21044 cat >conftest.$ac_ext <<_ACEOF
21045 #line $LINENO "configure"
21047 main ()
21049 return 0;
21051 _ACEOF
21052 ac_test_CFLAGS=${CFLAGS+set}
21053 ac_test_CXXFLAGS=${CXXFLAGS+set}
21054 ac_save_CFLAGS=$CFLAGS
21055 ac_save_CXXFLAGS=$CXXFLAGS
21056 CFLAGS="-O1"
21057 CXXFLAGS="-O1"
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; then
21063 DASH_O1=" -O1"
21064 else
21065 DASH_O1=""
21067 if test "$ac_test_CFLAGS" = set; then
21068 CFLAGS=$ac_save_CFLAGS
21070 if test "$ac_test_CXXFLAGS" = set; then
21071 CXXFLAGS=$ac_save_CXXFLAGS
21075 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
21076 $as_echo "$DASH_O1" >&6; }
21077 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-math-errno" >&5
21078 $as_echo_n "checking whether $C_COMPILER accepts -fno-math-errno... " >&6; }
21079 if test "${DASH_fno_math_errno+set}" = set; then
21080 $as_echo_n "(cached) " >&6
21081 else
21083 rm -f conftest.$ac_ext
21084 cat >conftest.$ac_ext <<_ACEOF
21085 #line $LINENO "configure"
21087 main ()
21089 return 0;
21091 _ACEOF
21092 ac_test_CFLAGS=${CFLAGS+set}
21093 ac_test_CXXFLAGS=${CXXFLAGS+set}
21094 ac_save_CFLAGS=$CFLAGS
21095 ac_save_CXXFLAGS=$CXXFLAGS
21096 CFLAGS="-fno-math-errno"
21097 CXXFLAGS="-fno-math-errno"
21098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21099 (eval $ac_link) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; then
21103 DASH_fno_math_errno=" -fno-math-errno"
21104 else
21105 DASH_fno_math_errno=""
21107 if test "$ac_test_CFLAGS" = set; then
21108 CFLAGS=$ac_save_CFLAGS
21110 if test "$ac_test_CXXFLAGS" = set; then
21111 CXXFLAGS=$ac_save_CXXFLAGS
21115 { $as_echo "$as_me:$LINENO: result: $DASH_fno_math_errno" >&5
21116 $as_echo "$DASH_fno_math_errno" >&6; }
21117 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fschedule-insns2" >&5
21118 $as_echo_n "checking whether $C_COMPILER accepts -fschedule-insns2... " >&6; }
21119 if test "${DASH_fschedule_insns2+set}" = set; then
21120 $as_echo_n "(cached) " >&6
21121 else
21123 rm -f conftest.$ac_ext
21124 cat >conftest.$ac_ext <<_ACEOF
21125 #line $LINENO "configure"
21127 main ()
21129 return 0;
21131 _ACEOF
21132 ac_test_CFLAGS=${CFLAGS+set}
21133 ac_test_CXXFLAGS=${CXXFLAGS+set}
21134 ac_save_CFLAGS=$CFLAGS
21135 ac_save_CXXFLAGS=$CXXFLAGS
21136 CFLAGS="-fschedule-insns2"
21137 CXXFLAGS="-fschedule-insns2"
21138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21139 (eval $ac_link) 2>&5
21140 ac_status=$?
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; then
21143 DASH_fschedule_insns2=" -fschedule-insns2"
21144 else
21145 DASH_fschedule_insns2=""
21147 if test "$ac_test_CFLAGS" = set; then
21148 CFLAGS=$ac_save_CFLAGS
21150 if test "$ac_test_CXXFLAGS" = set; then
21151 CXXFLAGS=$ac_save_CXXFLAGS
21155 { $as_echo "$as_me:$LINENO: result: $DASH_fschedule_insns2" >&5
21156 $as_echo "$DASH_fschedule_insns2" >&6; }
21157 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-trapping-math" >&5
21158 $as_echo_n "checking whether $C_COMPILER accepts -fno-trapping-math... " >&6; }
21159 if test "${DASH_fno_trapping_math+set}" = set; then
21160 $as_echo_n "(cached) " >&6
21161 else
21163 rm -f conftest.$ac_ext
21164 cat >conftest.$ac_ext <<_ACEOF
21165 #line $LINENO "configure"
21167 main ()
21169 return 0;
21171 _ACEOF
21172 ac_test_CFLAGS=${CFLAGS+set}
21173 ac_test_CXXFLAGS=${CXXFLAGS+set}
21174 ac_save_CFLAGS=$CFLAGS
21175 ac_save_CXXFLAGS=$CXXFLAGS
21176 CFLAGS="-fno-trapping-math"
21177 CXXFLAGS="-fno-trapping-math"
21178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21179 (eval $ac_link) 2>&5
21180 ac_status=$?
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; then
21183 DASH_fno_trapping_math=" -fno-trapping-math"
21184 else
21185 DASH_fno_trapping_math=""
21187 if test "$ac_test_CFLAGS" = set; then
21188 CFLAGS=$ac_save_CFLAGS
21190 if test "$ac_test_CXXFLAGS" = set; then
21191 CXXFLAGS=$ac_save_CXXFLAGS
21195 { $as_echo "$as_me:$LINENO: result: $DASH_fno_trapping_math" >&5
21196 $as_echo "$DASH_fno_trapping_math" >&6; }
21197 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-strict-aliasing" >&5
21198 $as_echo_n "checking whether $C_COMPILER accepts -fno-strict-aliasing... " >&6; }
21199 if test "${DASH_fno_strict_aliasing+set}" = set; then
21200 $as_echo_n "(cached) " >&6
21201 else
21203 rm -f conftest.$ac_ext
21204 cat >conftest.$ac_ext <<_ACEOF
21205 #line $LINENO "configure"
21207 main ()
21209 return 0;
21211 _ACEOF
21212 ac_test_CFLAGS=${CFLAGS+set}
21213 ac_test_CXXFLAGS=${CXXFLAGS+set}
21214 ac_save_CFLAGS=$CFLAGS
21215 ac_save_CXXFLAGS=$CXXFLAGS
21216 CFLAGS="-fno-strict-aliasing"
21217 CXXFLAGS="-fno-strict-aliasing"
21218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21219 (eval $ac_link) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; then
21223 DASH_fno_strict_aliasing=" -fno-strict-aliasing"
21224 else
21225 DASH_fno_strict_aliasing=""
21227 if test "$ac_test_CFLAGS" = set; then
21228 CFLAGS=$ac_save_CFLAGS
21230 if test "$ac_test_CXXFLAGS" = set; then
21231 CXXFLAGS=$ac_save_CXXFLAGS
21235 { $as_echo "$as_me:$LINENO: result: $DASH_fno_strict_aliasing" >&5
21236 $as_echo "$DASH_fno_strict_aliasing" >&6; }
21237 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fwrapv" >&5
21238 $as_echo_n "checking whether $C_COMPILER accepts -fwrapv... " >&6; }
21239 if test "${DASH_fwrapv+set}" = set; then
21240 $as_echo_n "(cached) " >&6
21241 else
21243 rm -f conftest.$ac_ext
21244 cat >conftest.$ac_ext <<_ACEOF
21245 #line $LINENO "configure"
21247 main ()
21249 return 0;
21251 _ACEOF
21252 ac_test_CFLAGS=${CFLAGS+set}
21253 ac_test_CXXFLAGS=${CXXFLAGS+set}
21254 ac_save_CFLAGS=$CFLAGS
21255 ac_save_CXXFLAGS=$CXXFLAGS
21256 CFLAGS="-fwrapv"
21257 CXXFLAGS="-fwrapv"
21258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21259 (eval $ac_link) 2>&5
21260 ac_status=$?
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; then
21263 DASH_fwrapv=" -fwrapv"
21264 else
21265 DASH_fwrapv=""
21267 if test "$ac_test_CFLAGS" = set; then
21268 CFLAGS=$ac_save_CFLAGS
21270 if test "$ac_test_CXXFLAGS" = set; then
21271 CXXFLAGS=$ac_save_CXXFLAGS
21275 { $as_echo "$as_me:$LINENO: result: $DASH_fwrapv" >&5
21276 $as_echo "$DASH_fwrapv" >&6; }
21277 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fomit-frame-pointer" >&5
21278 $as_echo_n "checking whether $C_COMPILER accepts -fomit-frame-pointer... " >&6; }
21279 if test "${DASH_fomit_frame_pointer+set}" = set; then
21280 $as_echo_n "(cached) " >&6
21281 else
21283 rm -f conftest.$ac_ext
21284 cat >conftest.$ac_ext <<_ACEOF
21285 #line $LINENO "configure"
21287 main ()
21289 return 0;
21291 _ACEOF
21292 ac_test_CFLAGS=${CFLAGS+set}
21293 ac_test_CXXFLAGS=${CXXFLAGS+set}
21294 ac_save_CFLAGS=$CFLAGS
21295 ac_save_CXXFLAGS=$CXXFLAGS
21296 CFLAGS="-fomit-frame-pointer"
21297 CXXFLAGS="-fomit-frame-pointer"
21298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21299 (eval $ac_link) 2>&5
21300 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; then
21303 DASH_fomit_frame_pointer=" -fomit-frame-pointer"
21304 else
21305 DASH_fomit_frame_pointer=""
21307 if test "$ac_test_CFLAGS" = set; then
21308 CFLAGS=$ac_save_CFLAGS
21310 if test "$ac_test_CXXFLAGS" = set; then
21311 CXXFLAGS=$ac_save_CXXFLAGS
21315 { $as_echo "$as_me:$LINENO: result: $DASH_fomit_frame_pointer" >&5
21316 $as_echo "$DASH_fomit_frame_pointer" >&6; }
21317 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-move-loop-invariants" >&5
21318 $as_echo_n "checking whether $C_COMPILER accepts -fno-move-loop-invariants... " >&6; }
21319 if test "${DASH_fno_move_loop_invariants+set}" = set; then
21320 $as_echo_n "(cached) " >&6
21321 else
21323 rm -f conftest.$ac_ext
21324 cat >conftest.$ac_ext <<_ACEOF
21325 #line $LINENO "configure"
21327 main ()
21329 return 0;
21331 _ACEOF
21332 ac_test_CFLAGS=${CFLAGS+set}
21333 ac_test_CXXFLAGS=${CXXFLAGS+set}
21334 ac_save_CFLAGS=$CFLAGS
21335 ac_save_CXXFLAGS=$CXXFLAGS
21336 CFLAGS="-fno-move-loop-invariants"
21337 CXXFLAGS="-fno-move-loop-invariants"
21338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21339 (eval $ac_link) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; then
21343 DASH_fno_move_loop_invariants=" -fno-move-loop-invariants"
21344 else
21345 DASH_fno_move_loop_invariants=""
21347 if test "$ac_test_CFLAGS" = set; then
21348 CFLAGS=$ac_save_CFLAGS
21350 if test "$ac_test_CXXFLAGS" = set; then
21351 CXXFLAGS=$ac_save_CXXFLAGS
21355 { $as_echo "$as_me:$LINENO: result: $DASH_fno_move_loop_invariants" >&5
21356 $as_echo "$DASH_fno_move_loop_invariants" >&6; }
21358 # It isn't clear these are useful:
21359 # AC_CHECK_C_COMPILER_OPT(-fexpensive-optimizations,DASH_fexpensive_optimizations)
21360 # AC_CHECK_C_COMPILER_OPT(-fforce-addr,DASH_fforce_addr)
21361 # AC_CHECK_C_COMPILER_OPT(-fpeephole2,DASH_fpeephole2)
21362 # AC_CHECK_C_COMPILER_OPT(-falign-jumps,DASH_falign_jumps)
21363 # AC_CHECK_C_COMPILER_OPT(-falign-functions,DASH_falign_functions)
21364 # AC_CHECK_C_COMPILER_OPT(-fno-function-cse,DASH_fno_function_cse)
21365 # AC_CHECK_C_COMPILER_OPT(-ftree-copyrename,DASH_ftree_copyrename)
21366 # AC_CHECK_C_COMPILER_OPT(-ftree-fre,DASH_ftree_fre)
21367 # AC_CHECK_C_COMPILER_OPT(-ftree-dce,DASH_ftree_dce)
21368 # AC_CHECK_C_COMPILER_OPT(-fschedule-interblock,DASH_fschedule_interblock)
21369 # AC_CHECK_C_COMPILER_OPT(-fregmove,DASH_fregmove)
21370 # AC_CHECK_C_COMPILER_OPT(-fgcse-las,DASH_fgcse_las)
21371 # AC_CHECK_C_COMPILER_OPT(-freorder-functions,DASH_freorder_functions)
21372 # AC_CHECK_C_COMPILER_OPT(-fcaller-saves,DASH_fcaller_saves)
21373 # AC_CHECK_C_COMPILER_OPT(-fno-if-conversion2,DASH_fno_if_conversion2)
21374 # AC_CHECK_C_COMPILER_OPT(-foptimize-sibling-calls,DASH_foptimize_sibling_calls)
21375 # AC_CHECK_C_COMPILER_OPT(-fcse-skip-blocks,DASH_fcse_skip_blocks)
21376 # AC_CHECK_C_COMPILER_OPT(-funit-at-a-time,DASH_funit_at_a_time)
21377 # AC_CHECK_C_COMPILER_OPT(-finline-functions,DASH_finline_functions)
21379 if test "$ENABLE_GCC_OPTS" = yes; then
21380 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fmodulo-sched" >&5
21381 $as_echo_n "checking whether $C_COMPILER accepts -fmodulo-sched... " >&6; }
21382 if test "${DASH_fmodulo_sched+set}" = set; then
21383 $as_echo_n "(cached) " >&6
21384 else
21386 rm -f conftest.$ac_ext
21387 cat >conftest.$ac_ext <<_ACEOF
21388 #line $LINENO "configure"
21390 main ()
21392 return 0;
21394 _ACEOF
21395 ac_test_CFLAGS=${CFLAGS+set}
21396 ac_test_CXXFLAGS=${CXXFLAGS+set}
21397 ac_save_CFLAGS=$CFLAGS
21398 ac_save_CXXFLAGS=$CXXFLAGS
21399 CFLAGS="-fmodulo-sched"
21400 CXXFLAGS="-fmodulo-sched"
21401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21402 (eval $ac_link) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; then
21406 DASH_fmodulo_sched=" -fmodulo-sched"
21407 else
21408 DASH_fmodulo_sched=""
21410 if test "$ac_test_CFLAGS" = set; then
21411 CFLAGS=$ac_save_CFLAGS
21413 if test "$ac_test_CXXFLAGS" = set; then
21414 CXXFLAGS=$ac_save_CXXFLAGS
21418 { $as_echo "$as_me:$LINENO: result: $DASH_fmodulo_sched" >&5
21419 $as_echo "$DASH_fmodulo_sched" >&6; }
21420 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -freschedule-modulo-scheduled-loops" >&5
21421 $as_echo_n "checking whether $C_COMPILER accepts -freschedule-modulo-scheduled-loops... " >&6; }
21422 if test "${DASH_freschedule_modulo_scheduled_loops+set}" = set; then
21423 $as_echo_n "(cached) " >&6
21424 else
21426 rm -f conftest.$ac_ext
21427 cat >conftest.$ac_ext <<_ACEOF
21428 #line $LINENO "configure"
21430 main ()
21432 return 0;
21434 _ACEOF
21435 ac_test_CFLAGS=${CFLAGS+set}
21436 ac_test_CXXFLAGS=${CXXFLAGS+set}
21437 ac_save_CFLAGS=$CFLAGS
21438 ac_save_CXXFLAGS=$CXXFLAGS
21439 CFLAGS="-freschedule-modulo-scheduled-loops"
21440 CXXFLAGS="-freschedule-modulo-scheduled-loops"
21441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21442 (eval $ac_link) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; then
21446 DASH_freschedule_modulo_scheduled_loops=" -freschedule-modulo-scheduled-loops"
21447 else
21448 DASH_freschedule_modulo_scheduled_loops=""
21450 if test "$ac_test_CFLAGS" = set; then
21451 CFLAGS=$ac_save_CFLAGS
21453 if test "$ac_test_CXXFLAGS" = set; then
21454 CXXFLAGS=$ac_save_CXXFLAGS
21458 { $as_echo "$as_me:$LINENO: result: $DASH_freschedule_modulo_scheduled_loops" >&5
21459 $as_echo "$DASH_freschedule_modulo_scheduled_loops" >&6; }
21463 # code generation options:
21464 case "$target_os" in
21466 mingw*) # no special code generation options needed by MinGW
21469 cygwin*) # no special code generation options needed by cygwin
21472 *) # check for code generation options for other systems
21473 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fPIC" >&5
21474 $as_echo_n "checking whether $C_COMPILER accepts -fPIC... " >&6; }
21475 if test "${DASH_fPIC+set}" = set; then
21476 $as_echo_n "(cached) " >&6
21477 else
21479 rm -f conftest.$ac_ext
21480 cat >conftest.$ac_ext <<_ACEOF
21481 #line $LINENO "configure"
21483 main ()
21485 return 0;
21487 _ACEOF
21488 ac_test_CFLAGS=${CFLAGS+set}
21489 ac_test_CXXFLAGS=${CXXFLAGS+set}
21490 ac_save_CFLAGS=$CFLAGS
21491 ac_save_CXXFLAGS=$CXXFLAGS
21492 CFLAGS="-fPIC"
21493 CXXFLAGS="-fPIC"
21494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21495 (eval $ac_link) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; then
21499 DASH_fPIC=" -fPIC"
21500 else
21501 DASH_fPIC=""
21503 if test "$ac_test_CFLAGS" = set; then
21504 CFLAGS=$ac_save_CFLAGS
21506 if test "$ac_test_CXXFLAGS" = set; then
21507 CXXFLAGS=$ac_save_CXXFLAGS
21511 { $as_echo "$as_me:$LINENO: result: $DASH_fPIC" >&5
21512 $as_echo "$DASH_fPIC" >&6; }
21513 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fpic" >&5
21514 $as_echo_n "checking whether $C_COMPILER accepts -fpic... " >&6; }
21515 if test "${DASH_fpic+set}" = set; then
21516 $as_echo_n "(cached) " >&6
21517 else
21519 rm -f conftest.$ac_ext
21520 cat >conftest.$ac_ext <<_ACEOF
21521 #line $LINENO "configure"
21523 main ()
21525 return 0;
21527 _ACEOF
21528 ac_test_CFLAGS=${CFLAGS+set}
21529 ac_test_CXXFLAGS=${CXXFLAGS+set}
21530 ac_save_CFLAGS=$CFLAGS
21531 ac_save_CXXFLAGS=$CXXFLAGS
21532 CFLAGS="-fpic"
21533 CXXFLAGS="-fpic"
21534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21535 (eval $ac_link) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; then
21539 DASH_fpic=" -fpic"
21540 else
21541 DASH_fpic=""
21543 if test "$ac_test_CFLAGS" = set; then
21544 CFLAGS=$ac_save_CFLAGS
21546 if test "$ac_test_CXXFLAGS" = set; then
21547 CXXFLAGS=$ac_save_CXXFLAGS
21551 { $as_echo "$as_me:$LINENO: result: $DASH_fpic" >&5
21552 $as_echo "$DASH_fpic" >&6; }
21554 esac
21555 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fno-common" >&5
21556 $as_echo_n "checking whether $C_COMPILER accepts -fno-common... " >&6; }
21557 if test "${DASH_fno_common+set}" = set; then
21558 $as_echo_n "(cached) " >&6
21559 else
21561 rm -f conftest.$ac_ext
21562 cat >conftest.$ac_ext <<_ACEOF
21563 #line $LINENO "configure"
21565 main ()
21567 return 0;
21569 _ACEOF
21570 ac_test_CFLAGS=${CFLAGS+set}
21571 ac_test_CXXFLAGS=${CXXFLAGS+set}
21572 ac_save_CFLAGS=$CFLAGS
21573 ac_save_CXXFLAGS=$CXXFLAGS
21574 CFLAGS="-fno-common"
21575 CXXFLAGS="-fno-common"
21576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21577 (eval $ac_link) 2>&5
21578 ac_status=$?
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; then
21581 DASH_fno_common=" -fno-common"
21582 else
21583 DASH_fno_common=""
21585 if test "$ac_test_CFLAGS" = set; then
21586 CFLAGS=$ac_save_CFLAGS
21588 if test "$ac_test_CXXFLAGS" = set; then
21589 CXXFLAGS=$ac_save_CXXFLAGS
21593 { $as_echo "$as_me:$LINENO: result: $DASH_fno_common" >&5
21594 $as_echo "$DASH_fno_common" >&6; }
21596 # machine specific options:
21597 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee" >&5
21598 $as_echo_n "checking whether $C_COMPILER accepts -mieee... " >&6; }
21599 if test "${DASH_mieee+set}" = set; then
21600 $as_echo_n "(cached) " >&6
21601 else
21603 rm -f conftest.$ac_ext
21604 cat >conftest.$ac_ext <<_ACEOF
21605 #line $LINENO "configure"
21607 main ()
21609 return 0;
21611 _ACEOF
21612 ac_test_CFLAGS=${CFLAGS+set}
21613 ac_test_CXXFLAGS=${CXXFLAGS+set}
21614 ac_save_CFLAGS=$CFLAGS
21615 ac_save_CXXFLAGS=$CXXFLAGS
21616 CFLAGS="-mieee"
21617 CXXFLAGS="-mieee"
21618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21619 (eval $ac_link) 2>&5
21620 ac_status=$?
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; then
21623 DASH_mieee=" -mieee"
21624 else
21625 DASH_mieee=""
21627 if test "$ac_test_CFLAGS" = set; then
21628 CFLAGS=$ac_save_CFLAGS
21630 if test "$ac_test_CXXFLAGS" = set; then
21631 CXXFLAGS=$ac_save_CXXFLAGS
21635 { $as_echo "$as_me:$LINENO: result: $DASH_mieee" >&5
21636 $as_echo "$DASH_mieee" >&6; }
21637 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee-with-inexact" >&5
21638 $as_echo_n "checking whether $C_COMPILER accepts -mieee-with-inexact... " >&6; }
21639 if test "${DASH_mieee_with_inexact+set}" = set; then
21640 $as_echo_n "(cached) " >&6
21641 else
21643 rm -f conftest.$ac_ext
21644 cat >conftest.$ac_ext <<_ACEOF
21645 #line $LINENO "configure"
21647 main ()
21649 return 0;
21651 _ACEOF
21652 ac_test_CFLAGS=${CFLAGS+set}
21653 ac_test_CXXFLAGS=${CXXFLAGS+set}
21654 ac_save_CFLAGS=$CFLAGS
21655 ac_save_CXXFLAGS=$CXXFLAGS
21656 CFLAGS="-mieee-with-inexact"
21657 CXXFLAGS="-mieee-with-inexact"
21658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21659 (eval $ac_link) 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; then
21663 DASH_mieee_with_inexact=" -mieee-with-inexact"
21664 else
21665 DASH_mieee_with_inexact=""
21667 if test "$ac_test_CFLAGS" = set; then
21668 CFLAGS=$ac_save_CFLAGS
21670 if test "$ac_test_CXXFLAGS" = set; then
21671 CXXFLAGS=$ac_save_CXXFLAGS
21675 { $as_echo "$as_me:$LINENO: result: $DASH_mieee_with_inexact" >&5
21676 $as_echo "$DASH_mieee_with_inexact" >&6; }
21677 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -mieee-fp" >&5
21678 $as_echo_n "checking whether $C_COMPILER accepts -mieee-fp... " >&6; }
21679 if test "${DASH_mieee_fp+set}" = set; then
21680 $as_echo_n "(cached) " >&6
21681 else
21683 rm -f conftest.$ac_ext
21684 cat >conftest.$ac_ext <<_ACEOF
21685 #line $LINENO "configure"
21687 main ()
21689 return 0;
21691 _ACEOF
21692 ac_test_CFLAGS=${CFLAGS+set}
21693 ac_test_CXXFLAGS=${CXXFLAGS+set}
21694 ac_save_CFLAGS=$CFLAGS
21695 ac_save_CXXFLAGS=$CXXFLAGS
21696 CFLAGS="-mieee-fp"
21697 CXXFLAGS="-mieee-fp"
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>&5
21700 ac_status=$?
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; then
21703 DASH_mieee_fp=" -mieee-fp"
21704 else
21705 DASH_mieee_fp=""
21707 if test "$ac_test_CFLAGS" = set; then
21708 CFLAGS=$ac_save_CFLAGS
21710 if test "$ac_test_CXXFLAGS" = set; then
21711 CXXFLAGS=$ac_save_CXXFLAGS
21715 { $as_echo "$as_me:$LINENO: result: $DASH_mieee_fp" >&5
21716 $as_echo "$DASH_mieee_fp" >&6; }
21718 # linking options:
21719 case "$target_os" in
21721 mingw*) # no special options needed by MinGW
21722 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21723 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21724 if test "${DASH_shared+set}" = set; then
21725 $as_echo_n "(cached) " >&6
21726 else
21728 rm -f conftest.$ac_ext
21729 cat >conftest.$ac_ext <<_ACEOF
21730 #line $LINENO "configure"
21732 main ()
21734 return 0;
21736 _ACEOF
21737 ac_test_CFLAGS=${CFLAGS+set}
21738 ac_test_CXXFLAGS=${CXXFLAGS+set}
21739 ac_save_CFLAGS=$CFLAGS
21740 ac_save_CXXFLAGS=$CXXFLAGS
21741 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21742 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21744 (eval $ac_link) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; then
21748 DASH_shared=" -shared"
21749 else
21750 DASH_shared=""
21752 if test "$ac_test_CFLAGS" = set; then
21753 CFLAGS=$ac_save_CFLAGS
21755 if test "$ac_test_CXXFLAGS" = set; then
21756 CXXFLAGS=$ac_save_CXXFLAGS
21760 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21761 $as_echo "$DASH_shared" >&6; }
21764 cygwin*) # no special options needed by cygwin
21765 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21766 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21767 if test "${DASH_shared+set}" = set; then
21768 $as_echo_n "(cached) " >&6
21769 else
21771 rm -f conftest.$ac_ext
21772 cat >conftest.$ac_ext <<_ACEOF
21773 #line $LINENO "configure"
21775 main ()
21777 return 0;
21779 _ACEOF
21780 ac_test_CFLAGS=${CFLAGS+set}
21781 ac_test_CXXFLAGS=${CXXFLAGS+set}
21782 ac_save_CFLAGS=$CFLAGS
21783 ac_save_CXXFLAGS=$CXXFLAGS
21784 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21785 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21787 (eval $ac_link) 2>&5
21788 ac_status=$?
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; then
21791 DASH_shared=" -shared"
21792 else
21793 DASH_shared=""
21795 if test "$ac_test_CFLAGS" = set; then
21796 CFLAGS=$ac_save_CFLAGS
21798 if test "$ac_test_CXXFLAGS" = set; then
21799 CXXFLAGS=$ac_save_CXXFLAGS
21803 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21804 $as_echo "$DASH_shared" >&6; }
21807 solaris*) # check for options needed by Solaris
21808 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21809 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21810 if test "${DASH_shared+set}" = set; then
21811 $as_echo_n "(cached) " >&6
21812 else
21814 rm -f conftest.$ac_ext
21815 cat >conftest.$ac_ext <<_ACEOF
21816 #line $LINENO "configure"
21818 main ()
21820 return 0;
21822 _ACEOF
21823 ac_test_CFLAGS=${CFLAGS+set}
21824 ac_test_CXXFLAGS=${CXXFLAGS+set}
21825 ac_save_CFLAGS=$CFLAGS
21826 ac_save_CXXFLAGS=$CXXFLAGS
21827 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21828 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21830 (eval $ac_link) 2>&5
21831 ac_status=$?
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; then
21834 DASH_shared=" -shared"
21835 else
21836 DASH_shared=""
21838 if test "$ac_test_CFLAGS" = set; then
21839 CFLAGS=$ac_save_CFLAGS
21841 if test "$ac_test_CXXFLAGS" = set; then
21842 CXXFLAGS=$ac_save_CXXFLAGS
21846 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21847 $as_echo "$DASH_shared" >&6; }
21850 hpux*) # check for options needed by HP-UX
21851 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
21852 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
21853 if test "${DASH_shared+set}" = set; then
21854 $as_echo_n "(cached) " >&6
21855 else
21857 rm -f conftest.$ac_ext
21858 cat >conftest.$ac_ext <<_ACEOF
21859 #line $LINENO "configure"
21861 main ()
21863 return 0;
21865 _ACEOF
21866 ac_test_CFLAGS=${CFLAGS+set}
21867 ac_test_CXXFLAGS=${CXXFLAGS+set}
21868 ac_save_CFLAGS=$CFLAGS
21869 ac_save_CXXFLAGS=$CXXFLAGS
21870 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
21871 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873 (eval $ac_link) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; then
21877 DASH_shared=" -shared"
21878 else
21879 DASH_shared=""
21881 if test "$ac_test_CFLAGS" = set; then
21882 CFLAGS=$ac_save_CFLAGS
21884 if test "$ac_test_CXXFLAGS" = set; then
21885 CXXFLAGS=$ac_save_CXXFLAGS
21889 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
21890 $as_echo "$DASH_shared" >&6; }
21893 darwin*) # check for special options added by Apple
21894 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -dynamiclib" >&5
21895 $as_echo_n "checking whether $C_COMPILER accepts -dynamiclib... " >&6; }
21896 if test "${DASH_dynamiclib+set}" = set; then
21897 $as_echo_n "(cached) " >&6
21898 else
21900 rm -f conftest.$ac_ext
21901 cat >conftest.$ac_ext <<_ACEOF
21902 #line $LINENO "configure"
21904 main ()
21906 return 0;
21908 _ACEOF
21909 ac_test_CFLAGS=${CFLAGS+set}
21910 ac_test_CXXFLAGS=${CXXFLAGS+set}
21911 ac_save_CFLAGS=$CFLAGS
21912 ac_save_CXXFLAGS=$CXXFLAGS
21913 CFLAGS="-dynamiclib"
21914 CXXFLAGS="-dynamiclib"
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; then
21920 DASH_dynamiclib=" -dynamiclib"
21921 else
21922 DASH_dynamiclib=""
21924 if test "$ac_test_CFLAGS" = set; then
21925 CFLAGS=$ac_save_CFLAGS
21927 if test "$ac_test_CXXFLAGS" = set; then
21928 CXXFLAGS=$ac_save_CXXFLAGS
21932 { $as_echo "$as_me:$LINENO: result: $DASH_dynamiclib" >&5
21933 $as_echo "$DASH_dynamiclib" >&6; }
21934 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -bundle" >&5
21935 $as_echo_n "checking whether $C_COMPILER accepts -bundle... " >&6; }
21936 if test "${DASH_bundle+set}" = set; then
21937 $as_echo_n "(cached) " >&6
21938 else
21940 rm -f conftest.$ac_ext
21941 cat >conftest.$ac_ext <<_ACEOF
21942 #line $LINENO "configure"
21944 main ()
21946 return 0;
21948 _ACEOF
21949 ac_test_CFLAGS=${CFLAGS+set}
21950 ac_test_CXXFLAGS=${CXXFLAGS+set}
21951 ac_save_CFLAGS=$CFLAGS
21952 ac_save_CXXFLAGS=$CXXFLAGS
21953 CFLAGS="-bundle"
21954 CXXFLAGS="-bundle"
21955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21956 (eval $ac_link) 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; then
21960 DASH_bundle=" -bundle"
21961 else
21962 DASH_bundle=""
21964 if test "$ac_test_CFLAGS" = set; then
21965 CFLAGS=$ac_save_CFLAGS
21967 if test "$ac_test_CXXFLAGS" = set; then
21968 CXXFLAGS=$ac_save_CXXFLAGS
21972 { $as_echo "$as_me:$LINENO: result: $DASH_bundle" >&5
21973 $as_echo "$DASH_bundle" >&6; }
21974 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -flat_namespace -undefined suppress" >&5
21975 $as_echo_n "checking whether $C_COMPILER accepts -flat_namespace -undefined suppress... " >&6; }
21976 if test "${DASH_flat_namespace_undefined_suppress+set}" = set; then
21977 $as_echo_n "(cached) " >&6
21978 else
21980 rm -f conftest.$ac_ext
21981 cat >conftest.$ac_ext <<_ACEOF
21982 #line $LINENO "configure"
21984 main ()
21986 return 0;
21988 _ACEOF
21989 ac_test_CFLAGS=${CFLAGS+set}
21990 ac_test_CXXFLAGS=${CXXFLAGS+set}
21991 ac_save_CFLAGS=$CFLAGS
21992 ac_save_CXXFLAGS=$CXXFLAGS
21993 CFLAGS="-flat_namespace -undefined suppress"
21994 CXXFLAGS="-flat_namespace -undefined suppress"
21995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21996 (eval $ac_link) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; then
22000 DASH_flat_namespace_undefined_suppress=" -flat_namespace -undefined suppress"
22001 else
22002 DASH_flat_namespace_undefined_suppress=""
22004 if test "$ac_test_CFLAGS" = set; then
22005 CFLAGS=$ac_save_CFLAGS
22007 if test "$ac_test_CXXFLAGS" = set; then
22008 CXXFLAGS=$ac_save_CXXFLAGS
22012 { $as_echo "$as_me:$LINENO: result: $DASH_flat_namespace_undefined_suppress" >&5
22013 $as_echo "$DASH_flat_namespace_undefined_suppress" >&6; }
22016 *) # for other systems
22017 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -rdynamic" >&5
22018 $as_echo_n "checking whether $C_COMPILER accepts -rdynamic... " >&6; }
22019 if test "${DASH_rdynamic+set}" = set; then
22020 $as_echo_n "(cached) " >&6
22021 else
22023 rm -f conftest.$ac_ext
22024 cat >conftest.$ac_ext <<_ACEOF
22025 #line $LINENO "configure"
22027 main ()
22029 return 0;
22031 _ACEOF
22032 ac_test_CFLAGS=${CFLAGS+set}
22033 ac_test_CXXFLAGS=${CXXFLAGS+set}
22034 ac_save_CFLAGS=$CFLAGS
22035 ac_save_CXXFLAGS=$CXXFLAGS
22036 CFLAGS="-rdynamic"
22037 CXXFLAGS="-rdynamic"
22038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22039 (eval $ac_link) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; then
22043 DASH_rdynamic=" -rdynamic"
22044 else
22045 DASH_rdynamic=""
22047 if test "$ac_test_CFLAGS" = set; then
22048 CFLAGS=$ac_save_CFLAGS
22050 if test "$ac_test_CXXFLAGS" = set; then
22051 CXXFLAGS=$ac_save_CXXFLAGS
22055 { $as_echo "$as_me:$LINENO: result: $DASH_rdynamic" >&5
22056 $as_echo "$DASH_rdynamic" >&6; }
22057 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
22058 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
22059 if test "${DASH_shared+set}" = set; then
22060 $as_echo_n "(cached) " >&6
22061 else
22063 rm -f conftest.$ac_ext
22064 cat >conftest.$ac_ext <<_ACEOF
22065 #line $LINENO "configure"
22067 main ()
22069 return 0;
22071 _ACEOF
22072 ac_test_CFLAGS=${CFLAGS+set}
22073 ac_test_CXXFLAGS=${CXXFLAGS+set}
22074 ac_save_CFLAGS=$CFLAGS
22075 ac_save_CXXFLAGS=$CXXFLAGS
22076 CFLAGS="-shared$DASH_fPIC$DASH_fpic"
22077 CXXFLAGS="-shared$DASH_fPIC$DASH_fpic"
22078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22079 (eval $ac_link) 2>&5
22080 ac_status=$?
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; then
22083 DASH_shared=" -shared"
22084 else
22085 DASH_shared=""
22087 if test "$ac_test_CFLAGS" = set; then
22088 CFLAGS=$ac_save_CFLAGS
22090 if test "$ac_test_CXXFLAGS" = set; then
22091 CXXFLAGS=$ac_save_CXXFLAGS
22095 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
22096 $as_echo "$DASH_shared" >&6; }
22098 esac
22100 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22102 case "$target_os" in
22103 darwin*) # avoid the default C preprocessor which is setup for Objective-C
22104 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_no_cpp_precomp"
22106 esac
22108 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_Wno_unused"
22110 if test "$ENABLE_DEBUG" = yes; then
22111 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
22114 if test "$ENABLE_PROFILE" = yes; then
22115 if test "x$DASH_pg" != x; then
22116 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_pg"
22117 else
22118 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
22122 if test "$ENABLE_DEBUG" != yes; then
22123 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O1$DASH_fno_math_errno$DASH_fschedule_insns2"
22126 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fno_trapping_math$DASH_fno_strict_aliasing$DASH_fwrapv"
22128 # It isn't clear these are useful:
22129 # FLAGS_OBJ_DYN="$FLAGS_OBJ_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"
22131 if test "$ENABLE_GCC_OPTS" = yes; then
22132 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fmodulo_sched$DASH_freschedule_modulo_scheduled_loops"
22135 case "$target_os" in
22137 mingw*) # MinGW's setjmp seems to need the frame pointer
22140 *) # other systems are fine as far as I can tell
22141 if test "$ENABLE_DEBUG" != yes -a "$ENABLE_PROFILE" != yes; then
22142 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fomit_frame_pointer"
22145 esac
22147 ENABLE_GCC_MOVE_LOOP_INVARIANTS=yes
22148 if test "$ENABLE_SINGLE_HOST" = yes; then
22149 if test "$GCC_42_OR_43" = yes; then
22150 ENABLE_GCC_MOVE_LOOP_INVARIANTS=no
22154 if test "$ENABLE_GCC_MOVE_LOOP_INVARIANTS" != yes; then
22155 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fno_move_loop_invariants"
22158 if test "$ENABLE_FEEDBACK1" = yes -o "$ENABLE_COVERAGE" = yes; then
22159 cat >>confdefs.h <<\_ACEOF
22160 #define ___DONT_UNLOAD_DYN_CODE 1
22161 _ACEOF
22163 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_fprofile_arcs"
22164 if test "$ENABLE_COVERAGE" = yes; then
22165 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_ftest_coverage"
22169 if test "$ENABLE_FEEDBACK2" = yes; then
22170 cat >>confdefs.h <<\_ACEOF
22171 #define ___DONT_UNLOAD_DYN_CODE 1
22172 _ACEOF
22174 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_fbranch_probabilities"
22177 if test "x$DASH_fPIC" != x; then
22178 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fPIC"
22179 else
22180 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fpic"
22183 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fno_common"
22185 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_mieee$DASH_mieee_with_inexact$DASH_mieee_fp"
22187 case "$target_os" in
22189 darwin*) # check for special options added by Apple
22190 FLAGS_DYN="$FLAGS_DYN$DASH_bundle"
22191 FLAGS_LIB="$FLAGS_LIB$DASH_dynamiclib -install_name \$(libdir)/\$(LIBRARY)"
22192 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_flat_namespace_undefined_suppress"
22195 *) # for other systems
22196 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_rdynamic$DASH_shared"
22197 FLAGS_EXE="$FLAGS_EXE$DASH_rdynamic"
22199 esac
22201 else if test "$C_COMP_VISUALC" = yes; then
22203 ########## Microsoft Visual C++ compiler
22205 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE -nologo -Oityb1 -MT -D_CRT_SECURE_NO_DEPRECATE"
22206 FLAGS_DYN="$FLAGS_DYN -LD"
22208 #else if test "$C_COMP_WATCOMC" = yes; then
22209 #else if test "$C_COMP_BORLANDC" = yes; then
22211 else
22213 ########## Need to guess the C compiler from the OS...
22215 case "$target_os" in
22217 solaris*) ########## Probably using the Sun Workshop C/C++ compiler...
22219 # debugging options:
22220 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22221 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22222 if test "${DASH_g+set}" = set; then
22223 $as_echo_n "(cached) " >&6
22224 else
22226 rm -f conftest.$ac_ext
22227 cat >conftest.$ac_ext <<_ACEOF
22228 #line $LINENO "configure"
22230 main ()
22232 return 0;
22234 _ACEOF
22235 ac_test_CFLAGS=${CFLAGS+set}
22236 ac_test_CXXFLAGS=${CXXFLAGS+set}
22237 ac_save_CFLAGS=$CFLAGS
22238 ac_save_CXXFLAGS=$CXXFLAGS
22239 CFLAGS="-g"
22240 CXXFLAGS="-g"
22241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22242 (eval $ac_link) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; then
22246 DASH_g=" -g"
22247 else
22248 DASH_g=""
22250 if test "$ac_test_CFLAGS" = set; then
22251 CFLAGS=$ac_save_CFLAGS
22253 if test "$ac_test_CXXFLAGS" = set; then
22254 CXXFLAGS=$ac_save_CXXFLAGS
22258 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22259 $as_echo "$DASH_g" >&6; }
22261 # profiling options:
22262 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
22263 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
22264 if test "${DASH_p+set}" = set; then
22265 $as_echo_n "(cached) " >&6
22266 else
22268 rm -f conftest.$ac_ext
22269 cat >conftest.$ac_ext <<_ACEOF
22270 #line $LINENO "configure"
22272 main ()
22274 return 0;
22276 _ACEOF
22277 ac_test_CFLAGS=${CFLAGS+set}
22278 ac_test_CXXFLAGS=${CXXFLAGS+set}
22279 ac_save_CFLAGS=$CFLAGS
22280 ac_save_CXXFLAGS=$CXXFLAGS
22281 CFLAGS="-p"
22282 CXXFLAGS="-p"
22283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22284 (eval $ac_link) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; then
22288 DASH_p=" -p"
22289 else
22290 DASH_p=""
22292 if test "$ac_test_CFLAGS" = set; then
22293 CFLAGS=$ac_save_CFLAGS
22295 if test "$ac_test_CXXFLAGS" = set; then
22296 CXXFLAGS=$ac_save_CXXFLAGS
22300 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
22301 $as_echo "$DASH_p" >&6; }
22303 # optimization options:
22304 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -xO2" >&5
22305 $as_echo_n "checking whether $C_COMPILER accepts -xO2... " >&6; }
22306 if test "${DASH_xO2+set}" = set; then
22307 $as_echo_n "(cached) " >&6
22308 else
22310 rm -f conftest.$ac_ext
22311 cat >conftest.$ac_ext <<_ACEOF
22312 #line $LINENO "configure"
22314 main ()
22316 return 0;
22318 _ACEOF
22319 ac_test_CFLAGS=${CFLAGS+set}
22320 ac_test_CXXFLAGS=${CXXFLAGS+set}
22321 ac_save_CFLAGS=$CFLAGS
22322 ac_save_CXXFLAGS=$CXXFLAGS
22323 CFLAGS="-xO2"
22324 CXXFLAGS="-xO2"
22325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22326 (eval $ac_link) 2>&5
22327 ac_status=$?
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); }; then
22330 DASH_xO2=" -xO2"
22331 else
22332 DASH_xO2=""
22334 if test "$ac_test_CFLAGS" = set; then
22335 CFLAGS=$ac_save_CFLAGS
22337 if test "$ac_test_CXXFLAGS" = set; then
22338 CXXFLAGS=$ac_save_CXXFLAGS
22342 { $as_echo "$as_me:$LINENO: result: $DASH_xO2" >&5
22343 $as_echo "$DASH_xO2" >&6; }
22345 # code generation options:
22346 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -KPIC" >&5
22347 $as_echo_n "checking whether $C_COMPILER accepts -KPIC... " >&6; }
22348 if test "${DASH_KPIC+set}" = set; then
22349 $as_echo_n "(cached) " >&6
22350 else
22352 rm -f conftest.$ac_ext
22353 cat >conftest.$ac_ext <<_ACEOF
22354 #line $LINENO "configure"
22356 main ()
22358 return 0;
22360 _ACEOF
22361 ac_test_CFLAGS=${CFLAGS+set}
22362 ac_test_CXXFLAGS=${CXXFLAGS+set}
22363 ac_save_CFLAGS=$CFLAGS
22364 ac_save_CXXFLAGS=$CXXFLAGS
22365 CFLAGS="-KPIC"
22366 CXXFLAGS="-KPIC"
22367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22368 (eval $ac_link) 2>&5
22369 ac_status=$?
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; then
22372 DASH_KPIC=" -KPIC"
22373 else
22374 DASH_KPIC=""
22376 if test "$ac_test_CFLAGS" = set; then
22377 CFLAGS=$ac_save_CFLAGS
22379 if test "$ac_test_CXXFLAGS" = set; then
22380 CXXFLAGS=$ac_save_CXXFLAGS
22384 { $as_echo "$as_me:$LINENO: result: $DASH_KPIC" >&5
22385 $as_echo "$DASH_KPIC" >&6; }
22387 # linking options:
22388 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -G" >&5
22389 $as_echo_n "checking whether $C_COMPILER accepts -G... " >&6; }
22390 if test "${DASH_G+set}" = set; then
22391 $as_echo_n "(cached) " >&6
22392 else
22394 rm -f conftest.$ac_ext
22395 cat >conftest.$ac_ext <<_ACEOF
22396 #line $LINENO "configure"
22398 main ()
22400 return 0;
22402 _ACEOF
22403 ac_test_CFLAGS=${CFLAGS+set}
22404 ac_test_CXXFLAGS=${CXXFLAGS+set}
22405 ac_save_CFLAGS=$CFLAGS
22406 ac_save_CXXFLAGS=$CXXFLAGS
22407 CFLAGS="-G"
22408 CXXFLAGS="-G"
22409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22410 (eval $ac_link) 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; then
22414 DASH_G=" -G"
22415 else
22416 DASH_G=""
22418 if test "$ac_test_CFLAGS" = set; then
22419 CFLAGS=$ac_save_CFLAGS
22421 if test "$ac_test_CXXFLAGS" = set; then
22422 CXXFLAGS=$ac_save_CXXFLAGS
22426 { $as_echo "$as_me:$LINENO: result: $DASH_G" >&5
22427 $as_echo "$DASH_G" >&6; }
22429 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22431 if test "$ENABLE_DEBUG" = yes; then
22432 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
22435 if test "$ENABLE_PROFILE" = yes; then
22436 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
22439 if test "$ENABLE_DEBUG" != yes; then
22440 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_xO2"
22443 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_KPIC"
22445 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_G"
22448 osf*) ########## Probably using the Compaq Tru64 UNIX C/C++ compiler...
22450 # debugging options:
22451 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22452 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22453 if test "${DASH_g+set}" = set; then
22454 $as_echo_n "(cached) " >&6
22455 else
22457 rm -f conftest.$ac_ext
22458 cat >conftest.$ac_ext <<_ACEOF
22459 #line $LINENO "configure"
22461 main ()
22463 return 0;
22465 _ACEOF
22466 ac_test_CFLAGS=${CFLAGS+set}
22467 ac_test_CXXFLAGS=${CXXFLAGS+set}
22468 ac_save_CFLAGS=$CFLAGS
22469 ac_save_CXXFLAGS=$CXXFLAGS
22470 CFLAGS="-g"
22471 CXXFLAGS="-g"
22472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22473 (eval $ac_link) 2>&5
22474 ac_status=$?
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; then
22477 DASH_g=" -g"
22478 else
22479 DASH_g=""
22481 if test "$ac_test_CFLAGS" = set; then
22482 CFLAGS=$ac_save_CFLAGS
22484 if test "$ac_test_CXXFLAGS" = set; then
22485 CXXFLAGS=$ac_save_CXXFLAGS
22489 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22490 $as_echo "$DASH_g" >&6; }
22492 # profiling options:
22493 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
22494 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
22495 if test "${DASH_p+set}" = set; then
22496 $as_echo_n "(cached) " >&6
22497 else
22499 rm -f conftest.$ac_ext
22500 cat >conftest.$ac_ext <<_ACEOF
22501 #line $LINENO "configure"
22503 main ()
22505 return 0;
22507 _ACEOF
22508 ac_test_CFLAGS=${CFLAGS+set}
22509 ac_test_CXXFLAGS=${CXXFLAGS+set}
22510 ac_save_CFLAGS=$CFLAGS
22511 ac_save_CXXFLAGS=$CXXFLAGS
22512 CFLAGS="-p"
22513 CXXFLAGS="-p"
22514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22515 (eval $ac_link) 2>&5
22516 ac_status=$?
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; then
22519 DASH_p=" -p"
22520 else
22521 DASH_p=""
22523 if test "$ac_test_CFLAGS" = set; then
22524 CFLAGS=$ac_save_CFLAGS
22526 if test "$ac_test_CXXFLAGS" = set; then
22527 CXXFLAGS=$ac_save_CXXFLAGS
22531 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
22532 $as_echo "$DASH_p" >&6; }
22534 # optimization options:
22535 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O2" >&5
22536 $as_echo_n "checking whether $C_COMPILER accepts -O2... " >&6; }
22537 if test "${DASH_O2+set}" = set; then
22538 $as_echo_n "(cached) " >&6
22539 else
22541 rm -f conftest.$ac_ext
22542 cat >conftest.$ac_ext <<_ACEOF
22543 #line $LINENO "configure"
22545 main ()
22547 return 0;
22549 _ACEOF
22550 ac_test_CFLAGS=${CFLAGS+set}
22551 ac_test_CXXFLAGS=${CXXFLAGS+set}
22552 ac_save_CFLAGS=$CFLAGS
22553 ac_save_CXXFLAGS=$CXXFLAGS
22554 CFLAGS="-O2"
22555 CXXFLAGS="-O2"
22556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; then
22561 DASH_O2=" -O2"
22562 else
22563 DASH_O2=""
22565 if test "$ac_test_CFLAGS" = set; then
22566 CFLAGS=$ac_save_CFLAGS
22568 if test "$ac_test_CXXFLAGS" = set; then
22569 CXXFLAGS=$ac_save_CXXFLAGS
22573 { $as_echo "$as_me:$LINENO: result: $DASH_O2" >&5
22574 $as_echo "$DASH_O2" >&6; }
22576 # code generation options:
22577 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -ieee" >&5
22578 $as_echo_n "checking whether $C_COMPILER accepts -ieee... " >&6; }
22579 if test "${DASH_ieee+set}" = set; then
22580 $as_echo_n "(cached) " >&6
22581 else
22583 rm -f conftest.$ac_ext
22584 cat >conftest.$ac_ext <<_ACEOF
22585 #line $LINENO "configure"
22587 main ()
22589 return 0;
22591 _ACEOF
22592 ac_test_CFLAGS=${CFLAGS+set}
22593 ac_test_CXXFLAGS=${CXXFLAGS+set}
22594 ac_save_CFLAGS=$CFLAGS
22595 ac_save_CXXFLAGS=$CXXFLAGS
22596 CFLAGS="-ieee"
22597 CXXFLAGS="-ieee"
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; then
22603 DASH_ieee=" -ieee"
22604 else
22605 DASH_ieee=""
22607 if test "$ac_test_CFLAGS" = set; then
22608 CFLAGS=$ac_save_CFLAGS
22610 if test "$ac_test_CXXFLAGS" = set; then
22611 CXXFLAGS=$ac_save_CXXFLAGS
22615 { $as_echo "$as_me:$LINENO: result: $DASH_ieee" >&5
22616 $as_echo "$DASH_ieee" >&6; }
22617 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -call_shared" >&5
22618 $as_echo_n "checking whether $C_COMPILER accepts -call_shared... " >&6; }
22619 if test "${DASH_call_shared+set}" = set; then
22620 $as_echo_n "(cached) " >&6
22621 else
22623 rm -f conftest.$ac_ext
22624 cat >conftest.$ac_ext <<_ACEOF
22625 #line $LINENO "configure"
22627 main ()
22629 return 0;
22631 _ACEOF
22632 ac_test_CFLAGS=${CFLAGS+set}
22633 ac_test_CXXFLAGS=${CXXFLAGS+set}
22634 ac_save_CFLAGS=$CFLAGS
22635 ac_save_CXXFLAGS=$CXXFLAGS
22636 CFLAGS="-call_shared"
22637 CXXFLAGS="-call_shared"
22638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22639 (eval $ac_link) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; then
22643 DASH_call_shared=" -call_shared"
22644 else
22645 DASH_call_shared=""
22647 if test "$ac_test_CFLAGS" = set; then
22648 CFLAGS=$ac_save_CFLAGS
22650 if test "$ac_test_CXXFLAGS" = set; then
22651 CXXFLAGS=$ac_save_CXXFLAGS
22655 { $as_echo "$as_me:$LINENO: result: $DASH_call_shared" >&5
22656 $as_echo "$DASH_call_shared" >&6; }
22657 #AC_CHECK_C_COMPILER_OPT(-taso,DASH_taso)
22659 # linking options:
22660 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
22661 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
22662 if test "${DASH_shared+set}" = set; then
22663 $as_echo_n "(cached) " >&6
22664 else
22666 rm -f conftest.$ac_ext
22667 cat >conftest.$ac_ext <<_ACEOF
22668 #line $LINENO "configure"
22670 main ()
22672 return 0;
22674 _ACEOF
22675 ac_test_CFLAGS=${CFLAGS+set}
22676 ac_test_CXXFLAGS=${CXXFLAGS+set}
22677 ac_save_CFLAGS=$CFLAGS
22678 ac_save_CXXFLAGS=$CXXFLAGS
22679 CFLAGS="-shared"
22680 CXXFLAGS="-shared"
22681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22682 (eval $ac_link) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; then
22686 DASH_shared=" -shared"
22687 else
22688 DASH_shared=""
22690 if test "$ac_test_CFLAGS" = set; then
22691 CFLAGS=$ac_save_CFLAGS
22693 if test "$ac_test_CXXFLAGS" = set; then
22694 CXXFLAGS=$ac_save_CXXFLAGS
22698 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
22699 $as_echo "$DASH_shared" >&6; }
22700 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -expect_unresolved" >&5
22701 $as_echo_n "checking whether $C_COMPILER accepts -expect_unresolved... " >&6; }
22702 if test "${DASH_expect_unresolved+set}" = set; then
22703 $as_echo_n "(cached) " >&6
22704 else
22706 rm -f conftest.$ac_ext
22707 cat >conftest.$ac_ext <<_ACEOF
22708 #line $LINENO "configure"
22710 main ()
22712 return 0;
22714 _ACEOF
22715 ac_test_CFLAGS=${CFLAGS+set}
22716 ac_test_CXXFLAGS=${CXXFLAGS+set}
22717 ac_save_CFLAGS=$CFLAGS
22718 ac_save_CXXFLAGS=$CXXFLAGS
22719 CFLAGS="-expect_unresolved"
22720 CXXFLAGS="-expect_unresolved"
22721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22722 (eval $ac_link) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; then
22726 DASH_expect_unresolved=" -expect_unresolved"
22727 else
22728 DASH_expect_unresolved=""
22730 if test "$ac_test_CFLAGS" = set; then
22731 CFLAGS=$ac_save_CFLAGS
22733 if test "$ac_test_CXXFLAGS" = set; then
22734 CXXFLAGS=$ac_save_CXXFLAGS
22738 { $as_echo "$as_me:$LINENO: result: $DASH_expect_unresolved" >&5
22739 $as_echo "$DASH_expect_unresolved" >&6; }
22741 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
22743 if test "$ENABLE_DEBUG" = yes; then
22744 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
22747 if test "$ENABLE_PROFILE" = yes; then
22748 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
22751 if test "$ENABLE_DEBUG" != yes; then
22752 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O2"
22755 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_ieee$DASH_call_shared"
22757 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_shared$DASH_expect_unresolved"
22760 irix*) ########## Probably using the MIPSpro C/C++ compiler...
22762 # debugging options:
22763 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -fullwarn" >&5
22764 $as_echo_n "checking whether $C_COMPILER accepts -fullwarn... " >&6; }
22765 if test "${DASH_fullwarn+set}" = set; then
22766 $as_echo_n "(cached) " >&6
22767 else
22769 rm -f conftest.$ac_ext
22770 cat >conftest.$ac_ext <<_ACEOF
22771 #line $LINENO "configure"
22773 main ()
22775 return 0;
22777 _ACEOF
22778 ac_test_CFLAGS=${CFLAGS+set}
22779 ac_test_CXXFLAGS=${CXXFLAGS+set}
22780 ac_save_CFLAGS=$CFLAGS
22781 ac_save_CXXFLAGS=$CXXFLAGS
22782 CFLAGS="-fullwarn"
22783 CXXFLAGS="-fullwarn"
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>&5
22786 ac_status=$?
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; then
22789 DASH_fullwarn=" -fullwarn"
22790 else
22791 DASH_fullwarn=""
22793 if test "$ac_test_CFLAGS" = set; then
22794 CFLAGS=$ac_save_CFLAGS
22796 if test "$ac_test_CXXFLAGS" = set; then
22797 CXXFLAGS=$ac_save_CXXFLAGS
22801 { $as_echo "$as_me:$LINENO: result: $DASH_fullwarn" >&5
22802 $as_echo "$DASH_fullwarn" >&6; }
22803 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -woff 1110,1174,1209,1552,3201" >&5
22804 $as_echo_n "checking whether $C_COMPILER accepts -woff 1110,1174,1209,1552,3201... " >&6; }
22805 if test "${DASH_woff_1110_1174_1209_1552_3201+set}" = set; then
22806 $as_echo_n "(cached) " >&6
22807 else
22809 rm -f conftest.$ac_ext
22810 cat >conftest.$ac_ext <<_ACEOF
22811 #line $LINENO "configure"
22813 main ()
22815 return 0;
22817 _ACEOF
22818 ac_test_CFLAGS=${CFLAGS+set}
22819 ac_test_CXXFLAGS=${CXXFLAGS+set}
22820 ac_save_CFLAGS=$CFLAGS
22821 ac_save_CXXFLAGS=$CXXFLAGS
22822 CFLAGS="-woff 1110,1174,1209,1552,3201"
22823 CXXFLAGS="-woff 1110,1174,1209,1552,3201"
22824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22825 (eval $ac_link) 2>&5
22826 ac_status=$?
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); }; then
22829 DASH_woff_1110_1174_1209_1552_3201=" -woff 1110,1174,1209,1552,3201"
22830 else
22831 DASH_woff_1110_1174_1209_1552_3201=""
22833 if test "$ac_test_CFLAGS" = set; then
22834 CFLAGS=$ac_save_CFLAGS
22836 if test "$ac_test_CXXFLAGS" = set; then
22837 CXXFLAGS=$ac_save_CXXFLAGS
22841 { $as_echo "$as_me:$LINENO: result: $DASH_woff_1110_1174_1209_1552_3201" >&5
22842 $as_echo "$DASH_woff_1110_1174_1209_1552_3201" >&6; }
22843 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
22844 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
22845 if test "${DASH_g+set}" = set; then
22846 $as_echo_n "(cached) " >&6
22847 else
22849 rm -f conftest.$ac_ext
22850 cat >conftest.$ac_ext <<_ACEOF
22851 #line $LINENO "configure"
22853 main ()
22855 return 0;
22857 _ACEOF
22858 ac_test_CFLAGS=${CFLAGS+set}
22859 ac_test_CXXFLAGS=${CXXFLAGS+set}
22860 ac_save_CFLAGS=$CFLAGS
22861 ac_save_CXXFLAGS=$CXXFLAGS
22862 CFLAGS="-g"
22863 CXXFLAGS="-g"
22864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22865 (eval $ac_link) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; then
22869 DASH_g=" -g"
22870 else
22871 DASH_g=""
22873 if test "$ac_test_CFLAGS" = set; then
22874 CFLAGS=$ac_save_CFLAGS
22876 if test "$ac_test_CXXFLAGS" = set; then
22877 CXXFLAGS=$ac_save_CXXFLAGS
22881 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
22882 $as_echo "$DASH_g" >&6; }
22884 # optimization options:
22885 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
22886 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
22887 if test "${DASH_O1+set}" = set; then
22888 $as_echo_n "(cached) " >&6
22889 else
22891 rm -f conftest.$ac_ext
22892 cat >conftest.$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22895 main ()
22897 return 0;
22899 _ACEOF
22900 ac_test_CFLAGS=${CFLAGS+set}
22901 ac_test_CXXFLAGS=${CXXFLAGS+set}
22902 ac_save_CFLAGS=$CFLAGS
22903 ac_save_CXXFLAGS=$CXXFLAGS
22904 CFLAGS="-O1"
22905 CXXFLAGS="-O1"
22906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22907 (eval $ac_link) 2>&5
22908 ac_status=$?
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; then
22911 DASH_O1=" -O1"
22912 else
22913 DASH_O1=""
22915 if test "$ac_test_CFLAGS" = set; then
22916 CFLAGS=$ac_save_CFLAGS
22918 if test "$ac_test_CXXFLAGS" = set; then
22919 CXXFLAGS=$ac_save_CXXFLAGS
22923 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
22924 $as_echo "$DASH_O1" >&6; }
22925 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:Olimit=0" >&5
22926 $as_echo_n "checking whether $C_COMPILER accepts -OPT:Olimit=0... " >&6; }
22927 if test "${DASH_OPT_Olimit_0+set}" = set; then
22928 $as_echo_n "(cached) " >&6
22929 else
22931 rm -f conftest.$ac_ext
22932 cat >conftest.$ac_ext <<_ACEOF
22933 #line $LINENO "configure"
22935 main ()
22937 return 0;
22939 _ACEOF
22940 ac_test_CFLAGS=${CFLAGS+set}
22941 ac_test_CXXFLAGS=${CXXFLAGS+set}
22942 ac_save_CFLAGS=$CFLAGS
22943 ac_save_CXXFLAGS=$CXXFLAGS
22944 CFLAGS="-OPT:Olimit=0"
22945 CXXFLAGS="-OPT:Olimit=0"
22946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22947 (eval $ac_link) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; then
22951 DASH_OPT_Olimit_0=" -OPT:Olimit=0"
22952 else
22953 DASH_OPT_Olimit_0=""
22955 if test "$ac_test_CFLAGS" = set; then
22956 CFLAGS=$ac_save_CFLAGS
22958 if test "$ac_test_CXXFLAGS" = set; then
22959 CXXFLAGS=$ac_save_CXXFLAGS
22963 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_Olimit_0" >&5
22964 $as_echo "$DASH_OPT_Olimit_0" >&6; }
22966 # code generation options:
22967 #AC_CHECK_C_COMPILER_OPT(-KPIC,DASH_KPIC)
22968 #AC_CHECK_C_COMPILER_OPT(-non_shared,DASH_non_shared)
22969 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -TENV:large_GOT" >&5
22970 $as_echo_n "checking whether $C_COMPILER accepts -TENV:large_GOT... " >&6; }
22971 if test "${DASH_TENV_large_GOT+set}" = set; then
22972 $as_echo_n "(cached) " >&6
22973 else
22975 rm -f conftest.$ac_ext
22976 cat >conftest.$ac_ext <<_ACEOF
22977 #line $LINENO "configure"
22979 main ()
22981 return 0;
22983 _ACEOF
22984 ac_test_CFLAGS=${CFLAGS+set}
22985 ac_test_CXXFLAGS=${CXXFLAGS+set}
22986 ac_save_CFLAGS=$CFLAGS
22987 ac_save_CXXFLAGS=$CXXFLAGS
22988 CFLAGS="-TENV:large_GOT"
22989 CXXFLAGS="-TENV:large_GOT"
22990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991 (eval $ac_link) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; then
22995 DASH_TENV_large_GOT=" -TENV:large_GOT"
22996 else
22997 DASH_TENV_large_GOT=""
22999 if test "$ac_test_CFLAGS" = set; then
23000 CFLAGS=$ac_save_CFLAGS
23002 if test "$ac_test_CXXFLAGS" = set; then
23003 CXXFLAGS=$ac_save_CXXFLAGS
23007 { $as_echo "$as_me:$LINENO: result: $DASH_TENV_large_GOT" >&5
23008 $as_echo "$DASH_TENV_large_GOT" >&6; }
23009 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:IEEE_comparisons=ON" >&5
23010 $as_echo_n "checking whether $C_COMPILER accepts -OPT:IEEE_comparisons=ON... " >&6; }
23011 if test "${DASH_OPT_IEEE_comparisons_ON+set}" = set; then
23012 $as_echo_n "(cached) " >&6
23013 else
23015 rm -f conftest.$ac_ext
23016 cat >conftest.$ac_ext <<_ACEOF
23017 #line $LINENO "configure"
23019 main ()
23021 return 0;
23023 _ACEOF
23024 ac_test_CFLAGS=${CFLAGS+set}
23025 ac_test_CXXFLAGS=${CXXFLAGS+set}
23026 ac_save_CFLAGS=$CFLAGS
23027 ac_save_CXXFLAGS=$CXXFLAGS
23028 CFLAGS="-OPT:IEEE_comparisons=ON"
23029 CXXFLAGS="-OPT:IEEE_comparisons=ON"
23030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23031 (eval $ac_link) 2>&5
23032 ac_status=$?
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; then
23035 DASH_OPT_IEEE_comparisons_ON=" -OPT:IEEE_comparisons=ON"
23036 else
23037 DASH_OPT_IEEE_comparisons_ON=""
23039 if test "$ac_test_CFLAGS" = set; then
23040 CFLAGS=$ac_save_CFLAGS
23042 if test "$ac_test_CXXFLAGS" = set; then
23043 CXXFLAGS=$ac_save_CXXFLAGS
23047 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_IEEE_comparisons_ON" >&5
23048 $as_echo "$DASH_OPT_IEEE_comparisons_ON" >&6; }
23049 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -OPT:IEEE_NaN_inf=ON" >&5
23050 $as_echo_n "checking whether $C_COMPILER accepts -OPT:IEEE_NaN_inf=ON... " >&6; }
23051 if test "${DASH_OPT_IEEE_NaN_inf_ON+set}" = set; then
23052 $as_echo_n "(cached) " >&6
23053 else
23055 rm -f conftest.$ac_ext
23056 cat >conftest.$ac_ext <<_ACEOF
23057 #line $LINENO "configure"
23059 main ()
23061 return 0;
23063 _ACEOF
23064 ac_test_CFLAGS=${CFLAGS+set}
23065 ac_test_CXXFLAGS=${CXXFLAGS+set}
23066 ac_save_CFLAGS=$CFLAGS
23067 ac_save_CXXFLAGS=$CXXFLAGS
23068 CFLAGS="-OPT:IEEE_NaN_inf=ON"
23069 CXXFLAGS="-OPT:IEEE_NaN_inf=ON"
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071 (eval $ac_link) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; then
23075 DASH_OPT_IEEE_NaN_inf_ON=" -OPT:IEEE_NaN_inf=ON"
23076 else
23077 DASH_OPT_IEEE_NaN_inf_ON=""
23079 if test "$ac_test_CFLAGS" = set; then
23080 CFLAGS=$ac_save_CFLAGS
23082 if test "$ac_test_CXXFLAGS" = set; then
23083 CXXFLAGS=$ac_save_CXXFLAGS
23087 { $as_echo "$as_me:$LINENO: result: $DASH_OPT_IEEE_NaN_inf_ON" >&5
23088 $as_echo "$DASH_OPT_IEEE_NaN_inf_ON" >&6; }
23090 # linking options:
23091 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
23092 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
23093 if test "${DASH_shared+set}" = set; then
23094 $as_echo_n "(cached) " >&6
23095 else
23097 rm -f conftest.$ac_ext
23098 cat >conftest.$ac_ext <<_ACEOF
23099 #line $LINENO "configure"
23101 main ()
23103 return 0;
23105 _ACEOF
23106 ac_test_CFLAGS=${CFLAGS+set}
23107 ac_test_CXXFLAGS=${CXXFLAGS+set}
23108 ac_save_CFLAGS=$CFLAGS
23109 ac_save_CXXFLAGS=$CXXFLAGS
23110 CFLAGS="-shared"
23111 CXXFLAGS="-shared"
23112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23113 (eval $ac_link) 2>&5
23114 ac_status=$?
23115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116 (exit $ac_status); }; then
23117 DASH_shared=" -shared"
23118 else
23119 DASH_shared=""
23121 if test "$ac_test_CFLAGS" = set; then
23122 CFLAGS=$ac_save_CFLAGS
23124 if test "$ac_test_CXXFLAGS" = set; then
23125 CXXFLAGS=$ac_save_CXXFLAGS
23129 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
23130 $as_echo "$DASH_shared" >&6; }
23132 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23134 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_fullwarn$DASH_woff_1110_1174_1209_1552_3201"
23136 if test "$ENABLE_DEBUG" = yes; then
23137 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
23140 if test "$ENABLE_DEBUG" != yes; then
23141 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O1$DASH_OPT_Olimit_0"
23144 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_TENV_large_GOT$DASH_OPT_IEEE_comparisons_ON$DASH_OPT_IEEE_NaN_inf_ON"
23146 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_shared"
23149 hpux*) ########## Probably using the HP-UX compiler...
23151 # debugging options:
23152 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
23153 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
23154 if test "${DASH_g+set}" = set; then
23155 $as_echo_n "(cached) " >&6
23156 else
23158 rm -f conftest.$ac_ext
23159 cat >conftest.$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23162 main ()
23164 return 0;
23166 _ACEOF
23167 ac_test_CFLAGS=${CFLAGS+set}
23168 ac_test_CXXFLAGS=${CXXFLAGS+set}
23169 ac_save_CFLAGS=$CFLAGS
23170 ac_save_CXXFLAGS=$CXXFLAGS
23171 CFLAGS="-g"
23172 CXXFLAGS="-g"
23173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23174 (eval $ac_link) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; then
23178 DASH_g=" -g"
23179 else
23180 DASH_g=""
23182 if test "$ac_test_CFLAGS" = set; then
23183 CFLAGS=$ac_save_CFLAGS
23185 if test "$ac_test_CXXFLAGS" = set; then
23186 CXXFLAGS=$ac_save_CXXFLAGS
23190 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
23191 $as_echo "$DASH_g" >&6; }
23193 # profiling options:
23194 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
23195 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
23196 if test "${DASH_p+set}" = set; then
23197 $as_echo_n "(cached) " >&6
23198 else
23200 rm -f conftest.$ac_ext
23201 cat >conftest.$ac_ext <<_ACEOF
23202 #line $LINENO "configure"
23204 main ()
23206 return 0;
23208 _ACEOF
23209 ac_test_CFLAGS=${CFLAGS+set}
23210 ac_test_CXXFLAGS=${CXXFLAGS+set}
23211 ac_save_CFLAGS=$CFLAGS
23212 ac_save_CXXFLAGS=$CXXFLAGS
23213 CFLAGS="-p"
23214 CXXFLAGS="-p"
23215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23216 (eval $ac_link) 2>&5
23217 ac_status=$?
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; then
23220 DASH_p=" -p"
23221 else
23222 DASH_p=""
23224 if test "$ac_test_CFLAGS" = set; then
23225 CFLAGS=$ac_save_CFLAGS
23227 if test "$ac_test_CXXFLAGS" = set; then
23228 CXXFLAGS=$ac_save_CXXFLAGS
23232 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
23233 $as_echo "$DASH_p" >&6; }
23235 # optimization options:
23236 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
23237 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
23238 if test "${DASH_O1+set}" = set; then
23239 $as_echo_n "(cached) " >&6
23240 else
23242 rm -f conftest.$ac_ext
23243 cat >conftest.$ac_ext <<_ACEOF
23244 #line $LINENO "configure"
23246 main ()
23248 return 0;
23250 _ACEOF
23251 ac_test_CFLAGS=${CFLAGS+set}
23252 ac_test_CXXFLAGS=${CXXFLAGS+set}
23253 ac_save_CFLAGS=$CFLAGS
23254 ac_save_CXXFLAGS=$CXXFLAGS
23255 CFLAGS="-O1"
23256 CXXFLAGS="-O1"
23257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23258 (eval $ac_link) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; then
23262 DASH_O1=" -O1"
23263 else
23264 DASH_O1=""
23266 if test "$ac_test_CFLAGS" = set; then
23267 CFLAGS=$ac_save_CFLAGS
23269 if test "$ac_test_CXXFLAGS" = set; then
23270 CXXFLAGS=$ac_save_CXXFLAGS
23274 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
23275 $as_echo "$DASH_O1" >&6; }
23277 # linking options:
23278 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -b" >&5
23279 $as_echo_n "checking whether $C_COMPILER accepts -b... " >&6; }
23280 if test "${DASH_b+set}" = set; then
23281 $as_echo_n "(cached) " >&6
23282 else
23284 rm -f conftest.$ac_ext
23285 cat >conftest.$ac_ext <<_ACEOF
23286 #line $LINENO "configure"
23288 main ()
23290 return 0;
23292 _ACEOF
23293 ac_test_CFLAGS=${CFLAGS+set}
23294 ac_test_CXXFLAGS=${CXXFLAGS+set}
23295 ac_save_CFLAGS=$CFLAGS
23296 ac_save_CXXFLAGS=$CXXFLAGS
23297 CFLAGS="-b"
23298 CXXFLAGS="-b"
23299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23300 (eval $ac_link) 2>&5
23301 ac_status=$?
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; then
23304 DASH_b=" -b"
23305 else
23306 DASH_b=""
23308 if test "$ac_test_CFLAGS" = set; then
23309 CFLAGS=$ac_save_CFLAGS
23311 if test "$ac_test_CXXFLAGS" = set; then
23312 CXXFLAGS=$ac_save_CXXFLAGS
23316 { $as_echo "$as_me:$LINENO: result: $DASH_b" >&5
23317 $as_echo "$DASH_b" >&6; }
23319 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23321 if test "$ENABLE_DEBUG" = yes; then
23322 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
23325 if test "$ENABLE_PROFILE" = yes; then
23326 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
23329 if test "$ENABLE_DEBUG" != yes; then
23330 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O1"
23333 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_b"
23336 aix*) ########## Probably using the AIX xlC compiler...
23338 # debugging options:
23339 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
23340 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
23341 if test "${DASH_g+set}" = set; then
23342 $as_echo_n "(cached) " >&6
23343 else
23345 rm -f conftest.$ac_ext
23346 cat >conftest.$ac_ext <<_ACEOF
23347 #line $LINENO "configure"
23349 main ()
23351 return 0;
23353 _ACEOF
23354 ac_test_CFLAGS=${CFLAGS+set}
23355 ac_test_CXXFLAGS=${CXXFLAGS+set}
23356 ac_save_CFLAGS=$CFLAGS
23357 ac_save_CXXFLAGS=$CXXFLAGS
23358 CFLAGS="-g"
23359 CXXFLAGS="-g"
23360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23361 (eval $ac_link) 2>&5
23362 ac_status=$?
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; then
23365 DASH_g=" -g"
23366 else
23367 DASH_g=""
23369 if test "$ac_test_CFLAGS" = set; then
23370 CFLAGS=$ac_save_CFLAGS
23372 if test "$ac_test_CXXFLAGS" = set; then
23373 CXXFLAGS=$ac_save_CXXFLAGS
23377 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
23378 $as_echo "$DASH_g" >&6; }
23380 # profiling options:
23381 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
23382 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
23383 if test "${DASH_p+set}" = set; then
23384 $as_echo_n "(cached) " >&6
23385 else
23387 rm -f conftest.$ac_ext
23388 cat >conftest.$ac_ext <<_ACEOF
23389 #line $LINENO "configure"
23391 main ()
23393 return 0;
23395 _ACEOF
23396 ac_test_CFLAGS=${CFLAGS+set}
23397 ac_test_CXXFLAGS=${CXXFLAGS+set}
23398 ac_save_CFLAGS=$CFLAGS
23399 ac_save_CXXFLAGS=$CXXFLAGS
23400 CFLAGS="-p"
23401 CXXFLAGS="-p"
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>&5
23404 ac_status=$?
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; then
23407 DASH_p=" -p"
23408 else
23409 DASH_p=""
23411 if test "$ac_test_CFLAGS" = set; then
23412 CFLAGS=$ac_save_CFLAGS
23414 if test "$ac_test_CXXFLAGS" = set; then
23415 CXXFLAGS=$ac_save_CXXFLAGS
23419 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
23420 $as_echo "$DASH_p" >&6; }
23422 # optimization options:
23423 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
23424 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
23425 if test "${DASH_O1+set}" = set; then
23426 $as_echo_n "(cached) " >&6
23427 else
23429 rm -f conftest.$ac_ext
23430 cat >conftest.$ac_ext <<_ACEOF
23431 #line $LINENO "configure"
23433 main ()
23435 return 0;
23437 _ACEOF
23438 ac_test_CFLAGS=${CFLAGS+set}
23439 ac_test_CXXFLAGS=${CXXFLAGS+set}
23440 ac_save_CFLAGS=$CFLAGS
23441 ac_save_CXXFLAGS=$CXXFLAGS
23442 CFLAGS="-O1"
23443 CXXFLAGS="-O1"
23444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23445 (eval $ac_link) 2>&5
23446 ac_status=$?
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; then
23449 DASH_O1=" -O1"
23450 else
23451 DASH_O1=""
23453 if test "$ac_test_CFLAGS" = set; then
23454 CFLAGS=$ac_save_CFLAGS
23456 if test "$ac_test_CXXFLAGS" = set; then
23457 CXXFLAGS=$ac_save_CXXFLAGS
23461 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
23462 $as_echo "$DASH_O1" >&6; }
23464 # linking options:
23465 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -G" >&5
23466 $as_echo_n "checking whether $C_COMPILER accepts -G... " >&6; }
23467 if test "${DASH_G+set}" = set; then
23468 $as_echo_n "(cached) " >&6
23469 else
23471 rm -f conftest.$ac_ext
23472 cat >conftest.$ac_ext <<_ACEOF
23473 #line $LINENO "configure"
23475 main ()
23477 return 0;
23479 _ACEOF
23480 ac_test_CFLAGS=${CFLAGS+set}
23481 ac_test_CXXFLAGS=${CXXFLAGS+set}
23482 ac_save_CFLAGS=$CFLAGS
23483 ac_save_CXXFLAGS=$CXXFLAGS
23484 CFLAGS="-G"
23485 CXXFLAGS="-G"
23486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23487 (eval $ac_link) 2>&5
23488 ac_status=$?
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; then
23491 DASH_G=" -G"
23492 else
23493 DASH_G=""
23495 if test "$ac_test_CFLAGS" = set; then
23496 CFLAGS=$ac_save_CFLAGS
23498 if test "$ac_test_CXXFLAGS" = set; then
23499 CXXFLAGS=$ac_save_CXXFLAGS
23503 { $as_echo "$as_me:$LINENO: result: $DASH_G" >&5
23504 $as_echo "$DASH_G" >&6; }
23506 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23508 if test "$ENABLE_DEBUG" = yes; then
23509 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
23512 if test "$ENABLE_PROFILE" = yes; then
23513 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
23516 if test "$ENABLE_DEBUG" != yes; then
23517 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O1"
23520 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_G"
23523 *) ########## Unsupported operating system
23525 { $as_echo "$as_me:$LINENO:
23526 *********************************************************************
23527 *** The GCC compiler is not being used and the operating system ***
23528 *** is not one that has been tested with the Gambit-C system. ***
23529 *** The configure script will use certain compiler options that ***
23530 *** may not be correct or sufficient for compiling the system. ***
23531 *** Please report success or failure to gambit@iro.umontreal.ca. ***
23532 *** This will help us support this operating system in the ***
23533 *** future. ***
23534 *********************************************************************
23535 " >&5
23536 $as_echo "$as_me:
23537 *********************************************************************
23538 *** The GCC compiler is not being used and the operating system ***
23539 *** is not one that has been tested with the Gambit-C system. ***
23540 *** The configure script will use certain compiler options that ***
23541 *** may not be correct or sufficient for compiling the system. ***
23542 *** Please report success or failure to gambit@iro.umontreal.ca. ***
23543 *** This will help us support this operating system in the ***
23544 *** future. ***
23545 *********************************************************************
23546 " >&6;}
23548 # debugging options:
23549 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -g" >&5
23550 $as_echo_n "checking whether $C_COMPILER accepts -g... " >&6; }
23551 if test "${DASH_g+set}" = set; then
23552 $as_echo_n "(cached) " >&6
23553 else
23555 rm -f conftest.$ac_ext
23556 cat >conftest.$ac_ext <<_ACEOF
23557 #line $LINENO "configure"
23559 main ()
23561 return 0;
23563 _ACEOF
23564 ac_test_CFLAGS=${CFLAGS+set}
23565 ac_test_CXXFLAGS=${CXXFLAGS+set}
23566 ac_save_CFLAGS=$CFLAGS
23567 ac_save_CXXFLAGS=$CXXFLAGS
23568 CFLAGS="-g"
23569 CXXFLAGS="-g"
23570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23571 (eval $ac_link) 2>&5
23572 ac_status=$?
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; then
23575 DASH_g=" -g"
23576 else
23577 DASH_g=""
23579 if test "$ac_test_CFLAGS" = set; then
23580 CFLAGS=$ac_save_CFLAGS
23582 if test "$ac_test_CXXFLAGS" = set; then
23583 CXXFLAGS=$ac_save_CXXFLAGS
23587 { $as_echo "$as_me:$LINENO: result: $DASH_g" >&5
23588 $as_echo "$DASH_g" >&6; }
23590 # profiling options:
23591 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -p" >&5
23592 $as_echo_n "checking whether $C_COMPILER accepts -p... " >&6; }
23593 if test "${DASH_p+set}" = set; then
23594 $as_echo_n "(cached) " >&6
23595 else
23597 rm -f conftest.$ac_ext
23598 cat >conftest.$ac_ext <<_ACEOF
23599 #line $LINENO "configure"
23601 main ()
23603 return 0;
23605 _ACEOF
23606 ac_test_CFLAGS=${CFLAGS+set}
23607 ac_test_CXXFLAGS=${CXXFLAGS+set}
23608 ac_save_CFLAGS=$CFLAGS
23609 ac_save_CXXFLAGS=$CXXFLAGS
23610 CFLAGS="-p"
23611 CXXFLAGS="-p"
23612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23613 (eval $ac_link) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; then
23617 DASH_p=" -p"
23618 else
23619 DASH_p=""
23621 if test "$ac_test_CFLAGS" = set; then
23622 CFLAGS=$ac_save_CFLAGS
23624 if test "$ac_test_CXXFLAGS" = set; then
23625 CXXFLAGS=$ac_save_CXXFLAGS
23629 { $as_echo "$as_me:$LINENO: result: $DASH_p" >&5
23630 $as_echo "$DASH_p" >&6; }
23632 # optimization options:
23633 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -O1" >&5
23634 $as_echo_n "checking whether $C_COMPILER accepts -O1... " >&6; }
23635 if test "${DASH_O1+set}" = set; then
23636 $as_echo_n "(cached) " >&6
23637 else
23639 rm -f conftest.$ac_ext
23640 cat >conftest.$ac_ext <<_ACEOF
23641 #line $LINENO "configure"
23643 main ()
23645 return 0;
23647 _ACEOF
23648 ac_test_CFLAGS=${CFLAGS+set}
23649 ac_test_CXXFLAGS=${CXXFLAGS+set}
23650 ac_save_CFLAGS=$CFLAGS
23651 ac_save_CXXFLAGS=$CXXFLAGS
23652 CFLAGS="-O1"
23653 CXXFLAGS="-O1"
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>&5
23656 ac_status=$?
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); }; then
23659 DASH_O1=" -O1"
23660 else
23661 DASH_O1=""
23663 if test "$ac_test_CFLAGS" = set; then
23664 CFLAGS=$ac_save_CFLAGS
23666 if test "$ac_test_CXXFLAGS" = set; then
23667 CXXFLAGS=$ac_save_CXXFLAGS
23671 { $as_echo "$as_me:$LINENO: result: $DASH_O1" >&5
23672 $as_echo "$DASH_O1" >&6; }
23674 # linking options:
23675 { $as_echo "$as_me:$LINENO: checking whether $C_COMPILER accepts -shared" >&5
23676 $as_echo_n "checking whether $C_COMPILER accepts -shared... " >&6; }
23677 if test "${DASH_shared+set}" = set; then
23678 $as_echo_n "(cached) " >&6
23679 else
23681 rm -f conftest.$ac_ext
23682 cat >conftest.$ac_ext <<_ACEOF
23683 #line $LINENO "configure"
23685 main ()
23687 return 0;
23689 _ACEOF
23690 ac_test_CFLAGS=${CFLAGS+set}
23691 ac_test_CXXFLAGS=${CXXFLAGS+set}
23692 ac_save_CFLAGS=$CFLAGS
23693 ac_save_CXXFLAGS=$CXXFLAGS
23694 CFLAGS="-shared"
23695 CXXFLAGS="-shared"
23696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23697 (eval $ac_link) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; then
23701 DASH_shared=" -shared"
23702 else
23703 DASH_shared=""
23705 if test "$ac_test_CFLAGS" = set; then
23706 CFLAGS=$ac_save_CFLAGS
23708 if test "$ac_test_CXXFLAGS" = set; then
23709 CXXFLAGS=$ac_save_CXXFLAGS
23713 { $as_echo "$as_me:$LINENO: result: $DASH_shared" >&5
23714 $as_echo "$DASH_shared" >&6; }
23716 # determine which flags to add to CFLAGS, CXXFLAGS and LDFLAGS
23718 if test "$ENABLE_DEBUG" = yes; then
23719 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_g"
23722 if test "$ENABLE_PROFILE" = yes; then
23723 FLAGS_OBJ_DYN_LIB_EXE="$FLAGS_OBJ_DYN_LIB_EXE$DASH_p"
23726 if test "$ENABLE_DEBUG" != yes; then
23727 FLAGS_OBJ_DYN="$FLAGS_OBJ_DYN$DASH_O1"
23730 FLAGS_DYN_LIB="$FLAGS_DYN_LIB$DASH_shared"
23732 esac
23737 if test "$ENABLE_CPLUSPLUS" = yes; then
23738 CORCXXFLAGS="$CXXFLAGS"
23739 else
23740 CORCXXFLAGS="$CFLAGS"
23743 FLAGS_OBJ="$CORCXXFLAGS $FLAGS_OBJ $FLAGS_OBJ_DYN $FLAGS_OBJ_DYN_LIB_EXE"
23744 FLAGS_DYN="$LDFLAGS $CORCXXFLAGS $FLAGS_DYN $FLAGS_OBJ_DYN $FLAGS_OBJ_DYN_LIB_EXE $FLAGS_DYN_LIB"
23745 FLAGS_LIB="$LDFLAGS $CORCXXFLAGS $FLAGS_LIB $FLAGS_OBJ_DYN_LIB_EXE $FLAGS_DYN_LIB"
23746 #FLAGS_EXE="$LDFLAGS $CORCXXFLAGS $FLAGS_EXE $FLAGS_OBJ_DYN_LIB_EXE"
23747 FLAGS_EXE="$LDFLAGS $FLAGS_OBJ $FLAGS_EXE"
23769 ###############################################################################
23773 ###############################################################################
23775 { $as_echo "$as_me:$LINENO: checking for X" >&5
23776 $as_echo_n "checking for X... " >&6; }
23779 # Check whether --with-x was given.
23780 if test "${with_x+set}" = set; then
23781 withval=$with_x;
23784 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23785 if test "x$with_x" = xno; then
23786 # The user explicitly disabled X.
23787 have_x=disabled
23788 else
23789 case $x_includes,$x_libraries in #(
23790 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
23791 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
23792 { (exit 1); exit 1; }; };; #(
23793 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
23794 $as_echo_n "(cached) " >&6
23795 else
23796 # One or both of the vars are not set, and there is no cached value.
23797 ac_x_includes=no ac_x_libraries=no
23798 rm -f -r conftest.dir
23799 if mkdir conftest.dir; then
23800 cd conftest.dir
23801 cat >Imakefile <<'_ACEOF'
23802 incroot:
23803 @echo incroot='${INCROOT}'
23804 usrlibdir:
23805 @echo usrlibdir='${USRLIBDIR}'
23806 libdir:
23807 @echo libdir='${LIBDIR}'
23808 _ACEOF
23809 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23811 for ac_var in incroot usrlibdir libdir; do
23812 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23813 done
23814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23815 for ac_extension in a so sl dylib la dll; do
23816 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23817 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23818 ac_im_usrlibdir=$ac_im_libdir; break
23820 done
23821 # Screen out bogus values from the imake configuration. They are
23822 # bogus both because they are the default anyway, and because
23823 # using them would break gcc on systems where it needs fixed includes.
23824 case $ac_im_incroot in
23825 /usr/include) ac_x_includes= ;;
23826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23827 esac
23828 case $ac_im_usrlibdir in
23829 /usr/lib | /lib) ;;
23830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23831 esac
23833 cd ..
23834 rm -f -r conftest.dir
23837 # Standard set of common directories for X headers.
23838 # Check X11 before X11Rn because it is often a symlink to the current release.
23839 ac_x_header_dirs='
23840 /usr/X11/include
23841 /usr/X11R6/include
23842 /usr/X11R5/include
23843 /usr/X11R4/include
23845 /usr/include/X11
23846 /usr/include/X11R6
23847 /usr/include/X11R5
23848 /usr/include/X11R4
23850 /usr/local/X11/include
23851 /usr/local/X11R6/include
23852 /usr/local/X11R5/include
23853 /usr/local/X11R4/include
23855 /usr/local/include/X11
23856 /usr/local/include/X11R6
23857 /usr/local/include/X11R5
23858 /usr/local/include/X11R4
23860 /usr/X386/include
23861 /usr/x386/include
23862 /usr/XFree86/include/X11
23864 /usr/include
23865 /usr/local/include
23866 /usr/unsupported/include
23867 /usr/athena/include
23868 /usr/local/x11r5/include
23869 /usr/lpp/Xamples/include
23871 /usr/openwin/include
23872 /usr/openwin/share/include'
23874 if test "$ac_x_includes" = no; then
23875 # Guess where to find include files, by looking for Xlib.h.
23876 # First, try using that file with no special directory specified.
23877 cat >conftest.$ac_ext <<_ACEOF
23878 /* confdefs.h. */
23879 _ACEOF
23880 cat confdefs.h >>conftest.$ac_ext
23881 cat >>conftest.$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883 #include <X11/Xlib.h>
23884 _ACEOF
23885 if { (ac_try="$ac_cpp conftest.$ac_ext"
23886 case "(($ac_try" in
23887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23888 *) ac_try_echo=$ac_try;;
23889 esac
23890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23891 $as_echo "$ac_try_echo") >&5
23892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } >/dev/null && {
23899 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23900 test ! -s conftest.err
23901 }; then
23902 # We can compile using X headers with no special include directory.
23903 ac_x_includes=
23904 else
23905 $as_echo "$as_me: failed program was:" >&5
23906 sed 's/^/| /' conftest.$ac_ext >&5
23908 for ac_dir in $ac_x_header_dirs; do
23909 if test -r "$ac_dir/X11/Xlib.h"; then
23910 ac_x_includes=$ac_dir
23911 break
23913 done
23916 rm -f conftest.err conftest.$ac_ext
23917 fi # $ac_x_includes = no
23919 if test "$ac_x_libraries" = no; then
23920 # Check for the libraries.
23921 # See if we find them without any special options.
23922 # Don't add to $LIBS permanently.
23923 ac_save_LIBS=$LIBS
23924 LIBS="-lX11 $LIBS"
23925 cat >conftest.$ac_ext <<_ACEOF
23926 /* confdefs.h. */
23927 _ACEOF
23928 cat confdefs.h >>conftest.$ac_ext
23929 cat >>conftest.$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23931 #include <X11/Xlib.h>
23933 main ()
23935 XrmInitialize ()
23937 return 0;
23939 _ACEOF
23940 rm -f conftest.$ac_objext conftest$ac_exeext
23941 if { (ac_try="$ac_link"
23942 case "(($ac_try" in
23943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944 *) ac_try_echo=$ac_try;;
23945 esac
23946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23947 $as_echo "$ac_try_echo") >&5
23948 (eval "$ac_link") 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } && {
23955 test -z "$ac_cxx_werror_flag" ||
23956 test ! -s conftest.err
23957 } && test -s conftest$ac_exeext && {
23958 test "$cross_compiling" = yes ||
23959 $as_test_x conftest$ac_exeext
23960 }; then
23961 LIBS=$ac_save_LIBS
23962 # We can link X programs with no special library path.
23963 ac_x_libraries=
23964 else
23965 $as_echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23968 LIBS=$ac_save_LIBS
23969 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23971 # Don't even attempt the hair of trying to link an X program!
23972 for ac_extension in a so sl dylib la dll; do
23973 if test -r "$ac_dir/libX11.$ac_extension"; then
23974 ac_x_libraries=$ac_dir
23975 break 2
23977 done
23978 done
23981 rm -rf conftest.dSYM
23982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23983 conftest$ac_exeext conftest.$ac_ext
23984 fi # $ac_x_libraries = no
23986 case $ac_x_includes,$ac_x_libraries in #(
23987 no,* | *,no | *\'*)
23988 # Didn't find X, or a directory has "'" in its name.
23989 ac_cv_have_x="have_x=no";; #(
23991 # Record where we found X for the cache.
23992 ac_cv_have_x="have_x=yes\
23993 ac_x_includes='$ac_x_includes'\
23994 ac_x_libraries='$ac_x_libraries'"
23995 esac
23997 ;; #(
23998 *) have_x=yes;;
23999 esac
24000 eval "$ac_cv_have_x"
24001 fi # $with_x != no
24003 if test "$have_x" != yes; then
24004 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
24005 $as_echo "$have_x" >&6; }
24006 no_x=yes
24007 else
24008 # If each of the values was on the command line, it overrides each guess.
24009 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24010 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24011 # Update the cache value to reflect the command line values.
24012 ac_cv_have_x="have_x=yes\
24013 ac_x_includes='$x_includes'\
24014 ac_x_libraries='$x_libraries'"
24015 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24016 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24019 if test "$no_x" = yes; then
24020 # Not all programs may use this symbol, but it does not hurt to define it.
24022 cat >>confdefs.h <<\_ACEOF
24023 #define X_DISPLAY_MISSING 1
24024 _ACEOF
24026 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24027 else
24028 if test -n "$x_includes"; then
24029 X_CFLAGS="$X_CFLAGS -I$x_includes"
24032 # It would also be nice to do this for all -L options, not just this one.
24033 if test -n "$x_libraries"; then
24034 X_LIBS="$X_LIBS -L$x_libraries"
24035 # For Solaris; some versions of Sun CC require a space after -R and
24036 # others require no space. Words are not sufficient . . . .
24037 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24038 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24039 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24040 ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
24041 ac_cxx_werror_flag=yes
24042 cat >conftest.$ac_ext <<_ACEOF
24043 /* confdefs.h. */
24044 _ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24050 main ()
24054 return 0;
24056 _ACEOF
24057 rm -f conftest.$ac_objext conftest$ac_exeext
24058 if { (ac_try="$ac_link"
24059 case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24062 esac
24063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24064 $as_echo "$ac_try_echo") >&5
24065 (eval "$ac_link") 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_cxx_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest$ac_exeext && {
24075 test "$cross_compiling" = yes ||
24076 $as_test_x conftest$ac_exeext
24077 }; then
24078 { $as_echo "$as_me:$LINENO: result: no" >&5
24079 $as_echo "no" >&6; }
24080 X_LIBS="$X_LIBS -R$x_libraries"
24081 else
24082 $as_echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24085 LIBS="$ac_xsave_LIBS -R $x_libraries"
24086 cat >conftest.$ac_ext <<_ACEOF
24087 /* confdefs.h. */
24088 _ACEOF
24089 cat confdefs.h >>conftest.$ac_ext
24090 cat >>conftest.$ac_ext <<_ACEOF
24091 /* end confdefs.h. */
24094 main ()
24098 return 0;
24100 _ACEOF
24101 rm -f conftest.$ac_objext conftest$ac_exeext
24102 if { (ac_try="$ac_link"
24103 case "(($ac_try" in
24104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24105 *) ac_try_echo=$ac_try;;
24106 esac
24107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24108 $as_echo "$ac_try_echo") >&5
24109 (eval "$ac_link") 2>conftest.er1
24110 ac_status=$?
24111 grep -v '^ *+' conftest.er1 >conftest.err
24112 rm -f conftest.er1
24113 cat conftest.err >&5
24114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } && {
24116 test -z "$ac_cxx_werror_flag" ||
24117 test ! -s conftest.err
24118 } && test -s conftest$ac_exeext && {
24119 test "$cross_compiling" = yes ||
24120 $as_test_x conftest$ac_exeext
24121 }; then
24122 { $as_echo "$as_me:$LINENO: result: yes" >&5
24123 $as_echo "yes" >&6; }
24124 X_LIBS="$X_LIBS -R $x_libraries"
24125 else
24126 $as_echo "$as_me: failed program was:" >&5
24127 sed 's/^/| /' conftest.$ac_ext >&5
24129 { $as_echo "$as_me:$LINENO: result: neither works" >&5
24130 $as_echo "neither works" >&6; }
24133 rm -rf conftest.dSYM
24134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24135 conftest$ac_exeext conftest.$ac_ext
24138 rm -rf conftest.dSYM
24139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24140 conftest$ac_exeext conftest.$ac_ext
24141 ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
24142 LIBS=$ac_xsave_LIBS
24145 # Check for system-dependent libraries X programs must link with.
24146 # Do this before checking for the system-independent R6 libraries
24147 # (-lICE), since we may need -lsocket or whatever for X linking.
24149 if test "$ISC" = yes; then
24150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24151 else
24152 # Martyn Johnson says this is needed for Ultrix, if the X
24153 # libraries were built with DECnet support. And Karl Berry says
24154 # the Alpha needs dnet_stub (dnet does not exist).
24155 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24156 cat >conftest.$ac_ext <<_ACEOF
24157 /* confdefs.h. */
24158 _ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24163 /* Override any GCC internal prototype to avoid an error.
24164 Use char because int might match the return type of a GCC
24165 builtin and then its argument prototype would still apply. */
24166 #ifdef __cplusplus
24167 extern "C"
24168 #endif
24169 char XOpenDisplay ();
24171 main ()
24173 return XOpenDisplay ();
24175 return 0;
24177 _ACEOF
24178 rm -f conftest.$ac_objext conftest$ac_exeext
24179 if { (ac_try="$ac_link"
24180 case "(($ac_try" in
24181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24182 *) ac_try_echo=$ac_try;;
24183 esac
24184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24185 $as_echo "$ac_try_echo") >&5
24186 (eval "$ac_link") 2>conftest.er1
24187 ac_status=$?
24188 grep -v '^ *+' conftest.er1 >conftest.err
24189 rm -f conftest.er1
24190 cat conftest.err >&5
24191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } && {
24193 test -z "$ac_cxx_werror_flag" ||
24194 test ! -s conftest.err
24195 } && test -s conftest$ac_exeext && {
24196 test "$cross_compiling" = yes ||
24197 $as_test_x conftest$ac_exeext
24198 }; then
24200 else
24201 $as_echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.$ac_ext >&5
24204 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24205 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24206 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24207 $as_echo_n "(cached) " >&6
24208 else
24209 ac_check_lib_save_LIBS=$LIBS
24210 LIBS="-ldnet $LIBS"
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24218 /* Override any GCC internal prototype to avoid an error.
24219 Use char because int might match the return type of a GCC
24220 builtin and then its argument prototype would still apply. */
24221 #ifdef __cplusplus
24222 extern "C"
24223 #endif
24224 char dnet_ntoa ();
24226 main ()
24228 return dnet_ntoa ();
24230 return 0;
24232 _ACEOF
24233 rm -f conftest.$ac_objext conftest$ac_exeext
24234 if { (ac_try="$ac_link"
24235 case "(($ac_try" in
24236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24237 *) ac_try_echo=$ac_try;;
24238 esac
24239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24240 $as_echo "$ac_try_echo") >&5
24241 (eval "$ac_link") 2>conftest.er1
24242 ac_status=$?
24243 grep -v '^ *+' conftest.er1 >conftest.err
24244 rm -f conftest.er1
24245 cat conftest.err >&5
24246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); } && {
24248 test -z "$ac_cxx_werror_flag" ||
24249 test ! -s conftest.err
24250 } && test -s conftest$ac_exeext && {
24251 test "$cross_compiling" = yes ||
24252 $as_test_x conftest$ac_exeext
24253 }; then
24254 ac_cv_lib_dnet_dnet_ntoa=yes
24255 else
24256 $as_echo "$as_me: failed program was:" >&5
24257 sed 's/^/| /' conftest.$ac_ext >&5
24259 ac_cv_lib_dnet_dnet_ntoa=no
24262 rm -rf conftest.dSYM
24263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24264 conftest$ac_exeext conftest.$ac_ext
24265 LIBS=$ac_check_lib_save_LIBS
24267 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24268 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24269 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24274 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24275 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24276 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24277 $as_echo_n "(cached) " >&6
24278 else
24279 ac_check_lib_save_LIBS=$LIBS
24280 LIBS="-ldnet_stub $LIBS"
24281 cat >conftest.$ac_ext <<_ACEOF
24282 /* confdefs.h. */
24283 _ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24288 /* Override any GCC internal prototype to avoid an error.
24289 Use char because int might match the return type of a GCC
24290 builtin and then its argument prototype would still apply. */
24291 #ifdef __cplusplus
24292 extern "C"
24293 #endif
24294 char dnet_ntoa ();
24296 main ()
24298 return dnet_ntoa ();
24300 return 0;
24302 _ACEOF
24303 rm -f conftest.$ac_objext conftest$ac_exeext
24304 if { (ac_try="$ac_link"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24308 esac
24309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24310 $as_echo "$ac_try_echo") >&5
24311 (eval "$ac_link") 2>conftest.er1
24312 ac_status=$?
24313 grep -v '^ *+' conftest.er1 >conftest.err
24314 rm -f conftest.er1
24315 cat conftest.err >&5
24316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); } && {
24318 test -z "$ac_cxx_werror_flag" ||
24319 test ! -s conftest.err
24320 } && test -s conftest$ac_exeext && {
24321 test "$cross_compiling" = yes ||
24322 $as_test_x conftest$ac_exeext
24323 }; then
24324 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24325 else
24326 $as_echo "$as_me: failed program was:" >&5
24327 sed 's/^/| /' conftest.$ac_ext >&5
24329 ac_cv_lib_dnet_stub_dnet_ntoa=no
24332 rm -rf conftest.dSYM
24333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24334 conftest$ac_exeext conftest.$ac_ext
24335 LIBS=$ac_check_lib_save_LIBS
24337 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24338 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24339 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24340 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24346 rm -rf conftest.dSYM
24347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24348 conftest$ac_exeext conftest.$ac_ext
24349 LIBS="$ac_xsave_LIBS"
24351 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24352 # to get the SysV transport functions.
24353 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24354 # needs -lnsl.
24355 # The nsl library prevents programs from opening the X display
24356 # on Irix 5.2, according to T.E. Dickey.
24357 # The functions gethostbyname, getservbyname, and inet_addr are
24358 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24359 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
24360 $as_echo_n "checking for gethostbyname... " >&6; }
24361 if test "${ac_cv_func_gethostbyname+set}" = set; then
24362 $as_echo_n "(cached) " >&6
24363 else
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24372 #define gethostbyname innocuous_gethostbyname
24374 /* System header to define __stub macros and hopefully few prototypes,
24375 which can conflict with char gethostbyname (); below.
24376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24377 <limits.h> exists even on freestanding compilers. */
24379 #ifdef __STDC__
24380 # include <limits.h>
24381 #else
24382 # include <assert.h>
24383 #endif
24385 #undef gethostbyname
24387 /* Override any GCC internal prototype to avoid an error.
24388 Use char because int might match the return type of a GCC
24389 builtin and then its argument prototype would still apply. */
24390 #ifdef __cplusplus
24391 extern "C"
24392 #endif
24393 char gethostbyname ();
24394 /* The GNU C library defines this for functions which it implements
24395 to always fail with ENOSYS. Some functions are actually named
24396 something starting with __ and the normal name is an alias. */
24397 #if defined __stub_gethostbyname || defined __stub___gethostbyname
24398 choke me
24399 #endif
24402 main ()
24404 return gethostbyname ();
24406 return 0;
24408 _ACEOF
24409 rm -f conftest.$ac_objext conftest$ac_exeext
24410 if { (ac_try="$ac_link"
24411 case "(($ac_try" in
24412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24413 *) ac_try_echo=$ac_try;;
24414 esac
24415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24416 $as_echo "$ac_try_echo") >&5
24417 (eval "$ac_link") 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } && {
24424 test -z "$ac_cxx_werror_flag" ||
24425 test ! -s conftest.err
24426 } && test -s conftest$ac_exeext && {
24427 test "$cross_compiling" = yes ||
24428 $as_test_x conftest$ac_exeext
24429 }; then
24430 ac_cv_func_gethostbyname=yes
24431 else
24432 $as_echo "$as_me: failed program was:" >&5
24433 sed 's/^/| /' conftest.$ac_ext >&5
24435 ac_cv_func_gethostbyname=no
24438 rm -rf conftest.dSYM
24439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24440 conftest$ac_exeext conftest.$ac_ext
24442 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24443 $as_echo "$ac_cv_func_gethostbyname" >&6; }
24445 if test $ac_cv_func_gethostbyname = no; then
24446 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24447 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24448 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24449 $as_echo_n "(cached) " >&6
24450 else
24451 ac_check_lib_save_LIBS=$LIBS
24452 LIBS="-lnsl $LIBS"
24453 cat >conftest.$ac_ext <<_ACEOF
24454 /* confdefs.h. */
24455 _ACEOF
24456 cat confdefs.h >>conftest.$ac_ext
24457 cat >>conftest.$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24460 /* Override any GCC internal prototype to avoid an error.
24461 Use char because int might match the return type of a GCC
24462 builtin and then its argument prototype would still apply. */
24463 #ifdef __cplusplus
24464 extern "C"
24465 #endif
24466 char gethostbyname ();
24468 main ()
24470 return gethostbyname ();
24472 return 0;
24474 _ACEOF
24475 rm -f conftest.$ac_objext conftest$ac_exeext
24476 if { (ac_try="$ac_link"
24477 case "(($ac_try" in
24478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24480 esac
24481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24482 $as_echo "$ac_try_echo") >&5
24483 (eval "$ac_link") 2>conftest.er1
24484 ac_status=$?
24485 grep -v '^ *+' conftest.er1 >conftest.err
24486 rm -f conftest.er1
24487 cat conftest.err >&5
24488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest$ac_exeext && {
24493 test "$cross_compiling" = yes ||
24494 $as_test_x conftest$ac_exeext
24495 }; then
24496 ac_cv_lib_nsl_gethostbyname=yes
24497 else
24498 $as_echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.$ac_ext >&5
24501 ac_cv_lib_nsl_gethostbyname=no
24504 rm -rf conftest.dSYM
24505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24506 conftest$ac_exeext conftest.$ac_ext
24507 LIBS=$ac_check_lib_save_LIBS
24509 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24510 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24511 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24512 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24515 if test $ac_cv_lib_nsl_gethostbyname = no; then
24516 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24517 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24518 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24519 $as_echo_n "(cached) " >&6
24520 else
24521 ac_check_lib_save_LIBS=$LIBS
24522 LIBS="-lbsd $LIBS"
24523 cat >conftest.$ac_ext <<_ACEOF
24524 /* confdefs.h. */
24525 _ACEOF
24526 cat confdefs.h >>conftest.$ac_ext
24527 cat >>conftest.$ac_ext <<_ACEOF
24528 /* end confdefs.h. */
24530 /* Override any GCC internal prototype to avoid an error.
24531 Use char because int might match the return type of a GCC
24532 builtin and then its argument prototype would still apply. */
24533 #ifdef __cplusplus
24534 extern "C"
24535 #endif
24536 char gethostbyname ();
24538 main ()
24540 return gethostbyname ();
24542 return 0;
24544 _ACEOF
24545 rm -f conftest.$ac_objext conftest$ac_exeext
24546 if { (ac_try="$ac_link"
24547 case "(($ac_try" in
24548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24550 esac
24551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24552 $as_echo "$ac_try_echo") >&5
24553 (eval "$ac_link") 2>conftest.er1
24554 ac_status=$?
24555 grep -v '^ *+' conftest.er1 >conftest.err
24556 rm -f conftest.er1
24557 cat conftest.err >&5
24558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_cxx_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest$ac_exeext && {
24563 test "$cross_compiling" = yes ||
24564 $as_test_x conftest$ac_exeext
24565 }; then
24566 ac_cv_lib_bsd_gethostbyname=yes
24567 else
24568 $as_echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24571 ac_cv_lib_bsd_gethostbyname=no
24574 rm -rf conftest.dSYM
24575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24576 conftest$ac_exeext conftest.$ac_ext
24577 LIBS=$ac_check_lib_save_LIBS
24579 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24580 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24581 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24582 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24588 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24589 # socket/setsockopt and other routines are undefined under SCO ODT
24590 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24591 # on later versions), says Simon Leinen: it contains gethostby*
24592 # variants that don't use the name server (or something). -lsocket
24593 # must be given before -lnsl if both are needed. We assume that
24594 # if connect needs -lnsl, so does gethostbyname.
24595 { $as_echo "$as_me:$LINENO: checking for connect" >&5
24596 $as_echo_n "checking for connect... " >&6; }
24597 if test "${ac_cv_func_connect+set}" = set; then
24598 $as_echo_n "(cached) " >&6
24599 else
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24608 #define connect innocuous_connect
24610 /* System header to define __stub macros and hopefully few prototypes,
24611 which can conflict with char connect (); below.
24612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24613 <limits.h> exists even on freestanding compilers. */
24615 #ifdef __STDC__
24616 # include <limits.h>
24617 #else
24618 # include <assert.h>
24619 #endif
24621 #undef connect
24623 /* Override any GCC internal prototype to avoid an error.
24624 Use char because int might match the return type of a GCC
24625 builtin and then its argument prototype would still apply. */
24626 #ifdef __cplusplus
24627 extern "C"
24628 #endif
24629 char connect ();
24630 /* The GNU C library defines this for functions which it implements
24631 to always fail with ENOSYS. Some functions are actually named
24632 something starting with __ and the normal name is an alias. */
24633 #if defined __stub_connect || defined __stub___connect
24634 choke me
24635 #endif
24638 main ()
24640 return connect ();
24642 return 0;
24644 _ACEOF
24645 rm -f conftest.$ac_objext conftest$ac_exeext
24646 if { (ac_try="$ac_link"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24652 $as_echo "$ac_try_echo") >&5
24653 (eval "$ac_link") 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && {
24660 test -z "$ac_cxx_werror_flag" ||
24661 test ! -s conftest.err
24662 } && test -s conftest$ac_exeext && {
24663 test "$cross_compiling" = yes ||
24664 $as_test_x conftest$ac_exeext
24665 }; then
24666 ac_cv_func_connect=yes
24667 else
24668 $as_echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.$ac_ext >&5
24671 ac_cv_func_connect=no
24674 rm -rf conftest.dSYM
24675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24676 conftest$ac_exeext conftest.$ac_ext
24678 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24679 $as_echo "$ac_cv_func_connect" >&6; }
24681 if test $ac_cv_func_connect = no; then
24682 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24683 $as_echo_n "checking for connect in -lsocket... " >&6; }
24684 if test "${ac_cv_lib_socket_connect+set}" = set; then
24685 $as_echo_n "(cached) " >&6
24686 else
24687 ac_check_lib_save_LIBS=$LIBS
24688 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24689 cat >conftest.$ac_ext <<_ACEOF
24690 /* confdefs.h. */
24691 _ACEOF
24692 cat confdefs.h >>conftest.$ac_ext
24693 cat >>conftest.$ac_ext <<_ACEOF
24694 /* end confdefs.h. */
24696 /* Override any GCC internal prototype to avoid an error.
24697 Use char because int might match the return type of a GCC
24698 builtin and then its argument prototype would still apply. */
24699 #ifdef __cplusplus
24700 extern "C"
24701 #endif
24702 char connect ();
24704 main ()
24706 return connect ();
24708 return 0;
24710 _ACEOF
24711 rm -f conftest.$ac_objext conftest$ac_exeext
24712 if { (ac_try="$ac_link"
24713 case "(($ac_try" in
24714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24715 *) ac_try_echo=$ac_try;;
24716 esac
24717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24718 $as_echo "$ac_try_echo") >&5
24719 (eval "$ac_link") 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && {
24726 test -z "$ac_cxx_werror_flag" ||
24727 test ! -s conftest.err
24728 } && test -s conftest$ac_exeext && {
24729 test "$cross_compiling" = yes ||
24730 $as_test_x conftest$ac_exeext
24731 }; then
24732 ac_cv_lib_socket_connect=yes
24733 else
24734 $as_echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24737 ac_cv_lib_socket_connect=no
24740 rm -rf conftest.dSYM
24741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24742 conftest$ac_exeext conftest.$ac_ext
24743 LIBS=$ac_check_lib_save_LIBS
24745 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24746 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24747 if test $ac_cv_lib_socket_connect = yes; then
24748 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24753 # Guillermo Gomez says -lposix is necessary on A/UX.
24754 { $as_echo "$as_me:$LINENO: checking for remove" >&5
24755 $as_echo_n "checking for remove... " >&6; }
24756 if test "${ac_cv_func_remove+set}" = set; then
24757 $as_echo_n "(cached) " >&6
24758 else
24759 cat >conftest.$ac_ext <<_ACEOF
24760 /* confdefs.h. */
24761 _ACEOF
24762 cat confdefs.h >>conftest.$ac_ext
24763 cat >>conftest.$ac_ext <<_ACEOF
24764 /* end confdefs.h. */
24765 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24767 #define remove innocuous_remove
24769 /* System header to define __stub macros and hopefully few prototypes,
24770 which can conflict with char remove (); below.
24771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24772 <limits.h> exists even on freestanding compilers. */
24774 #ifdef __STDC__
24775 # include <limits.h>
24776 #else
24777 # include <assert.h>
24778 #endif
24780 #undef remove
24782 /* Override any GCC internal prototype to avoid an error.
24783 Use char because int might match the return type of a GCC
24784 builtin and then its argument prototype would still apply. */
24785 #ifdef __cplusplus
24786 extern "C"
24787 #endif
24788 char remove ();
24789 /* The GNU C library defines this for functions which it implements
24790 to always fail with ENOSYS. Some functions are actually named
24791 something starting with __ and the normal name is an alias. */
24792 #if defined __stub_remove || defined __stub___remove
24793 choke me
24794 #endif
24797 main ()
24799 return remove ();
24801 return 0;
24803 _ACEOF
24804 rm -f conftest.$ac_objext conftest$ac_exeext
24805 if { (ac_try="$ac_link"
24806 case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24809 esac
24810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24811 $as_echo "$ac_try_echo") >&5
24812 (eval "$ac_link") 2>conftest.er1
24813 ac_status=$?
24814 grep -v '^ *+' conftest.er1 >conftest.err
24815 rm -f conftest.er1
24816 cat conftest.err >&5
24817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818 (exit $ac_status); } && {
24819 test -z "$ac_cxx_werror_flag" ||
24820 test ! -s conftest.err
24821 } && test -s conftest$ac_exeext && {
24822 test "$cross_compiling" = yes ||
24823 $as_test_x conftest$ac_exeext
24824 }; then
24825 ac_cv_func_remove=yes
24826 else
24827 $as_echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24830 ac_cv_func_remove=no
24833 rm -rf conftest.dSYM
24834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24835 conftest$ac_exeext conftest.$ac_ext
24837 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24838 $as_echo "$ac_cv_func_remove" >&6; }
24840 if test $ac_cv_func_remove = no; then
24841 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24842 $as_echo_n "checking for remove in -lposix... " >&6; }
24843 if test "${ac_cv_lib_posix_remove+set}" = set; then
24844 $as_echo_n "(cached) " >&6
24845 else
24846 ac_check_lib_save_LIBS=$LIBS
24847 LIBS="-lposix $LIBS"
24848 cat >conftest.$ac_ext <<_ACEOF
24849 /* confdefs.h. */
24850 _ACEOF
24851 cat confdefs.h >>conftest.$ac_ext
24852 cat >>conftest.$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24855 /* Override any GCC internal prototype to avoid an error.
24856 Use char because int might match the return type of a GCC
24857 builtin and then its argument prototype would still apply. */
24858 #ifdef __cplusplus
24859 extern "C"
24860 #endif
24861 char remove ();
24863 main ()
24865 return remove ();
24867 return 0;
24869 _ACEOF
24870 rm -f conftest.$ac_objext conftest$ac_exeext
24871 if { (ac_try="$ac_link"
24872 case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24875 esac
24876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24877 $as_echo "$ac_try_echo") >&5
24878 (eval "$ac_link") 2>conftest.er1
24879 ac_status=$?
24880 grep -v '^ *+' conftest.er1 >conftest.err
24881 rm -f conftest.er1
24882 cat conftest.err >&5
24883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } && {
24885 test -z "$ac_cxx_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest$ac_exeext && {
24888 test "$cross_compiling" = yes ||
24889 $as_test_x conftest$ac_exeext
24890 }; then
24891 ac_cv_lib_posix_remove=yes
24892 else
24893 $as_echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24896 ac_cv_lib_posix_remove=no
24899 rm -rf conftest.dSYM
24900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24901 conftest$ac_exeext conftest.$ac_ext
24902 LIBS=$ac_check_lib_save_LIBS
24904 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24905 $as_echo "$ac_cv_lib_posix_remove" >&6; }
24906 if test $ac_cv_lib_posix_remove = yes; then
24907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24912 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24913 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
24914 $as_echo_n "checking for shmat... " >&6; }
24915 if test "${ac_cv_func_shmat+set}" = set; then
24916 $as_echo_n "(cached) " >&6
24917 else
24918 cat >conftest.$ac_ext <<_ACEOF
24919 /* confdefs.h. */
24920 _ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24926 #define shmat innocuous_shmat
24928 /* System header to define __stub macros and hopefully few prototypes,
24929 which can conflict with char shmat (); below.
24930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24931 <limits.h> exists even on freestanding compilers. */
24933 #ifdef __STDC__
24934 # include <limits.h>
24935 #else
24936 # include <assert.h>
24937 #endif
24939 #undef shmat
24941 /* Override any GCC internal prototype to avoid an error.
24942 Use char because int might match the return type of a GCC
24943 builtin and then its argument prototype would still apply. */
24944 #ifdef __cplusplus
24945 extern "C"
24946 #endif
24947 char shmat ();
24948 /* The GNU C library defines this for functions which it implements
24949 to always fail with ENOSYS. Some functions are actually named
24950 something starting with __ and the normal name is an alias. */
24951 #if defined __stub_shmat || defined __stub___shmat
24952 choke me
24953 #endif
24956 main ()
24958 return shmat ();
24960 return 0;
24962 _ACEOF
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (ac_try="$ac_link"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24970 $as_echo "$ac_try_echo") >&5
24971 (eval "$ac_link") 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } && {
24978 test -z "$ac_cxx_werror_flag" ||
24979 test ! -s conftest.err
24980 } && test -s conftest$ac_exeext && {
24981 test "$cross_compiling" = yes ||
24982 $as_test_x conftest$ac_exeext
24983 }; then
24984 ac_cv_func_shmat=yes
24985 else
24986 $as_echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.$ac_ext >&5
24989 ac_cv_func_shmat=no
24992 rm -rf conftest.dSYM
24993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24994 conftest$ac_exeext conftest.$ac_ext
24996 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24997 $as_echo "$ac_cv_func_shmat" >&6; }
24999 if test $ac_cv_func_shmat = no; then
25000 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25001 $as_echo_n "checking for shmat in -lipc... " >&6; }
25002 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25003 $as_echo_n "(cached) " >&6
25004 else
25005 ac_check_lib_save_LIBS=$LIBS
25006 LIBS="-lipc $LIBS"
25007 cat >conftest.$ac_ext <<_ACEOF
25008 /* confdefs.h. */
25009 _ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25014 /* Override any GCC internal prototype to avoid an error.
25015 Use char because int might match the return type of a GCC
25016 builtin and then its argument prototype would still apply. */
25017 #ifdef __cplusplus
25018 extern "C"
25019 #endif
25020 char shmat ();
25022 main ()
25024 return shmat ();
25026 return 0;
25028 _ACEOF
25029 rm -f conftest.$ac_objext conftest$ac_exeext
25030 if { (ac_try="$ac_link"
25031 case "(($ac_try" in
25032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25033 *) ac_try_echo=$ac_try;;
25034 esac
25035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25036 $as_echo "$ac_try_echo") >&5
25037 (eval "$ac_link") 2>conftest.er1
25038 ac_status=$?
25039 grep -v '^ *+' conftest.er1 >conftest.err
25040 rm -f conftest.er1
25041 cat conftest.err >&5
25042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); } && {
25044 test -z "$ac_cxx_werror_flag" ||
25045 test ! -s conftest.err
25046 } && test -s conftest$ac_exeext && {
25047 test "$cross_compiling" = yes ||
25048 $as_test_x conftest$ac_exeext
25049 }; then
25050 ac_cv_lib_ipc_shmat=yes
25051 else
25052 $as_echo "$as_me: failed program was:" >&5
25053 sed 's/^/| /' conftest.$ac_ext >&5
25055 ac_cv_lib_ipc_shmat=no
25058 rm -rf conftest.dSYM
25059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25060 conftest$ac_exeext conftest.$ac_ext
25061 LIBS=$ac_check_lib_save_LIBS
25063 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25064 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25065 if test $ac_cv_lib_ipc_shmat = yes; then
25066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25072 # Check for libraries that X11R6 Xt/Xaw programs need.
25073 ac_save_LDFLAGS=$LDFLAGS
25074 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25075 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25076 # check for ICE first), but we must link in the order -lSM -lICE or
25077 # we get undefined symbols. So assume we have SM if we have ICE.
25078 # These have to be linked with before -lX11, unlike the other
25079 # libraries we check for below, so use a different variable.
25080 # John Interrante, Karl Berry
25081 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25082 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25083 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25084 $as_echo_n "(cached) " >&6
25085 else
25086 ac_check_lib_save_LIBS=$LIBS
25087 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25095 /* Override any GCC internal prototype to avoid an error.
25096 Use char because int might match the return type of a GCC
25097 builtin and then its argument prototype would still apply. */
25098 #ifdef __cplusplus
25099 extern "C"
25100 #endif
25101 char IceConnectionNumber ();
25103 main ()
25105 return IceConnectionNumber ();
25107 return 0;
25109 _ACEOF
25110 rm -f conftest.$ac_objext conftest$ac_exeext
25111 if { (ac_try="$ac_link"
25112 case "(($ac_try" in
25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25114 *) ac_try_echo=$ac_try;;
25115 esac
25116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25117 $as_echo "$ac_try_echo") >&5
25118 (eval "$ac_link") 2>conftest.er1
25119 ac_status=$?
25120 grep -v '^ *+' conftest.er1 >conftest.err
25121 rm -f conftest.er1
25122 cat conftest.err >&5
25123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_cxx_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest$ac_exeext && {
25128 test "$cross_compiling" = yes ||
25129 $as_test_x conftest$ac_exeext
25130 }; then
25131 ac_cv_lib_ICE_IceConnectionNumber=yes
25132 else
25133 $as_echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25136 ac_cv_lib_ICE_IceConnectionNumber=no
25139 rm -rf conftest.dSYM
25140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25141 conftest$ac_exeext conftest.$ac_ext
25142 LIBS=$ac_check_lib_save_LIBS
25144 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25145 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25146 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25147 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25150 LDFLAGS=$ac_save_LDFLAGS
25156 #AC_SYS_INTERPRETER
25157 #AC_SYS_LARGEFILE
25158 #AC_SYS_POSIX_TERMIOS
25160 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
25161 $as_echo_n "checking whether ln -s works... " >&6; }
25162 LN_S=$as_ln_s
25163 if test "$LN_S" = "ln -s"; then
25164 { $as_echo "$as_me:$LINENO: result: yes" >&5
25165 $as_echo "yes" >&6; }
25166 else
25167 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25168 $as_echo "no, using $LN_S" >&6; }
25171 if test -n "$ac_tool_prefix"; then
25172 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
25173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
25174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25175 $as_echo_n "checking for $ac_word... " >&6; }
25176 if test "${ac_cv_prog_RANLIB+set}" = set; then
25177 $as_echo_n "(cached) " >&6
25178 else
25179 if test -n "$RANLIB"; then
25180 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
25181 else
25182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25183 for as_dir in $PATH
25185 IFS=$as_save_IFS
25186 test -z "$as_dir" && as_dir=.
25187 for ac_exec_ext in '' $ac_executable_extensions; do
25188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25189 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
25190 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25191 break 2
25193 done
25194 done
25195 IFS=$as_save_IFS
25199 RANLIB=$ac_cv_prog_RANLIB
25200 if test -n "$RANLIB"; then
25201 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
25202 $as_echo "$RANLIB" >&6; }
25203 else
25204 { $as_echo "$as_me:$LINENO: result: no" >&5
25205 $as_echo "no" >&6; }
25210 if test -z "$ac_cv_prog_RANLIB"; then
25211 ac_ct_RANLIB=$RANLIB
25212 # Extract the first word of "ranlib", so it can be a program name with args.
25213 set dummy ranlib; ac_word=$2
25214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25215 $as_echo_n "checking for $ac_word... " >&6; }
25216 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
25217 $as_echo_n "(cached) " >&6
25218 else
25219 if test -n "$ac_ct_RANLIB"; then
25220 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
25221 else
25222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25223 for as_dir in $PATH
25225 IFS=$as_save_IFS
25226 test -z "$as_dir" && as_dir=.
25227 for ac_exec_ext in '' $ac_executable_extensions; do
25228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25229 ac_cv_prog_ac_ct_RANLIB="ranlib"
25230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25231 break 2
25233 done
25234 done
25235 IFS=$as_save_IFS
25239 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
25240 if test -n "$ac_ct_RANLIB"; then
25241 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
25242 $as_echo "$ac_ct_RANLIB" >&6; }
25243 else
25244 { $as_echo "$as_me:$LINENO: result: no" >&5
25245 $as_echo "no" >&6; }
25248 if test "x$ac_ct_RANLIB" = x; then
25249 RANLIB=":"
25250 else
25251 case $cross_compiling:$ac_tool_warned in
25252 yes:)
25253 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25254 whose name does not start with the host triplet. If you think this
25255 configuration is useful to you, please write to autoconf@gnu.org." >&5
25256 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25257 whose name does not start with the host triplet. If you think this
25258 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25259 ac_tool_warned=yes ;;
25260 esac
25261 RANLIB=$ac_ct_RANLIB
25263 else
25264 RANLIB="$ac_cv_prog_RANLIB"
25267 RC="git"
25268 GIT="git"
25269 HG="hg"
25271 exe="$EXEEXT"
25272 obj=".$OBJEXT"
25274 case "$target_os" in
25276 mingw*) bat=".bat"
25279 *) bat=""
25281 esac
25283 if test "$ENABLE_SHARED" = yes; then
25285 case "$target_os" in
25288 mingw* | cygwin*)
25289 LIB_PREFIX="lib"
25290 LIB_EXTENSION=".dll"
25291 SETDLPATH="PATH=\"\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${PATH}\""
25294 darwin*) LIB_PREFIX="lib"
25295 LIB_EXTENSION=".dylib"
25296 SETDLPATH="DYLD_LIBRARY_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${DYLD_LIBRARY_PATH}"
25299 hpux*) LIB_PREFIX="lib"
25300 LIB_EXTENSION=".so"
25301 SETDLPATH="SHLIB_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${SHLIB_PATH}"
25304 aix*) LIB_PREFIX="lib"
25305 LIB_EXTENSION=".so"
25306 SETDLPATH="LIBPATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${LIBPATH}"
25309 *) LIB_PREFIX="lib"
25310 LIB_EXTENSION=".so"
25311 SETDLPATH="LD_LIBRARY_PATH=\$(rootfromhere)/lib:\$(rootfromhere)/gsi:\$(rootfromhere)/gsc:\${LD_LIBRARY_PATH}"
25313 esac
25315 MAKE_LIBRARY='$(C_COMPILER) $(FLAGS_LIB) -o $(LIBRARY) $(LIBRARY_OBJECTS) $(MAKE_LIBRARY_LIBS) $(LIBS)'
25316 MAKE_LIBRARY_FOR_INSTALL='$(C_COMPILER) $(FLAGS_LIB) -o $(LIBRARY) $(LIBRARY_OBJECTS) $(MAKE_LIBRARY_FOR_INSTALL_LIBS) $(LIBS)'
25317 FIXLIB=':'
25318 LINK_FOR_INSTALL='$(C_COMPILER) $(FLAGS_EXE) $(EXECUTABLE_OBJECTS) $(LINK_FOR_INSTALL_LIBS) $(LIBS) -o $(EXECUTABLE)'
25320 else
25322 SETDLPATH=""
25324 if test "$C_COMP_VISUALC" = yes; then
25326 ########## Microsoft Visual C++ compiler
25328 LIB_PREFIX="lib"
25329 LIB_EXTENSION=".lib"
25330 MAKE_LIBRARY='lib -out:$(LIBRARY) $(LIBRARY_OBJECTS)'
25331 MAKE_LIBRARY_FOR_INSTALL=':'
25332 FIXLIB=':'
25333 LINK_FOR_INSTALL=':'
25335 # else if test "$C_COMP_WATCOMC" = yes; then
25336 # else if test "$C_COMP_BORLANDC" = yes; then
25338 else
25340 ########## Other C compiler
25342 LIB_PREFIX="lib"
25343 LIB_EXTENSION=".a"
25344 MAKE_LIBRARY='ar rc $(LIBRARY) $(LIBRARY_OBJECTS) && $(RANLIB) $(LIBRARY)'
25345 MAKE_LIBRARY_FOR_INSTALL=':'
25346 FIXLIB='$(RANLIB)'
25347 LINK_FOR_INSTALL=':'
25353 if test "$ENABLE_VERSIONNED_LIBS" = no; then
25355 LIB_SUFFIX=""
25357 else
25359 if test "$ENABLE_VERSIONNED_LIBS" = yes; then
25361 LIB_SUFFIX=`echo -$PACKAGE_VERSION | sed -e 's/\./_/g'`
25363 else
25365 LIB_SUFFIX="$ENABLE_VERSIONNED_LIBS"
25371 GAMBCLIB="gambc$LIB_SUFFIX"
25372 GAMBCGSCLIB="gambcgsc$LIB_SUFFIX"
25373 GAMBCGSILIB="gambcgsi$LIB_SUFFIX"
25375 if test "yes" = yes; then
25377 GAMBCLIB_LOC=""
25378 GAMBCLIB_LINK="\"\${GAMBCDIR_LIB}/$LIB_PREFIX$GAMBCLIB$LIB_EXTENSION\""
25380 GAMBCGSILIB_LOC=""
25381 GAMBCGSILIB_LINK="\"\${GAMBCDIR_LIB_GSI}/$LIB_PREFIX$GAMBCGSILIB$LIB_EXTENSION\" \"\${GAMBCDIR_LIB}/$LIB_PREFIX$GAMBCLIB$LIB_EXTENSION\""
25383 GAMBCGSCLIB_LOC=""
25384 GAMBCGSCLIB_LINK="\"\${GAMBCDIR_LIB_GSC}/$LIB_PREFIX$GAMBCGSCLIB$LIB_EXTENSION\" \"\${GAMBCDIR_LIB}/$LIB_PREFIX$GAMBCLIB$LIB_EXTENSION\""
25386 else
25388 GAMBCLIB_LOC="-L\"\${GAMBCDIR_LIB}\""
25389 GAMBCLIB_LINK="-l$GAMBCLIB"
25391 GAMBCGSILIB_LOC="-L\"\${GAMBCDIR_LIB_GSI}\" -L\"\${GAMBCDIR_LIB}\""
25392 GAMBCGSILIB_LINK="-l$GAMBCGSILIB -l$GAMBCLIB"
25394 GAMBCGSCLIB_LOC="-L\"\${GAMBCDIR_LIB_GSC}\" -L\"\${GAMBCDIR_LIB}\""
25395 GAMBCGSCLIB_LINK="-l$GAMBCGSCLIB -l$GAMBCLIB"
25399 if test "$C_COMP_VISUALC" = yes; then
25401 ########## Microsoft Visual C++ compiler
25403 BUILD_OBJ="\${C_COMPILER} \${FLAGS_OBJ} \${DEFS_OBJ} -I\"\${GAMBCDIR_INCLUDE}\" -c -Fo\"\${BUILD_OBJ_OUTPUT_FILENAME}\" \${BUILD_OBJ_CC_OPTIONS} \${BUILD_OBJ_INPUT_FILENAMES}"
25405 BUILD_DYN="\${C_COMPILER} \${FLAGS_DYN} \${DEFS_DYN} -I\"\${GAMBCDIR_INCLUDE}\" -Fe\"\${BUILD_DYN_OUTPUT_FILENAME}\" \${BUILD_DYN_CC_OPTIONS} \${BUILD_DYN_LD_OPTIONS_PRELUDE} \${BUILD_DYN_INPUT_FILENAMES} \${BUILD_DYN_LD_OPTIONS}"
25407 BUILD_LIB="echo BUILD_LIB not yet implemented"
25409 BUILD_EXE="\${C_COMPILER} \${FLAGS_EXE} \${DEFS_EXE} -I\"\${GAMBCDIR_INCLUDE}\" ${GAMBCLIB_LOC} -Fe\"\${BUILD_EXE_OUTPUT_FILENAME}\" \${BUILD_EXE_CC_OPTIONS} \${BUILD_EXE_LD_OPTIONS_PRELUDE} \${BUILD_EXE_INPUT_FILENAMES} ${GAMBCLIB_LINK} \${LIBS} \${BUILD_EXE_LD_OPTIONS}"
25411 else
25413 BUILD_OBJ="\${C_COMPILER} \${FLAGS_OBJ} \${DEFS_OBJ} -I\"\${GAMBCDIR_INCLUDE}\" -c -o \"\${BUILD_OBJ_OUTPUT_FILENAME}\" \${BUILD_OBJ_CC_OPTIONS} \${BUILD_OBJ_INPUT_FILENAMES}"
25415 BUILD_DYN="\${C_COMPILER} \${FLAGS_DYN} \${DEFS_DYN} -I\"\${GAMBCDIR_INCLUDE}\" -o \"\${BUILD_DYN_OUTPUT_FILENAME}\" \${BUILD_DYN_CC_OPTIONS} \${BUILD_DYN_LD_OPTIONS_PRELUDE} \${BUILD_DYN_INPUT_FILENAMES} \${BUILD_DYN_LD_OPTIONS}"
25417 BUILD_LIB="echo BUILD_LIB not yet implemented"
25419 BUILD_EXE="\${C_COMPILER} \${FLAGS_EXE} \${DEFS_EXE} -I\"\${GAMBCDIR_INCLUDE}\" ${GAMBCLIB_LOC} -o \"\${BUILD_EXE_OUTPUT_FILENAME}\" \${BUILD_EXE_CC_OPTIONS} \${BUILD_EXE_LD_OPTIONS_PRELUDE} \${BUILD_EXE_INPUT_FILENAMES} ${GAMBCLIB_LINK} \${LIBS} \${BUILD_EXE_LD_OPTIONS}"
25423 # The following code for making installed libraries may benefit from
25424 # a rewrite so that it reuses the "BUILD_XXX" command infrastructure.
25426 if test "$ENABLE_ABSOLUTE_SHARED_LIBS" = yes; then
25428 MAKE_LIBRARY_FOR_INSTALL_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25429 LINK_FOR_INSTALL_GSI_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCGSILIB)$(LIB_EXTENSION) $$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25430 LINK_FOR_INSTALL_GSC_LIBS='$$t_libdir/$(LIB_PREFIX)$(GAMBCGSCLIB)$(LIB_EXTENSION) $$t_libdir/$(LIB_PREFIX)$(GAMBCLIB)$(LIB_EXTENSION)'
25432 else
25434 MAKE_LIBRARY_FOR_INSTALL_LIBS='-L$(rootfromhere)/lib -l$(GAMBCLIB)'
25435 LINK_FOR_INSTALL_GSI_LIBS='-L. -L$(rootfromhere)/lib -l$(GAMBCGSILIB) -l$(GAMBCLIB)'
25436 LINK_FOR_INSTALL_GSC_LIBS='-L. -L$(rootfromhere)/lib -l$(GAMBCGSCLIB) -l$(GAMBCLIB)'
25440 ###############################################################################
25442 # Determine what prefix and suffix are added to function names by the
25443 # C compiler or linker.
25445 case "$target_os" in
25447 mingw*) # empty prefix and suffix
25450 cygwin*) # empty prefix and suffix
25453 *) # for other systems
25455 ac_link_obj_file='$C_COMPILER $FLAGS_DYN $DEFS_DYN -Iinclude -o conftest.o1 conftest.$ac_ext >&5'
25457 rm -f conftest.$ac_ext conftest.o1 conftest1.sed
25459 cat >conftest.$ac_ext <<_ACEOF
25460 #line $LINENO "configure"
25461 #define ___VERSION 400000
25462 #define ___MODULE_NAME " GAMBCCHECKMODULEPREFIXSUFFIX"
25463 #define ___LINKER_ID ____20_GAMBCCHECKMODULEPREFIXSUFFIX
25464 #define ___MH_PROC ___H__20_GAMBCCHECKMODULEPREFIXSUFFIX
25465 #define ___SCRIPT_LINE 0
25466 #define ___MAX_CHR 0x10ffff
25467 #define ___VOIDSTAR_WIDTH ___LONG_WIDTH
25468 #include "gambit.h.in"
25470 ___BEGIN_MOD1
25471 ___END_MOD1
25472 ___BEGIN_MOD2
25473 ___END_MOD2
25474 _ACEOF
25476 if { (eval echo "$as_me:$LINENO: \"$ac_link_obj_file\"") >&5
25477 (eval $ac_link_obj_file) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; then
25482 cat >conftest1.sed <<_ACEOF
25483 /^.* \([a-zA-Z0-9_$]*\)____20_GAMBCCHECKMODULEPREFIXSUFFIX\([a-zA-Z0-9_$]*\)$/s//#define ___IMPORTED_ID_PREFIX "\1"\\
25484 #define ___IMPORTED_ID_SUFFIX "\2"/p
25485 _ACEOF
25487 # The nm program will extract the symbols in the object file
25488 # conftest.o1. The following option is used:
25489 # -g shows the external symbols only (to avoid confusion with
25490 # internal symbols generated by the compiler)
25491 nm -g conftest.o1 | sed -n -f conftest1.sed | sed -n -e "1,2p" >>confdefs.h
25495 esac
25497 ###############################################################################
25499 # Determine where the installation directories are located.
25501 if test "$prefix" = NONE; then
25502 prefix="/usr/local/$PACKAGE_NAME"
25505 if test "$ENABLE_MULTIPLE_VERSIONS" = yes; then
25506 prefix="$prefix/$PACKAGE_VERSION"
25509 if test "$bindir" = "\${exec_prefix}/bin"; then
25510 bindir="\${prefix}/bin"
25513 if test "$includedir" = "\${prefix}/include"; then
25514 includedir="\${prefix}/include"
25517 if test "$libdir" = "\${exec_prefix}/lib"; then
25518 libdir="\${prefix}/lib"
25521 if test "$docdir" = "\${datarootdir}/doc/\${PACKAGE_TARNAME}"; then
25522 docdir="\${prefix}/doc"
25525 if test "$infodir" = "\${datarootdir}/info"; then
25526 infodir="\${prefix}/info"
25529 if test "$datadir" = "\${datarootdir}"; then
25530 datadir="\${prefix}/share"
25533 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR=\"\\\"$prefix\\\"\""
25535 if test "$ENABLE_SYMLINKS" != yes; then
25537 if test "$bindir" != "\${prefix}/bin"; then
25538 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_BIN=\"\\\"$bindir\\\"\""
25541 if test "$includedir" != "\${prefix}/include"; then
25542 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_INCLUDE=\"\\\"$includedir\\\"\""
25545 if test "$libdir" != "\${prefix}/lib"; then
25546 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_LIB=\"\\\"$libdir\\\"\""
25549 if test "$docdir" != "\${prefix}/doc"; then
25550 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_DOC=\"\\\"$docdir\\\"\""
25553 if test "$infodir" != "\${prefix}/info"; then
25554 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_INFO=\"\\\"$infodir\\\"\""
25557 if test "$datadir" != "\${prefix}/share"; then
25558 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___GAMBCDIR_SHARE=\"\\\"$datadir\\\"\""
25563 emacsdir="\${datadir}/emacs/site-lisp"
25565 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___SYS_TYPE_CPU=\"\\\"$target_cpu\\\"\""
25566 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___SYS_TYPE_VENDOR=\"\\\"$target_vendor\\\"\""
25567 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___SYS_TYPE_OS=\"\\\"$target_os\\\"\""
25568 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___CONFIGURE_COMMAND=\"\\\"$CONFIGURE_COMMAND\\\"\""
25569 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___OBJ_EXTENSION=\"\\\"$obj\\\"\""
25570 GAMBCLIB_DEFS="$GAMBCLIB_DEFS -D___EXE_EXTENSION=\"\\\"$exe\\\"\""
25572 ###############################################################################
25574 # Escape strings before substitution.
25576 ESC_MF="sed -e s/\\\\\\\$/\\\$\\\$/g"
25577 ESC_SH="sed -e s/\\\\/\\\\\\\\\\\\\\\\/g -e s/\\\"/\\\\\\\"/g -e s/\\\$/\\\\\\\$/g -e s/^/\"/ -e s/$/\"/"
25578 ESC_ECHO="sed -e s/\\\\/\\\\\\\\\\\\\\\\/g -e s/\\\"/\\\\\\\"/g -e s/^/\"/ -e s/$/\"/"
25579 ESC_BAT="sed -e s/\${/%%/g -e s/}/%%/g"
25580 ESC_ECHO_BAT="sed -e s/\${/%/g -e s/}/%/g"
25582 C_COMPILER_MF=`echo "$C_COMPILER" | $ESC_MF`
25583 C_PREPROC_MF=`echo "$C_PREPROC" | $ESC_MF`
25585 FLAGS_OBJ_MF=`echo "$FLAGS_OBJ" | $ESC_MF`
25586 FLAGS_DYN_MF=`echo "$FLAGS_DYN" | $ESC_MF`
25587 FLAGS_LIB_MF=`echo "$FLAGS_LIB" | $ESC_MF`
25588 FLAGS_EXE_MF=`echo "$FLAGS_EXE" | $ESC_MF`
25590 DEFS_OBJ_MF=`echo "$DEFS_OBJ" | $ESC_MF`
25591 DEFS_DYN_MF=`echo "$DEFS_DYN" | $ESC_MF`
25592 DEFS_LIB_MF=`echo "$DEFS_LIB" | $ESC_MF`
25593 DEFS_EXE_MF=`echo "$DEFS_EXE" | $ESC_MF`
25595 BUILD_OBJ_MF=`echo "$BUILD_OBJ" | $ESC_MF`
25596 BUILD_DYN_MF=`echo "$BUILD_DYN" | $ESC_MF`
25597 BUILD_LIB_MF=`echo "$BUILD_LIB" | $ESC_MF`
25598 BUILD_EXE_MF=`echo "$BUILD_EXE" | $ESC_MF`
25600 DEFS_MF=`echo "$DEFS" | $ESC_MF`
25601 LIBS_MF=`echo "$LIBS" | $ESC_MF`
25602 GAMBCLIB_DEFS_MF=`echo "$GAMBCLIB_DEFS" | $ESC_MF`
25603 GAMBCLIB_MF=`echo "$GAMBCLIB" | $ESC_MF`
25604 GAMBCGSCLIB_MF=`echo "$GAMBCGSCLIB" | $ESC_MF`
25605 GAMBCGSILIB_MF=`echo "$GAMBCGSILIB" | $ESC_MF`
25606 LIB_PREFIX_MF=`echo "$LIB_PREFIX" | $ESC_MF`
25607 LIB_EXTENSION_MF=`echo "$LIB_EXTENSION" | $ESC_MF`
25609 C_COMPILER_SH=`echo "$C_COMPILER" | $ESC_SH`
25610 C_PREPROC_SH=`echo "$C_PREPROC" | $ESC_SH`
25612 FLAGS_OBJ_SH=`echo "$FLAGS_OBJ" | $ESC_SH`
25613 FLAGS_DYN_SH=`echo "$FLAGS_DYN" | $ESC_SH`
25614 FLAGS_LIB_SH=`echo "$FLAGS_LIB" | $ESC_SH`
25615 FLAGS_EXE_SH=`echo "$FLAGS_EXE" | $ESC_SH`
25617 DEFS_OBJ_SH=`echo "$DEFS_OBJ" | $ESC_SH`
25618 DEFS_DYN_SH=`echo "$DEFS_DYN" | $ESC_SH`
25619 DEFS_LIB_SH=`echo "$DEFS_LIB" | $ESC_SH`
25620 DEFS_EXE_SH=`echo "$DEFS_EXE" | $ESC_SH`
25622 BUILD_OBJ_SH=`echo "$BUILD_OBJ" | $ESC_SH`
25623 BUILD_DYN_SH=`echo "$BUILD_DYN" | $ESC_SH`
25624 BUILD_LIB_SH=`echo "$BUILD_LIB" | $ESC_SH`
25625 BUILD_EXE_SH=`echo "$BUILD_EXE" | $ESC_SH`
25627 DEFS_SH=`echo "$DEFS" | $ESC_SH`
25628 LIBS_SH=`echo "$LIBS" | $ESC_SH`
25629 GAMBCLIB_DEFS_SH=`echo "$GAMBCLIB_DEFS" | $ESC_SH`
25630 GAMBCLIB_SH=`echo "$GAMBCLIB" | $ESC_SH`
25631 GAMBCGSCLIB_SH=`echo "$GAMBCGSCLIB" | $ESC_SH`
25632 GAMBCGSILIB_SH=`echo "$GAMBCGSILIB" | $ESC_SH`
25633 LIB_PREFIX_SH=`echo "$LIB_PREFIX" | $ESC_SH`
25634 LIB_EXTENSION_SH=`echo "$LIB_EXTENSION" | $ESC_SH`
25636 C_COMPILER_BAT=`echo "$C_COMPILER" | $ESC_BAT`
25637 C_PREPROC_BAT=`echo "$C_PREPROC" | $ESC_BAT`
25639 FLAGS_OBJ_BAT=`echo "$FLAGS_OBJ" | $ESC_BAT`
25640 FLAGS_DYN_BAT=`echo "$FLAGS_DYN" | $ESC_BAT`
25641 FLAGS_LIB_BAT=`echo "$FLAGS_LIB" | $ESC_BAT`
25642 FLAGS_EXE_BAT=`echo "$FLAGS_EXE" | $ESC_BAT`
25644 DEFS_OBJ_BAT=`echo "$DEFS_OBJ" | $ESC_BAT`
25645 DEFS_DYN_BAT=`echo "$DEFS_DYN" | $ESC_BAT`
25646 DEFS_LIB_BAT=`echo "$DEFS_LIB" | $ESC_BAT`
25647 DEFS_EXE_BAT=`echo "$DEFS_EXE" | $ESC_BAT`
25649 BUILD_OBJ_BAT=`echo "$BUILD_OBJ" | $ESC_BAT`
25650 BUILD_DYN_BAT=`echo "$BUILD_DYN" | $ESC_BAT`
25651 BUILD_LIB_BAT=`echo "$BUILD_LIB" | $ESC_BAT`
25652 BUILD_EXE_BAT=`echo "$BUILD_EXE" | $ESC_BAT`
25654 DEFS_BAT=`echo "$DEFS" | $ESC_BAT`
25655 LIBS_BAT=`echo "$LIBS" | $ESC_BAT`
25656 GAMBCLIB_DEFS_BAT=`echo "$GAMBCLIB_DEFS" | $ESC_BAT`
25657 GAMBCLIB_BAT=`echo "$GAMBCLIB" | $ESC_BAT`
25658 GAMBCGSCLIB_BAT=`echo "$GAMBCGSCLIB" | $ESC_BAT`
25659 GAMBCGSILIB_BAT=`echo "$GAMBCGSILIB" | $ESC_BAT`
25660 LIB_PREFIX_BAT=`echo "$LIB_PREFIX" | $ESC_BAT`
25661 LIB_EXTENSION_BAT=`echo "$LIB_EXTENSION" | $ESC_BAT`
25663 BUILD_OBJ_ECHO=`echo "$BUILD_OBJ" | $ESC_ECHO`
25664 BUILD_DYN_ECHO=`echo "$BUILD_DYN" | $ESC_ECHO`
25665 BUILD_LIB_ECHO=`echo "$BUILD_LIB" | $ESC_ECHO`
25666 BUILD_EXE_ECHO=`echo "$BUILD_EXE" | $ESC_ECHO`
25668 BUILD_OBJ_ECHO_BAT=`echo "$BUILD_OBJ" | $ESC_ECHO_BAT`
25669 BUILD_DYN_ECHO_BAT=`echo "$BUILD_DYN" | $ESC_ECHO_BAT`
25670 BUILD_LIB_ECHO_BAT=`echo "$BUILD_LIB" | $ESC_ECHO_BAT`
25671 BUILD_EXE_ECHO_BAT=`echo "$BUILD_EXE" | $ESC_ECHO_BAT`
25673 ###############################################################################
25675 if test "$srcdir" = "."; then
25676 srcdirpfx=""
25677 else
25678 srcdirpfx="\$(srcdir)/"
25681 INSTALL='$(rootfromhere)/install-sh -c'
25682 INSTALL_DATA='$(rootfromhere)/install-sh -c -m 644'
25683 INSTALL_LIB='$(rootfromhere)/install-sh -c -m 644'
25684 INSTALL_PROGRAM='$(rootfromhere)/install-sh -c -m 755'
25801 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25803 set x ${MAKE-make}
25804 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25805 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
25806 $as_echo_n "(cached) " >&6
25807 else
25808 cat >conftest.make <<\_ACEOF
25809 SHELL = /bin/sh
25810 all:
25811 @echo '@@@%%%=$(MAKE)=@@@%%%'
25812 _ACEOF
25813 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
25815 *@@@%%%=?*=@@@%%%*)
25816 eval ac_cv_prog_make_${ac_make}_set=yes;;
25818 eval ac_cv_prog_make_${ac_make}_set=no;;
25819 esac
25820 rm -f conftest.make
25822 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25823 { $as_echo "$as_me:$LINENO: result: yes" >&5
25824 $as_echo "yes" >&6; }
25825 SET_MAKE=
25826 else
25827 { $as_echo "$as_me:$LINENO: result: no" >&5
25828 $as_echo "no" >&6; }
25829 SET_MAKE="MAKE=${MAKE-make}"
25833 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-cc.bat.unix bin/gambc-cc.bat.windows 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"
25835 cat >confcache <<\_ACEOF
25836 # This file is a shell script that caches the results of configure
25837 # tests run on this system so they can be shared between configure
25838 # scripts and configure runs, see configure's option --config-cache.
25839 # It is not useful on other systems. If it contains results you don't
25840 # want to keep, you may remove or edit it.
25842 # config.status only pays attention to the cache file if you give it
25843 # the --recheck option to rerun configure.
25845 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25846 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25847 # following values.
25849 _ACEOF
25851 # The following way of writing the cache mishandles newlines in values,
25852 # but we know of no workaround that is simple, portable, and efficient.
25853 # So, we kill variables containing newlines.
25854 # Ultrix sh set writes to stderr and can't be redirected directly,
25855 # and sets the high bit in the cache file unless we assign to the vars.
25857 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25858 eval ac_val=\$$ac_var
25859 case $ac_val in #(
25860 *${as_nl}*)
25861 case $ac_var in #(
25862 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25863 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25864 esac
25865 case $ac_var in #(
25866 _ | IFS | as_nl) ;; #(
25867 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25868 *) $as_unset $ac_var ;;
25869 esac ;;
25870 esac
25871 done
25873 (set) 2>&1 |
25874 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25875 *${as_nl}ac_space=\ *)
25876 # `set' does not quote correctly, so add quotes (double-quote
25877 # substitution turns \\\\ into \\, and sed turns \\ into \).
25878 sed -n \
25879 "s/'/'\\\\''/g;
25880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25881 ;; #(
25883 # `set' quotes correctly as required by POSIX, so do not add quotes.
25884 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25886 esac |
25887 sort
25889 sed '
25890 /^ac_cv_env_/b end
25891 t clear
25892 :clear
25893 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25894 t end
25895 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25896 :end' >>confcache
25897 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25898 if test -w "$cache_file"; then
25899 test "x$cache_file" != "x/dev/null" &&
25900 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
25901 $as_echo "$as_me: updating cache $cache_file" >&6;}
25902 cat confcache >$cache_file
25903 else
25904 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25908 rm -f confcache
25910 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25911 # Let make expand exec_prefix.
25912 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25914 DEFS=-DHAVE_CONFIG_H
25916 ac_libobjs=
25917 ac_ltlibobjs=
25918 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25919 # 1. Remove the extension, and $U if already installed.
25920 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25921 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25922 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25923 # will be set to the directory where LIBOBJS objects are built.
25924 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25925 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25926 done
25927 LIBOBJS=$ac_libobjs
25929 LTLIBOBJS=$ac_ltlibobjs
25933 : ${CONFIG_STATUS=./config.status}
25934 ac_write_fail=0
25935 ac_clean_files_save=$ac_clean_files
25936 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25937 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25938 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25939 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25940 #! $SHELL
25941 # Generated by $as_me.
25942 # Run this file to recreate the current configuration.
25943 # Compiler output produced by configure, useful for debugging
25944 # configure, is in config.log if it exists.
25946 debug=false
25947 ac_cs_recheck=false
25948 ac_cs_silent=false
25949 SHELL=\${CONFIG_SHELL-$SHELL}
25950 _ACEOF
25952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25953 ## --------------------- ##
25954 ## M4sh Initialization. ##
25955 ## --------------------- ##
25957 # Be more Bourne compatible
25958 DUALCASE=1; export DUALCASE # for MKS sh
25959 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25960 emulate sh
25961 NULLCMD=:
25962 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25963 # is contrary to our usage. Disable this feature.
25964 alias -g '${1+"$@"}'='"$@"'
25965 setopt NO_GLOB_SUBST
25966 else
25967 case `(set -o) 2>/dev/null` in
25968 *posix*) set -o posix ;;
25969 esac
25976 # PATH needs CR
25977 # Avoid depending upon Character Ranges.
25978 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25979 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25980 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25981 as_cr_digits='0123456789'
25982 as_cr_alnum=$as_cr_Letters$as_cr_digits
25984 as_nl='
25986 export as_nl
25987 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25988 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25989 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25991 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25992 as_echo='printf %s\n'
25993 as_echo_n='printf %s'
25994 else
25995 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25996 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25997 as_echo_n='/usr/ucb/echo -n'
25998 else
25999 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26000 as_echo_n_body='eval
26001 arg=$1;
26002 case $arg in
26003 *"$as_nl"*)
26004 expr "X$arg" : "X\\(.*\\)$as_nl";
26005 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26006 esac;
26007 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26009 export as_echo_n_body
26010 as_echo_n='sh -c $as_echo_n_body as_echo'
26012 export as_echo_body
26013 as_echo='sh -c $as_echo_body as_echo'
26016 # The user is always right.
26017 if test "${PATH_SEPARATOR+set}" != set; then
26018 PATH_SEPARATOR=:
26019 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26020 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26021 PATH_SEPARATOR=';'
26025 # Support unset when possible.
26026 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26027 as_unset=unset
26028 else
26029 as_unset=false
26033 # IFS
26034 # We need space, tab and new line, in precisely that order. Quoting is
26035 # there to prevent editors from complaining about space-tab.
26036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26037 # splitting by setting IFS to empty value.)
26038 IFS=" "" $as_nl"
26040 # Find who we are. Look in the path if we contain no directory separator.
26041 case $0 in
26042 *[\\/]* ) as_myself=$0 ;;
26043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26044 for as_dir in $PATH
26046 IFS=$as_save_IFS
26047 test -z "$as_dir" && as_dir=.
26048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26049 done
26050 IFS=$as_save_IFS
26053 esac
26054 # We did not find ourselves, most probably we were run as `sh COMMAND'
26055 # in which case we are not to be found in the path.
26056 if test "x$as_myself" = x; then
26057 as_myself=$0
26059 if test ! -f "$as_myself"; then
26060 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26061 { (exit 1); exit 1; }
26064 # Work around bugs in pre-3.0 UWIN ksh.
26065 for as_var in ENV MAIL MAILPATH
26066 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26067 done
26068 PS1='$ '
26069 PS2='> '
26070 PS4='+ '
26072 # NLS nuisances.
26073 LC_ALL=C
26074 export LC_ALL
26075 LANGUAGE=C
26076 export LANGUAGE
26078 # Required to use basename.
26079 if expr a : '\(a\)' >/dev/null 2>&1 &&
26080 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26081 as_expr=expr
26082 else
26083 as_expr=false
26086 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26087 as_basename=basename
26088 else
26089 as_basename=false
26093 # Name of the executable.
26094 as_me=`$as_basename -- "$0" ||
26095 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26096 X"$0" : 'X\(//\)$' \| \
26097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26098 $as_echo X/"$0" |
26099 sed '/^.*\/\([^/][^/]*\)\/*$/{
26100 s//\1/
26103 /^X\/\(\/\/\)$/{
26104 s//\1/
26107 /^X\/\(\/\).*/{
26108 s//\1/
26111 s/.*/./; q'`
26113 # CDPATH.
26114 $as_unset CDPATH
26118 as_lineno_1=$LINENO
26119 as_lineno_2=$LINENO
26120 test "x$as_lineno_1" != "x$as_lineno_2" &&
26121 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26124 # uniformly replaced by the line number. The first 'sed' inserts a
26125 # line-number line after each line using $LINENO; the second 'sed'
26126 # does the real work. The second script uses 'N' to pair each
26127 # line-number line with the line containing $LINENO, and appends
26128 # trailing '-' during substitution so that $LINENO is not a special
26129 # case at line end.
26130 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26131 # scripts with optimization help from Paolo Bonzini. Blame Lee
26132 # E. McMahon (1931-1989) for sed's syntax. :-)
26133 sed -n '
26135 /[$]LINENO/=
26136 ' <$as_myself |
26137 sed '
26138 s/[$]LINENO.*/&-/
26139 t lineno
26141 :lineno
26143 :loop
26144 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26145 t loop
26146 s/-\n.*//
26147 ' >$as_me.lineno &&
26148 chmod +x "$as_me.lineno" ||
26149 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26150 { (exit 1); exit 1; }; }
26152 # Don't try to exec as it changes $[0], causing all sort of problems
26153 # (the dirname of $[0] is not the place where we might find the
26154 # original and so on. Autoconf is especially sensitive to this).
26155 . "./$as_me.lineno"
26156 # Exit status is that of the last command.
26157 exit
26161 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26162 as_dirname=dirname
26163 else
26164 as_dirname=false
26167 ECHO_C= ECHO_N= ECHO_T=
26168 case `echo -n x` in
26169 -n*)
26170 case `echo 'x\c'` in
26171 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26172 *) ECHO_C='\c';;
26173 esac;;
26175 ECHO_N='-n';;
26176 esac
26177 if expr a : '\(a\)' >/dev/null 2>&1 &&
26178 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26179 as_expr=expr
26180 else
26181 as_expr=false
26184 rm -f conf$$ conf$$.exe conf$$.file
26185 if test -d conf$$.dir; then
26186 rm -f conf$$.dir/conf$$.file
26187 else
26188 rm -f conf$$.dir
26189 mkdir conf$$.dir 2>/dev/null
26191 if (echo >conf$$.file) 2>/dev/null; then
26192 if ln -s conf$$.file conf$$ 2>/dev/null; then
26193 as_ln_s='ln -s'
26194 # ... but there are two gotchas:
26195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26197 # In both cases, we have to default to `cp -p'.
26198 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26199 as_ln_s='cp -p'
26200 elif ln conf$$.file conf$$ 2>/dev/null; then
26201 as_ln_s=ln
26202 else
26203 as_ln_s='cp -p'
26205 else
26206 as_ln_s='cp -p'
26208 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26209 rmdir conf$$.dir 2>/dev/null
26211 if mkdir -p . 2>/dev/null; then
26212 as_mkdir_p=:
26213 else
26214 test -d ./-p && rmdir ./-p
26215 as_mkdir_p=false
26218 if test -x / >/dev/null 2>&1; then
26219 as_test_x='test -x'
26220 else
26221 if ls -dL / >/dev/null 2>&1; then
26222 as_ls_L_option=L
26223 else
26224 as_ls_L_option=
26226 as_test_x='
26227 eval sh -c '\''
26228 if test -d "$1"; then
26229 test -d "$1/.";
26230 else
26231 case $1 in
26232 -*)set "./$1";;
26233 esac;
26234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26235 ???[sx]*):;;*)false;;esac;fi
26236 '\'' sh
26239 as_executable_p=$as_test_x
26241 # Sed expression to map a string onto a valid CPP name.
26242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26244 # Sed expression to map a string onto a valid variable name.
26245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26248 exec 6>&1
26250 # Save the log message, to keep $[0] and so on meaningful, and to
26251 # report actual input values of CONFIG_FILES etc. instead of their
26252 # values after options handling.
26253 ac_log="
26254 This file was extended by Gambit-C $as_me v4.5.1, which was
26255 generated by GNU Autoconf 2.62. Invocation command line was
26257 CONFIG_FILES = $CONFIG_FILES
26258 CONFIG_HEADERS = $CONFIG_HEADERS
26259 CONFIG_LINKS = $CONFIG_LINKS
26260 CONFIG_COMMANDS = $CONFIG_COMMANDS
26261 $ $0 $@
26263 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26266 _ACEOF
26268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26269 # Files that config.status was made for.
26270 config_files="$ac_config_files"
26271 config_headers="$ac_config_headers"
26273 _ACEOF
26275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26276 ac_cs_usage="\
26277 \`$as_me' instantiates files from templates according to the
26278 current configuration.
26280 Usage: $0 [OPTIONS] [FILE]...
26282 -h, --help print this help, then exit
26283 -V, --version print version number and configuration settings, then exit
26284 -q, --quiet do not print progress messages
26285 -d, --debug don't remove temporary files
26286 --recheck update $as_me by reconfiguring in the same conditions
26287 --file=FILE[:TEMPLATE]
26288 instantiate the configuration file FILE
26289 --header=FILE[:TEMPLATE]
26290 instantiate the configuration header FILE
26292 Configuration files:
26293 $config_files
26295 Configuration headers:
26296 $config_headers
26298 Report bugs to <bug-autoconf@gnu.org>."
26300 _ACEOF
26301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26302 ac_cs_version="\\
26303 Gambit-C config.status v4.5.1
26304 configured by $0, generated by GNU Autoconf 2.62,
26305 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26307 Copyright (C) 2008 Free Software Foundation, Inc.
26308 This config.status script is free software; the Free Software Foundation
26309 gives unlimited permission to copy, distribute and modify it."
26311 ac_pwd='$ac_pwd'
26312 srcdir='$srcdir'
26313 test -n "\$AWK" || AWK=awk
26314 _ACEOF
26316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26317 # The default lists apply if the user does not specify any file.
26318 ac_need_defaults=:
26319 while test $# != 0
26321 case $1 in
26322 --*=*)
26323 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26324 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26325 ac_shift=:
26328 ac_option=$1
26329 ac_optarg=$2
26330 ac_shift=shift
26332 esac
26334 case $ac_option in
26335 # Handling of the options.
26336 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26337 ac_cs_recheck=: ;;
26338 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26339 $as_echo "$ac_cs_version"; exit ;;
26340 --debug | --debu | --deb | --de | --d | -d )
26341 debug=: ;;
26342 --file | --fil | --fi | --f )
26343 $ac_shift
26344 case $ac_optarg in
26345 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26346 esac
26347 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
26348 ac_need_defaults=false;;
26349 --header | --heade | --head | --hea )
26350 $ac_shift
26351 case $ac_optarg in
26352 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26353 esac
26354 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
26355 ac_need_defaults=false;;
26356 --he | --h)
26357 # Conflict between --help and --header
26358 { $as_echo "$as_me: error: ambiguous option: $1
26359 Try \`$0 --help' for more information." >&2
26360 { (exit 1); exit 1; }; };;
26361 --help | --hel | -h )
26362 $as_echo "$ac_cs_usage"; exit ;;
26363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26364 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26365 ac_cs_silent=: ;;
26367 # This is an error.
26368 -*) { $as_echo "$as_me: error: unrecognized option: $1
26369 Try \`$0 --help' for more information." >&2
26370 { (exit 1); exit 1; }; } ;;
26372 *) ac_config_targets="$ac_config_targets $1"
26373 ac_need_defaults=false ;;
26375 esac
26376 shift
26377 done
26379 ac_configure_extra_args=
26381 if $ac_cs_silent; then
26382 exec 6>/dev/null
26383 ac_configure_extra_args="$ac_configure_extra_args --silent"
26386 _ACEOF
26387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26388 if \$ac_cs_recheck; then
26389 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26390 shift
26391 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26392 CONFIG_SHELL='$SHELL'
26393 export CONFIG_SHELL
26394 exec "\$@"
26397 _ACEOF
26398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26399 exec 5>>config.log
26401 echo
26402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26403 ## Running $as_me. ##
26404 _ASBOX
26405 $as_echo "$ac_log"
26406 } >&5
26408 _ACEOF
26409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26410 _ACEOF
26412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26414 # Handling of arguments.
26415 for ac_config_target in $ac_config_targets
26417 case $ac_config_target in
26418 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
26419 "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
26420 "include/makefile") CONFIG_FILES="$CONFIG_FILES include/makefile" ;;
26421 "include/gambit.h") CONFIG_FILES="$CONFIG_FILES include/gambit.h" ;;
26422 "lib/makefile") CONFIG_FILES="$CONFIG_FILES lib/makefile" ;;
26423 "lib/guide/guidepro") CONFIG_FILES="$CONFIG_FILES lib/guide/guidepro" ;;
26424 "lib/guide/makefile") CONFIG_FILES="$CONFIG_FILES lib/guide/makefile" ;;
26425 "lib/guide/images/makefile") CONFIG_FILES="$CONFIG_FILES lib/guide/images/makefile" ;;
26426 "gsi/makefile") CONFIG_FILES="$CONFIG_FILES gsi/makefile" ;;
26427 "gsc/makefile") CONFIG_FILES="$CONFIG_FILES gsc/makefile" ;;
26428 "bin/makefile") CONFIG_FILES="$CONFIG_FILES bin/makefile" ;;
26429 "bin/gambc-cc.bat.unix") CONFIG_FILES="$CONFIG_FILES bin/gambc-cc.bat.unix" ;;
26430 "bin/gambc-cc.bat.windows") CONFIG_FILES="$CONFIG_FILES bin/gambc-cc.bat.windows" ;;
26431 "bin/gambc-doc.bat.unix") CONFIG_FILES="$CONFIG_FILES bin/gambc-doc.bat.unix" ;;
26432 "bin/gambc-doc.bat.windows") CONFIG_FILES="$CONFIG_FILES bin/gambc-doc.bat.windows" ;;
26433 "misc/makefile") CONFIG_FILES="$CONFIG_FILES misc/makefile" ;;
26434 "doc/makefile") CONFIG_FILES="$CONFIG_FILES doc/makefile" ;;
26435 "tests/makefile") CONFIG_FILES="$CONFIG_FILES tests/makefile" ;;
26436 "examples/makefile") CONFIG_FILES="$CONFIG_FILES examples/makefile" ;;
26437 "examples/distr-comp/makefile") CONFIG_FILES="$CONFIG_FILES examples/distr-comp/makefile" ;;
26438 "examples/pi/makefile") CONFIG_FILES="$CONFIG_FILES examples/pi/makefile" ;;
26439 "examples/ring/makefile") CONFIG_FILES="$CONFIG_FILES examples/ring/makefile" ;;
26440 "examples/web-repl/makefile") CONFIG_FILES="$CONFIG_FILES examples/web-repl/makefile" ;;
26441 "examples/web-server/makefile") CONFIG_FILES="$CONFIG_FILES examples/web-server/makefile" ;;
26442 "examples/tcltk/makefile") CONFIG_FILES="$CONFIG_FILES examples/tcltk/makefile" ;;
26443 "examples/Xlib-simple/makefile") CONFIG_FILES="$CONFIG_FILES examples/Xlib-simple/makefile" ;;
26444 "examples/pthread/makefile") CONFIG_FILES="$CONFIG_FILES examples/pthread/makefile" ;;
26445 "examples/misc/makefile") CONFIG_FILES="$CONFIG_FILES examples/misc/makefile" ;;
26446 "prebuilt/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/makefile" ;;
26447 "prebuilt/macosx/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/macosx/makefile" ;;
26448 "prebuilt/macosx/build-phase2") CONFIG_FILES="$CONFIG_FILES prebuilt/macosx/build-phase2" ;;
26449 "prebuilt/windows/makefile") CONFIG_FILES="$CONFIG_FILES prebuilt/windows/makefile" ;;
26450 "prebuilt/windows/build-phase2") CONFIG_FILES="$CONFIG_FILES prebuilt/windows/build-phase2" ;;
26452 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26453 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26454 { (exit 1); exit 1; }; };;
26455 esac
26456 done
26459 # If the user did not use the arguments to specify the items to instantiate,
26460 # then the envvar interface is used. Set only those that are not.
26461 # We use the long form for the default assignment because of an extremely
26462 # bizarre bug on SunOS 4.1.3.
26463 if $ac_need_defaults; then
26464 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26465 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26468 # Have a temporary directory for convenience. Make it in the build tree
26469 # simply because there is no reason against having it here, and in addition,
26470 # creating and moving files from /tmp can sometimes cause problems.
26471 # Hook for its removal unless debugging.
26472 # Note that there is a small window in which the directory will not be cleaned:
26473 # after its creation but before its name has been assigned to `$tmp'.
26474 $debug ||
26476 tmp=
26477 trap 'exit_status=$?
26478 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26480 trap '{ (exit 1); exit 1; }' 1 2 13 15
26482 # Create a (secure) tmp directory for tmp files.
26485 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26486 test -n "$tmp" && test -d "$tmp"
26487 } ||
26489 tmp=./conf$$-$RANDOM
26490 (umask 077 && mkdir "$tmp")
26491 } ||
26493 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26494 { (exit 1); exit 1; }
26497 # Set up the scripts for CONFIG_FILES section.
26498 # No need to generate them if there are no CONFIG_FILES.
26499 # This happens for instance with `./config.status config.h'.
26500 if test -n "$CONFIG_FILES"; then
26503 ac_cr=' '
26504 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26506 ac_cs_awk_cr='\\r'
26507 else
26508 ac_cs_awk_cr=$ac_cr
26511 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26512 _ACEOF
26516 echo "cat >conf$$subs.awk <<_ACEOF" &&
26517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26518 echo "_ACEOF"
26519 } >conf$$subs.sh ||
26520 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26521 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26522 { (exit 1); exit 1; }; }
26523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26524 ac_delim='%!_!# '
26525 for ac_last_try in false false false false false :; do
26526 . ./conf$$subs.sh ||
26527 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26528 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26529 { (exit 1); exit 1; }; }
26531 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
26532 break
26533 elif $ac_last_try; then
26534 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26535 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26536 { (exit 1); exit 1; }; }
26537 else
26538 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26540 done
26541 rm -f conf$$subs.sh
26543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26544 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26545 _ACEOF
26546 sed -n '
26548 s/^/S["/; s/!.*/"]=/
26551 s/^[^!]*!//
26552 :repl
26553 t repl
26554 s/'"$ac_delim"'$//
26555 t delim
26558 s/\(.\{148\}\).*/\1/
26559 t more1
26560 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26563 b repl
26564 :more1
26565 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26568 s/.\{148\}//
26569 t nl
26570 :delim
26572 s/\(.\{148\}\).*/\1/
26573 t more2
26574 s/["\\]/\\&/g; s/^/"/; s/$/"/
26577 :more2
26578 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26581 s/.\{148\}//
26582 t delim
26583 ' <conf$$subs.awk | sed '
26584 /^[^""]/{
26586 s/\n//
26588 ' >>$CONFIG_STATUS || ac_write_fail=1
26589 rm -f conf$$subs.awk
26590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26591 _ACAWK
26592 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26593 for (key in S) S_is_set[key] = 1
26594 FS = "\a"
26598 line = $ 0
26599 nfields = split(line, field, "@")
26600 substed = 0
26601 len = length(field[1])
26602 for (i = 2; i < nfields; i++) {
26603 key = field[i]
26604 keylen = length(key)
26605 if (S_is_set[key]) {
26606 value = S[key]
26607 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26608 len += length(value) + length(field[++i])
26609 substed = 1
26610 } else
26611 len += 1 + keylen
26614 print line
26617 _ACAWK
26618 _ACEOF
26619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26620 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26621 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26622 else
26624 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26625 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26626 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
26627 { (exit 1); exit 1; }; }
26628 _ACEOF
26630 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26631 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26632 # trailing colons and then remove the whole line if VPATH becomes empty
26633 # (actually we leave an empty line to preserve line numbers).
26634 if test "x$srcdir" = x.; then
26635 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26636 s/:*\$(srcdir):*/:/
26637 s/:*\${srcdir}:*/:/
26638 s/:*@srcdir@:*/:/
26639 s/^\([^=]*=[ ]*\):*/\1/
26640 s/:*$//
26641 s/^[^=]*=[ ]*$//
26645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26646 fi # test -n "$CONFIG_FILES"
26648 # Set up the scripts for CONFIG_HEADERS section.
26649 # No need to generate them if there are no CONFIG_HEADERS.
26650 # This happens for instance with `./config.status Makefile'.
26651 if test -n "$CONFIG_HEADERS"; then
26652 cat >"$tmp/defines.awk" <<\_ACAWK ||
26653 BEGIN {
26654 _ACEOF
26656 # Transform confdefs.h into an awk script `defines.awk', embedded as
26657 # here-document in config.status, that substitutes the proper values into
26658 # config.h.in to produce config.h.
26660 # Create a delimiter string that does not exist in confdefs.h, to ease
26661 # handling of long lines.
26662 ac_delim='%!_!# '
26663 for ac_last_try in false false :; do
26664 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26665 if test -z "$ac_t"; then
26666 break
26667 elif $ac_last_try; then
26668 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26669 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26670 { (exit 1); exit 1; }; }
26671 else
26672 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26674 done
26676 # For the awk script, D is an array of macro values keyed by name,
26677 # likewise P contains macro parameters if any. Preserve backslash
26678 # newline sequences.
26680 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26681 sed -n '
26682 s/.\{148\}/&'"$ac_delim"'/g
26683 t rset
26684 :rset
26685 s/^[ ]*#[ ]*define[ ][ ]*/ /
26686 t def
26688 :def
26689 s/\\$//
26690 t bsnl
26691 s/["\\]/\\&/g
26692 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26693 D["\1"]=" \3"/p
26694 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26696 :bsnl
26697 s/["\\]/\\&/g
26698 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26699 D["\1"]=" \3\\\\\\n"\\/p
26700 t cont
26701 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26702 t cont
26704 :cont
26706 s/.\{148\}/&'"$ac_delim"'/g
26707 t clear
26708 :clear
26709 s/\\$//
26710 t bsnlc
26711 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26713 :bsnlc
26714 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26715 b cont
26716 ' <confdefs.h | sed '
26717 s/'"$ac_delim"'/"\\\
26718 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26721 for (key in D) D_is_set[key] = 1
26722 FS = "\a"
26724 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26725 line = \$ 0
26726 split(line, arg, " ")
26727 if (arg[1] == "#") {
26728 defundef = arg[2]
26729 mac1 = arg[3]
26730 } else {
26731 defundef = substr(arg[1], 2)
26732 mac1 = arg[2]
26734 split(mac1, mac2, "(") #)
26735 macro = mac2[1]
26736 if (D_is_set[macro]) {
26737 # Preserve the white space surrounding the "#".
26738 prefix = substr(line, 1, index(line, defundef) - 1)
26739 print prefix "define", macro P[macro] D[macro]
26740 next
26741 } else {
26742 # Replace #undef with comments. This is necessary, for example,
26743 # in the case of _POSIX_SOURCE, which is predefined and required
26744 # on some systems where configure will not decide to define it.
26745 if (defundef == "undef") {
26746 print "/*", line, "*/"
26747 next
26751 { print }
26752 _ACAWK
26753 _ACEOF
26754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26755 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26756 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26757 { (exit 1); exit 1; }; }
26758 fi # test -n "$CONFIG_HEADERS"
26761 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
26762 shift
26763 for ac_tag
26765 case $ac_tag in
26766 :[FHLC]) ac_mode=$ac_tag; continue;;
26767 esac
26768 case $ac_mode$ac_tag in
26769 :[FHL]*:*);;
26770 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26771 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26772 { (exit 1); exit 1; }; };;
26773 :[FH]-) ac_tag=-:-;;
26774 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26775 esac
26776 ac_save_IFS=$IFS
26777 IFS=:
26778 set x $ac_tag
26779 IFS=$ac_save_IFS
26780 shift
26781 ac_file=$1
26782 shift
26784 case $ac_mode in
26785 :L) ac_source=$1;;
26786 :[FH])
26787 ac_file_inputs=
26788 for ac_f
26790 case $ac_f in
26791 -) ac_f="$tmp/stdin";;
26792 *) # Look for the file first in the build tree, then in the source tree
26793 # (if the path is not absolute). The absolute path cannot be DOS-style,
26794 # because $ac_f cannot contain `:'.
26795 test -f "$ac_f" ||
26796 case $ac_f in
26797 [\\/$]*) false;;
26798 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26799 esac ||
26800 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26801 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26802 { (exit 1); exit 1; }; };;
26803 esac
26804 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26805 ac_file_inputs="$ac_file_inputs '$ac_f'"
26806 done
26808 # Let's still pretend it is `configure' which instantiates (i.e., don't
26809 # use $as_me), people would be surprised to read:
26810 # /* config.h. Generated by config.status. */
26811 configure_input='Generated from '`
26812 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26813 `' by configure.'
26814 if test x"$ac_file" != x-; then
26815 configure_input="$ac_file. $configure_input"
26816 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
26817 $as_echo "$as_me: creating $ac_file" >&6;}
26819 # Neutralize special characters interpreted by sed in replacement strings.
26820 case $configure_input in #(
26821 *\&* | *\|* | *\\* )
26822 ac_sed_conf_input=`$as_echo "$configure_input" |
26823 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26824 *) ac_sed_conf_input=$configure_input;;
26825 esac
26827 case $ac_tag in
26828 *:-:* | *:-) cat >"$tmp/stdin" \
26829 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26830 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26831 { (exit 1); exit 1; }; } ;;
26832 esac
26834 esac
26836 ac_dir=`$as_dirname -- "$ac_file" ||
26837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26838 X"$ac_file" : 'X\(//\)[^/]' \| \
26839 X"$ac_file" : 'X\(//\)$' \| \
26840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26841 $as_echo X"$ac_file" |
26842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26843 s//\1/
26846 /^X\(\/\/\)[^/].*/{
26847 s//\1/
26850 /^X\(\/\/\)$/{
26851 s//\1/
26854 /^X\(\/\).*/{
26855 s//\1/
26858 s/.*/./; q'`
26859 { as_dir="$ac_dir"
26860 case $as_dir in #(
26861 -*) as_dir=./$as_dir;;
26862 esac
26863 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26864 as_dirs=
26865 while :; do
26866 case $as_dir in #(
26867 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26868 *) as_qdir=$as_dir;;
26869 esac
26870 as_dirs="'$as_qdir' $as_dirs"
26871 as_dir=`$as_dirname -- "$as_dir" ||
26872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26873 X"$as_dir" : 'X\(//\)[^/]' \| \
26874 X"$as_dir" : 'X\(//\)$' \| \
26875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26876 $as_echo X"$as_dir" |
26877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26878 s//\1/
26881 /^X\(\/\/\)[^/].*/{
26882 s//\1/
26885 /^X\(\/\/\)$/{
26886 s//\1/
26889 /^X\(\/\).*/{
26890 s//\1/
26893 s/.*/./; q'`
26894 test -d "$as_dir" && break
26895 done
26896 test -z "$as_dirs" || eval "mkdir $as_dirs"
26897 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26898 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26899 { (exit 1); exit 1; }; }; }
26900 ac_builddir=.
26902 case "$ac_dir" in
26903 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26905 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26906 # A ".." for each directory in $ac_dir_suffix.
26907 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26908 case $ac_top_builddir_sub in
26909 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26910 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26911 esac ;;
26912 esac
26913 ac_abs_top_builddir=$ac_pwd
26914 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26915 # for backward compatibility:
26916 ac_top_builddir=$ac_top_build_prefix
26918 case $srcdir in
26919 .) # We are building in place.
26920 ac_srcdir=.
26921 ac_top_srcdir=$ac_top_builddir_sub
26922 ac_abs_top_srcdir=$ac_pwd ;;
26923 [\\/]* | ?:[\\/]* ) # Absolute name.
26924 ac_srcdir=$srcdir$ac_dir_suffix;
26925 ac_top_srcdir=$srcdir
26926 ac_abs_top_srcdir=$srcdir ;;
26927 *) # Relative name.
26928 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26929 ac_top_srcdir=$ac_top_build_prefix$srcdir
26930 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26931 esac
26932 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26935 case $ac_mode in
26938 # CONFIG_FILE
26941 _ACEOF
26943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26944 # If the template does not know about datarootdir, expand it.
26945 # FIXME: This hack should be removed a few years after 2.60.
26946 ac_datarootdir_hack=; ac_datarootdir_seen=
26948 ac_sed_dataroot='
26949 /datarootdir/ {
26953 /@datadir@/p
26954 /@docdir@/p
26955 /@infodir@/p
26956 /@localedir@/p
26957 /@mandir@/p
26959 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26960 *datarootdir*) ac_datarootdir_seen=yes;;
26961 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26962 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26963 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26964 _ACEOF
26965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26966 ac_datarootdir_hack='
26967 s&@datadir@&$datadir&g
26968 s&@docdir@&$docdir&g
26969 s&@infodir@&$infodir&g
26970 s&@localedir@&$localedir&g
26971 s&@mandir@&$mandir&g
26972 s&\\\${datarootdir}&$datarootdir&g' ;;
26973 esac
26974 _ACEOF
26976 # Neutralize VPATH when `$srcdir' = `.'.
26977 # Shell code in configure.ac might set extrasub.
26978 # FIXME: do we really want to maintain this feature?
26979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26980 ac_sed_extra="$ac_vpsub
26981 $extrasub
26982 _ACEOF
26983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26986 s|@configure_input@|$ac_sed_conf_input|;t t
26987 s&@top_builddir@&$ac_top_builddir_sub&;t t
26988 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26989 s&@srcdir@&$ac_srcdir&;t t
26990 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26991 s&@top_srcdir@&$ac_top_srcdir&;t t
26992 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26993 s&@builddir@&$ac_builddir&;t t
26994 s&@abs_builddir@&$ac_abs_builddir&;t t
26995 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26996 $ac_datarootdir_hack
26998 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26999 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27000 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27001 { (exit 1); exit 1; }; }
27003 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27004 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27005 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27006 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27007 which seems to be undefined. Please make sure it is defined." >&5
27008 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27009 which seems to be undefined. Please make sure it is defined." >&2;}
27011 rm -f "$tmp/stdin"
27012 case $ac_file in
27013 -) cat "$tmp/out" && rm -f "$tmp/out";;
27014 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27015 esac \
27016 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27017 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27018 { (exit 1); exit 1; }; }
27022 # CONFIG_HEADER
27024 if test x"$ac_file" != x-; then
27026 $as_echo "/* $configure_input */" \
27027 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27028 } >"$tmp/config.h" \
27029 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27030 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27031 { (exit 1); exit 1; }; }
27032 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27033 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27034 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27035 else
27036 rm -f "$ac_file"
27037 mv "$tmp/config.h" "$ac_file" \
27038 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27039 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27040 { (exit 1); exit 1; }; }
27042 else
27043 $as_echo "/* $configure_input */" \
27044 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27045 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
27046 $as_echo "$as_me: error: could not create -" >&2;}
27047 { (exit 1); exit 1; }; }
27052 esac
27054 done # for ac_tag
27057 { (exit 0); exit 0; }
27058 _ACEOF
27059 chmod +x $CONFIG_STATUS
27060 ac_clean_files=$ac_clean_files_save
27062 test $ac_write_fail = 0 ||
27063 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
27064 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27065 { (exit 1); exit 1; }; }
27068 # configure is writing to config.log, and then calls config.status.
27069 # config.status does its own redirection, appending to config.log.
27070 # Unfortunately, on DOS this fails, as config.log is still kept open
27071 # by configure, so config.status won't be able to write to it; its
27072 # output is simply discarded. So we exec the FD to /dev/null,
27073 # effectively closing config.log, so it can be properly (re)opened and
27074 # appended to by config.status. When coming back to configure, we
27075 # need to make the FD available again.
27076 if test "$no_create" != yes; then
27077 ac_cs_success=:
27078 ac_config_status_args=
27079 test "$silent" = yes &&
27080 ac_config_status_args="$ac_config_status_args --quiet"
27081 exec 5>/dev/null
27082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27083 exec 5>>config.log
27084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27085 # would make configure fail if this is the last instruction.
27086 $ac_cs_success || { (exit 1); exit 1; }
27088 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27089 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
27090 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
27094 if test "$ENABLE_SINGLE_HOST" != yes; then
27095 { $as_echo "$as_me:$LINENO:
27096 **************************************************************************
27097 *** The option \"--enable-single-host\" was not specified to the ***
27098 *** configure script. The Gambit-C system will compile correctly but ***
27099 *** the code generated by the C compiler will be suboptimal and the ***
27100 *** executables will run considerably slower than if ***
27101 *** \"--enable-single-host\" is specified. On the other hand the build ***
27102 *** process will be faster and require less memory. If you have lots ***
27103 *** of RAM memory (>= 500 Mbytes) and you are willing to wait for the ***
27104 *** longer build try the configure option \"--enable-single-host\". ***
27105 **************************************************************************
27106 " >&5
27107 $as_echo "$as_me:
27108 **************************************************************************
27109 *** The option \"--enable-single-host\" was not specified to the ***
27110 *** configure script. The Gambit-C system will compile correctly but ***
27111 *** the code generated by the C compiler will be suboptimal and the ***
27112 *** executables will run considerably slower than if ***
27113 *** \"--enable-single-host\" is specified. On the other hand the build ***
27114 *** process will be faster and require less memory. If you have lots ***
27115 *** of RAM memory (>= 500 Mbytes) and you are willing to wait for the ***
27116 *** longer build try the configure option \"--enable-single-host\". ***
27117 **************************************************************************
27118 " >&6;}
27121 if test "$C_COMP_GNUC" = yes; then
27123 if test "$ENABLE_GCC_MOVE_LOOP_INVARIANTS" != yes; then
27124 { $as_echo "$as_me:$LINENO:
27125 **************************************************************************
27126 *** The GCC compiler that is being used has problems compiling Gambit ***
27127 *** generated code when the normal set of C compiler optimizations are ***
27128 *** enabled and the configure flag \"--enable-single-host\" is ***
27129 *** specified. It can take over 20 GBytes of virtual memory to ***
27130 *** compile some files. For this reason the GCC compiler optimization ***
27131 *** which performs loop invariant code motion has been disabled by ***
27132 *** adding the GCC command line option \"-fno-move-loop-invariants\". ***
27133 *** This greatly reduces compile time space requirements and it has a ***
27134 *** small impact on overall run time performance, but for some tight ***
27135 *** loops the effect is larger. If you want to avoid this problem ***
27136 *** then upgrade your version of GCC to 4.4 (or above hopefully) or ***
27137 *** downgrade to a version prior to 4.2 . ***
27138 **************************************************************************
27139 " >&5
27140 $as_echo "$as_me:
27141 **************************************************************************
27142 *** The GCC compiler that is being used has problems compiling Gambit ***
27143 *** generated code when the normal set of C compiler optimizations are ***
27144 *** enabled and the configure flag \"--enable-single-host\" is ***
27145 *** specified. It can take over 20 GBytes of virtual memory to ***
27146 *** compile some files. For this reason the GCC compiler optimization ***
27147 *** which performs loop invariant code motion has been disabled by ***
27148 *** adding the GCC command line option \"-fno-move-loop-invariants\". ***
27149 *** This greatly reduces compile time space requirements and it has a ***
27150 *** small impact on overall run time performance, but for some tight ***
27151 *** loops the effect is larger. If you want to avoid this problem ***
27152 *** then upgrade your version of GCC to 4.4 (or above hopefully) or ***
27153 *** downgrade to a version prior to 4.2 . ***
27154 **************************************************************************
27155 " >&6;}
27158 # if test "$ENABLE_GCC_OPTS" != yes; then
27159 # AC_MSG_NOTICE([
27160 #**************************************************************************
27161 #*** The GCC compiler is being used but the option "--enable-gcc-opts" ***
27162 #*** was not specified to the configure script. The Gambit-C system ***
27163 #*** will compile correctly but the code generated by the GCC compiler ***
27164 #*** will be suboptimal and the executables will run slightly slower ***
27165 #*** than if "--enable-gcc-opts" is specified. On the other hand the ***
27166 #*** build process will be faster and require less memory. If you have ***
27167 #*** lots of RAM memory (>= 2 Gbytes) and you are willing to wait for ***
27168 #*** the longer build try the configure option "--enable-gcc-opts". ***
27169 #**************************************************************************
27171 # fi